You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Better workaround needed for javac 10 and 11 --release bug #328
The bug in javax.lang.model.util.Elements.getTypeElement that wasn't in 9, appeared in 10 and 11, and was fixed again for 12, was worked around very inelegantly here in c763cee, just by changing the target --release so that a build done with 10 or 11 would not be able to run on 9 (or 10, if built with 11). Builds done with 9, or 12+, could run on any version 9+. Yuck.
It turns out (unsurprisingly, in retrospect) that the same issue would also bite someone building PL/Java user code; double yuck. There has to be something better to say to users than "well, fudge your target release if you are using 11 or 10 to build."
Activity
Better workaround for javac 10 and 11 issue
jcflack commentedon Nov 17, 2020
Believed resolved in 1.6.1.