JDK-5012943 : typo in j2se/src/share/classes/sun/tools/javap/JavapEnvironment.java
  • Type: Bug
  • Component: tools
  • Sub-Component: javap
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2004-03-12
  • Updated: 2008-06-21
  • Resolved: 2008-06-21
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
7Resolved
Related Reports
Duplicate :  
Description
Date: Fri, 12 Mar 2004 18:46:46 -0500
From: <###@###.###>
Subject: bug in JavapEnvironment.java
To: ###@###.###

... I believe in:

   j2se/src/share/classes/sun/tools/javap/JavapEnvironment.java

in the 1.5 beta2 sources, line 152:

		if(("application.home") == null){

should doesn't make sense and should probably read:

		if(System.getProperty("application.home") != null){

Comments
EVALUATION The affected code has gone away in the new javap
18-02-2008

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
08-09-2004

PUBLIC COMMENTS ...
08-09-2004

EVALUATION submitter is correct ###@###.### 2004-03-18 typo affects how javap ought to work when run from inside VM rather than via launcher. Will address after 1.5.0. ###@###.### 2004-03-26
18-03-2004