Preview API
Show preview API for:
Contents
-
InterfacesInterfacePreview FeatureDescriptionValue Classes and ObjectsModels the
LoadableDescriptorsPREVIEW attribute (JVMS ยง4.7.32PREVIEW), which suggests the JVM may load mentioned types before theclassfile carrying this attribute is loaded.Lazy ConstantsA lazy constant is a holder of contents that can be set at most once.PEM Encodings of Cryptographic ObjectsThis interface is implemented by security API classes that contain binary-encodable key or certificate material.Structured ConcurrencyAn API for structured concurrency.Structured ConcurrencyRepresents the configuration for aStructuredTaskScope.Structured ConcurrencyAn object used with aStructuredTaskScopePREVIEW to handle subtask completion and produce the result for the scope owner waiting in thejoinPREVIEW method for subtasks to complete.Structured ConcurrencyRepresents a subtask forked withStructuredTaskScope.fork(Callable)PREVIEW orStructuredTaskScope.fork(Runnable)PREVIEW.
-
ClassesClassPreview FeatureDescriptionPEM Encodings of Cryptographic Objects
PEMDecoderimplements a decoder for Privacy-Enhanced Mail (PEM) data.PEM Encodings of Cryptographic ObjectsPEMEncoderimplements an encoder for Privacy-Enhanced Mail (PEM) data.
-
Enum ClassesEnum ClassPreview FeatureDescriptionStructured ConcurrencyRepresents the state of a subtask.
-
Exception ClassesException ClassPreview FeatureDescriptionValue Classes and ObjectsThrown when an identity object is required but a value object is supplied.Structured ConcurrencyException thrown by
StructuredTaskScope.join()PREVIEW when the outcome is an exception rather than a result.Structured ConcurrencyException thrown byStructuredTaskScope.join()PREVIEW if the scope was opened with a timeout, the timeout expired before or while waiting injoin, and theJoiner.onTimeoutPREVIEW method throws this exception.Structured ConcurrencyThrown when a structure violation is detected.
-
Record ClassesRecord ClassPreview FeatureDescriptionPEM Encodings of Cryptographic Objects
PEMis aDEREncodablePREVIEW that represents Privacy-Enhanced Mail (PEM) data by its type and Base64-encoded content.
-
FieldsFieldPreview FeatureDescriptionValue Classes and ObjectsLoadableDescriptorsValue Classes and ObjectsThe bit mask of
AccessFlag.IDENTITYPREVIEW access and property modifier.Strict Field Initialization in the JVMThe bit mask ofAccessFlag.STRICT_INITPREVIEW access and property modifier.
-
MethodsMethodPreview FeatureDescriptionValue Classes and ObjectsReturns
trueif thisClassobject represents an identity class, otherwisefalse.Value Classes and ObjectsReturnstrueif thisClassobject represents a value class, otherwisefalse.java.lang.classfile.attribute.StackMapFrameInfo.of(Label, List<StackMapFrameInfo.VerificationTypeInfo>, List<StackMapFrameInfo.VerificationTypeInfo>, List<NameAndTypeEntry>) PREVIEWStrict Field Initialization in the JVMReturns a new stack map frame.Strict Field Initialization in the JVMReturns the expanded unset fields.Value Classes and ObjectsReturns the mapper for theLoadableDescriptorsattribute.Strict Field Initialization in the JVMReturnstrueif this field is a strictly initialized field; returnsfalseotherwise.Lazy ConstantsReturns a new lazily computed list of the providedsize.Lazy ConstantsReturns a new lazily computed map with the providedkeys.Value Classes and ObjectsValue Classes and ObjectsValue Classes and ObjectsChecks that the specified object reference is an identity object.Value Classes and ObjectsChecks that the specified object reference is an identity object.Value Classes and ObjectsChecks that the specified object reference is an identity object.PEM Encodings of Cryptographic ObjectsCreates anEncryptedPrivateKeyInfoby encrypting the specifiedDEREncodable.javax.crypto.EncryptedPrivateKeyInfo.encrypt(DEREncodable, char[], String, AlgorithmParameterSpec, Provider) PREVIEWPEM Encodings of Cryptographic ObjectsCreates anEncryptedPrivateKeyInfoby encrypting the specifiedDEREncodable.javax.crypto.EncryptedPrivateKeyInfo.encrypt(DEREncodable, Key, String, AlgorithmParameterSpec, Provider, SecureRandom) PREVIEWPEM Encodings of Cryptographic ObjectsCreates anEncryptedPrivateKeyInfoby encrypting the specifiedDEREncodable.PEM Encodings of Cryptographic ObjectsExtracts and returns the enclosedPrivateKeyusing the specified password.PEM Encodings of Cryptographic ObjectsExtracts and returns the enclosedPrivateKeyusing the specified decryption key and provider.PEM Encodings of Cryptographic ObjectsExtracts and returns the enclosedKeyPairusing the specified password.PEM Encodings of Cryptographic ObjectsExtracts and returns the enclosedKeyPairusing the specified decryption key and provider.