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

RecompilableScriptFunctionData.toString() throws NPE

XMLWordPrintable

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

      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().

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

              Created:
              Updated:
              Resolved: