Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve java version(11 or 12) compatibility #1704

alchan-lee opened this issue Mar 21, 2019 · 1 comment


None yet
2 participants
Copy link

commented Mar 21, 2019

Is your feature request related to a problem? Please describe.
We officially suggest jdk 8, but need to support upper versions.

Describe the solution you'd like
Need to upgrade libraries and check our java apis

Additional context
In the short term testing, I found incompatibility in Lucene as follow

Caused by: Unable to unmap the mapped buffer: MMapIndexInput(path="/apps/metatron-discovery-3.2.0-rc4-20190321091004/indexes/") at$2.freeBuffer( at at at at org.apache.lucene.index.SegmentInfos.readCommit( at org.apache.lucene.index.StandardDirectoryReader$1.doBody( at org.apache.lucene.index.StandardDirectoryReader$1.doBody( at org.apache.lucene.index.SegmentInfos$ at at at at$PerDirectoryLatestReader.<init>( at ... 178 common frames omitted Caused by: java.lang.IllegalAccessException: class$2$1 cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module @e4d2696 at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException( at java.base/java.lang.reflect.AccessibleObject.checkAccess( at java.base/java.lang.reflect.Method.invoke( at$2$ at$2$ at java.base/ Method) at$2.freeBuffer( ... 190 common frames omitted

@alchan-lee alchan-lee self-assigned this Mar 21, 2019

@kyungtaak kyungtaak added this to the 3.3.0 milestone Apr 19, 2019

@kyungtaak kyungtaak assigned kyungtaak and unassigned alchan-lee May 22, 2019


This comment has been minimized.

Copy link
Contributor Author

commented May 27, 2019

Ah... I've resolved the problem with dependencies of 3rd-party libraries.
But I got a result that it has to be preceded to upgrading spring boot to upper 2.1.

It will take longer to resolve than I thought.

kyungtaak added a commit that referenced this issue Jun 18, 2019

@kyungtaak kyungtaak referenced this issue Jun 18, 2019


Fix error for java 11/12 compatibility #2253

3 of 7 tasks complete

kyungtaak added a commit that referenced this issue Jun 19, 2019

@kyungtaak kyungtaak closed this Jun 19, 2019

@kyungtaak kyungtaak changed the title Improve java version compatibility Improve java version(11 or 12) compatibility Jul 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.