Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8073611

javax.script.ScriptEngineFactory: formatting error in javadoc of getParameter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 8u31
    • core-libs
    • b123
    • x86
    • windows_8

    Description

      A DESCRIPTION OF THE PROBLEM :
      The javadoc of this method describes a list of possible values for the THREADING key. However, the explanation of the STATELESS value is wrongly formatted: "THREAD-ISOLATED" appears on a newline with an additional bullet, though it should just continue inline.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      1 bullet in the list for STATELESS

      * "STATELESS" - The implementation satisfies the requirements of "THREAD-ISOLATED". In addition, script executions do not alter the mappings in the Bindings which is the engine scope of the ScriptEngine. In particular, the keys in the Bindings and their associated values are the same before and after the execution of the script.
      ACTUAL -
      2 bullets in the list

      * "STATELESS" - The implementation satisfies the requirements of
      * "THREAD-ISOLATED". In addition, script executions do not alter the mappings in the Bindings which is the engine scope of the ScriptEngine. In particular, the keys in the Bindings and their associated values are the same before and after the execution of the script.

      URL OF FAULTY DOCUMENTATION :
      http://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html#getParameter-java.lang.String-

      Attachments

        Activity

          People

            akolarkunnu Abdul Kolarkunnu (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: