Add java21-to-25 module: compile-once probes on JDK 21 and 25, removed APIs, build matrix, pinning, compact headers and containers

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
Claude
2026-12-03 09:26:21 +05:30
parent d4b8552957
commit 3502fd7804
46 changed files with 1371 additions and 0 deletions
+76
View File
@@ -0,0 +1,76 @@
# 04-removed-api: public types and methods in JDK 21 that are gone in JDK 25 (javap -public over java.* and selected jdk.* modules)
## public types removed
java.lang.StringTemplate
java.lang.StringTemplate$Processor
java.lang.StringTemplate$Processor$Linkage
java.lang.runtime.TemplateRuntime
java.util.FormatProcessor
java.util.concurrent.StructuredTaskScope$ShutdownOnFailure
java.util.concurrent.StructuredTaskScope$ShutdownOnSuccess
javax.management.loading.MLet
javax.management.loading.MLetContent
javax.management.loading.MLetMBean
javax.management.loading.PrivateMLet
javax.xml.catalog.GroupEntry$ResolveType
jdk.jfr.events.EventConfigurations
jdk.jfr.events.VirtualThreadPinnedEvent
## public methods removed (not inherited from a supertype either)
java.awt.peer.WindowPeer.repositionSecurityWarning()
java.lang.Class.isUnnamedClass()
java.lang.ScopedValue.callWhere(java.lang.ScopedValue,T,java.util.concurrent.Callable)
java.lang.ScopedValue.getWhere(java.lang.ScopedValue,T,java.util.function.Supplier)
java.lang.ScopedValue.runWhere(java.lang.ScopedValue,T,java.lang.Runnable)
java.lang.ScopedValue$Carrier.call(java.util.concurrent.Callable)
java.lang.ScopedValue$Carrier.get(java.util.function.Supplier)
java.lang.Thread.countStackFrames()
java.lang.Thread.resume()
java.lang.Thread.suspend()
java.lang.ThreadGroup.resume()
java.lang.ThreadGroup.stop()
java.lang.ThreadGroup.suspend()
java.lang.foreign.Linker$Option.isTrivial()
java.lang.foreign.MemoryLayout.sequenceLayout(java.lang.foreign.MemoryLayout)
java.lang.foreign.MemorySegment.getUtf8String(long)
java.lang.foreign.MemorySegment.segmentOffset(java.lang.foreign.MemorySegment)
java.lang.foreign.MemorySegment.setUtf8String(long,java.lang.String)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.AddressLayout,java.lang.foreign.MemorySegment)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.ValueLayout$OfByte,byte)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.ValueLayout$OfChar,char)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.ValueLayout$OfDouble,double)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.ValueLayout$OfFloat,float)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.ValueLayout$OfInt,int)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.ValueLayout$OfLong,long)
java.lang.foreign.SegmentAllocator.allocate(java.lang.foreign.ValueLayout$OfShort,short)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.MemoryLayout,long)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.ValueLayout$OfByte,byte...)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.ValueLayout$OfChar,char...)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.ValueLayout$OfDouble,double...)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.ValueLayout$OfFloat,float...)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.ValueLayout$OfInt,int...)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.ValueLayout$OfLong,long...)
java.lang.foreign.SegmentAllocator.allocateArray(java.lang.foreign.ValueLayout$OfShort,short...)
java.lang.foreign.SegmentAllocator.allocateUtf8String(java.lang.String)
java.lang.foreign.ValueLayout.arrayElementVarHandle(int...)
java.lang.invoke.MethodHandles.memorySegmentViewVarHandle(java.lang.foreign.ValueLayout)
java.lang.invoke.StringConcatFactory.makeConcatWithTemplate(java.util.List,java.util.List)
java.lang.invoke.StringConcatFactory.makeConcatWithTemplateCluster(java.util.List,java.util.List,int)
java.lang.invoke.StringConcatFactory.makeConcatWithTemplateGetters(java.util.List,java.util.List,int)
java.util.concurrent.StructuredTaskScope.StructuredTaskScope()
java.util.concurrent.StructuredTaskScope.StructuredTaskScope(java.lang.String,java.util.concurrent.ThreadFactory)
java.util.concurrent.StructuredTaskScope.isShutdown()
java.util.concurrent.StructuredTaskScope.joinUntil(java.time.Instant)
java.util.concurrent.StructuredTaskScope.shutdown()
java.util.concurrent.StructuredTaskScope$Subtask.task()
javax.lang.model.element.TypeElement.isUnnamed()
javax.swing.plaf.basic.BasicSliderUI.BasicSliderUI()
javax.swing.plaf.synth.SynthLookAndFeel.load(java.net.URL)
jdk.jfr.events.ActiveRecordingEvent.commit(long,long,long,java.lang.String,java.lang.String,boolean,long,long,long,long,long)
jdk.jfr.events.ActiveSettingEvent.commit(long,long,long,java.lang.String,java.lang.String)
jdk.jfr.events.ErrorThrownEvent.commit(long,long,java.lang.String,java.lang.Class)
jdk.jfr.events.ExceptionThrownEvent.commit(long,long,java.lang.String,java.lang.Class)
jdk.jfr.events.FileForceEvent.commit(long,long,java.lang.String,boolean)
jdk.jfr.events.FileReadEvent.commit(long,long,java.lang.String,long,boolean)
jdk.jfr.events.FileWriteEvent.commit(long,long,java.lang.String,long)
jdk.jfr.events.SocketReadEvent.commit(long,long,java.lang.String,java.lang.String,int,long,long,boolean)
jdk.jfr.events.SocketWriteEvent.commit(long,long,java.lang.String,java.lang.String,int,long)
jdk.tools.jlink.builder.DefaultImageBuilder.DefaultImageBuilder(java.nio.file.Path,java.util.Map)