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

RecompilableScriptFunctionData.toString() throws NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 8u20
    • 9
    • core-libs
    • None

    Description

      There's a potential NullPointerException in RecompilableScriptFunctionData.toString(). The method assumes that if source is not null, functionNode must also be not null. However, functionNode is set to null in #ensureCodeGenerated().

      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: