[module-imports] Importing java.se?
Alex Buckley
alex.buckley at oracle.com
Wed Jul 17 20:38:23 UTC 2024
On 7/17/2024 1:01 PM, Stephan Herrmann wrote:
> Where will the update be posted?
JEP 261 will be updated inline, in a way that distinguishes the original
Java 9 rule from the Java 11 rule.
> Meanwhile I found this in the announcement on jigsaw-dev:
> "As the policy is JDK-specific it means there aren't any
> specification changes."
>
> How does this match to the existence of a compiler that is not part of
> JDK? Should that compiler not implement the change?
JEP 261 has scope SE, not scope JDK, so it was intended that the default
set of root modules is a characteristic of the Java Platform, not just
the OpenJDK implementation. We'll need to look into why java.lang.module
says the default set of root modules is implementation specific, and why
the CSR ended up with scope JDK.
Alex
More information about the amber-spec-experts
mailing list