Skip to content

Commit

Permalink
fix xchange native itests failure apache#3042
Browse files Browse the repository at this point in the history
  • Loading branch information
ffang committed Aug 26, 2021
1 parent 5beab29 commit 50447c1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ void registerForReflection(BuildProducer<ReflectiveClassBuildItem> reflectiveCla
.map(classInfo -> classInfo.name().toString())
.filter(className -> className.matches("^org\\.knowm\\.xchange.*dto.*"))
.toArray(String[]::new);
reflectiveClass.produce(new ReflectiveClassBuildItem(true, true, dtoClasses));
reflectiveClass.produce(ReflectiveClassBuildItem.builder(dtoClasses).constructors(true)
.fields(true)
.methods(true)
.finalFieldsWritable(true)
.weak(false).build());

// rescu REST framework needs reflective access to the value method on some JAX-RS annotations
String[] jaxrsAnnotations = index.getKnownClasses()
Expand Down

0 comments on commit 50447c1

Please sign in to comment.