[crac] RFR: 8346386: [CRaC] Move CRaC’s Java code out of restricted packages [v5]

Timofei Pushkin duke at openjdk.org
Thu Dec 19 08:16:01 UTC 2024


On Thu, 19 Dec 2024 07:02:18 GMT, Timofei Pushkin <duke at openjdk.org> wrote:

>> To circumvent CRaC's limiting not-yet-standardized status:
>> 1. Moved CRaC interface from `javax.crac` in `java.base` to `jdk.crac` in a new `jdk.crac` module.
>> 2. Moved CRaC implementation from `jdk.crac` to `jdk.internal.crac.mirror`, both inside `java.base`. The whole CRaC implementation now resides in `jdk.internal.crac` which is exported (partially) only to the new `jdk.crac` module.
>
> Timofei Pushkin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update CRaC Resource class reference in BasicImageReader

41adb74 is a workaround to get `jdk/internal/jimage/JImageOpenTest.java` passing. It is not a full fix, a "more complete" fix (actually also a workaround) should come later as a separate change (it is not related to the package structure tweaking).

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

PR Comment: https://git.openjdk.org/crac/pull/164#issuecomment-2553033318


More information about the crac-dev mailing list