RecompilableScriptFunctionData.toString() throws NPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 8u20
    • Affects Version/s: 9
    • Component/s: 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().

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

              Created:
              Updated:
              Resolved: