JiriOndrusek commented on a change in pull request #2254:
URL: https://github.com/apache/camel-quarkus/pull/2254#discussion_r576782354
##########
File path:
extensions/nitrite/deployment/src/main/java/org/apache/camel/quarkus/component/nitrite/deployment/NitriteProcessor.java
##########
@@ -38,25 +33,15 @@ FeatureBuildItem feature() {
return new FeatureBuildItem(FEATURE);
}
- /**
- * Remove this once this extension starts supporting the native mode.
- */
- @BuildStep(onlyIf = NativeBuild.class)
- @Record(value = ExecutionTime.RUNTIME_INIT)
- void warnJvmInNative(JvmOnlyRecorder recorder) {
- JvmOnlyRecorder.warnJvmInNative(LOG, FEATURE); // warn at build time
- recorder.warnJvmInNative(FEATURE); // warn at runtime
- }
-
@BuildStep
- void
runtimeInitializedClasses(BuildProducer<RuntimeInitializedClassBuildItem>
runtimeInitializedClasses) {
+ RuntimeInitializedClassBuildItem runtimeInitBcryptUtil() {
// this class uses a SecureRandom which needs to be initialised at run
time
- runtimeInitializedClasses.produce(new
RuntimeInitializedClassBuildItem("org.dizitart.no2.Security"));
+ return new
RuntimeInitializedClassBuildItem("org.dizitart.no2.Security");
}
@BuildStep
- void reflectiveClasses(BuildProducer<ReflectiveClassBuildItem>
reflectiveClasses) {
- reflectiveClasses.produce(new ReflectiveClassBuildItem(false, false,
FilePathNio.class));
+ List<ReflectiveClassBuildItem> registerMetricsForReflection() {
Review comment:
also copy/paste error, fixed, thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]