graphql-java-tools icon indicating copy to clipboard operation
graphql-java-tools copied to clipboard

Illegal reflective access by for ClassLoader.defineClass when running on JDK11 (probably all >8)

Open XanderAtBackboneSystems opened this issue 5 years ago • 0 comments

When using version 5.6.1 of graphql-java-tools I encountered an illegal reflective access. The stack trace for the access is:

defineAccessClass:57, AccessClassLoader (com.esotericsoftware.reflectasm)
get:276, MethodAccess (com.esotericsoftware.reflectasm)
<init>:145, MethodFieldResolverDataFetcher (com.coxautodev.graphql.tools)
createDataFetcher:104, MethodFieldResolver (com.coxautodev.graphql.tools)
apply:164, SchemaParser$createObject$$inlined$forEach$lambda$1 (com.coxautodev.graphql.tools)
apply:58, SchemaParser$createObject$$inlined$forEach$lambda$1 (com.coxautodev.graphql.tools)
field:257, GraphQLObjectType$Builder (graphql.schema)
createObject:160, SchemaParser (com.coxautodev.graphql.tools)
parseSchemaObjects:108, SchemaParser (com.coxautodev.graphql.tools)
makeExecutableSchema:135, SchemaParser (com.coxautodev.graphql.tools)
<stripped>

Here @oliemansm states that 5.6.1 should be clear of reflective issues. But apperently this seems not the case.

XanderAtBackboneSystems avatar Feb 26 '20 12:02 XanderAtBackboneSystems