[JDK-8264806](https://bugs.openjdk.java.net/browse/JDK-8264806) changes removed 
sources and also removed JVMCI compiler from list of upgradable modules. JVMCI 
compiler modules should be upgradable in JDK to work with GraalVM. 

Make these modules upgradable again and empty by leaving only reference to 
JVMCI (jdk.internal.vm.ci) module. It does not restore sources - only 
`module-info.java` files are kept.

Note, we continue discussion about 
[JDK-8265091](https://bugs.openjdk.java.net/browse/JDK-8265091): "Use Module 
API to export JVMCI packages at runtime" to see if we can remove these 
`module-info.java` files.

Changes were proposed by @dougxc after testing 
[JDK-8264806](https://bugs.openjdk.java.net/browse/JDK-8264806) changes with 
GraalVM.
I restored related code in some tests for them to pass.

Testing: full tier1-tier3.

-------------

Commit messages:
 - Fix tests
 - 8267112: Graal modules should be kept upgradable

Changes: https://git.openjdk.java.net/jdk/pull/4014/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4014&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267112
  Stats: 83 lines in 9 files changed: 34 ins; 42 del; 7 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4014.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4014/head:pull/4014

PR: https://git.openjdk.java.net/jdk/pull/4014

Reply via email to