JDK-7023229 : extraneous include of precompiled.hpp in hsdis.c
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2011-03-01
  • Updated: 2011-04-24
  • Resolved: 2011-04-24
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 Other
7Fixed hs21Fixed
Description
The change "6989984: Use standard include model for Hospot" broke the
hsdisbuild under src/share/tools/hsdis.

The fix ix easy, just remove the dependency on "precompiled.hpp" from hsdis.c:


diff -r 79fe787a0420 src/share/tools/hsdis/hsdis.c
--- a/src/share/tools/hsdis/hsdis.c     Fri Feb 25 16:40:03 2011 +0100
+++ b/src/share/tools/hsdis/hsdis.c     Mon Feb 28 16:17:00 2011 +0100
@@ -22,8 +22,6 @@
 *
 */

-#include "precompiled.hpp"
-
/* hsdis.c -- dump a range of addresses as native instructions
   This implements the plugin protocol required by the
   HotSpot PrintAssembly option.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/50c0f22d6d0e
01-03-2011

EVALUATION ok
01-03-2011