JDK-6488753 : need additional sanity checks in the hotspot makefiles
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2006-11-01
  • Updated: 2012-10-08
  • Resolved: 2006-12-02
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 6 JDK 7 Other
6u4Fixed 7Fixed hs10Fixed
The makefiles of the hotspot does not check whether a microsoft tool (like the link.exe) or a cygwin (or MKS) tool is used. There should be added some sanity checks to prevent using the link.exe from cygwin instead of the Microsoft link.exe.

EVALUATION Add sanity checks for cl.exe and link.exe on Windows.

WORK AROUND Place the MS VS compiler path before the /bin (or /usr/bin) in the PATH. The order is oppposite to the one required by the J2SE makefiles to work correctly.