JDK-8031464 : Debug trace controlled by SystemUtil flag not enabled when JPI_PLUGIN2_DEBUG is set
  • Type: Bug
  • Component: deploy
  • Affected Version: 7u45
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-01-10
  • Updated: 2015-06-03
  • Resolved: 2014-02-18
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 7 JDK 8 JDK 9
7u76Fixed 8u40Fixed 9Fixed
Description
Some expected debug trace in Pipe.java missed in trace file in case environment variable JPI_PLUGIN2_DEBUG is set. 

Through the code, looks like a flag in SystemUtil used to check environment var was not initialized yet at the time we try to access it. 
Comments
Get static variable initialized before it's been referenced. So the "DEBUG" flag in SystemUtil could be set properly. Fix out for review. http://sa.us.oracle.com/projects/deployment_data/7u-dev/8031464.0
15-01-2014