Currently, jdk.jdeps uses reflective preview APIs. Such uses are permitted by 
exporting `jdk.internal.javac` to `jdk.jdeps`. This is not preferable as such 
an export is intended for normal preview APIs. We really just need to suppress 
the warnings from use of preview APIs in the `Java.gmk` for `jdk.jdeps` without 
hacking java.base.

This was discovered during the diff cleanup for lworld versus the latest merged 
JDK 27 build 10.

Testing: Building the JDK

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

Commit messages:
 - jdeps use of reflective preview features

Changes: https://git.openjdk.org/valhalla/pull/2193/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2193&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379164
  Stats: 10 lines in 2 files changed: 4 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/valhalla/pull/2193.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2193/head:pull/2193

PR: https://git.openjdk.org/valhalla/pull/2193

Reply via email to