Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8346386

[CRaC] Move CRaC’s Java code out of restricted packages

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-crac
    • 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).

            rvansa Radim Vansa
            rvansa Radim Vansa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: