-
Bug
-
Resolution: Fixed
-
P4
-
12
-
b20
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8234497 | 11.0.7-oracle | Dean Long | P4 | Resolved | Fixed | b01 |
JDK-8236079 | 11.0.7 | Dean Long | P4 | Resolved | Fixed | b01 |
If I edit any source in src/jdk.internal.vm.compiler and then re-run make, I get this error:
dsimon@kruger-5 ~/jdk-jdk> make CONF=macosx-x86_64-normal-server-release images
Building target 'images' in configuration '/Users/dsimon/jdk-jdk/build/macosx-x86_64-normal-server-release'
Compiling 44 files for jdk.httpserver
Updating support/modules_libs/java.base/server/libjvm.dylib due to 12 file(s)
Exception in thread "main" java.lang.Error: /Users/dsimon/jdk-jdk/build/macosx-x86_64-normal-server-release/support/gensrc/jdk.internal.vm.compiler/module-info.java.extra, line 185, multiple provides jdk.vm.ci.services.JVMCIServiceLocator "provides jdk.vm.ci.services.JVMCIServiceLocator with"
at build.tools.module.GenModuleInfoSource$Parser.newError(GenModuleInfoSource.java:762)
at build.tools.module.GenModuleInfoSource$ModuleInfo.process(GenModuleInfoSource.java:436)
at build.tools.module.GenModuleInfoSource$ModuleInfo.parseExtra(GenModuleInfoSource.java:380)
at build.tools.module.GenModuleInfoSource$ModuleInfo.access$100(GenModuleInfoSource.java:175)
at build.tools.module.GenModuleInfoSource.<init>(GenModuleInfoSource.java:136)
at build.tools.module.GenModuleInfoSource.main(GenModuleInfoSource.java:112)
The only solution is to remove /Users/dsimon/jdk-jdk/build/macosx-x86_64-normal-server-release/support/gensrc/jdk.internal.vm.compiler/module-info.java.extra and then re-run make.
This can be reproduced in a clean open repo as follows:
> make
> touch src/jdk.internal.vm.compiler/share/classes//org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotGraalJVMCIServiceLocator.java
> make
This problem occurs when building in both the open and closed repos.
dsimon@kruger-5 ~/jdk-jdk> make CONF=macosx-x86_64-normal-server-release images
Building target 'images' in configuration '/Users/dsimon/jdk-jdk/build/macosx-x86_64-normal-server-release'
Compiling 44 files for jdk.httpserver
Updating support/modules_libs/java.base/server/libjvm.dylib due to 12 file(s)
Exception in thread "main" java.lang.Error: /Users/dsimon/jdk-jdk/build/macosx-x86_64-normal-server-release/support/gensrc/jdk.internal.vm.compiler/module-info.java.extra, line 185, multiple provides jdk.vm.ci.services.JVMCIServiceLocator "provides jdk.vm.ci.services.JVMCIServiceLocator with"
at build.tools.module.GenModuleInfoSource$Parser.newError(GenModuleInfoSource.java:762)
at build.tools.module.GenModuleInfoSource$ModuleInfo.process(GenModuleInfoSource.java:436)
at build.tools.module.GenModuleInfoSource$ModuleInfo.parseExtra(GenModuleInfoSource.java:380)
at build.tools.module.GenModuleInfoSource$ModuleInfo.access$100(GenModuleInfoSource.java:175)
at build.tools.module.GenModuleInfoSource.<init>(GenModuleInfoSource.java:136)
at build.tools.module.GenModuleInfoSource.main(GenModuleInfoSource.java:112)
The only solution is to remove /Users/dsimon/jdk-jdk/build/macosx-x86_64-normal-server-release/support/gensrc/jdk.internal.vm.compiler/module-info.java.extra and then re-run make.
This can be reproduced in a clean open repo as follows:
> make
> touch src/jdk.internal.vm.compiler/share/classes//org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotGraalJVMCIServiceLocator.java
> make
This problem occurs when building in both the open and closed repos.
- backported by
-
JDK-8234497 re-building fails after changing Graal sources
- Resolved
-
JDK-8236079 re-building fails after changing Graal sources
- Resolved
- duplicates
-
JDK-8213212 problem with jdk.internal.vm.compiler's module-info.java.extra and incremental build
- Closed
- relates to
-
JDK-8213588 compiler/graalunit/HotspotTest.java fails after 8213348 / 8211781 were pushed
- Closed
-
JDK-8213598 compiler/graalunit/DebugTest.java fails after 8213348 / 8211781 were pushed
- Closed