[crac] RFR: 8344647: Make java.se participate in the preview language feature `requires transitive java.base`

Jan Kratochvil jkratochvil at openjdk.org
Tue Apr 22 10:25:23 UTC 2025


CRaC trunk (647105388b66b7acedf03d049dc60323912a8fe7) fails to compile for me the same way as `jdk-25+2`:

=== Output from failing command(s) repeated here ===
* For target buildtools_depend__the.COMPILE_DEPEND_batch:
error: cannot access module-info
  bad class file: /modules/java.se/module-info.class
    bad requires flag: ACC_TRANSITIVE (0x0020
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
* For target buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:
error: cannot access module-info
  bad class file: /modules/java.se/module-info.class
    bad requires flag: ACC_TRANSITIVE (0x0020
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

It has been fixed upstream which is what I am backporting.

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

Commit messages:
 - 8344647: Make java.se participate in the preview language feature `requires transitive java.base`

Changes: https://git.openjdk.org/crac/pull/226/files
  Webrev: https://webrevs.openjdk.org/?repo=crac&pr=226&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344647
  Stats: 61 lines in 8 files changed: 51 ins; 4 del; 6 mod
  Patch: https://git.openjdk.org/crac/pull/226.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/226/head:pull/226

PR: https://git.openjdk.org/crac/pull/226


More information about the crac-dev mailing list