dataenum icon indicating copy to clipboard operation
dataenum copied to clipboard

Broken on JDK 11+?

Open labianchin opened this issue 1 year ago • 0 comments

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 ?

labianchin avatar Nov 28 '24 10:11 labianchin