On Wed, 4 Mar 2026 03:45:49 GMT, Chen Liang <[email protected]> wrote:
> Currently, jdk.jdeps uses reflective preview APIs. Such uses are permitted by > exporting `jdk.internal.javac` to `jdk.jdeps`. This is not preferable as this > is a hidden opt-in. In principle, reflective or normal preview API use should > both be opt-in, so we make jdk.jdeps opt-in to preview features usage. > > This was discovered during the diff cleanup for lworld versus the latest > merged JDK 27 build 10 in #2171. > > Testing: Building the JDK This pull request has now been integrated. Changeset: b558a7b7 Author: Chen Liang <[email protected]> URL: https://git.openjdk.org/valhalla/commit/b558a7b7a9d25e475b0cbc37bceba65cc8129491 Stats: 10 lines in 2 files changed: 3 ins; 0 del; 7 mod 8379164: [lworld] Handle reflective preview API use in jdk.jdeps Reviewed-by: rriggs ------------- PR: https://git.openjdk.org/valhalla/pull/2193
