-
Type:
Task
-
Resolution: Fixed
-
Priority:
P4
-
None
-
Affects Version/s: repo-crac
-
Component/s: core-libs
-
None
Until CRaC is standardized through JCP as a part of JDK it cannot reside in restricted Java packages (e.g. `javax`) or be unqualified-ly exported from restricted Java modules (e.g. `java.base`).
To circumvent this:
1. Move CRaC interface from `javax.crac` in java.base to a non-restricted package in a non-restricted module (e.g. `jdk.crac` package in `jdk.crac` module).
2. Make CRaC implementation that has to stay in `java.base` reside in a package that will only be exported to the CRaC interface module from (1).
To circumvent this:
1. Move CRaC interface from `javax.crac` in java.base to a non-restricted package in a non-restricted module (e.g. `jdk.crac` package in `jdk.crac` module).
2. Make CRaC implementation that has to stay in `java.base` reside in a package that will only be exported to the CRaC interface module from (1).
- links to
-
Commit(crac)
openjdk/crac/82dd03e8
-
Review(crac)
openjdk/crac/164