Some Java Historiography
javaalmanac.io

New APIs in Java 15

Comparing Java 15 (build 15.ea.15-open) with Java 13 (build 13.0.2.hs-adpt).

Element Modification
java.base
java.io
  • added
PrintStream
  • added
  • added
java.lang.annotation
ElementType
  • added
java.lang.invoke
ClassSpecializer.Factory
ClassSpecializer.Factory(ClassSpecializer)
  • removed
ConstantBootstraps
ConstantBootstraps()
  • removed
MethodHandles.Lookup
  • added
  • added
java.lang.reflect
Modifier
Modifier()
  • removed
  • added
  • added
java.lang
Class
  • added
  • added
LiveStackFrame.PrimitiveSlot
LiveStackFrame.PrimitiveSlot()
  • removed
NullPointerException
  • added
  • added
StrictMath
  • added
  • added
  • added
  • added
  • added
  • added
String
  • - forRemoval
  • - forRemoval
  • - forRemoval
ThreadGroup
  • + forRemoval
  • + forRemoval
  • + forRemoval
Thread
  • + forRemoval
  • + forRemoval
java.security.acl
  • removed
java.text
CompactNumberFormat
  • added
DecimalFormatSymbols
  • added
  • added
java.util.concurrent.locks
LockSupport
  • added
java.util.jar
Pack200
  • removed
Pack200.Packer
  • removed
Pack200.Unpacker
  • removed
java.util
HashSet
  • added
  • added
java.compiler
javax.lang.model.element
ElementKind
  • added
  • added
  • added
ElementVisitor
  • added
Element
  • added
  • added
TypeElement
  • added
javax.lang.model.type
TypeMirror
  • added
  • added
  • added
javax.lang.model.util
  • added
  • added
AbstractElementVisitor6
  • added
  • added
ElementFilter
  • added
  • added
  • added
ElementKindVisitor6
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Elements
  • added
javax.lang.model
SourceVersion
  • added
  • added
javax.tools
ToolProvider
  • + forRemoval
java.desktop
java.awt.peer
ComponentPeer
checkImage(Image, int, int, ImageObserver)
  • removed
createImage(ImageProducer)
  • removed
prepareImage(Image, int, int, ImageObserver)
  • removed
MenuPeer
addSeparator()
  • removed
java.management.rmi
javax.management.remote.rmi
RMIConnectorServer
CREDENTIAL_TYPES
  • removed
Data Source

This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 15.ea.15-open and 13.0.2.hs-adpt. It does not make statements about compatibility.

More detailed API comparisons based on the japicmp tool can be found here.