Skip to content

Broken on JDK 11+? #42

Description

@labianchin

When upgrading dataenum-processor from 1.4.1 to 1.5.0 it gives the following error:

Caused by: java.lang.RuntimeException: java.lang.IllegalAccessError: class com.spotify.dataenum.processor.parser.MembersParser (in unnamed module @0x28b2da46) cannot access class com.sun.tools.javac.util.Pair (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x28b2da46

It seems this PR https://github.com/spotify/dataenum/pull/39/files#diff-e26c60a93907043c44b662c21199f67f5df58dd01b1a7c45be8f63cfacba68d6R25 introduced com.sun.tools.javac.util.Pair which is not well supported on JDK 9+.

Thoughts @pettermahlen ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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