-
ElementDescriptionAs of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future version of Quarkus.In favor of
RemovedResourceBuildItem(ArtifactKey, Set)
useMethodInfo.descriptor(Function)
useType.descriptor(Function)
useMethodInfo.genericSignature(Function)
useGenericSignature.forType(Type, Function, StringBuilder)
useGenericSignature.genericSignatureIfRequired()
useGenericSignature.genericSignatureIfRequired(Function)
Use WebJarBuildItem and WebJarResultsBuildItem instead.
-
ClassDescription
--enable-all-security-services
was removed in GraalVM 21.1 https://github.com/oracle/graal/pull/3258useProcessInheritIODisabledBuildItem
insteadin favor ofGlobUtil
Use WebJarBuildItem and WebJarResultsBuildItem instead.
-
FieldDescriptionTika has been moved to the QuarkiverseJNI is always enabled starting from GraalVM 19.3.1.Use
PackageConfig.BuiltInType.FAST_JAR
insteadUsePackageConfig.BuiltInType.JAR
insteaduse 'legacy-jar' insteadUsePackageConfig.BuiltInType.LEGACY_JAR
insteadUsePackageConfig.BuiltInType.MUTABLE_JAR
insteadUsePackageConfig.BuiltInType.NATIVE
insteadUsePackageConfig.BuiltInType.NATIVE_SOURCES
insteadUsePackageConfig.BuiltInType.UBER_JAR
instead
-
MethodDescriptionin favor of
ApplicationArchive.getResolvedPaths()
in favor ofApplicationArchive.getKey()
in favor ofApplicationArchive.getResolvedPaths()
in favor ofApplicationArchive.getRootDirectories()
Returns paths representing the archive root directories. Note that every path in this collection is guaranteed to be a directory. If the actual application archive appears to be a JAR, this collection will include a path to the root of the mountedFileSystem
created from the JAR.in favor ofArchiveRootBuildItem.getResolvedPaths()
in favor ofArchiveRootBuildItem.getRootDirectories()
in favor ofArchiveRootBuildItem.getResolvedPaths()
in favor ofArchiveRootBuildItem.getRootDirectories()
Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.useGeneratedResourceBuildItem.getData()
insteadAs of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future verion of Quarkus.As of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future version of Quarkus.Since GraalVM 20.2.0 the native image server has become an experimental feature and is disabled by default.--enable-all-security-services
was removed in GraalVM 21.1 https://github.com/oracle/graal/pull/3258JNI is always enabled starting from GraalVM 19.3.1.This used to be the default prior to GraalVM 20.2.0 and this configuration item was used to disable it as it was not stable. Since GraalVM 20.2.0 the native image server has become an experimental feature.Usequarkus.native.monitoring
instead.GraalVM 23.1+ will always build with full stack traces.inlineBeforeAnalysis is always enabled starting from GraalVM 21.3.Use the global quarkus.default-locale.Use the global quarkus.default-locale.This construct should not be needed in most use cases since directly loading deployment/application classes at processing time in build steps is safe. However, there are use cases where this method comes in handy, such as referring to classes that were generated in previous build steps usingGeneratedClassBuildItem
.useMethodInfo.descriptor(Function)
useType.descriptor(Function)
useMethodInfo.genericSignature(Function)
useGenericSignature.forType(Type, Function, StringBuilder)
useGenericSignature.genericSignatureIfRequired()
useGenericSignature.genericSignatureIfRequired(Function)
in favor ofGlobUtil.toRegexPattern(String)
Transforms the givenglob
to a regular expression suitable for passing toPattern.compile(String)
.Glob syntax
Construct Description *
Matches a (possibly empty) sequence of characters that does not contain slash ( /
)**
Matches a (possibly empty) sequence of characters that may contain slash ( /
)?
Matches one character, but not slash [abc]
Matches one character given in the bracket, but not slash [a-z]
Matches one character from the range given in the bracket, but not slash [!abc]
Matches one character not named in the bracket; does not match slash [a-z]
Matches one character outside the range given in the bracket; does not match slash {one,two,three}
Matches any of the alternating tokens separated by comma; the tokens may contain wildcards, nested alternations and ranges \
The escape character
-
ConstructorDescriptionin favor of {@link #CapabilityBuildItem(String, String))} that also accepts the provider of the capability to be highlighted in the error messages in case of detected capability conflicts.This method was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.Use the Builder instead.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.In favor of
RemovedResourceBuildItem(ArtifactKey, Set)
GeneratedResourceBuildItem.getData()
instead