JDK-7190512 : Fix for 7181175 broke hotspot/make/windows/create.bat builds.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2012-08-10
  • Updated: 2013-09-04
  • Resolved: 2012-08-27
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 Other
7u40Fixed 8Fixed hs24Fixed
Related Reports
Relates :  
Description
After this change went into the hotspot-rt forest:

changeset:   3526:0d8e265ba727
user:        dcubed
date:        Fri Aug 03 18:34:28 2012 -0700
summary:     7181175: Enable builds on Windows with MinGW/MSYS

Users trying to build with hotspot/make/windows/create.bat get a failure, as follows:

$ hg update -r 3526:0d8e265ba727
4 files updated, 0 files merged, 0 files removed, 0 files unresolved


$ cd c:\jdk8\TBD\hotspot\make\windows
$ create.bat C:/PROGRA~1/Java/JDK17~1.0_0

[...]
        rm -f  ad_x86_32.cpp  ad_x86_32.hpp  ad_x86_32_clone.cpp  ad_x86_32_expand.cpp  ad_x86_32_format.cpp  ad_x86_32_gen.cpp  ad_x86_32_misc.cpp  ad_x86_32_peephole.cpp  ad_x86_32_pipeline.cpp  adGlobals_x86_32.hpp  dfa_x86_32.cpp
        if exist c:\jdk8\TBD\hotspot\build\vs-i486\tiered\generated\adfiles rmdir /s /q c:\jdk8\TBD\hotspot\build\vs-i486\tiered\generated\adfiles
        mkdir c:\jdk8\TBD\hotspot\build\vs-i486\tiered\generated\adfiles
        adlc -q -T -U_LP64 x86_32.ad
**************************************************************
***** WARNING: ASSERT is undefined, assertions disabled. *****
**************************************************************
        mv  ad_x86_32.cpp  ad_x86_32.hpp  ad_x86_32_clone.cpp  ad_x86_32_expand.cpp  ad_x86_32_format.cpp  ad_x86_32_gen.cpp  ad_x86_32_misc.cpp  ad_x86_32_peephole.cpp  ad_x86_32_pipeline.cpp  adGlobals_x86_32.hpp  dfa_x86_32.cpp c:\jdk8\TBD\hotspot\build\vs-i486\tiered\generated\adfiles/
        "C:/PROGRA~1/Java/JDK17~1.0_0\bin\javac" -g -encoding ascii -source 6 -target 6 -d c:\jdk8\TBD\hotspot\build\vs-i486\tiered\generated\jvmtifiles c:\jdk8\TBD\hotspot\/src/share/vm/prims/jvmtiGen.java
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
Generating c:\jdk8\TBD\hotspouild?s-i486\tiered\generated\jvmtifiles/jvmtiEnv.hpp
Generating c:\jdk8\TBD\hotspouild?s-i486\tiered\generated\jvmtifiles/jvmtiEnter.cpp
Generating c:\jdk8\TBD\hotspouild?s-i486\tiered\generated\jvmtifiles/jvmtiEnterTrace.cpp
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
Generating c:\jdk8\TBD\hotspouild?s-i486\tiered\generated\jvmtifiles/jvmtiEnvRecommended.cpp
Generating c:\jdk8\TBD\hotspouild?s-i486\tiered\generated\jvmtifiles/bytecodeInterpreterWithChecks.cpp
Generating c:\jdk8\TBD\hotspouild?s-i486\tiered\generated\jvmtifiles/jvmti.h
-- core --
        "C:/PROGRA~1/Java/JDK17~1.0_0\bin\javac" -g -encoding ascii -source 6 -target 6 -d c:\jdk8\TBD\hotspot\build\vs-i486\core\generated\jvmtifiles c:\jdk8\TBD\hotspot\/src/share/vm/prims/jvmtiGen.java
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
Generating c:\jdk8\TBD\hotspouild?s-i486Generating c:\jdk8\TBD\hotspouild?s-i486
Generating c:\jdk8\TBD\hotspouild?s-i486warning: [options] bootstrap class path
not set in conjunction with -source 1.6
1 warning
Generating c:\jdk8\TBD\hotspouild?s-i486Generating c:\jdk8\TBD\hotspouild?s-i486
Generating c:\jdk8\TBD\hotspouild?s-i486-- kernel --
        "C:/PROGRA~1/Java/JDK17~1.0_0\bin\javac" -g -encoding ascii -source 6 -target 6 -d c:\jdk8\TBD\hotspot\build\vs-i486\kernel\generated\jvmtifiles c:\jdk8\TBD\hotspot\/src/share/vm/prims/jvmtiGen.java
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
Generating c:\jdk8\TBD\hotspouild?s-i486\kernel\generated\jvmtifiles/jvmtiEnv.hpp
Generating c:\jdk8\TBD\hotspouild?s-i486\kernel\generated\jvmtifiles/jvmtiEnter.cpp
Generating c:\jdk8\TBD\hotspouild?s-i486\kernel\generated\jvmtifiles/jvmtiEnterTrace.cpp
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
Generating c:\jdk8\TBD\hotspouild?s-i486\kernel\generated\jvmtifiles/jvmtiEnvRecommended.cpp
Generating c:\jdk8\TBD\hotspouild?s-i486\kernel\generated\jvmtifiles/bytecodeInterpreterWithChecks.cpp
Generating c:\jdk8\TBD\hotspouild?s-i486\kernel\generated\jvmtifiles/jvmti.h
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Error: Could not find or load main class .classes
NMAKE : fatal error U1077: 'C:/PROGRA~1/Java/JDK17~1.0_0\bin\java.EXE' : return
code '0x1'
Stop.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/98625323d3a3
22-08-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/98625323d3a3
11-08-2012

EVALUATION % hg diff diff --git a/make/windows/projectfiles/common/Makefile b/make/windows/projectfiles/common/Makefile --- a/make/windows/projectfiles/common/Makefile +++ b/make/windows/projectfiles/common/Makefile @@ -108,7 +108,7 @@ -define HOTSPOT_VM_DISTRO=\\\"$(HOTSPOT_VM_DISTRO)\\\" $(HOTSPOTBUILDSPACE)/$(ProjectFile): $(HOTSPOTBUILDSPACE)/classes/ProjectCreator.class - @$(RUN_JAVA) -Djava.class.path=$(HOTSPOTBUILDSPACE)/classes ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions) + @$(RUN_JAVA) -Djava.class.path="$(HOTSPOTBUILDSPACE)/classes" ProjectCreator WinGammaPlatform$(VcVersion) $(ProjectCreatorIDEOptions) clean: @rm -rf $(HOTSPOTBUILDSPACE)/classes
10-08-2012