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

NPE in ScriptObject.clone() when running with object fields

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 9
    • core-libs
    • None
    • b43
    • generic
    • generic

    Backports

      Description

        ScriptObject.clone() assumes that primitiveSpill is defined if objectSpill is. However that is not the case when running with object fields only, which causes a NullPointerException.

        Attachments

          Issue Links

            Activity

              People

                hannesw Hannes Wallnoefer
                hannesw Hannes Wallnoefer
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: