Community
Participate
Working Groups
Bug 531843 added the support to allow future java versions. But it is no longer working with 4.9 and Java 12.
Looks like it was previously working luckily with compilance.compare to. After it was changed to JavaCore.compareJavaVersions the comparison result in value > 1 which throws the error.
Adding the code to support future versions, It will work after the fix for JavaCore.compareJavaVersions(vmver, latest) is released (mostly via Bug 531713).
New Gerrit change created: https://git.eclipse.org/r/131580
Raised bug 540560 to discuss the API's shortcoming.
Gerrit change https://git.eclipse.org/r/131580 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=158295e3f9ec57f1130e7b766654e2fb9cef55f9
Merged to Java 12 also, Jay you can test your fix.
Things are working as expected with the latest Y build.
(In reply to Jay Arthanareeswaran from comment #7) > Things are working as expected with the latest Y build. Needs to work for I build as well!!
Sarika, I believe this is addressed via bug 539570. Can you please confirm?
(In reply to Jay Arthanareeswaran from comment #9) > Sarika, I believe this is addressed via bug 539570. > > Can you please confirm? Yes, Jay.
*** This bug has been marked as a duplicate of bug 539570 ***
There were two parts to the fix!! One part resolved via Bug bug 539570. Marking duplicate to another component makes it really difficult to resolve verify and track in the case of future failures.
Verified using Eclipse SDK Version: 2018-12 (4.10) Build id: I20181121-1800 While testing found Bug 541432.