Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11687

Excessive Nashorn deprecation warnings in logs (Java 11)

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • engine
    • None
    • Java 11

      Every execution of a JS script on Java 11 runtime logs a Nashorn deprecation warning:

      "Warning: Nashorn engine is planned to be removed from a future JDK release"

      There is a flag to turn it off but that has to be passed as a flag during ScriptEngine construction, its not something users can turn off from "the outside" (i.e. not a Java flag)

      SeeĀ https://stackoverflow.com/questions/55641738/how-to-hide-java-11-nashorn-deprecation-warnings

      Note Java 11 is one of the off the shelf docker bundles Camunda provides.

      https://github.com/camunda/docker-camunda-bpm-platform/issues/129

      This excessive logging consumes resources, slows the engine down, adds log noise, leaves a negative impression and causes alarm.

        This is the controller panel for Smart Panels app

              thorben.lindhauer Thorben Lindhauer
              tlarkworthy Thomas Larkworthy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: