Skip to content

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

@XanderAtBackboneSystems

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions