On Wed, 15 May 2024 11:27:04 GMT, ExE Boss <d...@openjdk.org> wrote: >>> Maybe export this interface to `jdk.unsupported`? >> >> I don't we should do that. In general, we need jdk.unsupported to go away in >> the long term. Also integrity of the platform depends on java.base being >> very stingy and not exporting internal packages to other modules. > > Given that `TrustedFieldType` is more generic than stable values, it could be > moved to `jdk.internal.misc` or `jdk.internal.reflect`, then > `jdk.unsupported` could use it without exporting new packages to > `jdk.unsupported`.
At some point in the future, 'jdk.unsupported' will be removed ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18794#discussion_r1601548492