# New API since JDK 11

Show API added in: 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Toggle all

## Contents

- Modules
- Packages
- Interfaces
- Classes
- Enum Classes
- Exception Classes
- Record Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants

New Modules
Module
Added in
Description
jdk.jpackage
16
Defines the Java Packaging tool, jpackage.
jdk.nio.mapmode
14
Defines JDK-specific file mapping modes.

New Packages
Package
Added in
Description
java.lang.classfile
24
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
24
Provides interfaces describing `class` file attributes for the `java.lang.classfile` library.
java.lang.classfile.constantpool
24
Provides interfaces describing constant pool entries for the `java.lang.classfile` library.
java.lang.classfile.instruction
24
Provides interfaces describing code instructions for the `java.lang.classfile` library.
java.lang.constant
12
Classes and interfaces to represent nominal descriptors for run-time entities such as classes or method handles, and classfile entities such as constant pool entries or `invokedynamic` call sites.
java.lang.foreign
22
Provides low-level access to memory and functions outside the Java runtime.
java.lang.runtime
14
The `java.lang.runtime` package provides low-level runtime support for the Java language.
java.util.random
17
This package contains classes and interfaces that support a generic API for random number generation.
javax.naming.ldap.spi
12
Provides the Service Provider Interface for DNS lookups when performing LDAP operations.
javax.sound
25
Provides interfaces and classes for the Java Sound API.
jdk.management
24
This package contains JDK extensions to the standard implementation of the `java.lang.management` API.
jdk.nio.mapmode
14
JDK-specific map modes for use with FileChannel::map.

New Interfaces
Interface
Added in
Description
com.sun.net.httpserver.Request
18
A view of the immutable request state of an HTTP exchange.
com.sun.source.doctree.EscapeTree
21
A tree node for a character represented by an escape sequence.
com.sun.source.doctree.RawTextTree
23
A tree node for a fragment of uninterpreted raw text content.
com.sun.source.doctree.SnippetTree
18
A tree node for an `@snippet` inline tag.
com.sun.source.doctree.SpecTree
20
A tree node for an `@spec` block tag.
com.sun.source.doctree.SystemPropertyTree
12
A tree node for an `@systemProperty` inline tag.
com.sun.source.tree.AnyPatternTree
22
A tree node for a binding pattern that matches a pattern with a variable of any name and a type of the match candidate; an unnamed pattern.
com.sun.source.tree.BindingPatternTree
16
A binding pattern tree
com.sun.source.tree.CaseLabelTree
21
A marker interface for `Tree`s that may be used as `CaseTree` labels.
com.sun.source.tree.ConstantCaseLabelTree
21
A case label element that refers to a constant expression
com.sun.source.tree.DeconstructionPatternTree
21
A deconstruction pattern tree.
com.sun.source.tree.DefaultCaseLabelTree
21
A case label that marks `default` in `case null, default`.
com.sun.source.tree.PatternCaseLabelTree
21
A case label element that refers to an expression
com.sun.source.tree.PatternTree
16
A tree node used as the base class for the different kinds of patterns.
com.sun.source.tree.SwitchExpressionTree
14
A tree node for a `switch` expression.
com.sun.source.tree.YieldTree
14
A tree node for a `yield` statement.
com.sun.source.util.ParameterNameProvider
13
A provider for parameter names when the parameter names are not determined from a reliable source, like a classfile.
java.lang.classfile.AccessFlags
24
Models the access flags for a class, method, or field.
java.lang.classfile.Annotation
24
Models an `annotation` structure (JVMS 4.7.16) or part of a `type_annotation` structure (JVMS 4.7.20).
java.lang.classfile.AnnotationElement
24
Models an element-value pair in the `element_value_pairs` table in the `annotation` structure defined in JVMS 4.7.16 or the `type_annotation` structure defined in JVMS 4.7.20.
java.lang.classfile.AnnotationValue
24
Models an `element_value` structure, or a value of an element-value pair of an annotation, as defined in JVMS 4.7.16.1.
java.lang.classfile.AnnotationValue.OfAnnotation
24
Models an annotation value of an element-value pair.
java.lang.classfile.AnnotationValue.OfArray
24
Models an array value of an element-value pair.
java.lang.classfile.AnnotationValue.OfBoolean
24
Models a boolean value of an element-value pair.
java.lang.classfile.AnnotationValue.OfByte
24
Models a byte value of an element-value pair.
java.lang.classfile.AnnotationValue.OfChar
24
Models a char value of an element-value pair.
java.lang.classfile.AnnotationValue.OfClass
24
Models a class value of an element-value pair.
java.lang.classfile.AnnotationValue.OfConstant
24
Models a constant value of an element-value pair.
java.lang.classfile.AnnotationValue.OfDouble
24
Models a double value of an element-value pair.
java.lang.classfile.AnnotationValue.OfEnum
24
Models an enum value of an element-value pair.
java.lang.classfile.AnnotationValue.OfFloat
24
Models a float value of an element-value pair.
java.lang.classfile.AnnotationValue.OfInt
24
Models an int value of an element-value pair.
java.lang.classfile.AnnotationValue.OfLong
24
Models a long value of an element-value pair.
java.lang.classfile.AnnotationValue.OfShort
24
Models a short value of an element-value pair.
java.lang.classfile.AnnotationValue.OfString
24
Models a string value of an element-value pair.
java.lang.classfile.Attribute
24
Models an attribute (JVMS 4.7) in the `class` file format.
java.lang.classfile.attribute.AnnotationDefaultAttribute
24
Models the `AnnotationDefault` attribute (JVMS 4.7.22), which records the default value (JLS 9.6.2) for the annotation interface element defined by this method.
java.lang.classfile.attribute.BootstrapMethodsAttribute
24
Models the `BootstrapMethods` attribute (JVMS 4.7.23), which stores symbolic information for the execution of bootstrap methods, used by dynamically-computed call sites and constants.
java.lang.classfile.attribute.CharacterRangeInfo
24
Models a single character range entry in the `CharacterRangeTableAttribute`.
java.lang.classfile.attribute.CharacterRangeTableAttribute
24
Models the `CharacterRangeTable` attribute, which is a bidirectional mapping from ranges of positions in the source file to ranges of indices into the `code` array.
java.lang.classfile.attribute.CodeAttribute
24
Models the `Code` attribute (JVMS 4.7.3), which contains the bytecode of this method.
java.lang.classfile.attribute.CompilationIDAttribute
24
Models the `CompilationID` attribute, which records the compilation time of the `class` file.
java.lang.classfile.attribute.ConstantValueAttribute
24
Models the `ConstantValue` attribute (JVMS 4.7.2), which indicates this field's value is a constant and that constant value.
java.lang.classfile.attribute.DeprecatedAttribute
24
Models the `Deprecated` attribute (JVMS 4.7.15), which indicates this structure has been superseded.
java.lang.classfile.attribute.EnclosingMethodAttribute
24
Models the `EnclosingMethod` attribute (JVMS 4.7.7), which indicates that this class is a local or anonymous class, and indicates the enclosing method or constructor of this class if this class is enclosed in exactly one method or constructor.
java.lang.classfile.attribute.ExceptionsAttribute
24
Models the `Exceptions` attribute (JVMS 4.7.5), which records the exceptions declared to be thrown by this method.
java.lang.classfile.attribute.InnerClassesAttribute
24
Models the `InnerClasses` attribute (JVMS 4.7.6), which records which classes referenced by this `class` file are nested classes.
java.lang.classfile.attribute.InnerClassInfo
24
Models a single entry in the `InnerClassesAttribute`.
java.lang.classfile.attribute.LineNumberInfo
24
Models a single line number entry in the `LineNumberTableAttribute`.
java.lang.classfile.attribute.LineNumberTableAttribute
24
Models the `LineNumberTable` attribute (JVMS 4.7.12), which records the mapping between indexes into the `code` array and line numbers in the source file.
java.lang.classfile.attribute.LocalVariableInfo
24
Models a single local variable in the `LocalVariableTableAttribute`.
java.lang.classfile.attribute.LocalVariableTableAttribute
24
Models the `LocalVariableTable` attribute (JVMS 4.7.13), which records debug information about local variables.
java.lang.classfile.attribute.LocalVariableTypeInfo
24
Models a single local variable in the `LocalVariableTypeTableAttribute`.
java.lang.classfile.attribute.LocalVariableTypeTableAttribute
24
Models the `LocalVariableTypeTable` attribute (JVMS 4.7.14), which records debug information about local variables with generic types.
java.lang.classfile.attribute.MethodParameterInfo
24
Models a single method parameter in the `MethodParametersAttribute`.
java.lang.classfile.attribute.MethodParametersAttribute
24
Models the `MethodParameters` attribute (JVMS 4.7.24), which records reflective information about this method's parameters such as access modifiers.
java.lang.classfile.attribute.ModuleAttribute
24
Models the `Module` attribute (JVMS 4.7.25), which always appears on classes that represent module descriptors.
java.lang.classfile.attribute.ModuleAttribute.ModuleAttributeBuilder
24
A builder for `Module` attributes.
java.lang.classfile.attribute.ModuleExportInfo
24
Models a single "exports" declaration in the `ModuleAttribute`.
java.lang.classfile.attribute.ModuleHashesAttribute
24
Models the `ModuleHashes` attribute, which appears on classes that represent module descriptors to capture the hashes of a set of co-delivered modules.
java.lang.classfile.attribute.ModuleHashInfo
24
Models hash information for a single module in the `ModuleHashesAttribute`.
java.lang.classfile.attribute.ModuleMainClassAttribute
24
Models the `ModuleMainClass` attribute (JVMS 4.7.27), which appears on classes that represent module descriptors to indicate the main class of the module.
java.lang.classfile.attribute.ModuleOpenInfo
24
Models a single "opens" declaration in the `ModuleAttribute`.
java.lang.classfile.attribute.ModulePackagesAttribute
24
Models the `ModulePackages` attribute (JVMS 4.7.26), which can appear on classes that represent module descriptors to indicate packages in the module used by the module descriptor.
java.lang.classfile.attribute.ModuleProvideInfo
24
Models a single "provides" declaration in the `ModuleAttribute`.
java.lang.classfile.attribute.ModuleRequireInfo
24
Models a single "requires" declaration in the `ModuleAttribute`.
java.lang.classfile.attribute.ModuleResolutionAttribute
24
Models the `ModuleResolution` attribute, which can appear on classes that represent module descriptors, to capture resolution metadata for modules.
java.lang.classfile.attribute.ModuleTargetAttribute
24
Models the `ModuleTarget` attribute, which can appear on classes that represent module descriptors, to represent constraints on the target platform.
java.lang.classfile.attribute.NestHostAttribute
24
Models the `NestHost` attribute (JVMS 4.7.28), which indicates this class is a member of a nest and the host class of the nest.
java.lang.classfile.attribute.NestMembersAttribute
24
Models the `NestMembers` attribute (JVMS 4.7.29), which indicates that this class is the host of a nest and the other nest members.
java.lang.classfile.attribute.PermittedSubclassesAttribute
24
Models the `PermittedSubclasses` attribute (JVMS 4.7.31), which indicates this class or interface is sealed, and which classes or interfaces may extend or implement this class or interface.
java.lang.classfile.attribute.RecordAttribute
24
Models the `Record` attribute (JVMS 4.7.30), which indicates that this class is a record class and the record components.
java.lang.classfile.attribute.RecordComponentInfo
24
Models a single record component in the `RecordAttribute`.
java.lang.classfile.attribute.RuntimeInvisibleAnnotationsAttribute
24
Models the `RuntimeInvisibleAnnotations` attribute (JVMS 4.7.17), which stores declaration annotations on this structure that are visible to `class` file consumers but are not visible to core reflection.
java.lang.classfile.attribute.RuntimeInvisibleParameterAnnotationsAttribute
24
Models the `RuntimeInvisibleParameterAnnotations` attribute (JVMS 4.7.19), which stores declaration annotations on the method parameters of this method that are visible to `class` file consumers but are not visible to core reflection.
java.lang.classfile.attribute.RuntimeInvisibleTypeAnnotationsAttribute
24
Models the `RuntimeInvisibleTypeAnnotations` attribute (JVMS 4.7.21), which stores type-use annotations for the annotated uses of types in this structure that are visible to `class` file consumers but are not visible to core reflection.
java.lang.classfile.attribute.RuntimeVisibleAnnotationsAttribute
24
Models the `RuntimeVisibleAnnotations` attribute (JVMS 4.7.16), which stores declaration annotations on this structure that are visible to both `class` file consumers and core reflection.
java.lang.classfile.attribute.RuntimeVisibleParameterAnnotationsAttribute
24
Models the `RuntimeVisibleParameterAnnotations` attribute (JVMS 4.7.18), which stores declaration annotations on the method parameters of this method that are visible to both `class` file consumers and core reflection.
java.lang.classfile.attribute.RuntimeVisibleTypeAnnotationsAttribute
24
Models the `RuntimeVisibleTypeAnnotations` attribute (JVMS 4.7.20), which stores type-use annotations for the annotated uses of types in this structure that are visible to both `class` file consumers and core reflection.
java.lang.classfile.attribute.SignatureAttribute
24
Models the `Signature` attribute (JVMS 4.7.9), which indicates the generic signature of this structure.
java.lang.classfile.attribute.SourceDebugExtensionAttribute
24
Models the `SourceDebugExtension` attribute (JVMS 4.7.11), which stores arbitrary modified UTF-8 data.
java.lang.classfile.attribute.SourceFileAttribute
24
Models the `SourceFile` attribute (JVMS 4.7.10), which indicates the name of the source file from which this `class` file was compiled.
java.lang.classfile.attribute.SourceIDAttribute
24
Models the `SourceID` attribute, which records the last modified time of the source file from which this `class` file was compiled.
java.lang.classfile.attribute.StackMapFrameInfo
24
Models a stack map frame in a `StackMapTable` attribute (JVMS 4.7.4).
java.lang.classfile.attribute.StackMapFrameInfo.ObjectVerificationTypeInfo
24
A stack value for an object type.
java.lang.classfile.attribute.StackMapFrameInfo.UninitializedVerificationTypeInfo
24
An uninitialized stack value.
java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfo
24
The type of a stack or local variable value.
java.lang.classfile.attribute.StackMapTableAttribute
24
Models the `StackMapTable` attribute (JVMS 4.7.4), which is used for verification by type checking (4.10.1).
java.lang.classfile.attribute.SyntheticAttribute
24
Models the `Synthetic` attribute (JVMS 4.7.8), which marks a class member as implementation-specific artifacts.
java.lang.classfile.attribute.UnknownAttribute
24
Models an unknown attribute read from a `class` file.
java.lang.classfile.AttributedElement
24
A `ClassFileElement` describing a `class` file structure that has attributes, such as a `class` file, a field, a method, a `Code` attribute, or a record component.
java.lang.classfile.AttributeMapper
24
Bidirectional mapper between the `class` file representation of an attribute and its API model.
java.lang.classfile.BootstrapMethodEntry
24
Models an entry in the bootstrap method table.
java.lang.classfile.BufWriter
24
Advanced `class` file writing support for `AttributeMapper`s.
java.lang.classfile.ClassBuilder
24
A builder for a `class` file.
java.lang.classfile.ClassElement
24
Marker interface for a member element of a `ClassModel`.
java.lang.classfile.ClassFile
24
Provides ability to parse, transform, and generate `class` files.
java.lang.classfile.ClassFile.AttributeMapperOption
24
The option describing user-defined attributes for parsing `class` files.
java.lang.classfile.ClassFile.ClassHierarchyResolverOption
24
The option describing the class hierarchy resolver to use when generating stack maps or verifying classes.
java.lang.classfile.ClassFile.Option
24
An option that affects the parsing or writing of `class` files.
java.lang.classfile.ClassFileBuilder
24
A builder for a `CompoundElement`, which accepts the member elements to be integrated into the built structure.
java.lang.classfile.ClassFileElement
24
Marker interface for structures with special capabilities in the `class` file format.
java.lang.classfile.ClassFileTransform
24
A transformation on a `CompoundElement` by processing its individual member elements and sending the results to a `ClassFileBuilder`, through `ClassFileBuilder.transform(CompoundElement, ClassFileTransform)`.
java.lang.classfile.ClassFileVersion
24
Models the minor and major version numbers of a `class` file (JVMS 4.1).
java.lang.classfile.ClassHierarchyResolver
24
Provides class hierarchy information for stack maps generation and verification.
java.lang.classfile.ClassHierarchyResolver.ClassHierarchyInfo
24
Information about a resolved class.
java.lang.classfile.ClassModel
24
Models a `class` file.
java.lang.classfile.ClassReader
24
Advanced `class` file reading support for `AttributeMapper`s.
java.lang.classfile.ClassSignature
24
Models the generic signature of a class or interface, as defined by JVMS 4.7.9.1.
java.lang.classfile.ClassTransform
24
A transformation on streams of `ClassElement`.
java.lang.classfile.CodeBuilder
24
A builder for `Code` attributes (method bodies).
java.lang.classfile.CodeBuilder.BlockCodeBuilder
24
A builder for blocks of code.
java.lang.classfile.CodeBuilder.CatchBuilder
24
A builder to add catch blocks.
java.lang.classfile.CodeElement
24
Marker interface for a member element of a `CodeModel`.
java.lang.classfile.CodeModel
24
Models the body of a method (the `Code` attribute).
java.lang.classfile.CodeTransform
24
A transformation on streams of `CodeElement`.
java.lang.classfile.CompoundElement
24
A `class` file structure that can be viewed as a composition of its member structures.
java.lang.classfile.constantpool.AnnotationConstantValueEntry
24
Marker interface for constant pool entries that can represent constant values associated with elements of annotations.
java.lang.classfile.constantpool.ClassEntry
24
Models a `CONSTANT_Class_info` structure, representing a reference type, in the constant pool of a `class` file.
java.lang.classfile.constantpool.ConstantDynamicEntry
24
Models a `CONSTANT_Dynamic_info` structure, representing a dynamically-computed constant, in the constant pool of a `class` file.
java.lang.classfile.constantpool.ConstantPool
24
Provides read access to the constant pool and the bootstrap method table of a `class` file.
java.lang.classfile.constantpool.ConstantPoolBuilder
24
Builder for the constant pool of a `class` file.
java.lang.classfile.constantpool.ConstantValueEntry
24
Marker interface for constant pool entries that can represent constant values in the `ConstantValue` attribute.
java.lang.classfile.constantpool.DoubleEntry
24
Models a `CONSTANT_Double_info` structure, representing a `double` constant, in the constant pool of a `class` file.
java.lang.classfile.constantpool.DynamicConstantPoolEntry
24
Superinterface modeling dynamically-computed constant pool entries, which include `ConstantDynamicEntry` and `InvokeDynamicEntry`, in the constant pool of a `class` file.
java.lang.classfile.constantpool.FieldRefEntry
24
Models a `CONSTANT_Fieldref_info` structure, or a symbolic reference to a field, in the constant pool of a `class` file.
java.lang.classfile.constantpool.FloatEntry
24
Models a `CONSTANT_Float_info` structure, or a `float` constant, in the constant pool of a `class` file.
java.lang.classfile.constantpool.IntegerEntry
24
Models a `CONSTANT_Integer_info` structure, or an `int` constant, in the constant pool of a `class` file.
java.lang.classfile.constantpool.InterfaceMethodRefEntry
24
Models a `CONSTANT_InterfaceMethodRef_info` structure, or a symbolic reference to an interface method, in the constant pool of a `class` file.
java.lang.classfile.constantpool.InvokeDynamicEntry
24
Models a `CONSTANT_InvokeDynamic_info` structure, or the symbolic reference to a dynamically-computed call site, in the constant pool of a `class` file.
java.lang.classfile.constantpool.LoadableConstantEntry
24
Marker interface for constant pool entries suitable for loading via the `ldc` instructions.
java.lang.classfile.constantpool.LongEntry
24
Models a `CONSTANT_Long_info` structure, or a `long` constant, in the constant pool of a `class` file.
java.lang.classfile.constantpool.MemberRefEntry
24
Superinterface modeling symbolic references to a member of a class or interface in the constant pool of a `class` file, which include references to fields, class methods, and interface methods.
java.lang.classfile.constantpool.MethodHandleEntry
24
Models a `CONSTANT_MethodHandle_info` structure, or a symbolic reference to a method handle, in the constant pool of a `class` file.
java.lang.classfile.constantpool.MethodRefEntry
24
Models a `CONSTANT_MethodRef_info` structure, or a symbolic reference to a class method, in the constant pool of a `class` file.
java.lang.classfile.constantpool.MethodTypeEntry
24
Models a `CONSTANT_MethodType_info` structure, or a symbolic reference to a method type, in the constant pool of a `class` file.
java.lang.classfile.constantpool.ModuleEntry
24
Models a `CONSTANT_Module_info` structure, denoting a module, in the constant pool of a `class` file.
java.lang.classfile.constantpool.NameAndTypeEntry
24
Models a `CONSTANT_NameAndType_info` structure, representing a field or method, in the constant pool of a `class` file.
java.lang.classfile.constantpool.PackageEntry
24
Models a `CONSTANT_Package_info`, representing a package, in the constant pool of a `class` file.
java.lang.classfile.constantpool.PoolEntry
24
Models an entry in the constant pool of a `class` file.
java.lang.classfile.constantpool.StringEntry
24
Models a `CONSTANT_String_info` structure, or a string constant, in the constant pool of a `class` file.
java.lang.classfile.constantpool.Utf8Entry
24
Models a `CONSTANT_UTF8_info` constant, representing strings, in the constant pool of a `class` file.
java.lang.classfile.FieldBuilder
24
A builder for fields.
java.lang.classfile.FieldElement
24
Marker interface for a member element of a `FieldModel`.
java.lang.classfile.FieldModel
24
Models a field.
java.lang.classfile.FieldTransform
24
A transformation on streams of `FieldElement`.
java.lang.classfile.Instruction
24
Models an executable instruction in the `code` array of the `Code` attribute of a method.
java.lang.classfile.instruction.ArrayLoadInstruction
24
Models an array load instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.ArrayStoreInstruction
24
Models an array store instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.BranchInstruction
24
Models a branching instruction (conditional or unconditional) in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.CharacterRange
24
A pseudo-instruction which models a single entry in the `CharacterRangeTable` attribute.
java.lang.classfile.instruction.ConstantInstruction
24
Models a constant-load instruction in the `code` array of a `Code` attribute, including "intrinsic", "argument", and "load" constant instructions.
java.lang.classfile.instruction.ConstantInstruction.ArgumentConstantInstruction
24
Models an "argument constant" instruction, which encodes the constant value in the instruction directly.
java.lang.classfile.instruction.ConstantInstruction.IntrinsicConstantInstruction
24
Models an "intrinsic constant" instruction, which encodes the constant value in its opcode.
java.lang.classfile.instruction.ConstantInstruction.LoadConstantInstruction
24
Models a "load constant" instruction, which encodes the constant value in the constant pool.
java.lang.classfile.instruction.ConvertInstruction
24
Models a primitive conversion instruction in the `code` array of a `Code` attribute, such as `i2l`.
java.lang.classfile.instruction.DiscontinuedInstruction
24
Marker interface for instruction discontinued from the `code` array of a `Code` attribute.
java.lang.classfile.instruction.DiscontinuedInstruction.JsrInstruction
24
Models jump subroutine instructions discontinued from the `code` array of a `Code` attribute since class file major version 51 (JVMS 4.9.1).
java.lang.classfile.instruction.DiscontinuedInstruction.RetInstruction
24
Models return from subroutine instructions discontinued from the `code` array of a `Code` attribute since class file major version 51 (JVMS 4.9.1).
java.lang.classfile.instruction.ExceptionCatch
24
A pseudo-instruction modeling an entry in the `exception_table` array of a `Code` attribute.
java.lang.classfile.instruction.FieldInstruction
24
Models a field access instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.IncrementInstruction
24
Models a local variable increment instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.InvokeDynamicInstruction
24
Models a dynamically-computed call site invocation instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.InvokeInstruction
24
Models a method invocation instruction in the `code` array of a `Code` attribute, other than `invokedynamic`.
java.lang.classfile.instruction.LabelTarget
24
A pseudo-instruction which indicates that the specified label corresponds to the current position in the `Code` attribute.
java.lang.classfile.instruction.LineNumber
24
A pseudo-instruction which indicates the code for a given line number starts after the current position in a `Code` attribute.
java.lang.classfile.instruction.LoadInstruction
24
Models a local variable load instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.LocalVariable
24
A pseudo-instruction which models a single entry in the `LocalVariableTable` attribute.
java.lang.classfile.instruction.LocalVariableType
24
A pseudo-instruction which models a single entry in the `LocalVariableTypeTable` attribute.
java.lang.classfile.instruction.LookupSwitchInstruction
24
Models a `lookupswitch` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.MonitorInstruction
24
Models a `monitorenter` or `monitorexit` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.NewMultiArrayInstruction
24
Models a `multianewarray` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.NewObjectInstruction
24
Models a `new` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.NewPrimitiveArrayInstruction
24
Models a `newarray` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.NewReferenceArrayInstruction
24
Models a `anewarray` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.NopInstruction
24
Models a `nop` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.OperatorInstruction
24
Models an arithmetic operator instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.ReturnInstruction
24
Models a return-from-method instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.StackInstruction
24
Models a stack manipulation instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.StoreInstruction
24
Models a local variable store instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.SwitchCase
24
Models a single case in a `lookupswitch` or `tableswitch` instruction.
java.lang.classfile.instruction.TableSwitchInstruction
24
Models a `tableswitch` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.ThrowInstruction
24
Models an `athrow` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.instruction.TypeCheckInstruction
24
Models an `instanceof` or a `checkcast` instruction in the `code` array of a `Code` attribute.
java.lang.classfile.Interfaces
24
Models the interfaces (JVMS 4.1) of a class.
java.lang.classfile.Label
24
A marker for a position within the instructions of a method body.
java.lang.classfile.MethodBuilder
24
A builder for methods.
java.lang.classfile.MethodElement
24
Marker interface for a member element of a `MethodModel`.
java.lang.classfile.MethodModel
24
Models a method.
java.lang.classfile.MethodSignature
24
Models the generic signature of a method or constructor, as defined by JVMS 4.7.9.1.
java.lang.classfile.MethodTransform
24
A transformation on streams of `MethodElement`.
java.lang.classfile.PseudoInstruction
24
Models metadata about a `CodeModel`, derived from the `Code` attribute itself or its attributes.
java.lang.classfile.Signature
24
Models generic Java type signatures, as defined in JVMS 4.7.9.1.
java.lang.classfile.Signature.ArrayTypeSig
24
Models the signature of an array type.
java.lang.classfile.Signature.BaseTypeSig
24
Models the signature of a primitive type (JLS 4.2) or void.
java.lang.classfile.Signature.ClassTypeSig
24
Models the signature of a possibly-parameterized class or interface type.
java.lang.classfile.Signature.RefTypeSig
24
Models the signature of a reference type, which may be a class, interface, type variable, or array type.
java.lang.classfile.Signature.ThrowableSig
24
Marker interface for a signature for a throwable type.
java.lang.classfile.Signature.TypeArg
24
Models a type argument, an argument to a type parameter.
java.lang.classfile.Signature.TypeArg.Bounded
24
Models a type argument with an explicit bound type.
java.lang.classfile.Signature.TypeArg.Unbounded
24
Models an unbounded wildcard type argument `*`, or `?` in Java programs.
java.lang.classfile.Signature.TypeParam
24
Models a signature for a type parameter of a generic class, interface, method, or constructor, which introduces a type variable.
java.lang.classfile.Signature.TypeVarSig
24
Models the signature of a type variable.
java.lang.classfile.Superclass
24
Models the superclass (JVMS 4.1) of a class.
java.lang.classfile.TypeAnnotation
24
Models a `type_annotation` structure (JVMS 4.7.20).
java.lang.classfile.TypeAnnotation.CatchTarget
24
Indicates that an annotation appears on the i'th type in an exception parameter declaration.
java.lang.classfile.TypeAnnotation.EmptyTarget
24
Indicates that an annotation appears on either the type in a field declaration, the return type of a method, the type of a newly constructed object, or the receiver type of a method or constructor.
java.lang.classfile.TypeAnnotation.FormalParameterTarget
24
Indicates that an annotation appears on the type in a formal parameter declaration of a method, constructor, or lambda expression.
java.lang.classfile.TypeAnnotation.LocalVarTarget
24
Indicates that an annotation appears on the type in a local variable declaration, including a variable declared as a resource in a try-with-resources statement.
java.lang.classfile.TypeAnnotation.LocalVarTargetInfo
24
Indicates a range of code array offsets within which a local variable has a value, and the index into the local variable array of the current frame at which that local variable can be found.
java.lang.classfile.TypeAnnotation.OffsetTarget
24
Indicates that an annotation appears on either the type in an instanceof expression or a new expression, or the type before the :: in a method reference expression.
java.lang.classfile.TypeAnnotation.SupertypeTarget
24
Indicates that an annotation appears on a type in the extends or implements clause of a class or interface declaration.
java.lang.classfile.TypeAnnotation.TargetInfo
24
Specifies which type in a declaration or expression is being annotated.
java.lang.classfile.TypeAnnotation.ThrowsTarget
24
Indicates that an annotation appears on the i'th type in the throws clause of a method or constructor declaration.
java.lang.classfile.TypeAnnotation.TypeArgumentTarget
24
Indicates that an annotation appears either on the i'th type in a cast expression, or on the i'th type argument in the explicit type argument list for any of the following: a new expression, an explicit constructor invocation statement, a method invocation expression, or a method reference expression.
java.lang.classfile.TypeAnnotation.TypeParameterBoundTarget
24
Indicates that an annotation appears on the i'th bound of the j'th type parameter declaration of a generic class, interface, method, or constructor.
java.lang.classfile.TypeAnnotation.TypeParameterTarget
24
Indicates that an annotation appears on the declaration of the i'th type parameter of a generic class, generic interface, generic method, or generic constructor.
java.lang.classfile.TypeAnnotation.TypePathComponent
24
JVMS: Type_path structure identifies which part of the type is annotated, as defined in JVMS 4.7.20.2
java.lang.constant.ClassDesc
12
A nominal descriptor for a `Class` constant.
java.lang.constant.Constable
12
Represents a type which is constable.
java.lang.constant.ConstantDesc
12
A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
java.lang.constant.DirectMethodHandleDesc
12
A nominal descriptor for a direct `MethodHandle`.
java.lang.constant.MethodHandleDesc
12
A nominal descriptor for a `MethodHandle` constant.
java.lang.constant.MethodTypeDesc
12
A nominal descriptor for a MethodType constant.
java.lang.constant.ModuleDesc
21
A nominal descriptor for a `Module` constant.
java.lang.constant.PackageDesc
21
A nominal descriptor for a `Package` constant.
java.lang.foreign.AddressLayout
22
A value layout used to model the address of some region of memory.
java.lang.foreign.Arena
22
An arena controls the lifecycle of native memory segments, providing both flexible allocation and timely deallocation.
java.lang.foreign.FunctionDescriptor
22
A function descriptor models the signature of a foreign function.
java.lang.foreign.GroupLayout
22
A compound layout that is an aggregation of multiple, heterogeneous member layouts.
java.lang.foreign.Linker
22
A linker provides access to foreign functions from Java code, and access to Java code from foreign functions.
java.lang.foreign.Linker.Option
22
A linker option is used to provide additional parameters to a linkage request.
java.lang.foreign.MemoryLayout
22
A memory layout describes the contents of a memory segment.
java.lang.foreign.MemoryLayout.PathElement
22
An element in a layout path.
java.lang.foreign.MemorySegment
22
A memory segment provides access to a contiguous region of memory.
java.lang.foreign.PaddingLayout
22
A padding layout.
java.lang.foreign.SegmentAllocator
22
An object that may be used to allocate memory segments.
java.lang.foreign.SequenceLayout
22
A compound layout that denotes a homogeneous repetition of a given element layout.
java.lang.foreign.StructLayout
22
A group layout whose member layouts are laid out one after the other.
java.lang.foreign.SymbolLookup
22
A symbol lookup retrieves the address of a symbol in one or more libraries.
java.lang.foreign.UnionLayout
22
A group layout whose member layouts are laid out at the same starting offset.
java.lang.foreign.ValueLayout
22
A layout that models values of basic data types.
java.lang.foreign.ValueLayout.OfBoolean
22
A value layout whose carrier is `boolean.class`.
java.lang.foreign.ValueLayout.OfByte
22
A value layout whose carrier is `byte.class`.
java.lang.foreign.ValueLayout.OfChar
22
A value layout whose carrier is `char.class`.
java.lang.foreign.ValueLayout.OfDouble
22
A value layout whose carrier is `double.class`.
java.lang.foreign.ValueLayout.OfFloat
22
A value layout whose carrier is `float.class`.
java.lang.foreign.ValueLayout.OfInt
22
A value layout whose carrier is `int.class`.
java.lang.foreign.ValueLayout.OfLong
22
A value layout whose carrier is `long.class`.
java.lang.foreign.ValueLayout.OfShort
22
A value layout whose carrier is `short.class`.
java.lang.invoke.TypeDescriptor
12
An entity that has a type descriptor.
java.lang.invoke.TypeDescriptor.OfField
12
An entity that has a field type descriptor.
java.lang.invoke.TypeDescriptor.OfMethod
12
An entity that has a method type descriptor Method descriptors conforming to JVMS 4.3.3 can be described nominally via `MethodType::describeConstable`; otherwise they cannot be described nominally.
java.lang.LazyConstantPREVIEW
26
A lazy constant is a holder of contents that can be set at most once.
java.lang.ScopedValue.CallableOp
25
An operation that returns a result and may throw an exception.
java.lang.Thread.Builder
21
A builder for `Thread` and `ThreadFactory` objects.
java.lang.Thread.Builder.OfPlatform
21
A builder for creating a platform `Thread` or `ThreadFactory` that creates platform threads.
java.lang.Thread.Builder.OfVirtual
21
A builder for creating a virtual `Thread` or `ThreadFactory` that creates virtual threads.
java.net.http.HttpOption
26
This interface is used to provide additional request configuration option hints on how an HTTP request/response exchange should be carried out by the `HttpClient` implementation.
java.net.http.HttpResponse.PushPromiseHandler.PushId
26
Represents a HTTP/3 PushID.
java.net.spi.InetAddressResolver
18
This interface defines operations for looking up host names and IP addresses.
java.net.spi.InetAddressResolverProvider.Configuration
18
A `Configuration` object is supplied to the `InetAddressResolverProvider.get(Configuration)` method when setting the system-wide resolver.
java.security.AsymmetricKey
22
An asymmetric key, which can be either a public key or a private key.
java.security.DEREncodablePREVIEW
25
This interface is implemented by security API classes that contain binary-encodable key or certificate material.
java.security.interfaces.EdECKey
15
An interface for an elliptic curve public/private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
java.security.interfaces.EdECPrivateKey
15
An interface for an elliptic curve private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
java.security.interfaces.EdECPublicKey
15
An interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
java.time.InstantSource
17
Provides access to the current instant.
java.util.concurrent.StructuredTaskScopePREVIEW
21
An API for structured concurrency.
java.util.concurrent.StructuredTaskScope.ConfigurationPREVIEW
25
Represents the configuration for a `StructuredTaskScope`.
java.util.concurrent.StructuredTaskScope.JoinerPREVIEW
25
An object used with a `StructuredTaskScope`PREVIEW to handle subtask completion and produce the result for the scope owner waiting in the `join`PREVIEW method for subtasks to complete.
java.util.concurrent.StructuredTaskScope.SubtaskPREVIEW
21
Represents a subtask forked with `StructuredTaskScope.fork(Callable)`PREVIEW or `StructuredTaskScope.fork(Runnable)`PREVIEW.
java.util.random.RandomGenerator
17
The `RandomGenerator` interface is designed to provide a common protocol for objects that generate random or (more typically) pseudorandom sequences of numbers (or Boolean values).
java.util.SequencedCollection
21
A collection that has a well-defined encounter order, that supports operations at both ends, and that is reversible.
java.util.SequencedMap
21
A Map that has a well-defined encounter order, that supports operations at both ends, and that is reversible.
java.util.SequencedSet
21
A collection that is both a `SequencedCollection` and a `Set`.
java.util.stream.DoubleStream.DoubleMapMultiConsumer
16
Represents an operation that accepts a `double`-valued argument and a DoubleConsumer, and returns no result.
java.util.stream.Gatherer
24
An intermediate operation that transforms a stream of input elements into a stream of output elements, optionally applying a final action when the end of the upstream is reached.
java.util.stream.Gatherer.Downstream
24
A Downstream object is the next stage in a pipeline of operations, to which elements can be sent.
java.util.stream.Gatherer.Integrator
24
An Integrator receives elements and processes them, optionally using the supplied state, and optionally sends incremental results downstream.
java.util.stream.Gatherer.Integrator.Greedy
24
Greedy Integrators consume all their input, and may only relay that the downstream does not want more elements.
java.util.stream.IntStream.IntMapMultiConsumer
16
Represents an operation that accepts an `int`-valued argument and an IntConsumer, and returns no result.
java.util.stream.LongStream.LongMapMultiConsumer
16
Represents an operation that accepts a `long`-valued argument and a LongConsumer, and returns no result.
javax.crypto.KDFParameters
25
A specification of Key Derivation Function (`KDF`) parameters.
javax.crypto.KEMSpi
21
This class defines the Service Provider Interface (SPI) for the `KEM` class.
javax.crypto.KEMSpi.DecapsulatorSpi
21
The KEM decapsulator implementation, generated by `KEMSpi.engineNewDecapsulator(PrivateKey, AlgorithmParameterSpec)` on the KEM receiver side.
javax.crypto.KEMSpi.EncapsulatorSpi
21
The KEM encapsulator implementation, generated by `KEMSpi.engineNewEncapsulator(PublicKey, AlgorithmParameterSpec, SecureRandom)` on the KEM sender side.
javax.crypto.spec.HKDFParameterSpec
25
Parameters for the combined Extract, Expand, or Extract-then-Expand operations of the HMAC-based Key Derivation Function (HKDF).
javax.lang.model.element.RecordComponentElement
16
Represents a record component.
jdk.jfr.consumer.EventStream
14
Represents a stream of events.
jdk.jshell.execution.JdiDefaultExecutionControl.JdiStarter
22
Start an external process where the user's snippets can be run.
jdk.jshell.execution.JdiInitiator.ProcessStarted
22
Callback that should invoked when the remote process is invoked.
jdk.jshell.JShellConsole
21
An interface providing functionality for `Console` in the user's snippet.
jdk.jshell.SourceCodeAnalysis.CompletionState
26
Permit access to completion state.
jdk.jshell.SourceCodeAnalysis.ElementSuggestion
26
A description of an Element that is a possible continuation of a given snippet.
jdk.jshell.SourceCodeAnalysis.ElementSuggestionConvertor
26
A convertor from a list of SourceCodeAnalysis.ElementSuggestion to a list of custom target completion items.
jdk.management.HotSpotAOTCacheMXBean
26
Management interface for the JDK's Ahead of Time (AOT) Cache.
jdk.management.VirtualThreadSchedulerMXBean
24
Management interface for the JDK's virtual thread scheduler.

New Classes
Class
Added in
Description
com.sun.net.httpserver.HttpHandlers
18
Implementations of `HttpHandler` that implement various useful handlers, such as a static response handler, or a conditional handler that complements one handler with another.
com.sun.net.httpserver.SimpleFileServer
18
A simple HTTP file server and its components (intended for testing, development and debugging purposes only).
java.lang.classfile.Attributes
24
Attribute mappers for predefined (JVMS 4.7) and JDK-specific nonstandard attributes.
java.lang.classfile.CustomAttribute
24
Models a user-defined attribute in a `class` file.
java.lang.constant.ConstantDescs
12
Predefined values of nominal descriptor for common constants, including descriptors for primitive class types and other common platform types, and descriptors for method handles for standard bootstrap methods.
java.lang.constant.DynamicCallSiteDesc
12
A nominal descriptor for an `invokedynamic` call site.
java.lang.constant.DynamicConstantDesc
12
A nominal descriptor for a dynamic constant (one described in the constant pool with `Constant_Dynamic_info`.)
java.lang.Enum.EnumDesc
12
A nominal descriptor for an `enum` constant.
java.lang.invoke.VarHandle.VarHandleDesc
12
A nominal descriptor for a `VarHandle` constant.
java.lang.IO
25
A collection of static methods that provide convenient access to `System.in` and `System.out` for line-oriented input and output.
java.lang.Record
16
This is the common base class of all Java language record classes.
java.lang.reflect.RecordComponent
16
A `RecordComponent` provides information about, and dynamic access to, a component of a record class.
java.lang.runtime.ExactConversionsSupport
23
A testing conversion of a value is exact if it yields a result without loss of information or throwing an exception.
java.lang.runtime.ObjectMethods
16
Bootstrap methods for state-driven implementations of core methods, including `Object.equals(Object)`, `Object.hashCode()`, and `Object.toString()`.
java.lang.runtime.SwitchBootstraps
21
Bootstrap methods for linking `invokedynamic` call sites that implement the selection functionality of the `switch` statement.
java.lang.ScopedValue
25
A value that may be safely and efficiently shared to methods without using method parameters.
java.lang.ScopedValue.Carrier
25
A mapping of scoped values, as keys, to values.
java.net.spi.InetAddressResolver.LookupPolicy
18
A `LookupPolicy` object describes characteristics that can be applied to a lookup operation.
java.net.spi.InetAddressResolverProvider
18
Service-provider class for InetAddress resolvers.
java.net.UnixDomainSocketAddress
16
A Unix domain socket address.
java.security.PEMDecoderPREVIEW
25
`PEMDecoder` implements a decoder for Privacy-Enhanced Mail (PEM) data.
java.security.PEMEncoderPREVIEW
25
`PEMEncoder` implements an encoder for Privacy-Enhanced Mail (PEM) data.
java.security.spec.EdDSAParameterSpec
15
A class used to specify EdDSA signature and verification parameters.
java.security.spec.EdECPoint
15
An elliptic curve point used to specify keys as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
java.security.spec.EdECPrivateKeySpec
15
A class representing elliptic curve private keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.
java.security.spec.EdECPublicKeySpec
15
A class representing elliptic curve public keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.
java.text.CompactNumberFormat
12
`CompactNumberFormat` is a concrete subclass of `NumberFormat` that formats a decimal number in a localized compact form.
java.text.ListFormat
22
`ListFormat` formats or parses a list of strings in a locale-sensitive way.
java.util.HexFormat
17
`HexFormat` converts between bytes and chars and hex-encoded strings which may include additional formatting markup such as prefixes, suffixes, and delimiters.
java.util.random.RandomGeneratorFactory
17
This is a factory class for generating multiple random number generators of a specific algorithm.
java.util.stream.Gatherers
24
Implementations of `Gatherer` that provide useful intermediate operations, such as windowing functions, folding functions, transforming elements concurrently, etc.
javax.crypto.KDF
25
This class provides the functionality of a Key Derivation Function (KDF), which is a cryptographic algorithm for deriving additional keys from input keying material (IKM) and (optionally) other data.
javax.crypto.KDFSpi
25
This class defines the Service Provider Interface (SPI) for the Key Derivation Function (`KDF`) class.
javax.crypto.KEM
21
This class provides the functionality of a Key Encapsulation Mechanism (KEM).
javax.crypto.KEM.Decapsulator
21
A decapsulator, generated by `KEM.newDecapsulator(PrivateKey)` on the KEM receiver side.
javax.crypto.KEM.Encapsulated
21
This class specifies the return value of the encapsulate method of a Key Encapsulation Mechanism (KEM), which includes the shared secret (as a `SecretKey`), the key encapsulation message, and optional parameters.
javax.crypto.KEM.Encapsulator
21
An encapsulator, generated by `KEM.newEncapsulator(PublicKey)` on the KEM sender side.
javax.crypto.spec.HPKEParameterSpec
26
This immutable class specifies the set of parameters used with a `Cipher` for the Hybrid Public Key Encryption (HPKE) algorithm.
javax.lang.model.util.AbstractAnnotationValueVisitor14
14
A skeletal visitor for annotation values with default behavior appropriate for source version `RELEASE_14`.
javax.lang.model.util.AbstractAnnotationValueVisitorPreviewPREVIEW
23
A skeletal visitor for annotation values with default behavior appropriate for a preview source version.
javax.lang.model.util.AbstractElementVisitor14
16
A skeletal visitor of program elements with default behavior appropriate for the `RELEASE_14` source version.
javax.lang.model.util.AbstractElementVisitorPreviewPREVIEW
23
A skeletal visitor of program elements with default behavior appropriate for a preview source version.
javax.lang.model.util.AbstractTypeVisitor14
14
A skeletal visitor of types with default behavior appropriate for the `RELEASE_14` source version.
javax.lang.model.util.AbstractTypeVisitorPreviewPREVIEW
23
A skeletal visitor of types with default behavior appropriate for a preview source version.
javax.lang.model.util.ElementKindVisitor14
16
A visitor of program elements based on their kind with default behavior appropriate for the `RELEASE_14` source version.
javax.lang.model.util.ElementKindVisitorPreviewPREVIEW
23
A visitor of program elements based on their kind with default behavior appropriate for a preview source version.
javax.lang.model.util.ElementScanner14
16
A scanning visitor of program elements with default behavior appropriate for the `RELEASE_14` source version.
javax.lang.model.util.ElementScannerPreviewPREVIEW
23
A scanning visitor of program elements with default behavior appropriate for a preview source version.
javax.lang.model.util.SimpleAnnotationValueVisitor14
14
A simple visitor for annotation values with default behavior appropriate for source version `RELEASE_14`.
javax.lang.model.util.SimpleAnnotationValueVisitorPreviewPREVIEW
23
A simple visitor for annotation values with default behavior appropriate for a preview source version.
javax.lang.model.util.SimpleElementVisitor14
16
A simple visitor of program elements with default behavior appropriate for the `RELEASE_14` source version.
javax.lang.model.util.SimpleElementVisitorPreviewPREVIEW
23
A simple visitor of program elements with default behavior appropriate for a preview source version.
javax.lang.model.util.SimpleTypeVisitor14
14
A simple visitor of types with default behavior appropriate for source version `RELEASE_14`.
javax.lang.model.util.SimpleTypeVisitorPreviewPREVIEW
23
A simple visitor of types with default behavior appropriate for a preview source version.
javax.lang.model.util.TypeKindVisitor14
14
A visitor of types based on their kind with default behavior appropriate for source version `RELEASE_14`.
javax.lang.model.util.TypeKindVisitorPreviewPREVIEW
23
A visitor of types based on their kind with default behavior appropriate for a preview source version.
javax.naming.ldap.spi.LdapDnsProvider
12
Service-provider class for DNS lookups when performing LDAP operations.
javax.naming.ldap.spi.LdapDnsProviderResult
12
The result of a DNS lookup for an LDAP URL.
javax.print.attribute.standard.OutputBin
23
Class `OutputBin` is a printing attribute class, an enumeration, that specifies the output bin for the job.
javax.sound.SoundClip
25
The `SoundClip` class is a simple abstraction for playing a sound clip.
javax.xml.crypto.dsig.spec.RSAPSSParameterSpec
17
Parameters for the XML Signature RSASSA-PSS Algorithm.
jdk.incubator.vector.Float16
24
The `Float16` is a class holding 16-bit data in IEEE 754 binary16 format.
jdk.incubator.vector.VectorMath
24
The class `VectorMath` contains methods for performing scalar numeric operations in support of vector numeric operations.
jdk.jfr.consumer.MetadataEvent
16
Event that contains information about event types and configurations.
jdk.jfr.consumer.RecordingStream
14
A recording stream produces events from the current JVM (Java Virtual Machine).
jdk.management.jfr.RemoteRecordingStream
16
An implementation of an `EventStream` that can serialize events over the network using an `MBeanServerConnection`.
jdk.nio.mapmode.ExtendedMapMode
14
JDK-specific map modes.

New Enum Classes
Enum Class
Added in
Description
com.sun.management.HotSpotDiagnosticMXBean.ThreadDumpFormat
21
Thread dump format.
com.sun.net.httpserver.SimpleFileServer.OutputLevel
18
Describes the log message output level produced by the server when processing exchanges.
com.sun.source.tree.CaseTree.CaseKind
14
The syntactic form of this case: STATEMENT: `case <expression>: <statements>` RULE: `case <expression> -> <expression>/<statement>`
java.lang.classfile.attribute.StackMapFrameInfo.SimpleVerificationTypeInfo
24
A simple stack value.
java.lang.classfile.AttributeMapper.AttributeStability
24
Indicates the data dependency of the `class` file representation of an attribute.
java.lang.classfile.ClassFile.AttributesProcessingOption
24
The option describing whether to retain or discard attributes that cannot verify their correctness after a transformation.
java.lang.classfile.ClassFile.ConstantPoolSharingOption
24
Option describing whether to extend from the original constant pool when transforming a `class` file.
java.lang.classfile.ClassFile.DeadCodeOption
24
The option describing whether to patch out unreachable code for stack map generation.
java.lang.classfile.ClassFile.DeadLabelsOption
24
The option describing whether to filter unbound labels and drop their enclosing structures if possible.
java.lang.classfile.ClassFile.DebugElementsOption
24
The option describing whether to process or discard debug `PseudoInstruction`s in the traversal of a `CodeModel` or a `CodeBuilder`.
java.lang.classfile.ClassFile.LineNumbersOption
24
The option describing whether to process or discard `LineNumber`s in the traversal of a `CodeModel` or a `CodeBuilder`.
java.lang.classfile.ClassFile.ShortJumpsOption
24
The option describing whether to automatically rewrite short jumps to equivalent instructions when necessary.
java.lang.classfile.ClassFile.StackMapsOption
24
The option describing whether to generate stack maps.
java.lang.classfile.Opcode
24
Describes the opcodes of the JVM instruction set, as described in JVMS 6.5.
java.lang.classfile.Opcode.Kind
24
Kinds of opcodes.
java.lang.classfile.Signature.TypeArg.Bounded.WildcardIndicator
24
Models a type argument's wildcard indicator.
java.lang.classfile.TypeAnnotation.TargetType
24
The kind of target on which the annotation appears, as defined in JVMS 4.7.20.1.
java.lang.classfile.TypeAnnotation.TypePathComponent.Kind
24
Type path kind, as defined in JVMS 4.7.20.2
java.lang.classfile.TypeKind
24
Describes the data types Java Virtual Machine operates on.
java.lang.constant.DirectMethodHandleDesc.Kind
12
Kinds of method handles that can be described with DirectMethodHandleDesc.
java.lang.invoke.MethodHandles.Lookup.ClassOption
15
The set of class options that specify whether a hidden class created by `Lookup::defineHiddenClass` method is dynamically added as a new member to the nest of a lookup class and/or whether a hidden class has a strong relationship with the class loader marked as its defining loader.
java.lang.reflect.AccessFlag
20
Represents a JVM access or module-related flag on a runtime member, such as a class, field, or method.
java.lang.reflect.AccessFlag.Location
20
A location within a `class` file where flags can be applied.
java.lang.reflect.ClassFileFormatVersion
20
Class file format versions of the Java virtual machine.
java.net.http.HttpOption.Http3DiscoveryMode
26
This enumeration can be used to help the `HttpClient` decide how an HTTP/3 exchange should be established, and can be provided as the value of the `HttpOption.H3_DISCOVERY` option to `Builder.setOption`.
java.text.ListFormat.Style
22
A ListFormat style - `FULL`, `SHORT`, and `NARROW`.
java.text.ListFormat.Type
22
A ListFormat type - `STANDARD`, `OR`, and `UNIT`.
java.text.NumberFormat.Style
12
A number format style.
java.util.concurrent.Future.State
19
Represents the computation state.
java.util.concurrent.StructuredTaskScope.Subtask.StatePREVIEW
21
Represents the state of a subtask.
javax.lang.model.util.Elements.DocCommentKind
23
The kind of documentation comment.
javax.xml.catalog.CatalogResolver.NotFoundAction
22
Defines the actions that a CatalogResolver may take when it is unable to resolve an external reference.
jdk.jshell.SourceCodeAnalysis.Attribute
19
A span attribute which can be used to derive a coloring.
jdk.jshell.SourceCodeAnalysis.CompletionContext
26
Various flags describing the context in which the completion happens.

New Exception Classes
Exception Class
Added in
Description
com.sun.jdi.OpaqueFrameException
19
Thrown to indicate an operation could not be performed on a frame.
java.lang.classfile.constantpool.ConstantPoolException
24
Thrown to indicate that requested entry cannot be obtained from the constant pool or the bootstrap method table.
java.lang.MatchException
21
Thrown to indicate an unexpected failure in pattern matching.
java.lang.WrongThreadException
19
Thrown to indicate that a method has been called on the wrong thread.
java.net.http.StreamLimitException
26
An exception raised when the limit imposed for stream creation on an HTTP connection is reached, and the client is unable to create a new stream.
java.net.http.UnsupportedProtocolVersionException
26
Thrown when the HTTP client doesn't support a particular HTTP version.
java.util.concurrent.StructuredTaskScope.FailedExceptionPREVIEW
25
Exception thrown by `StructuredTaskScope.join()`PREVIEW when the outcome is an exception rather than a result.
java.util.concurrent.StructuredTaskScope.TimeoutExceptionPREVIEW
25
Exception thrown by `StructuredTaskScope.join()`PREVIEW if the scope was opened with a timeout, the timeout expired before or while waiting in `join`, and the `Joiner.onTimeout`PREVIEW method throws this exception.
java.util.concurrent.StructureViolationExceptionPREVIEW
21
Thrown when a structure violation is detected.
javax.crypto.DecapsulateException
21
An exception that is thrown by the `KEM.Decapsulator.decapsulate(byte[])` method to denote an error during decapsulation.

New Record Classes
Record Class
Added in
Description
java.net.http.HttpResponse.PushPromiseHandler.PushId.Http3PushId
26
Represents an HTTP/3 PushId.
java.security.PEMPREVIEW
26
`PEM` is a `DEREncodable`PREVIEW that represents Privacy-Enhanced Mail (PEM) data by its type and Base64-encoded content.
jdk.jshell.SourceCodeAnalysis.Highlight
19
Assigns attributes usable for coloring to spans inside a snippet.
jdk.net.UnixDomainPrincipal
16
Represents the credentials of a peer connected to a Unix domain socket.

New Annotation Interfaces
Annotation Interface
Added in
Description
java.io.Serial
14
Indicates that an annotated field or method is part of the serialization mechanism defined by the Java Object Serialization Specification.
jdk.jfr.Contextual
25
Event field annotation, specifies that the value carries contextual information.
jdk.jfr.Throttle
25
Event annotation, specifies the maximum rate of events per time unit, (for example, `"100/s"`).

New Fields
Field
Added in
Description
com.sun.net.httpserver.HttpExchange.RSPBODY_CHUNKED
26
The response body length is unspecified and will be chunk encoded
com.sun.net.httpserver.HttpExchange.RSPBODY_EMPTY
26
No response body is being sent with this response
java.lang.Character.UnicodeBlock.ARABIC_EXTENDED_B
19
Constant for the "Arabic Extended-B" Unicode character block.
java.lang.Character.UnicodeBlock.ARABIC_EXTENDED_C
20
Constant for the "Arabic Extended-C" Unicode character block.
java.lang.Character.UnicodeBlock.BERIA_ERFE
26
Constant for the "Beria Erfe" Unicode character block.
java.lang.Character.UnicodeBlock.CHESS_SYMBOLS
12
Constant for the "Chess Symbols" Unicode character block.
java.lang.Character.UnicodeBlock.CHORASMIAN
15
Constant for the "Chorasmian" Unicode character block.
java.lang.Character.UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G
15
Constant for the "CJK Unified Ideographs Extension G" Unicode character block.
java.lang.Character.UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H
20
Constant for the "CJK Unified Ideographs Extension H" Unicode character block.
java.lang.Character.UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_I
22
Constant for the "CJK Unified Ideographs Extension I" Unicode character block.
java.lang.Character.UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_J
26
Constant for the "CJK Unified Ideographs Extension J" Unicode character block.
java.lang.Character.UnicodeBlock.CYPRO_MINOAN
19
Constant for the "Cypro-Minoan" Unicode character block.
java.lang.Character.UnicodeBlock.CYRILLIC_EXTENDED_D
20
Constant for the "Cyrillic Extended-D" Unicode character block.
java.lang.Character.UnicodeBlock.DEVANAGARI_EXTENDED_A
20
Constant for the "Devanagari Extended-A" Unicode character block.
java.lang.Character.UnicodeBlock.DIVES_AKURU
15
Constant for the "Dives Akuru" Unicode character block.
java.lang.Character.UnicodeBlock.DOGRA
12
Constant for the "Dogra" Unicode character block.
java.lang.Character.UnicodeBlock.EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS
13
Constant for the "Egyptian Hieroglyph Format Controls" Unicode character block.
java.lang.Character.UnicodeBlock.EGYPTIAN_HIEROGLYPHS_EXTENDED_A
24
Constant for the "Egyptian Hieroglyphs Extended-A" Unicode character block.
java.lang.Character.UnicodeBlock.ELYMAIC
13
Constant for the "Elymaic" Unicode character block.
java.lang.Character.UnicodeBlock.ETHIOPIC_EXTENDED_B
19
Constant for the "Ethiopic Extended-B" Unicode character block.
java.lang.Character.UnicodeBlock.GARAY
24
Constant for the "Garay" Unicode character block.
java.lang.Character.UnicodeBlock.GEORGIAN_EXTENDED
12
Constant for the "Georgian Extended" Unicode character block.
java.lang.Character.UnicodeBlock.GUNJALA_GONDI
12
Constant for the "Gunjala Gondi" Unicode character block.
java.lang.Character.UnicodeBlock.GURUNG_KHEMA
24
Constant for the "Gurung Khema" Unicode character block.
java.lang.Character.UnicodeBlock.HANIFI_ROHINGYA
12
Constant for the "Hanifi Rohingya" Unicode character block.
java.lang.Character.UnicodeBlock.INDIC_SIYAQ_NUMBERS
12
Constant for the "Indic Siyaq Numbers" Unicode character block.
java.lang.Character.UnicodeBlock.KAKTOVIK_NUMERALS
20
Constant for the "Kaktovik Numerals" Unicode character block.
java.lang.Character.UnicodeBlock.KANA_EXTENDED_B
19
Constant for the "Kana Extended-B" Unicode character block.
java.lang.Character.UnicodeBlock.KAWI
20
Constant for the "Kawi" Unicode character block.
java.lang.Character.UnicodeBlock.KHITAN_SMALL_SCRIPT
15
Constant for the "Khitan Small Script" Unicode character block.
java.lang.Character.UnicodeBlock.KIRAT_RAI
24
Constant for the "Kirat Rai" Unicode character block.
java.lang.Character.UnicodeBlock.LATIN_EXTENDED_F
19
Constant for the "Latin Extended-F" Unicode character block.
java.lang.Character.UnicodeBlock.LATIN_EXTENDED_G
19
Constant for the "Latin Extended-G" Unicode character block.
java.lang.Character.UnicodeBlock.LISU_SUPPLEMENT
15
Constant for the "Lisu Supplement" Unicode character block.
java.lang.Character.UnicodeBlock.MAKASAR
12
Constant for the "Makasar" Unicode character block.
java.lang.Character.UnicodeBlock.MAYAN_NUMERALS
12
Constant for the "Mayan Numerals" Unicode character block.
java.lang.Character.UnicodeBlock.MEDEFAIDRIN
12
Constant for the "Medefaidrin" Unicode character block.
java.lang.Character.UnicodeBlock.MISCELLANEOUS_SYMBOLS_SUPPLEMENT
26
Constant for the "Miscellaneous Symbols Supplement" Unicode character block.
java.lang.Character.UnicodeBlock.MYANMAR_EXTENDED_C
24
Constant for the "Myanmar Extended-C" Unicode character block.
java.lang.Character.UnicodeBlock.NAG_MUNDARI
20
Constant for the "Nag Mundari" Unicode character block.
java.lang.Character.UnicodeBlock.NANDINAGARI
13
Constant for the "Nandinagari" Unicode character block.
java.lang.Character.UnicodeBlock.NYIAKENG_PUACHUE_HMONG
13
Constant for the "Nyiakeng Puachue Hmong" Unicode character block.
java.lang.Character.UnicodeBlock.OL_ONAL
24
Constant for the "Ol Onal" Unicode character block.
java.lang.Character.UnicodeBlock.OLD_SOGDIAN
12
Constant for the "Old Sogdian" Unicode character block.
java.lang.Character.UnicodeBlock.OLD_UYGHUR
19
Constant for the "Old Uyghur" Unicode character block.
java.lang.Character.UnicodeBlock.OTTOMAN_SIYAQ_NUMBERS
13
Constant for the "Ottoman Siyaq Numbers" Unicode character block.
java.lang.Character.UnicodeBlock.SHARADA_SUPPLEMENT
26
Constant for the "Sharada Supplement" Unicode character block.
java.lang.Character.UnicodeBlock.SIDETIC
26
Constant for the "Sidetic" Unicode character block.
java.lang.Character.UnicodeBlock.SMALL_KANA_EXTENSION
13
Constant for the "Small Kana Extension" Unicode character block.
java.lang.Character.UnicodeBlock.SOGDIAN
12
Constant for the "Sogdian" Unicode character block.
java.lang.Character.UnicodeBlock.SUNUWAR
24
Constant for the "Sunuwar" Unicode character block.
java.lang.Character.UnicodeBlock.SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A
13
Constant for the "Symbols and Pictographs Extended-A" Unicode character block.
java.lang.Character.UnicodeBlock.SYMBOLS_FOR_LEGACY_COMPUTING
15
Constant for the "Symbols for Legacy Computing" Unicode character block.
java.lang.Character.UnicodeBlock.SYMBOLS_FOR_LEGACY_COMPUTING_SUPPLEMENT
24
Constant for the "Symbols for Legacy Computing Supplement" Unicode character block.
java.lang.Character.UnicodeBlock.TAI_YO
26
Constant for the "Tai Yo" Unicode character block.
java.lang.Character.UnicodeBlock.TAMIL_SUPPLEMENT
13
Constant for the "Tamil Supplement" Unicode character block.
java.lang.Character.UnicodeBlock.TANGSA
19
Constant for the "Tangsa" Unicode character block.
java.lang.Character.UnicodeBlock.TANGUT_COMPONENTS_SUPPLEMENT
26
Constant for the "Tangut Components Supplement" Unicode character block.
java.lang.Character.UnicodeBlock.TANGUT_SUPPLEMENT
15
Constant for the "Tangut Supplement" Unicode character block.
java.lang.Character.UnicodeBlock.TODHRI
24
Constant for the "Todhri" Unicode character block.
java.lang.Character.UnicodeBlock.TOLONG_SIKI
26
Constant for the "Tolong Siki" Unicode character block.
java.lang.Character.UnicodeBlock.TOTO
19
Constant for the "Toto" Unicode character block.
java.lang.Character.UnicodeBlock.TULU_TIGALARI
24
Constant for the "Tulu-Tigalari" Unicode character block.
java.lang.Character.UnicodeBlock.UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED_A
19
Constant for the "Unified Canadian Aboriginal Syllabics Extended-A" Unicode character block.
java.lang.Character.UnicodeBlock.VITHKUQI
19
Constant for the "Vithkuqi" Unicode character block.
java.lang.Character.UnicodeBlock.WANCHO
13
Constant for the "Wancho" Unicode character block.
java.lang.Character.UnicodeBlock.YEZIDI
15
Constant for the "Yezidi" Unicode character block.
java.lang.Character.UnicodeBlock.ZNAMENNY_MUSICAL_NOTATION
19
Constant for the "Znamenny Musical Notation" Unicode character block.
java.lang.classfile.ClassFile.JAVA_25_VERSION
25
The class major version introduced by Java SE 25, 69.
java.lang.classfile.ClassFile.JAVA_26_VERSION
26
The class major version introduced by Java SE 26, 70.
java.lang.constant.ConstantDescs.BSM_CLASS_DATA
21
`MethodHandleDesc` representing `MethodHandles.classData`
java.lang.constant.ConstantDescs.BSM_CLASS_DATA_AT
21
`MethodHandleDesc` representing `MethodHandles.classDataAt`
java.lang.constant.ConstantDescs.BSM_EXPLICIT_CAST
15
`MethodHandleDesc` representing `ConstantBootstraps.explicitCast`
java.lang.constant.ConstantDescs.BSM_GET_STATIC_FINAL
15
`MethodHandleDesc` representing `ConstantBootstraps.getStaticFinal`
java.lang.constant.ConstantDescs.CLASS_INIT_NAME
21
The special name of class initialization methods, "<clinit>".
java.lang.constant.ConstantDescs.FALSE
15
Nominal descriptor representing the constant Boolean.FALSE
java.lang.constant.ConstantDescs.INIT_NAME
21
The special name of instance initialization methods, "<init>".
java.lang.constant.ConstantDescs.MTD_void
21
Nominal descriptor representing the method descriptor `()V`, taking no argument and returning `void`.
java.lang.constant.ConstantDescs.TRUE
15
Nominal descriptor representing the constant Boolean.TRUE
java.lang.Double.PRECISION
19
The number of bits in the significand of a `double` value, 53.
java.lang.Float.PRECISION
19
The number of bits in the significand of a `float` value, 24.
java.lang.invoke.MethodHandles.Lookup.ORIGINAL
16
A single-bit mask representing `original` access which may contribute to the result of `lookupModes`.
java.lang.Math.TAU
19
The `double` value that is closer than any other to tau (τ), the ratio of the circumference of a circle to its radius.
java.lang.StrictMath.TAU
19
The `double` value that is closer than any other to tau (τ), the ratio of the circumference of a circle to its radius.
java.lang.String.UNICODE_CASEFOLD_ORDER
26
A Comparator that orders `String` objects as by `compareToFoldCase()`.
java.math.BigDecimal.TWO
19
The value 2, with a scale of 0.
java.nio.charset.StandardCharsets.UTF_32
22
Thirty-two-bit UCS Transformation Format, byte order identified by an optional byte-order mark.
java.nio.charset.StandardCharsets.UTF_32BE
22
Thirty-two-bit UCS Transformation Format, big-endian byte order.
java.nio.charset.StandardCharsets.UTF_32LE
22
Thirty-two-bit UCS Transformation Format, little-endian byte order.
java.security.spec.MGF1ParameterSpec.SHA3_224
16
The `MGF1ParameterSpec` uses a "SHA3-224" message digest.
java.security.spec.MGF1ParameterSpec.SHA3_256
16
The `MGF1ParameterSpec` uses a "SHA3-256" message digest.
java.security.spec.MGF1ParameterSpec.SHA3_384
16
The `MGF1ParameterSpec` uses a "SHA3-384" message digest.
java.security.spec.MGF1ParameterSpec.SHA3_512
16
The `MGF1ParameterSpec` uses a "SHA3-512" message digest.
java.security.spec.NamedParameterSpec.ED25519
15
The Ed25519 parameters
java.security.spec.NamedParameterSpec.ED448
15
The Ed448 parameters
java.security.spec.NamedParameterSpec.ML_DSA_44
24
The ML-DSA-44 parameters
java.security.spec.NamedParameterSpec.ML_DSA_65
24
The ML-DSA-65 parameters
java.security.spec.NamedParameterSpec.ML_DSA_87
24
The ML-DSA-87 parameters
java.security.spec.NamedParameterSpec.ML_KEM_1024
24
The ML-KEM-1024 parameters
java.security.spec.NamedParameterSpec.ML_KEM_512
24
The ML-KEM-512 parameters
java.security.spec.NamedParameterSpec.ML_KEM_768
24
The ML-KEM-768 parameters
java.sql.Types.DECFLOAT
26
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type `DECFLOAT`.
java.sql.Types.JSON
26
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type `JSON`.
java.text.NumberFormat.Field.PREFIX
12
Constant identifying the prefix field.
java.text.NumberFormat.Field.SUFFIX
12
Constant identifying the suffix field.
java.time.chrono.JapaneseEra.REIWA
13
The singleton instance for the 'Reiwa' era (2019-05-01 - ) which has the value 3.
java.time.Duration.MAX
26
The maximum supported `Duration`, which is `Long.MAX_VALUE` seconds and `999,999,999` nanoseconds.
java.time.Duration.MIN
26
The minimum supported `Duration`, which is `Long.MIN_VALUE` seconds.
javax.security.auth.kerberos.KerberosPrincipal.KRB_NT_ENTERPRISE
13
Enterprise name (alias)
javax.swing.text.DefaultEditorKit.beginLineUpAction
20
Name of the `Action` for moving the caret to the beginning of the current line or up to the beginning of the previous line if the caret is already at the beginning of the line.
javax.swing.text.DefaultEditorKit.endLineDownAction
20
Name of the `Action` for moving the caret to the end of the current line or down to the end of the next line if the caret is already at the end of the line.
javax.xml.crypto.dsig.CanonicalizationMethod.INCLUSIVE_11
13
The Canonical XML 1.1 (without comments) canonicalization method algorithm URI.
javax.xml.crypto.dsig.CanonicalizationMethod.INCLUSIVE_11_WITH_COMMENTS
13
The Canonical XML 1.1 with comments canonicalization method algorithm URI.
javax.xml.crypto.dsig.keyinfo.KeyValue.EC_TYPE
13
URI identifying the EC KeyValue KeyInfo type: http://www.w3.org/2009/xmldsig11#ECKeyValue.
javax.xml.crypto.dsig.SignatureMethod.ECDSA_SHA3_224
25
The ECDSA-SHA3-224 signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.ECDSA_SHA3_256
25
The ECDSA-SHA3-256 signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.ECDSA_SHA3_384
25
The ECDSA-SHA3-384 signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.ECDSA_SHA3_512
25
The ECDSA-SHA3-512 signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.ED25519
21
The ED25519 signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.ED448
21
The ED448 signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.RSA_PSS
17
The RSASSA-PSS signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.SHA3_224_RSA_MGF1
22
The SHA3-224-RSA-MGF1 (PKCS #1) signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.SHA3_256_RSA_MGF1
22
The SHA3-256-RSA-MGF1 (PKCS #1) signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.SHA3_384_RSA_MGF1
22
The SHA3-384-RSA-MGF1 (PKCS #1) signature method algorithm URI.
javax.xml.crypto.dsig.SignatureMethod.SHA3_512_RSA_MGF1
22
The SHA3-512-RSA-MGF1 (PKCS #1) signature method algorithm URI.
jdk.incubator.vector.VectorOperators.BIT_COUNT
19
Produce `bitCount(a)`.
jdk.incubator.vector.VectorOperators.COMPRESS_BITS
19
Produce `compress(a,n)`.
jdk.incubator.vector.VectorOperators.EXPAND_BITS
19
Produce `expand(a,n)`.
jdk.incubator.vector.VectorOperators.LEADING_ZEROS_COUNT
19
Produce `numberOfLeadingZeros(a)`.
jdk.incubator.vector.VectorOperators.REVERSE
19
Produce `reverse(a)`.
jdk.incubator.vector.VectorOperators.REVERSE_BYTES
19
Produce `reverseBytes(a)`.
jdk.incubator.vector.VectorOperators.TRAILING_ZEROS_COUNT
19
Produce `numberOfTrailingZeros(a)`.
jdk.net.ExtendedSocketOptions.IP_DONTFRAGMENT
19
Disable IP packet fragmentation.
jdk.net.ExtendedSocketOptions.SO_INCOMING_NAPI_ID
15
Identifies the receive queue that the last incoming packet for the socket was received on.
jdk.net.ExtendedSocketOptions.SO_PEERCRED
16
Unix Domain peer credentials.

New Methods
Method
Added in
Description
com.sun.jdi.request.ThreadDeathRequest.addPlatformThreadsOnlyFilter()
21
Restricts the events generated by this request to only platform threads.
com.sun.jdi.request.ThreadStartRequest.addPlatformThreadsOnlyFilter()
21
Restricts the events generated by this request to only platform threads.
com.sun.jdi.ThreadReference.isVirtual()
21
Returns `true` if the thread is a virtual thread.
com.sun.management.HotSpotDiagnosticMXBean.dumpThreads(String, HotSpotDiagnosticMXBean.ThreadDumpFormat)
21
Generate a thread dump to the given file in the given format.
com.sun.management.OperatingSystemMXBean.getCpuLoad()
14
Returns the "recent CPU usage" for the operating environment.
com.sun.management.OperatingSystemMXBean.getFreeMemorySize()
14
Returns the amount of free memory in bytes.
com.sun.management.OperatingSystemMXBean.getTotalMemorySize()
14
Returns the total amount of memory in bytes.
com.sun.management.ThreadMXBean.getCurrentThreadAllocatedBytes()
14
Returns an approximation of the total amount of memory, in bytes, allocated in heap memory for the current thread.
com.sun.management.ThreadMXBean.getTotalThreadAllocatedBytes()
21
Returns an approximation of the total amount of memory, in bytes, allocated in heap memory by all threads since the Java virtual machine started.
com.sun.net.httpserver.Filter.adaptRequest(String, UnaryOperator<Request>)
18
Returns a pre-processing Filter that inspects and possibly adapts the request state.
com.sun.net.httpserver.Filter.afterHandler(String, Consumer<HttpExchange>)
17
Returns a post-processing `Filter` with the given description and operation.
com.sun.net.httpserver.Filter.beforeHandler(String, Consumer<HttpExchange>)
17
Returns a pre-processing `Filter` with the given description and operation.
com.sun.net.httpserver.Headers.of(String...)
18
Returns an immutable `Headers` with the given name value pairs as its set of headers.
com.sun.net.httpserver.Headers.of(Map<String, List<String>>)
18
Returns an immutable `Headers` from the given `headers` with the same header names and values.
com.sun.net.httpserver.HttpServer.create(InetSocketAddress, int, String, HttpHandler, Filter...)
18
Creates an `HttpServer` instance with an initial context.
com.sun.net.httpserver.HttpsServer.create(InetSocketAddress, int, String, HttpHandler, Filter...)
18
Creates an `HttpsServer` instance with an initial context.
com.sun.source.doctree.DocTreeVisitor.visitEscape(EscapeTree, P)
21
Visits an `EscapeTree` node.
com.sun.source.doctree.DocTreeVisitor.visitRawText(RawTextTree, P)
23
Visits a `RawTextTree` node.
com.sun.source.doctree.DocTreeVisitor.visitSnippet(SnippetTree, P)
18
Visits a `SnippetTree` node.
com.sun.source.doctree.DocTreeVisitor.visitSpec(SpecTree, P)
20
Visits a `SpecTree` node.
com.sun.source.doctree.DocTreeVisitor.visitSystemProperty(SystemPropertyTree, P)
12
Visits a `SystemPropertyTree` node.
com.sun.source.doctree.InheritDocTree.getSupertype()
22
Returns the reference to a superclass or superinterface from which to inherit documentation, or `null` if no reference was provided.
com.sun.source.doctree.ReturnTree.isInline()
16
Returns whether this instance is an inline tag.
com.sun.source.doctree.ValueTree.getFormat()
20
Returns the format string, or `null` if none was provided.
com.sun.source.tree.CaseTree.getBody()
14
For case with kind CaseTree.CaseKind.RULE, returns the statement or expression after the arrow.
com.sun.source.tree.CaseTree.getCaseKind()
14
Returns the kind of this case.
com.sun.source.tree.CaseTree.getExpressions()
14
Returns the labels for this case.
com.sun.source.tree.CaseTree.getGuard()
21
The guard for the case.
com.sun.source.tree.CaseTree.getLabels()
21
Returns the labels for this case.
com.sun.source.tree.ClassTree.getPermitsClause()
17
Returns the subclasses permitted by this type declaration.
com.sun.source.tree.CompilationUnitTree.getModule()
17
Returns the module tree associated with this compilation unit, or `null` if there is no module declaration.
com.sun.source.tree.ImportTree.isModule()
25
Returns true if this is an module import declaration..
com.sun.source.tree.InstanceOfTree.getPattern()
16
Returns the tested pattern, or `null` if this `instanceof` does not use a pattern.
com.sun.source.tree.TreeVisitor.visitAnyPattern(AnyPatternTree, P)
22
Visits a `AnyPatternTree` node.
com.sun.source.tree.TreeVisitor.visitBindingPattern(BindingPatternTree, P)
16
Visits a `BindingPatternTree` node.
com.sun.source.tree.TreeVisitor.visitConstantCaseLabel(ConstantCaseLabelTree, P)
21
Visits a `ConstantCaseLabelTree` node.
com.sun.source.tree.TreeVisitor.visitDeconstructionPattern(DeconstructionPatternTree, P)
21
Visits a `DeconstructionPatternTree` node.
com.sun.source.tree.TreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)
21
Visits a `DefaultCaseLabelTree` node.
com.sun.source.tree.TreeVisitor.visitPatternCaseLabel(PatternCaseLabelTree, P)
21
Visits a `PatternCaseLabelTree` node.
com.sun.source.tree.TreeVisitor.visitSwitchExpression(SwitchExpressionTree, P)
14
Visits a `SwitchExpressionTree` node.
com.sun.source.tree.TreeVisitor.visitYield(YieldTree, P)
14
Visits a `YieldTree` node.
com.sun.source.util.DocTreeFactory.newEscapeTree(char)
21
Creates a new `EscapeTree` object, to represent an escaped character.
com.sun.source.util.DocTreeFactory.newInheritDocTree(ReferenceTree)
22
Creates a new `InheritDocTree` object, to represent an `{@inheritDoc}` tag.
com.sun.source.util.DocTreeFactory.newRawTextTree(DocTree.Kind, String)
23
Creates a new `RawTextTree` object, to represent a fragment of uninterpreted raw text.
com.sun.source.util.DocTreeFactory.newReturnTree(boolean, List<? extends DocTree>)
16
Creates a new `ReturnTree` object, to represent a `@return` tag or `{@return}` tag.
com.sun.source.util.DocTreeFactory.newSnippetTree(List<? extends DocTree>, TextTree)
18
Creates a new `SnippetTree` object, to represent a `{@snippet }` tag.
com.sun.source.util.DocTreeFactory.newSpecTree(TextTree, List<? extends DocTree>)
20
Creates a new `SpecTree` object, to represent an `@spec` tag.
com.sun.source.util.DocTreeFactory.newSystemPropertyTree(Name)
12
Creates a new `SystemPropertyTree` object, to represent a `{@systemProperty }` tag.
com.sun.source.util.DocTreeFactory.newValueTree(TextTree, ReferenceTree)
20
Creates a new `ValueTree` object, to represent a `{@value }` tag.
com.sun.source.util.DocTrees.getCharacters(EntityTree)
16
Returns a string containing the characters for the entity in a given entity tree, or `null` if the tree does not represent a valid series of characters.
com.sun.source.util.DocTrees.getDocCommentKind(TreePath)
23
Returns the style of the documentation comment associated with a tree node.
com.sun.source.util.DocTrees.getType(DocTreePath)
15
Returns the language model type referred to by the leaf node of the given `DocTreePath`, or `null` if unknown.
com.sun.source.util.DocTreeScanner.visitEscape(EscapeTree, P)
21
Visits an `EscapeTree` node.
com.sun.source.util.DocTreeScanner.visitRawText(RawTextTree, P)
23
Visits a `RawTextTree` node.
com.sun.source.util.DocTreeScanner.visitSnippet(SnippetTree, P)
18
Visits a `SnippetTree` node.
com.sun.source.util.DocTreeScanner.visitSpec(SpecTree, P)
20
Visits a `SpecTree` node.
com.sun.source.util.DocTreeScanner.visitSystemProperty(SystemPropertyTree, P)
12
Visits a `SystemPropertyTree` node.
com.sun.source.util.JavacTask.setParameterNameProvider(ParameterNameProvider)
13
Sets the specified `ParameterNameProvider`.
com.sun.source.util.Plugin.autoStart()
14
Returns whether or not this plugin should be automatically started, even if not explicitly specified in the command-line options.
com.sun.source.util.SimpleDocTreeVisitor.visitEscape(EscapeTree, P)
21
Visits an `EscapeTree` node.
com.sun.source.util.SimpleDocTreeVisitor.visitRawText(RawTextTree, P)
23
Visits a `RawTextTree` node.
com.sun.source.util.SimpleDocTreeVisitor.visitSnippet(SnippetTree, P)
18
Visits a `SnippetTree` node.
com.sun.source.util.SimpleDocTreeVisitor.visitSpec(SpecTree, P)
20
Visits a `SpecTree` node.
com.sun.source.util.SimpleDocTreeVisitor.visitSystemProperty(SystemPropertyTree, P)
12
Visits a `SystemPropertyTree` node.
com.sun.source.util.SimpleTreeVisitor.visitAnyPattern(AnyPatternTree, P)
22
Visits a `AnyPatternTree` node.
com.sun.source.util.SimpleTreeVisitor.visitBindingPattern(BindingPatternTree, P)
14
Visits a `BindingPatternTree` node.
com.sun.source.util.SimpleTreeVisitor.visitConstantCaseLabel(ConstantCaseLabelTree, P)
21
Visits a `ConstantCaseLabelTree` node.
com.sun.source.util.SimpleTreeVisitor.visitDeconstructionPattern(DeconstructionPatternTree, P)
21
Visits a `DeconstructionPatternTree` node.
com.sun.source.util.SimpleTreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)
21
Visits a `DefaultCaseLabelTree` node.
com.sun.source.util.SimpleTreeVisitor.visitPatternCaseLabel(PatternCaseLabelTree, P)
21
Visits a `PatternCaseLabelTree` node.
com.sun.source.util.SimpleTreeVisitor.visitSwitchExpression(SwitchExpressionTree, P)
14
Visits a `SwitchExpressionTree` node.
com.sun.source.util.SimpleTreeVisitor.visitYield(YieldTree, P)
14
Visits a `YieldTree` node.
com.sun.source.util.TreeScanner.visitAnyPattern(AnyPatternTree, P)
21
Visits a `AnyPatternTree` node.
com.sun.source.util.TreeScanner.visitBindingPattern(BindingPatternTree, P)
14
Visits a `BindingPatternTree` node.
com.sun.source.util.TreeScanner.visitConstantCaseLabel(ConstantCaseLabelTree, P)
21
Visits a `ConstantCaseLabelTree` node.
com.sun.source.util.TreeScanner.visitDeconstructionPattern(DeconstructionPatternTree, P)
21
Visits a `DeconstructionPatternTree` node.
com.sun.source.util.TreeScanner.visitDefaultCaseLabel(DefaultCaseLabelTree, P)
21
Visits a `DefaultCaseLabelTree` node.
com.sun.source.util.TreeScanner.visitPatternCaseLabel(PatternCaseLabelTree, P)
21
Visits a `PatternCaseLabelTree` node.
com.sun.source.util.TreeScanner.visitSwitchExpression(SwitchExpressionTree, P)
14
Visits a `SwitchExpressionTree` node.
com.sun.source.util.TreeScanner.visitYield(YieldTree, P)
14
Visits a `YieldTree` node.
java.awt.Robot.click()
26
A convenience method that clicks mouse button 1.
java.awt.Robot.click(int)
26
A convenience method that simulates clicking a mouse button by calling `mousePress`, `mouseRelease` and `waitForIdle`.
java.awt.Robot.glide(int, int)
26
A convenience method that moves the mouse in multiple steps from its current location to the destination coordinates.
java.awt.Robot.glide(int, int, int, int)
26
A convenience method that moves the mouse in multiple steps from source coordinates to the destination coordinates.
java.awt.Robot.glide(int, int, int, int, int, int)
26
A convenience method that moves the mouse in multiple steps from source point to the destination point with a given `stepLength` and `stepDelay`.
java.awt.Robot.type(char)
26
A convenience method that simulates typing a char by calling `keyPress` and `keyRelease`.
java.awt.Robot.type(int)
26
A convenience method that simulates typing a key by calling `keyPress` and `keyRelease`.
java.awt.Robot.waitForIdle(int)
26
A convenience method that calls `waitForIdle` then waits an additional specified `delayValue` time in milliseconds.
java.io.Console.charset()
17
Returns the `Charset` object used for the write operations on this `Console`.
java.io.Console.format(Locale, String, Object...)
23
Writes a formatted string to this console's output stream using the specified format string and arguments with the specified `locale`.
java.io.Console.isTerminal()
22
Returns `true` if the `Console` instance is a terminal.
java.io.Console.printf(Locale, String, Object...)
23
A convenience method to write a formatted string to this console's output stream using the specified format string and arguments with the specified `locale`.
java.io.Console.readLine(Locale, String, Object...)
23
Provides a formatted prompt using the specified `locale`, then reads a single line of text from the console.
java.io.Console.readPassword(Locale, String, Object...)
23
Provides a formatted prompt using the specified `locale`, then reads a password or passphrase from the console with echoing disabled.
java.io.InputStream.skipNBytes(long)
12
Skips over and discards exactly `n` bytes of data from this input stream.
java.io.ObjectInputFilter.allowFilter(Predicate<Class<?>>, ObjectInputFilter.Status)
17
Returns a filter that returns `Status.ALLOWED` if the predicate on the class is `true`.
java.io.ObjectInputFilter.Config.getSerialFilterFactory()
17
Returns the JVM-wide deserialization filter factory.
java.io.ObjectInputFilter.Config.setSerialFilterFactory(BinaryOperator<ObjectInputFilter>)
17
Set the JVM-wide deserialization filter factory.
java.io.ObjectInputFilter.merge(ObjectInputFilter, ObjectInputFilter)
17
Returns a filter that merges the status of a filter and another filter.
java.io.ObjectInputFilter.rejectFilter(Predicate<Class<?>>, ObjectInputFilter.Status)
17
Returns a filter that returns `Status.REJECTED` if the predicate on the class is `true`.
java.io.ObjectInputFilter.rejectUndecidedClass(ObjectInputFilter)
17
Returns a filter that invokes a given filter and maps `UNDECIDED` to `REJECTED` for classes, with some special cases, and otherwise returns the status.
java.io.PrintStream.charset()
18
Returns the charset used in this `PrintStream` instance.
java.io.PrintStream.writeBytes(byte[])
14
Writes all bytes from the specified byte array to this stream.
java.io.Reader.of(CharSequence)
24
Returns a `Reader` that reads characters from a `CharSequence`.
java.io.Reader.readAllAsString()
25
Reads all remaining characters into a string.
java.io.Reader.readAllLines()
25
Reads all remaining characters as lines of text.
java.lang.Boolean.describeConstable()
15
Returns an `Optional` containing the nominal descriptor for this instance.
java.lang.Byte.describeConstable()
15
Returns an `Optional` containing the nominal descriptor for this instance.
java.lang.Character.describeConstable()
15
Returns an `Optional` containing the nominal descriptor for this instance.
java.lang.Character.isEmoji(int)
21
Determines if the specified character (Unicode code point) is an Emoji.
java.lang.Character.isEmojiComponent(int)
21
Determines if the specified character (Unicode code point) is an Emoji Component.
java.lang.Character.isEmojiModifier(int)
21
Determines if the specified character (Unicode code point) is an Emoji Modifier.
java.lang.Character.isEmojiModifierBase(int)
21
Determines if the specified character (Unicode code point) is an Emoji Modifier Base.
java.lang.Character.isEmojiPresentation(int)
21
Determines if the specified character (Unicode code point) has the Emoji Presentation property by default.
java.lang.Character.isExtendedPictographic(int)
21
Determines if the specified character (Unicode code point) is an Extended Pictographic.
java.lang.CharSequence.getChars(int, int, char[], int)
25
Copies characters from this sequence into the given destination array.
java.lang.CharSequence.isEmpty()
15
Returns `true` if this character sequence is empty.
java.lang.Class.accessFlags()
20
Returns an unmodifiable set of the access flags for this class, possibly empty.
java.lang.Class.arrayType()
12
Returns a `Class` for an array type whose component type is described by this Class.
java.lang.Class.componentType()
12
Returns the component type of this `Class`, if it describes an array type, or `null` otherwise.
java.lang.Class.describeConstable()
12
Returns a nominal descriptor for this instance, if one can be constructed, or an empty `Optional` if one cannot be.
java.lang.Class.descriptorString()
12
Returns the descriptor string of the entity (class, interface, array class, primitive type, or `void`) represented by this `Class` object.
java.lang.Class.forPrimitiveName(String)
22
Returns the `Class` object associated with the primitive type of the given name.
java.lang.Class.getPermittedSubclasses()
17
Returns an array containing `Class` objects representing the direct subinterfaces or subclasses permitted to extend or implement this class or interface if it is sealed.
java.lang.Class.getRecordComponents()
16
Returns an array of `RecordComponent` objects representing all the record components of this record class, or `null` if this class is not a record class.
java.lang.Class.isHidden()
15
Returns `true` if and only if the underlying class is a hidden class.
java.lang.Class.isRecord()
16
Returns `true` if and only if this class is a record class.
java.lang.Class.isSealed()
17
Returns `true` if and only if this `Class` object represents a sealed class or interface.
java.lang.classfile.constantpool.ClassEntry.matches(ClassDesc)
25
Returns whether this entry describes the given reference type.
java.lang.classfile.constantpool.MethodTypeEntry.matches(MethodTypeDesc)
25
Returns whether this entry describes the given method type.
java.lang.classfile.constantpool.ModuleEntry.matches(ModuleDesc)
25
Returns whether this entry describes the given module.
java.lang.classfile.constantpool.PackageEntry.matches(PackageDesc)
25
Returns whether this entry describes the given package.
java.lang.classfile.constantpool.StringEntry.equalsString(String)
25
Returns whether this entry describes the same string as the provided string.
java.lang.classfile.constantpool.Utf8Entry.isFieldType(ClassDesc)
25
Returns whether this entry describes the descriptor string of this field type.
java.lang.classfile.constantpool.Utf8Entry.isMethodType(MethodTypeDesc)
25
Returns whether this entry describes the descriptor string of this method type.
java.lang.constant.ClassDesc.ofInternalName(String)
20
Returns a ClassDesc for a class or interface type, given the name of the class or interface in internal form, such as `"java/lang/String"`.
java.lang.constant.ClassDesc.resolveConstantDesc(MethodHandles.Lookup)
21
java.lang.constant.MethodHandleDesc.resolveConstantDesc(MethodHandles.Lookup)
21
java.lang.constant.MethodTypeDesc.of(ClassDesc)
21
Returns a MethodTypeDesc with the given return type and no parameter types.
java.lang.constant.MethodTypeDesc.of(ClassDesc, List<ClassDesc>)
21
Returns a MethodTypeDesc given the return type and a list of parameter types.
java.lang.constant.MethodTypeDesc.resolveConstantDesc(MethodHandles.Lookup)
21
Resolves this descriptor reflectively, emulating the resolution behavior of JVMS 5.4.3 and the access control behavior of JVMS 5.4.4.
java.lang.Double.describeConstable()
12
Returns an `Optional` containing the nominal descriptor for this instance, which is the instance itself.
java.lang.Double.resolveConstantDesc(MethodHandles.Lookup)
12
Resolves this instance as a `ConstantDesc`, the result of which is the instance itself.
java.lang.Enum.describeConstable()
12
Returns an enum descriptor `EnumDesc` for this instance, if one can be constructed, or an empty `Optional` if one cannot be.
java.lang.Enum.EnumDesc.of(ClassDesc, String)
12
Returns a nominal descriptor for the specified `enum` class and name
java.lang.Float.describeConstable()
12
Returns an `Optional` containing the nominal descriptor for this instance, which is the instance itself.
java.lang.Float.float16ToFloat(short)
20
Returns the `float` value closest to the numerical value of the argument, a floating-point binary16 value encoded in a `short`.
java.lang.Float.floatToFloat16(float)
20
Returns the floating-point binary16 value, encoded in a `short`, closest in value to the argument.
java.lang.Float.resolveConstantDesc(MethodHandles.Lookup)
12
Resolves this instance as a `ConstantDesc`, the result of which is the instance itself.
java.lang.foreign.MemorySegment.maxByteAlignment()
23
Returns the maximum byte alignment associated with this memory segment.
java.lang.foreign.SymbolLookup.findOrThrow(String)
23
Returns the address of the symbol with the given name or throws an exception.
java.lang.Integer.compress(int, int)
19
Returns the value obtained by compressing the bits of the specified `int` value, `i`, in accordance with the specified bit mask.
java.lang.Integer.describeConstable()
12
Returns an `Optional` containing the nominal descriptor for this instance, which is the instance itself.
java.lang.Integer.expand(int, int)
19
Returns the value obtained by expanding the bits of the specified `int` value, `i`, in accordance with the specified bit mask.
java.lang.Integer.resolveConstantDesc(MethodHandles.Lookup)
12
Resolves this instance as a `ConstantDesc`, the result of which is the instance itself.
java.lang.invoke.ConstantBootstraps.explicitCast(MethodHandles.Lookup, String, Class<?>, Object)
15
Applies a conversion from a source type to a destination type.
java.lang.invoke.MethodHandle.describeConstable()
12
Return a nominal descriptor for this instance, if one can be constructed, or an empty `Optional` if one cannot be.
java.lang.invoke.MethodHandles.classData(MethodHandles.Lookup, String, Class<T>)
16
Returns the class data associated with the lookup class of the given `caller` lookup object, or `null`.
java.lang.invoke.MethodHandles.classDataAt(MethodHandles.Lookup, String, Class<T>, int)
16
Returns the element at the specified index in the class data, if the class data associated with the lookup class of the given `caller` lookup object is a `List`.
java.lang.invoke.MethodHandles.collectCoordinates(VarHandle, int, MethodHandle)
22
Adapts a target var handle by pre-processing a sub-sequence of its coordinate values with a filter (a method handle).
java.lang.invoke.MethodHandles.dropCoordinates(VarHandle, int, Class<?>...)
22
Returns a var handle which will discard some dummy coordinates before delegating to the target var handle.
java.lang.invoke.MethodHandles.dropReturn(MethodHandle)
16
Drop the return value of the target handle (if any).
java.lang.invoke.MethodHandles.filterCoordinates(VarHandle, int, MethodHandle...)
22
Adapts a target var handle by pre-processing incoming coordinate values using unary filter functions.
java.lang.invoke.MethodHandles.filterValue(VarHandle, MethodHandle, MethodHandle)
22
Adapts a target var handle by pre-processing incoming and outgoing values using a pair of filter functions.
java.lang.invoke.MethodHandles.insertCoordinates(VarHandle, int, Object...)
22
Provides a target var handle with one or more bound coordinates in advance of the var handle's invocation.
java.lang.invoke.MethodHandles.Lookup.defineHiddenClass(byte[], boolean, MethodHandles.Lookup.ClassOption...)
15
Creates a hidden class or interface from `bytes`, returning a `Lookup` on the newly created class or interface.
java.lang.invoke.MethodHandles.Lookup.defineHiddenClassWithClassData(byte[], Object, boolean, MethodHandles.Lookup.ClassOption...)
16
Creates a hidden class or interface from `bytes` with associated class data, returning a `Lookup` on the newly created class or interface.
java.lang.invoke.MethodHandles.Lookup.ensureInitialized(Class<T>)
15
Ensures that `targetClass` has been initialized.
java.lang.invoke.MethodHandles.Lookup.hasFullPrivilegeAccess()
14
Returns `true` if this lookup has full privilege access, i.e.
java.lang.invoke.MethodHandles.Lookup.previousLookupClass()
14
Reports a lookup class in another module that this lookup object was previously teleported from, or `null`.
java.lang.invoke.MethodHandles.permuteCoordinates(VarHandle, List<Class<?>>, int...)
22
Provides a var handle which adapts the coordinate values of the target var handle, by re-arranging them so that the new coordinates match the provided ones.
java.lang.invoke.MethodHandles.tableSwitch(MethodHandle, MethodHandle...)
17
Creates a table switch method handle, which can be used to switch over a set of target method handles, based on a given target index, called selector.
java.lang.invoke.MethodType.describeConstable()
12
Returns a nominal descriptor for this instance, if one can be constructed, or an empty `Optional` if one cannot be.
java.lang.invoke.MethodType.descriptorString()
12
Returns the descriptor string for this method type.
java.lang.invoke.VarHandle.describeConstable()
12
Return a nominal descriptor for this instance, if one can be constructed, or an empty `Optional` if one cannot be.
java.lang.invoke.VarHandle.hasInvokeExactBehavior()
16
Returns `true` if this VarHandle has invoke-exact behavior.
java.lang.invoke.VarHandle.withInvokeBehavior()
16
Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose invocation behavior of access mode methods is adjusted to invoke behavior.
java.lang.invoke.VarHandle.withInvokeExactBehavior()
16
Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose invocation behavior of access mode methods is adjusted to invoke-exact behavior.
java.lang.Long.compress(long, long)
19
Returns the value obtained by compressing the bits of the specified `long` value, `i`, in accordance with the specified bit mask.
java.lang.Long.describeConstable()
12
Returns an `Optional` containing the nominal descriptor for this instance, which is the instance itself.
java.lang.Long.expand(long, long)
19
Returns the value obtained by expanding the bits of the specified `long` value, `i`, in accordance with the specified bit mask.
java.lang.Long.resolveConstantDesc(MethodHandles.Lookup)
12
Resolves this instance as a `ConstantDesc`, the result of which is the instance itself.
java.lang.management.MemoryMXBean.getTotalGcCpuTime()
26
Returns the approximate accumulated time, in nanoseconds, spent in garbage collection (GC).
java.lang.Math.absExact(int)
15
Returns the mathematical absolute value of an `int` value if it is exactly representable as an `int`, throwing `ArithmeticException` if the result overflows the positive `int` range.
java.lang.Math.absExact(long)
15
Returns the mathematical absolute value of an `long` value if it is exactly representable as an `long`, throwing `ArithmeticException` if the result overflows the positive `long` range.
java.lang.Math.ceilDiv(int, int)
18
Returns the smallest (closest to negative infinity) `int` value that is greater than or equal to the algebraic quotient.
java.lang.Math.ceilDiv(long, int)
18
Returns the smallest (closest to negative infinity) `long` value that is greater than or equal to the algebraic quotient.
java.lang.Math.ceilDiv(long, long)
18
Returns the smallest (closest to negative infinity) `long` value that is greater than or equal to the algebraic quotient.
java.lang.Math.ceilDivExact(int, int)
18
Returns the smallest (closest to negative infinity) `int` value that is greater than or equal to the algebraic quotient.
java.lang.Math.ceilDivExact(long, long)
18
Returns the smallest (closest to negative infinity) `long` value that is greater than or equal to the algebraic quotient.
java.lang.Math.ceilMod(int, int)
18
Returns the ceiling modulus of the `int` arguments.
java.lang.Math.ceilMod(long, int)
18
Returns the ceiling modulus of the `long` and `int` arguments.
java.lang.Math.ceilMod(long, long)
18
Returns the ceiling modulus of the `long` arguments.
java.lang.Math.clamp(double, double, double)
21
Clamps the value to fit between min and max.
java.lang.Math.clamp(float, float, float)
21
Clamps the value to fit between min and max.
java.lang.Math.clamp(long, int, int)
21
Clamps the value to fit between min and max.
java.lang.Math.clamp(long, long, long)
21
Clamps the value to fit between min and max.
java.lang.Math.divideExact(int, int)
18
Returns the quotient of the arguments, throwing an exception if the result overflows an `int`.
java.lang.Math.divideExact(long, long)
18
Returns the quotient of the arguments, throwing an exception if the result overflows a `long`.
java.lang.Math.floorDivExact(int, int)
18
Returns the largest (closest to positive infinity) `int` value that is less than or equal to the algebraic quotient.
java.lang.Math.floorDivExact(long, long)
18
Returns the largest (closest to positive infinity) `long` value that is less than or equal to the algebraic quotient.
java.lang.Math.powExact(int, int)
25
Returns `x` raised to the power of `n`, throwing an exception if the result overflows an `int`.
java.lang.Math.powExact(long, int)
25
Returns `x` raised to the power of `n`, throwing an exception if the result overflows a `long`.
java.lang.Math.unsignedMultiplyExact(int, int)
25
Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned `int`.
java.lang.Math.unsignedMultiplyExact(long, int)
25
Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned `long`.
java.lang.Math.unsignedMultiplyExact(long, long)
25
Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned `long`.
java.lang.Math.unsignedMultiplyHigh(long, long)
18
Returns as a `long` the most significant 64 bits of the unsigned 128-bit product of two unsigned 64-bit factors.
java.lang.Math.unsignedPowExact(int, int)
25
Returns unsigned `x` raised to the power of `n`, throwing an exception if the result overflows an unsigned `int`.
java.lang.Math.unsignedPowExact(long, int)
25
Returns unsigned `x` raised to the power of `n`, throwing an exception if the result overflows an unsigned `long`.
java.lang.Module.isNativeAccessEnabled()
22
Returns `true` if this module can access restricted methods.
java.lang.module.ModuleDescriptor.accessFlags()
20
Returns the set of the module flags.
java.lang.module.ModuleDescriptor.Exports.accessFlags()
20
Returns the set of the module export flags for this module descriptor.
java.lang.module.ModuleDescriptor.Opens.accessFlags()
20
Returns the set of the module opens flags.
java.lang.module.ModuleDescriptor.Requires.accessFlags()
20
Returns the set of the module requires flags.
java.lang.ModuleLayer.Controller.enableNativeAccess(Module)RESTRICTED
22
Enables native access for a module in the layer if the caller's module has native access.
java.lang.Process.close()
26
Closes all reader and writer streams and waits for the process to terminate.
java.lang.Process.errorReader()
17
Returns a `BufferedReader` connected to the standard error of the process.
java.lang.Process.errorReader(Charset)
17
Returns a `BufferedReader` connected to the standard error of this process using a Charset.
java.lang.Process.inputReader()
17
Returns a `BufferedReader` connected to the standard output of the process.
java.lang.Process.inputReader(Charset)
17
Returns a `BufferedReader` connected to the standard output of this process using a Charset.
java.lang.Process.outputWriter()
17
Returns a `BufferedWriter` connected to the normal input of the process using the native encoding.
java.lang.Process.outputWriter(Charset)
17
Returns a `BufferedWriter` connected to the normal input of the process using a Charset.
java.lang.Process.waitFor(Duration)
24
Causes the current thread to wait, if necessary, until the process represented by this `Process` object has terminated, or the specified waiting duration elapses.
java.lang.ref.Reference.refersTo(T)
16
Tests if the referent of this reference object is `obj`.
java.lang.reflect.AccessFlag.Location.flags()
25
Returns the set of access flags defined for this location in the current class file format version.
java.lang.reflect.AccessFlag.Location.flags(ClassFileFormatVersion)
25
Returns the set of access flags defined for this location in the given class file format version.
java.lang.reflect.AccessFlag.Location.flagsMask()
25
Returns the union of masks of all access flags defined for this location in the current class file format version.
java.lang.reflect.AccessFlag.Location.flagsMask(ClassFileFormatVersion)
25
Returns the union of masks of all access flags defined for this location in the given class file format version.
java.lang.reflect.AccessFlag.maskToAccessFlags(int, AccessFlag.Location, ClassFileFormatVersion)
25
Returns an unmodifiable set of access flags for the given mask value appropriate for the location in the given class file format version.
java.lang.reflect.Executable.accessFlags()
20
Returns an unmodifiable set of the access flags for the executable represented by this object, possibly empty.
java.lang.reflect.Field.accessFlags()
20
Returns an unmodifiable set of the access flags for this field, possibly empty.
java.lang.reflect.InvocationHandler.invokeDefault(Object, Method, Object...)
16
Invokes the specified default method on the given `proxy` instance with the given parameters.
java.lang.reflect.Member.accessFlags()
20
Returns an unmodifiable set of the access flags for this member, possibly empty.
java.lang.reflect.Parameter.accessFlags()
20
Returns an unmodifiable set of the access flags for the parameter represented by this object, possibly empty.
java.lang.Short.describeConstable()
15
Returns an `Optional` containing the nominal descriptor for this instance.
java.lang.StrictMath.absExact(int)
15
Returns the mathematical absolute value of an `int` value if it is exactly representable as an `int`, throwing `ArithmeticException` if the result overflows the positive `int` range.
java.lang.StrictMath.absExact(long)
15
Returns the mathematical absolute value of an `long` value if it is exactly representable as an `long`, throwing `ArithmeticException` if the result overflows the positive `long` range.
java.lang.StrictMath.ceilDiv(int, int)
18
Returns the smallest (closest to negative infinity) `int` value that is greater than or equal to the algebraic quotient.
java.lang.StrictMath.ceilDiv(long, int)
18
Returns the smallest (closest to negative infinity) `long` value that is greater than or equal to the algebraic quotient.
java.lang.StrictMath.ceilDiv(long, long)
18
Returns the smallest (closest to negative infinity) `long` value that is greater than or equal to the algebraic quotient.
java.lang.StrictMath.ceilDivExact(int, int)
18
Returns the smallest (closest to negative infinity) `int` value that is greater than or equal to the algebraic quotient.
java.lang.StrictMath.ceilDivExact(long, long)
18
Returns the smallest (closest to negative infinity) `long` value that is greater than or equal to the algebraic quotient.
java.lang.StrictMath.ceilMod(int, int)
18
Returns the ceiling modulus of the `int` arguments.
java.lang.StrictMath.ceilMod(long, int)
18
Returns the ceiling modulus of the `long` and `int` arguments.
java.lang.StrictMath.ceilMod(long, long)
18
Returns the ceiling modulus of the `long` arguments.
java.lang.StrictMath.clamp(double, double, double)
21
Clamps the value to fit between min and max.
java.lang.StrictMath.clamp(float, float, float)
21
Clamps the value to fit between min and max.
java.lang.StrictMath.clamp(long, int, int)
21
Clamps the value to fit between min and max.
java.lang.StrictMath.clamp(long, long, long)
21
Clamps the value to fit between min and max.
java.lang.StrictMath.decrementExact(int)
14
Returns the argument decremented by one, throwing an exception if the result overflows an `int`.
java.lang.StrictMath.decrementExact(long)
14
Returns the argument decremented by one, throwing an exception if the result overflows a `long`.
java.lang.StrictMath.divideExact(int, int)
18
Returns the quotient of the arguments, throwing an exception if the result overflows an `int`.
java.lang.StrictMath.divideExact(long, long)
18
Returns the quotient of the arguments, throwing an exception if the result overflows a `long`.
java.lang.StrictMath.floorDivExact(int, int)
18
Returns the largest (closest to positive infinity) `int` value that is less than or equal to the algebraic quotient.
java.lang.StrictMath.floorDivExact(long, long)
18
Returns the largest (closest to positive infinity) `long` value that is less than or equal to the algebraic quotient.
java.lang.StrictMath.incrementExact(int)
14
Returns the argument incremented by one, throwing an exception if the result overflows an `int`.
java.lang.StrictMath.incrementExact(long)
14
Returns the argument incremented by one, throwing an exception if the result overflows a `long`.
java.lang.StrictMath.negateExact(int)
14
Returns the negation of the argument, throwing an exception if the result overflows an `int`.
java.lang.StrictMath.negateExact(long)
14
Returns the negation of the argument, throwing an exception if the result overflows a `long`.
java.lang.StrictMath.powExact(int, int)
25
Returns `x` raised to the power of `n`, throwing an exception if the result overflows an `int`.
java.lang.StrictMath.powExact(long, int)
25
Returns `x` raised to the power of `n`, throwing an exception if the result overflows a `long`.
java.lang.StrictMath.unsignedMultiplyExact(int, int)
25
Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned `int`.
java.lang.StrictMath.unsignedMultiplyExact(long, int)
25
Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned `long`.
java.lang.StrictMath.unsignedMultiplyExact(long, long)
25
Returns the product of the unsigned arguments, throwing an exception if the result overflows an unsigned `long`.
java.lang.StrictMath.unsignedMultiplyHigh(long, long)
18
Returns as a `long` the most significant 64 bits of the unsigned 128-bit product of two unsigned 64-bit factors.
java.lang.StrictMath.unsignedPowExact(int, int)
25
Returns unsigned `x` raised to the power of `n`, throwing an exception if the result overflows an unsigned `int`.
java.lang.StrictMath.unsignedPowExact(long, int)
25
Returns unsigned `x` raised to the power of `n`, throwing an exception if the result overflows an unsigned `long`.
java.lang.String.compareToFoldCase(String)
26
Compares two strings lexicographically using Unicode case folding.
java.lang.String.describeConstable()
12
Returns an `Optional` containing the nominal descriptor for this instance, which is the instance itself.
java.lang.String.equalsFoldCase(String)
26
Compares this `String` to another `String` for equality, using Unicode case folding.
java.lang.String.formatted(Object...)
15
Formats using this string as the format string, and the supplied arguments.
java.lang.String.indent(int)
12
Adjusts the indentation of each line of this string based on the value of `n`, and normalizes line termination characters.
java.lang.String.indexOf(int, int, int)
21
Returns the index within this string of the first occurrence of the specified character, starting the search at `beginIndex` and stopping before `endIndex`.
java.lang.String.indexOf(String, int, int)
21
Returns the index of the first occurrence of the specified substring within the specified index range of `this` string.
java.lang.String.resolveConstantDesc(MethodHandles.Lookup)
12
Resolves this instance as a `ConstantDesc`, the result of which is the instance itself.
java.lang.String.splitWithDelimiters(String, int)
21
Splits this string around matches of the given regular expression and returns both the strings and the matching delimiters.
java.lang.String.stripIndent()
15
Returns a string whose value is this string, with incidental white space removed from the beginning and end of every line.
java.lang.String.transform(Function<? super String, ? extends R>)
12
This method allows the application of a function to `this` string.
java.lang.String.translateEscapes()
15
Returns a string whose value is this string, with escape sequences translated as if in a string literal.
java.lang.StringBuffer.repeat(int, int)
21
java.lang.StringBuffer.repeat(CharSequence, int)
21
java.lang.StringBuilder.repeat(int, int)
21
java.lang.StringBuilder.repeat(CharSequence, int)
21
java.lang.Thread.isVirtual()
21
Returns `true` if this thread is a virtual thread.
java.lang.Thread.join(Duration)
19
Waits for this thread to terminate for up to the given waiting duration.
java.lang.Thread.ofPlatform()
21
Returns a builder for creating a platform `Thread` or `ThreadFactory` that creates platform threads.
java.lang.Thread.ofVirtual()
21
Returns a builder for creating a virtual `Thread` or `ThreadFactory` that creates virtual threads.
java.lang.Thread.sleep(Duration)
19
Causes the currently executing thread to sleep (temporarily cease execution) for the specified duration, subject to the precision and accuracy of system timers and schedulers.
java.lang.Thread.startVirtualThread(Runnable)
21
Creates a virtual thread to execute a task and schedules it to execute.
java.lang.Thread.threadId()
19
Returns the identifier of this Thread.
java.math.BigInteger.parallelMultiply(BigInteger)
19
Returns a BigInteger whose value is `(this * val)`.
java.math.BigInteger.rootn(int)
26
Returns the integer `n`th root of this BigInteger.
java.math.BigInteger.rootnAndRemainder(int)
26
Returns an array of two BigIntegers containing the integer `n`th root `r` of `this` and its remainder `this - r``n`, respectively.
java.net.DatagramSocket.joinGroup(SocketAddress, NetworkInterface)
17
Joins a multicast group.
java.net.DatagramSocket.leaveGroup(SocketAddress, NetworkInterface)
17
Leave a multicast group on a specified local interface.
java.net.http.HttpClient.awaitTermination(Duration)
21
Blocks until all operations have completed execution after a shutdown request, or the `duration` elapses, or the current thread is interrupted, whichever happens first.
java.net.http.HttpClient.Builder.localAddress(InetAddress)
19
Binds the socket to this local address when creating connections for sending requests.
java.net.http.HttpClient.close()
21
Initiates an orderly shutdown in which requests previously submitted to `send` or `sendAsync` are run to completion, but no new request will be accepted.
java.net.http.HttpClient.isTerminated()
21
Returns `true` if all operations have completed following a shutdown.
java.net.http.HttpClient.shutdown()
21
Initiates an orderly shutdown in which requests previously submitted with `send` or `sendAsync` are run to completion, but no new request will be accepted.
java.net.http.HttpClient.shutdownNow()
21
This method attempts to initiate an immediate shutdown.
java.net.http.HttpRequest.BodyPublishers.concat(HttpRequest.BodyPublisher...)
16
Returns a `BodyPublisher` that publishes a request body consisting of the concatenation of the request bodies published by a sequence of publishers.
java.net.http.HttpRequest.BodyPublishers.ofFileChannel(FileChannel, long, long)
26
Returns a request body publisher whose body is the `length` content bytes read from the provided file `channel` starting from the specified `offset`.
java.net.http.HttpRequest.Builder.HEAD()
18
Sets the request method of this builder to HEAD.
java.net.http.HttpRequest.Builder.setOption(HttpOption<T>, T)
26
Provides request configuration option hints modeled as key value pairs to help an `HttpClient` implementation decide how the request/response exchange should be established or carried out.
java.net.http.HttpRequest.getOption(HttpOption<T>)
26
Returns the value configured on this request for the given option, if any.
java.net.http.HttpRequest.newBuilder(HttpRequest, BiPredicate<String, String>)
16
Creates a `Builder` whose initial state is copied from an existing `HttpRequest`.
java.net.http.HttpResponse.BodyHandlers.limiting(HttpResponse.BodyHandler<T>, long)
25
Returns a `BodyHandler` that limits the number of body bytes that are delivered to the given `downstreamHandler`.
java.net.http.HttpResponse.BodySubscribers.limiting(HttpResponse.BodySubscriber<T>, long)
25
Returns a `BodySubscriber` that limits the number of body bytes that are delivered to the given `downstreamSubscriber`.
java.net.http.HttpResponse.connectionLabel()
25
Returns if present, a label identifying the connection on which the response was received.
java.net.http.HttpResponse.PushPromiseHandler.applyPushPromise(HttpRequest, HttpRequest, HttpResponse.PushPromiseHandler.PushId, Function<HttpResponse.BodyHandler<T>, CompletableFuture<HttpResponse<T>>>)
26
Notification of the first occurrence of an HTTP/3 incoming push promise.
java.net.http.HttpResponse.PushPromiseHandler.notifyAdditionalPromise(HttpRequest, HttpResponse.PushPromiseHandler.PushId)
26
Invoked for each additional HTTP/3 Push Promise.
java.net.Inet4Address.ofLiteral(String)
22
Creates an `Inet4Address` based on the provided textual representation of an IPv4 address.
java.net.Inet4Address.ofPosixLiteral(String)
23
Creates an `Inet4Address` based on the provided textual representation of an IPv4 address in POSIX `inet_addr` compatible form.
java.net.Inet6Address.ofLiteral(String)
22
Creates an `InetAddress` based on the provided textual representation of an IPv6 address.
java.net.InetAddress.ofLiteral(String)
22
Creates an `InetAddress` based on the provided textual representation of an IP address.
java.net.SecureCacheResponse.getSSLSession()
12
Returns an `Optional` containing the `SSLSession` in use on the original connection that retrieved the network resource.
java.net.URL.of(URI, URLStreamHandler)
20
Creates a URL from a URI, as if by invoking `uri.toURL()`, but associating it with the given `URLStreamHandler`, if allowed.
java.nio.Buffer.slice(int, int)
13
Creates a new buffer whose content is a shared subsequence of this buffer's content.
java.nio.ByteBuffer.get(int, byte[])
13
Absolute bulk get method.
java.nio.ByteBuffer.get(int, byte[], int, int)
13
Absolute bulk get method.
java.nio.ByteBuffer.put(int, byte[])
13
Absolute bulk put method (optional operation).
java.nio.ByteBuffer.put(int, byte[], int, int)
13
Absolute bulk put method (optional operation).
java.nio.ByteBuffer.put(int, ByteBuffer, int, int)
16
Absolute bulk put method (optional operation).
java.nio.ByteBuffer.slice(int, int)
13
Creates a new byte buffer whose content is a shared subsequence of this buffer's content.
java.nio.channels.FileChannel.map(FileChannel.MapMode, long, long, Arena)
22
Maps a region of this channel's file into a new mapped memory segment, with the given offset, size and arena.
java.nio.channels.ServerSocketChannel.open(ProtocolFamily)
15
Opens a server-socket channel.
java.nio.channels.SocketChannel.open(ProtocolFamily)
15
Opens a socket channel.
java.nio.channels.spi.SelectorProvider.openServerSocketChannel(ProtocolFamily)
15
Opens a server-socket channel.
java.nio.channels.spi.SelectorProvider.openSocketChannel(ProtocolFamily)
15
Opens a socket channel.
java.nio.CharBuffer.get(int, char[])
13
Absolute bulk get method.
java.nio.CharBuffer.get(int, char[], int, int)
13
Absolute bulk get method.
java.nio.CharBuffer.getChars(int, int, char[], int)
25
Relative bulk get method.
java.nio.CharBuffer.isEmpty()
15
Returns `true` if this character buffer is empty.
java.nio.CharBuffer.put(int, char[])
13
Absolute bulk put method (optional operation).
java.nio.CharBuffer.put(int, char[], int, int)
13
Absolute bulk put method (optional operation).
java.nio.CharBuffer.put(int, CharBuffer, int, int)
16
Absolute bulk put method (optional operation).
java.nio.CharBuffer.slice(int, int)
13
Creates a new char buffer whose content is a shared subsequence of this buffer's content.
java.nio.charset.Charset.forName(String, Charset)
18
Returns a charset object for the named charset.
java.nio.DoubleBuffer.get(int, double[])
13
Absolute bulk get method.
java.nio.DoubleBuffer.get(int, double[], int, int)
13
Absolute bulk get method.
java.nio.DoubleBuffer.put(int, double[])
13
Absolute bulk put method (optional operation).
java.nio.DoubleBuffer.put(int, double[], int, int)
13
Absolute bulk put method (optional operation).
java.nio.DoubleBuffer.put(int, DoubleBuffer, int, int)
16
Absolute bulk put method (optional operation).
java.nio.DoubleBuffer.slice(int, int)
13
Creates a new double buffer whose content is a shared subsequence of this buffer's content.
java.nio.file.Files.mismatch(Path, Path)
12
Finds and returns the position of the first mismatched byte in the content of two files, or `-1L` if there is no mismatch.
java.nio.file.FileSystems.newFileSystem(Path)
13
Constructs a new `FileSystem` to access the contents of a file as a file system.
java.nio.file.FileSystems.newFileSystem(Path, Map<String, ?>)
13
Constructs a new `FileSystem` to access the contents of a file as a file system.
java.nio.file.FileSystems.newFileSystem(Path, Map<String, ?>, ClassLoader)
13
Constructs a new `FileSystem` to access the contents of a file as a file system.
java.nio.file.Path.resolve(String, String...)
22
Converts a path string to a path, resolves that path against this path, and then iteratively performs the same procedure for any additional path strings.
java.nio.file.Path.resolve(Path, Path...)
22
Resolves a path against this path, and then iteratively resolves any additional paths.
java.nio.file.spi.FileSystemProvider.exists(Path, LinkOption...)
20
Tests whether a file exists.
java.nio.file.spi.FileSystemProvider.readAttributesIfExists(Path, Class<A>, LinkOption...)
20
Reads a file's attributes as a bulk operation if it exists.
java.nio.FloatBuffer.get(int, float[])
13
Absolute bulk get method.
java.nio.FloatBuffer.get(int, float[], int, int)
13
Absolute bulk get method.
java.nio.FloatBuffer.put(int, float[])
13
Absolute bulk put method (optional operation).
java.nio.FloatBuffer.put(int, float[], int, int)
13
Absolute bulk put method (optional operation).
java.nio.FloatBuffer.put(int, FloatBuffer, int, int)
16
Absolute bulk put method (optional operation).
java.nio.FloatBuffer.slice(int, int)
13
Creates a new float buffer whose content is a shared subsequence of this buffer's content.
java.nio.IntBuffer.get(int, int[])
13
Absolute bulk get method.
java.nio.IntBuffer.get(int, int[], int, int)
13
Absolute bulk get method.
java.nio.IntBuffer.put(int, int[])
13
Absolute bulk put method (optional operation).
java.nio.IntBuffer.put(int, int[], int, int)
13
Absolute bulk put method (optional operation).
java.nio.IntBuffer.put(int, IntBuffer, int, int)
16
Absolute bulk put method (optional operation).
java.nio.IntBuffer.slice(int, int)
13
Creates a new int buffer whose content is a shared subsequence of this buffer's content.
java.nio.LongBuffer.get(int, long[])
13
Absolute bulk get method.
java.nio.LongBuffer.get(int, long[], int, int)
13
Absolute bulk get method.
java.nio.LongBuffer.put(int, long[])
13
Absolute bulk put method (optional operation).
java.nio.LongBuffer.put(int, long[], int, int)
13
Absolute bulk put method (optional operation).
java.nio.LongBuffer.put(int, LongBuffer, int, int)
16
Absolute bulk put method (optional operation).
java.nio.LongBuffer.slice(int, int)
13
Creates a new long buffer whose content is a shared subsequence of this buffer's content.
java.nio.MappedByteBuffer.compact()
17
Compacts this buffer (optional operation).
java.nio.MappedByteBuffer.duplicate()
17
Creates a new byte buffer that shares this buffer's content.
java.nio.MappedByteBuffer.force(int, int)
13
Forces any changes made to a region of this buffer's content to be written to the storage device containing the mapped file.
java.nio.MappedByteBuffer.slice()
17
Creates a new byte buffer whose content is a shared subsequence of this buffer's content.
java.nio.MappedByteBuffer.slice(int, int)
17
Creates a new byte buffer whose content is a shared subsequence of this buffer's content.
java.nio.ShortBuffer.get(int, short[])
13
Absolute bulk get method.
java.nio.ShortBuffer.get(int, short[], int, int)
13
Absolute bulk get method.
java.nio.ShortBuffer.put(int, short[])
13
Absolute bulk put method (optional operation).
java.nio.ShortBuffer.put(int, short[], int, int)
13
Absolute bulk put method (optional operation).
java.nio.ShortBuffer.put(int, ShortBuffer, int, int)
16
Absolute bulk put method (optional operation).
java.nio.ShortBuffer.slice(int, int)
13
Creates a new short buffer whose content is a shared subsequence of this buffer's content.
java.security.KeyStore.getAttributes(String)
18
Retrieves the attributes associated with the given alias.
java.security.KeyStoreSpi.engineGetAttributes(String)
18
Retrieves the attributes associated with the given alias.
java.sql.Array.close()
26
Closes and releases the resources held by this `Array` object.
java.sql.Blob.close()
26
Closes and releases the resources held by this `Blob` object.
java.sql.Clob.close()
26
Closes and releases the resources held by this `Clob` object.
java.sql.Connection.enquoteIdentifier(String, boolean)
26
Returns a `simple SQL identifier` or a delimited identifier.
java.sql.Connection.enquoteLiteral(String)
26
Returns a `String` enclosed in single quotes.
java.sql.Connection.enquoteNCharLiteral(String)
26
Returns a `String` representing a National Character Set Literal enclosed in single quotes and prefixed with a upper case letter N.
java.sql.Connection.isSimpleIdentifier(String)
26
Returns whether `identifier` is a simple SQL identifier.
java.sql.SQLXML.close()
26
Closes and releases the resources held by this `SQLXML` object.
java.text.ChoiceFormat.isStrict()
23
java.text.ChoiceFormat.setStrict(boolean)
23
java.text.CompactNumberFormat.isStrict()
23
Returns `true` if this format will parse numbers strictly; `false` otherwise.
java.text.CompactNumberFormat.setStrict(boolean)
23
Change the leniency value for parsing.
java.text.DecimalFormat.isStrict()
23
Returns `true` if this format will parse numbers strictly; `false` otherwise.
java.text.DecimalFormat.setStrict(boolean)
23
Change the leniency value for parsing.
java.text.DecimalFormatSymbols.getLocale()
19
Returns locale used to create this instance.
java.text.DecimalFormatSymbols.getMonetaryGroupingSeparator()
15
Gets the character used for grouping separator for currencies.
java.text.DecimalFormatSymbols.setMonetaryGroupingSeparator(char)
15
Sets the character used for grouping separator for currencies.
java.text.NumberFormat.getCompactNumberInstance()
12
Returns a compact number format for the default `FORMAT` locale with `"SHORT"` format style.
java.text.NumberFormat.getCompactNumberInstance(Locale, NumberFormat.Style)
12
Returns a compact number format for the specified `locale` and `formatStyle`.
java.text.NumberFormat.isStrict()
23
Returns `true` if this format will parse numbers strictly; `false` otherwise.
java.text.NumberFormat.setStrict(boolean)
23
Change the leniency value for parsing.
java.text.spi.NumberFormatProvider.getCompactNumberInstance(Locale, NumberFormat.Style)
12
Returns a new `NumberFormat` instance which formats a number in its compact form for the specified `locale` and `formatStyle`.
java.time.chrono.Chronology.isIsoBased()
19
Checks if this chronology is ISO based.
java.time.chrono.IsoChronology.isIsoBased()
19
`IsoChronology` is an ISO based chronology, which supports fields in `IsoFields`, such as `DAY_OF_QUARTER` and `QUARTER_OF_YEAR`.
java.time.chrono.JapaneseChronology.isIsoBased()
19
`JapaneseChronology` is an ISO based chronology, which supports fields in `IsoFields`, such as `DAY_OF_QUARTER` and `QUARTER_OF_YEAR`.
java.time.chrono.MinguoChronology.isIsoBased()
19
`MinguoChronology` is an ISO based chronology, which supports fields in `IsoFields`, such as `DAY_OF_QUARTER` and `QUARTER_OF_YEAR`.
java.time.chrono.ThaiBuddhistChronology.isIsoBased()
19
`ThaiBuddhistChronology` is an ISO based chronology, which supports fields in `IsoFields`, such as `DAY_OF_QUARTER` and `QUARTER_OF_YEAR`.
java.time.Duration.isPositive()
18
Checks if this duration is positive, excluding zero.
java.time.format.DateTimeFormatter.ofLocalizedPattern(String)
19
Creates a locale specific formatter derived from the requested template for the ISO chronology.
java.time.format.DateTimeFormatterBuilder.appendDayPeriodText(TextStyle)
16
Appends the day period text to the formatter.
java.time.format.DateTimeFormatterBuilder.appendLocalized(String)
19
Appends a localized pattern to the formatter using the requested template.
java.time.format.DateTimeFormatterBuilder.getLocalizedDateTimePattern(String, Chronology, Locale)
19
Returns the formatting pattern for the requested template for a locale and chronology.
java.time.Instant.plusSaturating(Duration)
26
Returns a copy of this instant with the specified duration added, with saturated semantics.
java.time.Instant.until(Instant)
23
Calculates the `Duration` until another `Instant`.
java.util.ArrayList.addFirst(E)
21
Adds an element as the first element of this collection (optional operation).
java.util.ArrayList.addLast(E)
21
Adds an element as the last element of this collection (optional operation).
java.util.ArrayList.getFirst()
21
Gets the first element of this collection.
java.util.ArrayList.getLast()
21
Gets the last element of this collection.
java.util.ArrayList.removeFirst()
21
Removes and returns the first element of this collection (optional operation).
java.util.ArrayList.removeLast()
21
Removes and returns the last element of this collection (optional operation).
java.util.Collections.newSequencedSetFromMap(SequencedMap<E, Boolean>)
21
Returns a sequenced set backed by the specified map.
java.util.Collections.shuffle(List<?>, RandomGenerator)
21
Randomly permute the specified list using the specified source of randomness.
java.util.Collections.unmodifiableSequencedCollection(SequencedCollection<? extends T>)
21
Returns an unmodifiable view of the specified `SequencedCollection`.
java.util.Collections.unmodifiableSequencedMap(SequencedMap<? extends K, ? extends V>)
21
Returns an unmodifiable view of the specified `SequencedMap`.
java.util.Collections.unmodifiableSequencedSet(SequencedSet<? extends T>)
21
Returns an unmodifiable view of the specified `SequencedSet`.
java.util.Comparator.max(U, U)
26
Returns the greater of two values according to this comparator.
java.util.Comparator.min(U, U)
26
Returns the smaller of two values according to this comparator.
java.util.concurrent.CompletableFuture.exceptionallyAsync(Function<Throwable, ? extends T>)
12
java.util.concurrent.CompletableFuture.exceptionallyAsync(Function<Throwable, ? extends T>, Executor)
12
java.util.concurrent.CompletableFuture.exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>>)
12
java.util.concurrent.CompletableFuture.exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>)
12
java.util.concurrent.CompletableFuture.exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>, Executor)
12
java.util.concurrent.CompletableFuture.exceptionNow()
19
java.util.concurrent.CompletableFuture.resultNow()
19
java.util.concurrent.CompletableFuture.state()
19
java.util.concurrent.CompletionStage.exceptionallyAsync(Function<Throwable, ? extends T>)
12
Returns a new CompletionStage that, when `this` stage completes exceptionally, is executed with `this` stage's exception as the argument to the supplied function, using `this` stage's default asynchronous execution facility.
java.util.concurrent.CompletionStage.exceptionallyAsync(Function<Throwable, ? extends T>, Executor)
12
Returns a new CompletionStage that, when `this` stage completes exceptionally, is executed with `this` stage's exception as the argument to the supplied function, using the supplied Executor.
java.util.concurrent.CompletionStage.exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>>)
12
Returns a new CompletionStage that, when `this` stage completes exceptionally, is composed using the results of the supplied function applied to `this` stage's exception.
java.util.concurrent.CompletionStage.exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>)
12
Returns a new CompletionStage that, when `this` stage completes exceptionally, is composed using the results of the supplied function applied to `this` stage's exception, using `this` stage's default asynchronous execution facility.
java.util.concurrent.CompletionStage.exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>, Executor)
12
Returns a new CompletionStage that, when `this` stage completes exceptionally, is composed using the results of the supplied function applied to `this` stage's exception, using the supplied Executor.
java.util.concurrent.ConcurrentSkipListMap.putFirst(K, V)
21
Throws `UnsupportedOperationException`.
java.util.concurrent.ConcurrentSkipListMap.putLast(K, V)
21
Throws `UnsupportedOperationException`.
java.util.concurrent.ConcurrentSkipListSet.addFirst(E)
21
Throws `UnsupportedOperationException`.
java.util.concurrent.ConcurrentSkipListSet.addLast(E)
21
Throws `UnsupportedOperationException`.
java.util.concurrent.CopyOnWriteArrayList.addFirst(E)
21
Adds an element as the first element of this collection (optional operation).
java.util.concurrent.CopyOnWriteArrayList.addLast(E)
21
Adds an element as the last element of this collection (optional operation).
java.util.concurrent.CopyOnWriteArrayList.getFirst()
21
Gets the first element of this collection.
java.util.concurrent.CopyOnWriteArrayList.getLast()
21
Gets the last element of this collection.
java.util.concurrent.CopyOnWriteArrayList.removeFirst()
21
Removes and returns the first element of this collection (optional operation).
java.util.concurrent.CopyOnWriteArrayList.removeLast()
21
Removes and returns the last element of this collection (optional operation).
java.util.concurrent.CopyOnWriteArrayList.reversed()
21
Returns a reverse-ordered view of this collection.
java.util.concurrent.DelayQueue.remove()
21
Retrieves and removes the expired head of this queue, or throws an exception if this queue has no expired elements.
java.util.concurrent.Executors.newThreadPerTaskExecutor(ThreadFactory)
21
Creates an Executor that starts a new Thread for each task.
java.util.concurrent.Executors.newVirtualThreadPerTaskExecutor()
21
Creates an Executor that starts a new virtual Thread for each task.
java.util.concurrent.ExecutorService.close()
19
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
java.util.concurrent.ForkJoinPool.cancelDelayedTasksOnShutdown()
25
Arranges that scheduled tasks that are not executing and have not already been enabled for execution will not be executed and will be cancelled upon `ForkJoinPool.shutdown()` (unless this pool is the `ForkJoinPool.commonPool()` which never shuts down).
java.util.concurrent.ForkJoinPool.close()
19
Unless this is the `ForkJoinPool.commonPool()`, initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted, and waits until all tasks have completed execution and the executor has terminated.
java.util.concurrent.ForkJoinPool.externalSubmit(ForkJoinTask<T>)
20
Submits the given task as if submitted from a non-`ForkJoinTask` client.
java.util.concurrent.ForkJoinPool.getDelayedTaskCount()
25
Returns an estimate of the number of delayed (including periodic) tasks scheduled in this pool that are not yet ready to submit for execution.
java.util.concurrent.ForkJoinPool.invokeAllUninterruptibly(Collection<? extends Callable<T>>)
22
Uninterrupible version of `invokeAll`.
java.util.concurrent.ForkJoinPool.lazySubmit(ForkJoinTask<T>)
19
Submits the given task without guaranteeing that it will eventually execute in the absence of available active threads.
java.util.concurrent.ForkJoinPool.schedule(Runnable, long, TimeUnit)
25
Submits a one-shot task that becomes enabled for execution after the given delay.
java.util.concurrent.ForkJoinPool.schedule(Callable<V>, long, TimeUnit)
25
Submits a value-returning one-shot task that becomes enabled for execution after the given delay.
java.util.concurrent.ForkJoinPool.scheduleAtFixedRate(Runnable, long, long, TimeUnit)
25
Submits a periodic action that becomes enabled for execution first after the given initial delay, and subsequently with the given period; that is, executions will commence after `initialDelay`, then `initialDelay + period`, then `initialDelay + 2 * period`, and so on.
java.util.concurrent.ForkJoinPool.scheduleWithFixedDelay(Runnable, long, long, TimeUnit)
25
Submits a periodic action that becomes enabled for execution first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.
java.util.concurrent.ForkJoinPool.setParallelism(int)
19
Changes the target parallelism of this pool, controlling the future creation, use, and termination of worker threads.
java.util.concurrent.ForkJoinPool.submitWithTimeout(Callable<V>, long, TimeUnit, Consumer<? super ForkJoinTask<V>>)
25
Submits a task executing the given function, cancelling the task or performing a given timeoutAction if not completed within the given timeout period.
java.util.concurrent.ForkJoinTask.adaptInterruptible(Runnable)
22
Returns a new `ForkJoinTask` that performs the `run` method of the given `Runnable` as its action, and returns null upon `ForkJoinTask.join()`, translating any checked exceptions encountered into `RuntimeException`.
java.util.concurrent.ForkJoinTask.adaptInterruptible(Runnable, T)
22
Returns a new `ForkJoinTask` that performs the `run` method of the given `Runnable` as its action, and returns the given result upon `ForkJoinTask.join()`, translating any checked exceptions encountered into `RuntimeException`.
java.util.concurrent.ForkJoinTask.adaptInterruptible(Callable<? extends T>)
19
Returns a new `ForkJoinTask` that performs the `call` method of the given `Callable` as its action, and returns its result upon `ForkJoinTask.join()`, translating any checked exceptions encountered into `RuntimeException`.
java.util.concurrent.ForkJoinTask.exceptionNow()
19
java.util.concurrent.ForkJoinTask.quietlyJoin(long, TimeUnit)
19
Tries to join this task, returning true if it completed (possibly exceptionally) before the given timeout elapsed and the current thread has not been interrupted.
java.util.concurrent.ForkJoinTask.quietlyJoinUninterruptibly(long, TimeUnit)
19
Tries to join this task, returning true if it completed (possibly exceptionally) before the given timeout elapsed.
java.util.concurrent.ForkJoinTask.resultNow()
19
java.util.concurrent.ForkJoinTask.state()
19
java.util.concurrent.ForkJoinWorkerThread.getQueuedTaskCount()
20
Returns a (non-negative) estimate of the number of tasks in the thread's queue.
java.util.concurrent.Future.exceptionNow()
19
Returns the exception thrown by the task, without waiting.
java.util.concurrent.Future.resultNow()
19
Returns the computed result, without waiting.
java.util.concurrent.Future.state()
19
Returns the computation state.
java.util.concurrent.FutureTask.exceptionNow()
19
java.util.concurrent.FutureTask.resultNow()
19
java.util.concurrent.FutureTask.state()
19
java.util.concurrent.locks.LockSupport.setCurrentBlocker(Object)
14
Sets the object to be returned by invocations of `getBlocker` for the current thread.
java.util.concurrent.StructuredTaskScope.fork(Runnable)PREVIEW
25
Fork a subtask by starting a new thread in this scope to execute a method that does not return a result.
java.util.concurrent.StructuredTaskScope.isCancelled()PREVIEW
25
Returns `true` if this scope is cancelled or in the process of being cancelled, otherwise `false`.
java.util.concurrent.StructuredTaskScope.join()PREVIEW
25
Returns the result, or throws, after waiting for all subtasks to complete or the scope to be cancelled.
java.util.concurrent.StructuredTaskScope.Joiner.anySuccessfulOrThrow()PREVIEW
26
Returns a new Joiner object that yields the result of any subtask that completed successfully.
java.util.concurrent.StructuredTaskScope.Joiner.onTimeout()PREVIEW
26
Invoked by the `join()`PREVIEW method if the scope was opened with a timeout, and the timeout expires before or while waiting in the `join` method.
java.util.concurrent.StructuredTaskScope.open()PREVIEW
25
Opens a new `StructuredTaskScope` that can be used to fork subtasks that return results of any type.
java.util.concurrent.StructuredTaskScope.open(StructuredTaskScope.Joiner<? super T, ? extends R>)PREVIEW
25
Opens a new `StructuredTaskScope`to use the given `Joiner` object.
java.util.concurrent.StructuredTaskScope.open(StructuredTaskScope.Joiner<? super T, ? extends R>, UnaryOperator<StructuredTaskScope.Configuration>)PREVIEW
26
Opens a new `StructuredTaskScope` to use the given `Joiner` object and with configuration that is the result of applying the given operator to the default configuration.
java.util.concurrent.ThreadLocalRandom.nextFloat(float)
17
Returns a pseudorandomly chosen `float` value between zero (inclusive) and the specified bound (exclusive).
java.util.concurrent.ThreadLocalRandom.nextFloat(float, float)
17
Returns a pseudorandomly chosen `float` value between the specified origin (inclusive) and the specified bound (exclusive).
java.util.Currency.availableCurrencies()
25
Returns a stream of available currencies.
java.util.Deque.reversed()
21
Returns a reverse-ordered view of this collection.
java.util.HashMap.newHashMap(int)
19
Creates a new, empty HashMap suitable for the expected number of mappings.
java.util.HashSet.newHashSet(int)
19
Creates a new, empty HashSet suitable for the expected number of elements.
java.util.LinkedHashMap.newLinkedHashMap(int)
19
Creates a new, empty, insertion-ordered LinkedHashMap suitable for the expected number of mappings.
java.util.LinkedHashMap.putFirst(K, V)
21
Inserts the given mapping into the map if it is not already present, or replaces the value of a mapping if it is already present (optional operation).
java.util.LinkedHashMap.putLast(K, V)
21
Inserts the given mapping into the map if it is not already present, or replaces the value of a mapping if it is already present (optional operation).
java.util.LinkedHashMap.reversed()
21
Returns a reverse-ordered view of this map.
java.util.LinkedHashMap.sequencedEntrySet()
21
Returns a `SequencedSet` view of this map's `entrySet`.
java.util.LinkedHashMap.sequencedKeySet()
21
Returns a `SequencedSet` view of this map's `keySet`.
java.util.LinkedHashMap.sequencedValues()
21
Returns a `SequencedCollection` view of this map's `values` collection.
java.util.LinkedHashSet.addFirst(E)
21
Adds an element as the first element of this collection (optional operation).
java.util.LinkedHashSet.addLast(E)
21
Adds an element as the last element of this collection (optional operation).
java.util.LinkedHashSet.getFirst()
21
Gets the first element of this collection.
java.util.LinkedHashSet.getLast()
21
Gets the last element of this collection.
java.util.LinkedHashSet.newLinkedHashSet(int)
19
Creates a new, empty LinkedHashSet suitable for the expected number of elements.
java.util.LinkedHashSet.removeFirst()
21
Removes and returns the first element of this collection (optional operation).
java.util.LinkedHashSet.removeLast()
21
Removes and returns the last element of this collection (optional operation).
java.util.LinkedHashSet.reversed()
21
Returns a reverse-ordered view of this collection.
java.util.LinkedList.reversed()
21
Returns a reverse-ordered view of this collection.
java.util.List.addFirst(E)
21
Adds an element as the first element of this collection (optional operation).
java.util.List.addLast(E)
21
Adds an element as the last element of this collection (optional operation).
java.util.List.getFirst()
21
Gets the first element of this collection.
java.util.List.getLast()
21
Gets the last element of this collection.
java.util.List.ofLazy(int, IntFunction<? extends E>)PREVIEW
26
Returns a new lazily computed list of the provided `size`.
java.util.List.removeFirst()
21
Removes and returns the first element of this collection (optional operation).
java.util.List.removeLast()
21
Removes and returns the last element of this collection (optional operation).
java.util.List.reversed()
21
Returns a reverse-ordered view of this collection.
java.util.Locale.availableLocales()
21
Returns a stream of available locales.
java.util.Locale.caseFoldLanguageTag(String)
21
Returns a case folded IETF BCP 47 language tag.
java.util.Locale.of(String)
19
Obtains a locale from a language code.
java.util.Locale.of(String, String)
19
Obtains a locale from language and country.
java.util.Locale.of(String, String, String)
19
Obtains a locale from language, country and variant.
java.util.logging.LogRecord.getLongThreadID()
16
Get a thread identifier for the thread where message originated
java.util.logging.LogRecord.setLongThreadID(long)
16
Set an identifier for the thread where the message originated.
java.util.Map.Entry.copyOf(Map.Entry<? extends K, ? extends V>)
17
Returns a copy of the given `Map.Entry`.
java.util.Map.ofLazy(Set<? extends K>, Function<? super K, ? extends V>)PREVIEW
26
Returns a new lazily computed map with the provided `keys`.
java.util.NavigableMap.reversed()
21
Returns a reverse-ordered view of this map.
java.util.NavigableSet.removeFirst()
21
Removes and returns the first element of this collection (optional operation).
java.util.NavigableSet.removeLast()
21
Removes and returns the last element of this collection (optional operation).
java.util.NavigableSet.reversed()
21
Returns a reverse-ordered view of this collection.
java.util.Objects.checkFromIndexSize(long, long, long)
16
Checks if the sub-range from `fromIndex` (inclusive) to `fromIndex + size` (exclusive) is within the bounds of range from `0` (inclusive) to `length` (exclusive).
java.util.Objects.checkFromToIndex(long, long, long)
16
Checks if the sub-range from `fromIndex` (inclusive) to `toIndex` (exclusive) is within the bounds of range from `0` (inclusive) to `length` (exclusive).
java.util.Objects.checkIndex(long, long)
16
Checks if the `index` is within the bounds of the range from `0` (inclusive) to `length` (exclusive).
java.util.Objects.toIdentityString(Object)
19
Returns a string equivalent to the string returned by `Object.toString` if that method and `hashCode` are not overridden.
java.util.Random.from(RandomGenerator)
19
Returns an instance of `Random` that delegates method calls to the `RandomGenerator` argument.
java.util.random.RandomGenerator.equiDoubles(double, double, boolean, boolean)
22
Returns an effectively unlimited stream of pseudorandomly chosen `double` values, where each value is between the specified `left` boundary and the specified `right` boundary.
java.util.regex.Matcher.hasMatch()
20
Returns whether `this` contains a valid match from a previous match or find operation.
java.util.regex.Matcher.namedGroups()
20
Returns an unmodifiable map from capturing group names to group numbers.
java.util.regex.MatchResult.end(String)
20
Returns the offset after the last character of the subsequence captured by the given named-capturing group during the previous match operation.
java.util.regex.MatchResult.group(String)
20
Returns the input subsequence captured by the given named-capturing group during the previous match operation.
java.util.regex.MatchResult.hasMatch()
20
Returns whether `this` contains a valid match from a previous match or find operation.
java.util.regex.MatchResult.namedGroups()
20
Returns an unmodifiable map from capturing group names to group numbers.
java.util.regex.MatchResult.start(String)
20
Returns the start index of the subsequence captured by the given named-capturing group during the previous match operation.
java.util.regex.Pattern.namedGroups()
20
Returns an unmodifiable map from capturing group names to group numbers.
java.util.regex.Pattern.splitWithDelimiters(CharSequence, int)
21
Splits the given input sequence around matches of this pattern and returns both the strings and the matching delimiters.
java.util.SortedMap.putFirst(K, V)
21
Throws `UnsupportedOperationException`.
java.util.SortedMap.putLast(K, V)
21
Throws `UnsupportedOperationException`.
java.util.SortedMap.reversed()
21
Returns a reverse-ordered view of this map.
java.util.SortedSet.addFirst(E)
21
Throws `UnsupportedOperationException`.
java.util.SortedSet.addLast(E)
21
Throws `UnsupportedOperationException`.
java.util.SortedSet.getFirst()
21
Gets the first element of this collection.
java.util.SortedSet.getLast()
21
Gets the last element of this collection.
java.util.SortedSet.removeFirst()
21
Removes and returns the first element of this collection (optional operation).
java.util.SortedSet.removeLast()
21
Removes and returns the last element of this collection (optional operation).
java.util.SortedSet.reversed()
21
Returns a reverse-ordered view of this collection.
java.util.spi.ToolProvider.description()
19
Returns a short description of the tool, or an empty `Optional` if no description is available.
java.util.SplittableRandom.split(RandomGenerator.SplittableGenerator)
17
Returns a new pseudorandom number generator, split off from this one, that implements the `RandomGenerator` and `RandomGenerator.SplittableGenerator` interfaces.
java.util.SplittableRandom.splits()
17
Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the `RandomGenerator.SplittableGenerator` interface.
java.util.SplittableRandom.splits(long)
17
Returns a stream producing the given `streamSize` number of new pseudorandom number generators, each of which implements the `RandomGenerator.SplittableGenerator` interface.
java.util.SplittableRandom.splits(long, RandomGenerator.SplittableGenerator)
17
Returns a stream producing the given `streamSize` number of new pseudorandom number generators, each of which implements the `RandomGenerator.SplittableGenerator` interface.
java.util.SplittableRandom.splits(RandomGenerator.SplittableGenerator)
17
Returns an effectively unlimited stream of new pseudorandom number generators, each of which implements the `RandomGenerator.SplittableGenerator` interface.
java.util.stream.Collectors.teeing(Collector<? super T, ?, R1>, Collector<? super T, ?, R2>, BiFunction<? super R1, ? super R2, R>)
12
Returns a `Collector` that is a composite of two downstream collectors.
java.util.stream.DoubleStream.mapMulti(DoubleStream.DoubleMapMultiConsumer)
16
Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
java.util.stream.IntStream.mapMulti(IntStream.IntMapMultiConsumer)
16
Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
java.util.stream.LongStream.mapMulti(LongStream.LongMapMultiConsumer)
16
Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
java.util.stream.Stream.gather(Gatherer<? super T, ?, R>)
24
Returns a stream consisting of the results of applying the given `Gatherer` to the elements of this stream.
java.util.stream.Stream.mapMulti(BiConsumer<? super T, ? super Consumer<R>>)
16
Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
java.util.stream.Stream.mapMultiToDouble(BiConsumer<? super T, ? super DoubleConsumer>)
16
Returns a `DoubleStream` consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
java.util.stream.Stream.mapMultiToInt(BiConsumer<? super T, ? super IntConsumer>)
16
Returns an `IntStream` consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
java.util.stream.Stream.mapMultiToLong(BiConsumer<? super T, ? super LongConsumer>)
16
Returns a `LongStream` consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
java.util.stream.Stream.toList()
16
Accumulates the elements of this stream into a `List`.
java.util.TimeZone.availableIDs()
25
Returns a stream of the available IDs supported.
java.util.TimeZone.availableIDs(int)
25
Gets the available IDs according to the given time zone offset in milliseconds.
java.util.TreeMap.putFirst(K, V)
21
Throws `UnsupportedOperationException`.
java.util.TreeMap.putLast(K, V)
21
Throws `UnsupportedOperationException`.
java.util.TreeSet.addFirst(E)
21
Throws `UnsupportedOperationException`.
java.util.TreeSet.addLast(E)
21
Throws `UnsupportedOperationException`.
java.util.UUID.ofEpochMillis(long)
26
Creates a type 7 UUID (UUIDv7) `UUID` from the given Unix Epoch timestamp.
java.util.WeakHashMap.newWeakHashMap(int)
19
Creates a new, empty WeakHashMap suitable for the expected number of mappings.
java.util.zip.Deflater.close()
25
Closes and releases the resources held by this `Deflater` and discards any unprocessed input.
java.util.zip.Inflater.close()
25
Closes and releases the resources held by this `Inflater` and discards any unprocessed input.
java.util.zip.ZipInputStream.skipNBytes(long)
12
Skips over and discards exactly `n` bytes of data from this input stream for the current ZIP entry.
javax.annotation.processing.Messager.printError(CharSequence)
18
Prints an error.
javax.annotation.processing.Messager.printError(CharSequence, Element)
18
Prints an error at the location of the element.
javax.annotation.processing.Messager.printNote(CharSequence)
18
Prints a note.
javax.annotation.processing.Messager.printNote(CharSequence, Element)
18
Prints a note at the location of the element.
javax.annotation.processing.Messager.printWarning(CharSequence)
18
Prints a warning.
javax.annotation.processing.Messager.printWarning(CharSequence, Element)
18
Prints a warning at the location of the element.
javax.annotation.processing.ProcessingEnvironment.isPreviewEnabled()
13
Returns `true` if preview features are enabled and `false` otherwise.
javax.crypto.EncryptedPrivateKeyInfo.encrypt(DEREncodable, char[])PREVIEW
26
Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `DEREncodable`.
javax.crypto.EncryptedPrivateKeyInfo.encrypt(DEREncodable, char[], String, AlgorithmParameterSpec, Provider)PREVIEW
26
Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `DEREncodable`.
javax.crypto.EncryptedPrivateKeyInfo.encrypt(DEREncodable, Key, String, AlgorithmParameterSpec, Provider, SecureRandom)PREVIEW
26
Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `DEREncodable`.
javax.crypto.EncryptedPrivateKeyInfo.getKey(char[])PREVIEW
25
Extracts and returns the enclosed `PrivateKey` using the specified password.
javax.crypto.EncryptedPrivateKeyInfo.getKey(Key, Provider)PREVIEW
25
Extracts and returns the enclosed `PrivateKey` using the specified decryption key and provider.
javax.crypto.EncryptedPrivateKeyInfo.getKeyPair(char[])PREVIEW
26
Extracts and returns the enclosed `KeyPair` using the specified password.
javax.crypto.EncryptedPrivateKeyInfo.getKeyPair(Key, Provider)PREVIEW
26
Extracts and returns the enclosed `KeyPair` using the specified decryption key and provider.
javax.lang.model.element.ElementKind.isDeclaredType()
19
Returns `true` if this is a kind of declared type, a class or an interface, and `false` otherwise.
javax.lang.model.element.ElementKind.isExecutable()
19
Returns `true` if this is a kind of executable: either `METHOD` or `CONSTRUCTOR` or `STATIC_INIT` or `INSTANCE_INIT`.
javax.lang.model.element.ElementKind.isInitializer()
19
Returns `true` if this is a kind of initializer: either `STATIC_INIT` or `INSTANCE_INIT`.
javax.lang.model.element.ElementKind.isVariable()
19
Returns `true` if this is a kind of variable: including `ENUM_CONSTANT`, `FIELD`, `PARAMETER`, `LOCAL_VARIABLE`, `EXCEPTION_PARAMETER`, `RESOURCE_VARIABLE`, and `BINDING_VARIABLE`.
javax.lang.model.element.ElementVisitor.visitRecordComponent(RecordComponentElement, P)
16
Visits a record component element.
javax.lang.model.element.TypeElement.getPermittedSubclasses()
17
Returns the permitted classes of this class or interface element in declaration order.
javax.lang.model.element.TypeElement.getRecordComponents()
16
Returns the record components of this class or interface element in declaration order.
javax.lang.model.element.VariableElement.isUnnamed()
22
Returns `true` if this is an unnamed variable and `false` otherwise.
javax.lang.model.SourceVersion.runtimeVersion()
18
Returns the least runtime version that supports this source version; otherwise `null`.
javax.lang.model.SourceVersion.valueOf(Runtime.Version)
18
Returns the latest source version that is usable under the runtime version argument.
javax.lang.model.util.AbstractElementVisitor6.visitRecordComponent(RecordComponentElement, P)
14
Visits a record component element.
javax.lang.model.util.ElementFilter.recordComponentsIn(Iterable<? extends Element>)
16
Returns a list of record components in `elements`.
javax.lang.model.util.ElementFilter.recordComponentsIn(Set<? extends Element>)
16
Returns a set of record components in `elements`.
javax.lang.model.util.ElementKindVisitor14.visitVariableAsBindingVariable(VariableElement, P)
16
Visits a `BINDING_VARIABLE` variable element.
javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(TypeElement, P)
16
Visits a `RECORD` type element.
javax.lang.model.util.ElementKindVisitor6.visitVariableAsBindingVariable(VariableElement, P)
14
Visits a `BINDING_VARIABLE` variable element.
javax.lang.model.util.Elements.getDocCommentKind(Element)
23
Returns the kind of the documentation comment for the given element, or `null` if there is no comment or the kind is not known.
javax.lang.model.util.Elements.getEnumConstantBody(VariableElement)
22
Returns the class body of an `enum` constant if the argument is an `enum` constant declared with an optional class body, `null` otherwise.
javax.lang.model.util.Elements.getFileObjectOf(Element)
18
Returns the file object for this element or `null` if there is no such file object.
javax.lang.model.util.Elements.getOutermostTypeElement(Element)
18
Returns the outermost type element an element is contained in if such a containing element exists; otherwise returns `null`.
javax.lang.model.util.Elements.isAutomaticModule(ModuleElement)
17
Returns `true` if the module element is an automatic module, `false` otherwise.
javax.lang.model.util.Elements.isCanonicalConstructor(ExecutableElement)
20
Returns `true` if the executable element can be determined to be a canonical constructor of a record, `false` otherwise.
javax.lang.model.util.Elements.isCompactConstructor(ExecutableElement)
20
Returns `true` if the executable element can be determined to be a compact constructor of a record, `false` otherwise.
javax.lang.model.util.Elements.recordComponentFor(ExecutableElement)
16
Returns the record component for the given accessor.
javax.lang.model.util.ElementScanner6.visitRecordComponent(RecordComponentElement, P)
14
Visits a record component element.
javax.lang.model.util.Types.stripAnnotations(T)
23
Returns a type mirror equivalent to the argument, but with no annotations.
javax.net.ssl.ExtendedSSLSession.exportKeyingMaterialData(String, byte[], int)
25
Generates Exported Keying Material (EKM) calculated according to the algorithms defined in RFCs 5705/8446.
javax.net.ssl.ExtendedSSLSession.exportKeyingMaterialKey(String, String, byte[], int)
25
Generates Exported Keying Material (EKM) calculated according to the algorithms defined in RFCs 5705/8446.
javax.net.ssl.HttpsURLConnection.getSSLSession()
12
Returns an `Optional` containing the `SSLSession` in use on this connection.
javax.net.ssl.SSLParameters.getNamedGroups()
20
Returns a prioritized array of key exchange named groups names that can be used over the SSL/TLS/DTLS protocols.
javax.net.ssl.SSLParameters.getSignatureSchemes()
19
Returns a prioritized array of signature scheme names that can be used over the SSL/TLS/DTLS protocols.
javax.net.ssl.SSLParameters.setNamedGroups(String[])
20
Sets the prioritized array of key exchange named groups names that can be used over the SSL/TLS/DTLS protocols.
javax.net.ssl.SSLParameters.setSignatureSchemes(String[])
19
Sets the prioritized array of signature scheme names that can be used over the SSL/TLS/DTLS protocols.
javax.security.auth.Subject.callAs(Subject, Callable<T>)
18
Executes a `Callable` with `subject` as the current subject.
javax.security.auth.Subject.current()
18
Returns the current subject.
javax.swing.filechooser.FileSystemView.getChooserShortcutPanelFiles()
12
Returns an array of files representing the values to show by default in the file chooser shortcuts panel.
javax.swing.filechooser.FileSystemView.getSystemIcon(File, int, int)
17
Returns an icon for a file, directory, or folder as it would be displayed in a system file browser for the requested size.
javax.swing.JSlider.AccessibleJSlider.doAccessibleAction(int)
17
Performs the specified Action on the object
javax.swing.JSlider.AccessibleJSlider.getAccessibleActionCount()
17
Returns the number of accessible actions available in this object If there are more than one, the first one is considered the "default" action of the object.
javax.swing.JSlider.AccessibleJSlider.getAccessibleActionDescription(int)
17
Returns a description of the specified action of the object.
javax.swing.JSlider.AccessibleJSlider.stateChanged(ChangeEvent)
16
Invoked when the target of the listener has changed its state.
javax.tools.ForwardingJavaFileManager.getFileForOutputForOriginatingFiles(JavaFileManager.Location, String, String, FileObject...)
18
Returns a file object for output representing the specified relative name in the specified package in the given location.
javax.tools.ForwardingJavaFileManager.getJavaFileForOutputForOriginatingFiles(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject...)
18
Returns a file object for output representing the specified class of the specified kind in the given package-oriented location.
javax.tools.JavaFileManager.getFileForOutputForOriginatingFiles(JavaFileManager.Location, String, String, FileObject...)
18
Returns a file object for output representing the specified relative name in the specified package in the given location.
javax.tools.JavaFileManager.getJavaFileForOutputForOriginatingFiles(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject...)
18
Returns a file object for output representing the specified class of the specified kind in the given package-oriented location.
javax.tools.SimpleJavaFileObject.forSource(URI, String)
23
Creates a `JavaFileObject` which represents the given source content.
javax.tools.StandardJavaFileManager.getJavaFileObjectsFromPaths(Collection<? extends Path>)
13
Returns file objects representing the given paths.
javax.xml.catalog.CatalogManager.catalogResolver(Catalog, CatalogResolver.NotFoundAction)
22
Creates a `CatalogResolver` that resolves external references with the given `catalog` and `action` type that determines the behavior when unable to resolve a reference.
javax.xml.parsers.DocumentBuilderFactory.newDefaultNSInstance()
13
Creates a new NamespaceAware instance of the `DocumentBuilderFactory` builtin system-default implementation.
javax.xml.parsers.DocumentBuilderFactory.newNSInstance()
13
Creates a new NamespaceAware instance of a `DocumentBuilderFactory`.
javax.xml.parsers.DocumentBuilderFactory.newNSInstance(String, ClassLoader)
13
Creates a new NamespaceAware instance of a `DocumentBuilderFactory` from the class name.
javax.xml.parsers.SAXParserFactory.newDefaultNSInstance()
13
Creates a new NamespaceAware instance of the `SAXParserFactory` builtin system-default implementation.
javax.xml.parsers.SAXParserFactory.newNSInstance()
13
Creates a new NamespaceAware instance of a `SAXParserFactory`.
javax.xml.parsers.SAXParserFactory.newNSInstance(String, ClassLoader)
13
Creates a new NamespaceAware instance of a `SAXParserFactory` from the class name.
javax.xml.xpath.XPathFactory.getProperty(String)
18
Returns the value of the specified property.
javax.xml.xpath.XPathFactory.setProperty(String, String)
18
Sets a property for this `XPathFactory`.
jdk.incubator.vector.ByteVector.compress(VectorMask<Byte>)
19
Compresses the lane elements of this vector selecting lanes under the control of a specific mask.
jdk.incubator.vector.ByteVector.expand(VectorMask<Byte>)
19
Expands the lane elements of this vector under the control of a specific mask.
jdk.incubator.vector.ByteVector.fromMemorySegment(VectorSpecies<Byte>, MemorySegment, long, ByteOrder)
19
Loads a vector from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.ByteVector.fromMemorySegment(VectorSpecies<Byte>, MemorySegment, long, ByteOrder, VectorMask<Byte>)
19
Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.
jdk.incubator.vector.ByteVector.intoMemorySegment(MemorySegment, long, ByteOrder)
19
Stores this vector into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.ByteVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Byte>)
19
Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.
jdk.incubator.vector.DoubleVector.compress(VectorMask<Double>)
19
Compresses the lane elements of this vector selecting lanes under the control of a specific mask.
jdk.incubator.vector.DoubleVector.expand(VectorMask<Double>)
19
Expands the lane elements of this vector under the control of a specific mask.
jdk.incubator.vector.DoubleVector.fromMemorySegment(VectorSpecies<Double>, MemorySegment, long, ByteOrder)
19
Loads a vector from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.DoubleVector.fromMemorySegment(VectorSpecies<Double>, MemorySegment, long, ByteOrder, VectorMask<Double>)
19
Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.
jdk.incubator.vector.DoubleVector.intoMemorySegment(MemorySegment, long, ByteOrder)
19
Stores this vector into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.DoubleVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Double>)
19
Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.
jdk.incubator.vector.FloatVector.compress(VectorMask<Float>)
19
Compresses the lane elements of this vector selecting lanes under the control of a specific mask.
jdk.incubator.vector.FloatVector.expand(VectorMask<Float>)
19
Expands the lane elements of this vector under the control of a specific mask.
jdk.incubator.vector.FloatVector.fromMemorySegment(VectorSpecies<Float>, MemorySegment, long, ByteOrder)
19
Loads a vector from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.FloatVector.fromMemorySegment(VectorSpecies<Float>, MemorySegment, long, ByteOrder, VectorMask<Float>)
19
Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.
jdk.incubator.vector.FloatVector.intoMemorySegment(MemorySegment, long, ByteOrder)
19
Stores this vector into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.FloatVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Float>)
19
Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.
jdk.incubator.vector.IntVector.compress(VectorMask<Integer>)
19
Compresses the lane elements of this vector selecting lanes under the control of a specific mask.
jdk.incubator.vector.IntVector.expand(VectorMask<Integer>)
19
Expands the lane elements of this vector under the control of a specific mask.
jdk.incubator.vector.IntVector.fromMemorySegment(VectorSpecies<Integer>, MemorySegment, long, ByteOrder)
19
Loads a vector from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.IntVector.fromMemorySegment(VectorSpecies<Integer>, MemorySegment, long, ByteOrder, VectorMask<Integer>)
19
Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.
jdk.incubator.vector.IntVector.intoMemorySegment(MemorySegment, long, ByteOrder)
19
Stores this vector into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.IntVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Integer>)
19
Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.
jdk.incubator.vector.LongVector.compress(VectorMask<Long>)
19
Compresses the lane elements of this vector selecting lanes under the control of a specific mask.
jdk.incubator.vector.LongVector.expand(VectorMask<Long>)
19
Expands the lane elements of this vector under the control of a specific mask.
jdk.incubator.vector.LongVector.fromMemorySegment(VectorSpecies<Long>, MemorySegment, long, ByteOrder)
19
Loads a vector from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.LongVector.fromMemorySegment(VectorSpecies<Long>, MemorySegment, long, ByteOrder, VectorMask<Long>)
19
Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.
jdk.incubator.vector.LongVector.intoMemorySegment(MemorySegment, long, ByteOrder)
19
Stores this vector into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.LongVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Long>)
19
Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.
jdk.incubator.vector.ShortVector.compress(VectorMask<Short>)
19
Compresses the lane elements of this vector selecting lanes under the control of a specific mask.
jdk.incubator.vector.ShortVector.expand(VectorMask<Short>)
19
Expands the lane elements of this vector under the control of a specific mask.
jdk.incubator.vector.ShortVector.fromMemorySegment(VectorSpecies<Short>, MemorySegment, long, ByteOrder)
19
Loads a vector from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.ShortVector.fromMemorySegment(VectorSpecies<Short>, MemorySegment, long, ByteOrder, VectorMask<Short>)
19
Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.
jdk.incubator.vector.ShortVector.intoMemorySegment(MemorySegment, long, ByteOrder)
19
Stores this vector into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.ShortVector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<Short>)
19
Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.
jdk.incubator.vector.Vector.compress(VectorMask<E>)
19
Compresses the lane elements of this vector selecting lanes under the control of a specific mask.
jdk.incubator.vector.Vector.expand(VectorMask<E>)
19
Expands the lane elements of this vector under the control of a specific mask.
jdk.incubator.vector.Vector.intoMemorySegment(MemorySegment, long, ByteOrder)
19
Stores this vector into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.Vector.intoMemorySegment(MemorySegment, long, ByteOrder, VectorMask<E>)
19
Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.
jdk.incubator.vector.VectorMask.compress()
19
Compresses set lanes from this mask.
jdk.incubator.vector.VectorMask.indexInRange(long, long)
19
Removes lanes numbered `N` from this mask where the adjusted index `N+offset`, is not in the range `[0..limit-1]`.
jdk.incubator.vector.VectorShuffle.fromMemorySegment(VectorSpecies<E>, MemorySegment, long, ByteOrder)
25
Loads a shuffle from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.VectorShuffle.intoMemorySegment(MemorySegment, long, ByteOrder)
25
Stores this shuffle into a memory segment starting at an offset using explicit byte order.
jdk.incubator.vector.VectorSpecies.fromMemorySegment(MemorySegment, long, ByteOrder)
19
Loads a vector of this species from a memory segment starting at an offset into the memory segment.
jdk.incubator.vector.VectorSpecies.indexInRange(long, long)
19
Returns a mask of this species where only the lanes at index N such that the adjusted index `N+offset` is in the range `[0..limit-1]` are set.
jdk.incubator.vector.VectorSpecies.loopBound(long)
19
Loop control function which returns the largest multiple of `VLENGTH` that is less than or equal to the given `length` value.
jdk.javadoc.doclet.Reporter.getDiagnosticWriter()
17
Returns a writer that can be used to write diagnostic output, or `null` if no such writer is available.
jdk.javadoc.doclet.Reporter.getStandardWriter()
17
Returns a writer that can be used to write non-diagnostic output, or `null` if no such writer is available.
jdk.javadoc.doclet.Reporter.print(Diagnostic.Kind, DocTreePath, int, int, int, String)
18
Prints a diagnostic message related to a position within a range of characters in a tree node.
jdk.javadoc.doclet.Reporter.print(Diagnostic.Kind, FileObject, int, int, int, String)
17
Prints a diagnostic message related to a position within a range of characters in a file.
jdk.javadoc.doclet.StandardDoclet.getLocale()
17
Returns the locale for this doclet.
jdk.javadoc.doclet.StandardDoclet.getReporter()
17
Returns the reporter for this doclet.
jdk.javadoc.doclet.Taglet.isBlockTag()
15
Indicates whether this taglet supports block tags.
jdk.jfr.consumer.EventStream.onMetadata(Consumer<MetadataEvent>)
16
Registers an action to perform when new metadata arrives in the stream.
jdk.jfr.consumer.RecordedThread.isVirtual()
21
Returns `true` if this is a virtual Thread, `false` otherwise.
jdk.jfr.consumer.RecordingFile.write(Path, Predicate<RecordedEvent>)
19
Filter out events and write them to a new file.
jdk.jfr.consumer.RecordingStream.dump(Path)
17
Writes recording data to a file.
jdk.jfr.consumer.RecordingStream.onMetadata(Consumer<MetadataEvent>)
16
Registers an action to perform when new metadata arrives in the stream.
jdk.jfr.consumer.RecordingStream.stop()
20
Stops the recording stream.
jdk.jshell.execution.JdiInitiator.runListenProcess(String, int, List<String>, JdiInitiator.ProcessStarted)
22
Create a process that will attach to the given address.
jdk.jshell.execution.LocalExecutionControlProvider.createExecutionControl(ExecutionEnv, Map<String, String>)
22
Create a new `ExecutionControl` instance.
jdk.jshell.JShell.Builder.console(JShellConsole)
21
Sets the console for the running evalution.
jdk.jshell.SourceCodeAnalysis.completionSuggestions(String, int, SourceCodeAnalysis.ElementSuggestionConvertor<S>)
26
Compute possible follow-ups for the given input.
jdk.jshell.SourceCodeAnalysis.Documentation.activeParameterIndex()
26
If this `Documentation` is created for a method invocation, return the current parameter index.
jdk.jshell.SourceCodeAnalysis.highlights(String)
19
Returns a collection of `Highlight`s which can be used to color the given snippet.
jdk.jshell.spi.ExecutionEnv.console()
21
Returns the `JShellConsole` that should be used by the execution engine, or `null` if none.
jdk.jshell.tool.JavaShellToolBuilder.interactiveTerminal(boolean)
17
Set to true to specify the inputs and outputs are connected to an interactive terminal that can interpret the ANSI escape codes.
jdk.jshell.tool.JavaShellToolBuilder.windowSize(int, int)
24
Provide a hint of the display window's dimensions when using an interactive terminal.
jdk.management.jfr.RemoteRecordingStream.dump(Path)
17
Writes recording data to a file.
jdk.management.jfr.RemoteRecordingStream.stop()
20
Stops the recording stream.
org.xml.sax.ContentHandler.declaration(String, String, String)
14
Receives notification of the XML declaration.

New Constructors
Constructor
Added in
Description
com.sun.net.httpserver.BasicAuthenticator(String, Charset)
14
Creates a `BasicAuthenticator` for the given HTTP realm and using the given `Charset` to decode the Basic authentication credentials (username and password).
com.sun.net.httpserver.Headers(Map<String, List<String>>)
18
Creates a mutable `Headers` from the given `headers` with the same header names and values.
java.io.InvalidClassException(String, String, Throwable)
19
Report an InvalidClassException for the reason and cause specified.
java.io.InvalidClassException(String, Throwable)
19
Report an InvalidClassException for the reason and cause specified.
java.io.InvalidObjectException(String, Throwable)
19
Constructs an `InvalidObjectException` with the given reason and cause.
java.io.ObjectStreamException(String, Throwable)
19
Create an ObjectStreamException with the specified message and cause.
java.io.ObjectStreamException(Throwable)
19
Create an ObjectStreamException with the specified cause.
java.lang.IndexOutOfBoundsException(long)
16
Constructs a new `IndexOutOfBoundsException` class with an argument indicating the illegal index.
java.net.ServerSocket(SocketImpl)
12
Creates a server socket with a user-specified `SocketImpl`.
java.net.SocketException(String, Throwable)
19
Constructs a new `SocketException` with the specified detail message and cause.
java.net.SocketException(Throwable)
19
Constructs a new `SocketException` with the specified cause.
java.security.InvalidParameterException(String, Throwable)
20
Constructs an `InvalidParameterException` with the specified detail message and cause.
java.security.InvalidParameterException(Throwable)
20
Constructs an `InvalidParameterException` with the specified cause and a detail message of `(cause==null ? null : cause.toString())` (which typically contains the class and detail message of `cause`).
java.text.CompactNumberFormat(String, DecimalFormatSymbols, String[], String)
14
Creates a `CompactNumberFormat` using the given decimal pattern, decimal format symbols, compact patterns, and plural rules.
java.util.concurrent.ForkJoinWorkerThread(ThreadGroup, ForkJoinPool, boolean)
19
Creates a ForkJoinWorkerThread operating in the given thread group and pool, and with the given policy for preserving ThreadLocals.
java.util.NoSuchElementException(String, Throwable)
15
Constructs a `NoSuchElementException` with the specified detail message and cause.
java.util.NoSuchElementException(Throwable)
15
Constructs a `NoSuchElementException` with the specified cause.
javax.net.ssl.SSLHandshakeException(String, Throwable)
19
Creates a `SSLHandshakeException` with the specified detail message and cause.
javax.net.ssl.SSLKeyException(String, Throwable)
19
Creates a `SSLKeyException` with the specified detail message and cause.
javax.net.ssl.SSLPeerUnverifiedException(String, Throwable)
19
Creates a `SSLPeerUnverifiedException` with the specified detail message and cause.
javax.net.ssl.SSLProtocolException(String, Throwable)
19
Creates a `SSLProtocolException` with the specified detail message and cause.
jdk.jshell.execution.JdiExecutionControlProvider(JdiDefaultExecutionControl.JdiStarter)
22
Create an instance.
jdk.jshell.execution.LocalExecutionControl(ClassLoader)
22
Create an instance using the default class loading, but delegating to the specified parent class loader.

New Enum Constants
Enum Constant
Added in
Description
com.sun.source.doctree.DocTree.Kind.ESCAPE
21
Used for instances of `EscapeTree` representing some escaped documentation text.
com.sun.source.doctree.DocTree.Kind.MARKDOWN
23
Used for instances of `RawTextTree` representing a fragment of Markdown content.
com.sun.source.doctree.DocTree.Kind.SNIPPET
18
Used for instances of `SnippetTree` representing an `@snippet` tag.
com.sun.source.doctree.DocTree.Kind.SPEC
20
Used for instances of `SpecTree` representing an `@spec` tag.
com.sun.source.doctree.DocTree.Kind.SYSTEM_PROPERTY
12
Used for instances of `SystemPropertyTree` representing an `@systemProperty` tag.
com.sun.source.tree.Tree.Kind.ANY_PATTERN
22
Used for instances of `BindingPatternTree`.
com.sun.source.tree.Tree.Kind.BINDING_PATTERN
16
Used for instances of `BindingPatternTree`.
com.sun.source.tree.Tree.Kind.CONSTANT_CASE_LABEL
21
Used for instances of `ConstantCaseLabelTree`.
com.sun.source.tree.Tree.Kind.DECONSTRUCTION_PATTERN
21
Used for instances of `DeconstructionPatternTree`.
com.sun.source.tree.Tree.Kind.DEFAULT_CASE_LABEL
21
Used for instances of `DefaultCaseLabelTree`.
com.sun.source.tree.Tree.Kind.PATTERN_CASE_LABEL
21
Used for instances of `PatternCaseLabelTree`.
com.sun.source.tree.Tree.Kind.RECORD
16
Used for instances of `ClassTree` representing records.
com.sun.source.tree.Tree.Kind.SWITCH_EXPRESSION
14
Used for instances of `SwitchExpressionTree`.
com.sun.source.tree.Tree.Kind.YIELD
14
Used for instances of `YieldTree`.
java.lang.annotation.ElementType.RECORD_COMPONENT
16
Record component
java.lang.Character.UnicodeScript.BERIA_ERFE
26
Unicode script "Beria Erfe".
java.lang.Character.UnicodeScript.CHORASMIAN
15
Unicode script "Chorasmian".
java.lang.Character.UnicodeScript.CYPRO_MINOAN
19
Unicode script "Cypro Minoan".
java.lang.Character.UnicodeScript.DIVES_AKURU
15
Unicode script "Dives Akuru".
java.lang.Character.UnicodeScript.DOGRA
12
Unicode script "Dogra".
java.lang.Character.UnicodeScript.ELYMAIC
13
Unicode script "Elymaic".
java.lang.Character.UnicodeScript.GARAY
24
Unicode script "Garay".
java.lang.Character.UnicodeScript.GUNJALA_GONDI
12
Unicode script "Gunjala Gondi".
java.lang.Character.UnicodeScript.GURUNG_KHEMA
24
Unicode script "Gurung Khema".
java.lang.Character.UnicodeScript.HANIFI_ROHINGYA
12
Unicode script "Hanifi Rohingya".
java.lang.Character.UnicodeScript.KAWI
20
Unicode script "Kawi".
java.lang.Character.UnicodeScript.KHITAN_SMALL_SCRIPT
15
Unicode script "Khitan Small Script".
java.lang.Character.UnicodeScript.KIRAT_RAI
24
Unicode script "Kirat Rai".
java.lang.Character.UnicodeScript.MAKASAR
12
Unicode script "Makasar".
java.lang.Character.UnicodeScript.MEDEFAIDRIN
12
Unicode script "Medefaidrin".
java.lang.Character.UnicodeScript.NAG_MUNDARI
20
Unicode script "Nag Mundari".
java.lang.Character.UnicodeScript.NANDINAGARI
13
Unicode script "Nandinagari".
java.lang.Character.UnicodeScript.NYIAKENG_PUACHUE_HMONG
13
Unicode script "Nyiakeng Puachue Hmong".
java.lang.Character.UnicodeScript.OL_ONAL
24
Unicode script "Ol Onal".
java.lang.Character.UnicodeScript.OLD_SOGDIAN
12
Unicode script "Old Sogdian".
java.lang.Character.UnicodeScript.OLD_UYGHUR
19
Unicode script "Old Uyghur".
java.lang.Character.UnicodeScript.SIDETIC
26
Unicode script "Sidetic".
java.lang.Character.UnicodeScript.SOGDIAN
12
Unicode script "Sogdian".
java.lang.Character.UnicodeScript.SUNUWAR
24
Unicode script "Sunuwar".
java.lang.Character.UnicodeScript.TAI_YO
26
Unicode script "Tai Yo".
java.lang.Character.UnicodeScript.TANGSA
19
Unicode script "Tangsa".
java.lang.Character.UnicodeScript.TODHRI
24
Unicode script "Todhri".
java.lang.Character.UnicodeScript.TOLONG_SIKI
26
Unicode script "Tolong Siki".
java.lang.Character.UnicodeScript.TOTO
19
Unicode script "Toto".
java.lang.Character.UnicodeScript.TULU_TIGALARI
24
Unicode script "Tulu Tigalari".
java.lang.Character.UnicodeScript.VITHKUQI
19
Unicode script "Vithkuqi".
java.lang.Character.UnicodeScript.WANCHO
13
Unicode script "Wancho".
java.lang.Character.UnicodeScript.YEZIDI
15
Unicode script "Yezidi".
java.lang.reflect.ClassFileFormatVersion.RELEASE_21
21
The version introduced by the Java Platform, Standard Edition 21.
java.lang.reflect.ClassFileFormatVersion.RELEASE_22
22
The version introduced by the Java Platform, Standard Edition 22.
java.lang.reflect.ClassFileFormatVersion.RELEASE_23
23
The version introduced by the Java Platform, Standard Edition 23.
java.lang.reflect.ClassFileFormatVersion.RELEASE_24
24
The version introduced by the Java Platform, Standard Edition 24.
java.lang.reflect.ClassFileFormatVersion.RELEASE_25
25
The version introduced by the Java Platform, Standard Edition 25.
java.lang.reflect.ClassFileFormatVersion.RELEASE_26
26
The version introduced by the Java Platform, Standard Edition 26.
java.lang.StackWalker.Option.DROP_METHOD_INFO
22
Drops the method information from `StackFrame`s walked by this `StackWalker`.
java.net.http.HttpClient.Version.HTTP_3
26
HTTP version 3
java.net.StandardProtocolFamily.UNIX
16
Unix domain (Local) interprocess communication.
java.sql.JDBCType.DECFLOAT
26
Identifies the generic SQL type `DECFLOAT`.
java.sql.JDBCType.JSON
26
Identifies the generic SQL type `JSON`.
javax.lang.model.element.ElementKind.BINDING_VARIABLE
16
A binding variable in a pattern.
javax.lang.model.element.ElementKind.RECORD
16
A record class.
javax.lang.model.element.ElementKind.RECORD_COMPONENT
16
A record component of a `record`.
javax.lang.model.element.Modifier.NON_SEALED
17
The modifier `non-sealed`
javax.lang.model.element.Modifier.SEALED
17
The modifier `sealed`
javax.lang.model.SourceVersion.RELEASE_12
12
The version introduced by the Java Platform, Standard Edition 12.
javax.lang.model.SourceVersion.RELEASE_13
13
The version introduced by the Java Platform, Standard Edition 13.
javax.lang.model.SourceVersion.RELEASE_14
14
The version introduced by the Java Platform, Standard Edition 14.
javax.lang.model.SourceVersion.RELEASE_15
15
The version introduced by the Java Platform, Standard Edition 15.
javax.lang.model.SourceVersion.RELEASE_16
16
The version introduced by the Java Platform, Standard Edition 16.
javax.lang.model.SourceVersion.RELEASE_17
17
The version introduced by the Java Platform, Standard Edition 17.
javax.lang.model.SourceVersion.RELEASE_18
18
The version introduced by the Java Platform, Standard Edition 18.
javax.lang.model.SourceVersion.RELEASE_19
19
The version introduced by the Java Platform, Standard Edition 19.
javax.lang.model.SourceVersion.RELEASE_20
20
The version introduced by the Java Platform, Standard Edition 20.
javax.lang.model.SourceVersion.RELEASE_21
21
The version introduced by the Java Platform, Standard Edition 21.
javax.lang.model.SourceVersion.RELEASE_22
22
The version introduced by the Java Platform, Standard Edition 22.
javax.lang.model.SourceVersion.RELEASE_23
23
The version introduced by the Java Platform, Standard Edition 23.
javax.lang.model.SourceVersion.RELEASE_24
24
The version introduced by the Java Platform, Standard Edition 24.
javax.lang.model.SourceVersion.RELEASE_25
25
The version introduced by the Java Platform, Standard Edition 25.
javax.lang.model.SourceVersion.RELEASE_26
26
The version introduced by the Java Platform, Standard Edition 26.
javax.tools.DocumentationTool.Location.SNIPPET_PATH
18
Location to search for snippets.
jdk.jshell.Snippet.SubKind.MODULE_IMPORT_SUBKIND
25
Import Module Declaration.
jdk.jshell.Snippet.SubKind.RECORD_SUBKIND
17
A record declaration.