RFR: JDK-8265773: incorrect jdeps message "jdk8internals" to describe a removed JDK internal API

Mandy Chung mchung at openjdk.java.net
Wed Apr 28 01:18:03 UTC 2021


jdeps should print "JDK removed internal APIs" to give an informative description when a JDK internal API that is being referenced has been removed.  JDK-8213909 incorrectly changed it to print `jdk8internals`.

An example output is:


classes -> jdk8internals
   p.Main                                             -> sun.misc.Service                                      JDK removed internal API
   p.Main                                             -> sun.misc.SoftCache                                 JDK removed internal API

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

Commit messages:
 - JDK-8265773: jdeps message jdk8internals indicating a non-existent JDK API is incorrect

Changes: https://git.openjdk.java.net/jdk/pull/3741/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3741&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265773
  Stats: 75 lines in 3 files changed: 74 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3741.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3741/head:pull/3741

PR: https://git.openjdk.java.net/jdk/pull/3741


More information about the compiler-dev mailing list