-6

Please help me to know the key differences of components missing from OpenJDK-17 (Eclipse Temurin) which was present in OracleJDK-11.

  • There is nothing missing. Java is backward compatible. – Mirek Pluta Nov 28 '21 at 08:14
  • See https://javaalmanac.io/jdk/17/apidiff/11/ In addition, when using reflection, Java 17 is more restrictive than Java 16 which is more restrictive than Java 15. – howlger Nov 28 '21 at 09:05
  • 4
    @MirekPluta Unfortunately, this is no longer true since Java 9. A couple of things has been first deprecated and then removed from the system library, and newer versions have become more restrictive in terms of encapsulation. – howlger Nov 28 '21 at 09:08

1 Answers1

4

The Java Version Almanac javaalmanac.io provides comparisons between different Java versions of the things that have been added or removed to the system library: see Java 17 vs. Java 11.

See also the release notes of removed features and options of Java 12 to 17:

Please also note the Strongly Encapsulate JDK Internals (JEP 396 and JEP 403): when using reflection, Java 17 is more restrictive than Java 11.

howlger
  • 31,050
  • 11
  • 59
  • 99