JDK-8035426 : RecompilableScriptFunctionData.toString() throws NPE
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2014-02-20
  • Updated: 2015-02-06
  • Resolved: 2015-02-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u20Resolved
Related Reports
Duplicate :  
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().
Comments
If it's fixed by JDK-8021350, then this bug needs to be closed out as a duplicate. It's got no "resolved in build" field and is causing metrics issues.
06-02-2015

Fixed by changeset 761:b457a6ab0738 for JDK-8021350.
12-03-2014