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

Radim Vansa rvansa at openjdk.org
Wed Dec 18 10:26:00 UTC 2024


On Wed, 18 Dec 2024 10:02:54 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:
> 
>   Fix CRaC references in java.base docs

src/hotspot/share/classfile/vmSymbols.hpp line 747:

> 745:   template(url_array_classloader_void_signature,            "([Ljava/net/URL;Ljava/lang/ClassLoader;)V")          \
> 746:                                                                                                                   \
> 747:   template(jdk_crac_Core,                          "jdk/internal/crac/mirror/Core")                               \

I think I've missed this one in the first review - shouldn't the first parameter be fixed as well?

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

PR Review Comment: https://git.openjdk.org/crac/pull/164#discussion_r1889990888


More information about the crac-dev mailing list