Re: java11 + release progress thread (also: review)
Posted by Sven Gothel on Sep 04, 2019; 8:59am
URL: https://forum.jogamp.org/java11-release-progress-thread-also-review-tp4039948p4040027.html
On 9/4/19 9:02 AM, gouessej [via jogamp] wrote:
> Hello
>
> I'm not a big fan of multiple return statements in the same method
Now you have started a long discussion about the benefits
of the 'goto' statement.
Oh, I love it if used in the right context, like error escape
and scanning token tables like for video/bit stream decoder in ANSI-C :)
But in general, yes I agree of course.
> but it> just a detail. I hope that no change in Java itself will prevent JAWTUtil from
> working.
It is future safe, which hasn't changed.
I.e. in case its to no-avail, there is a "bad working" fall back here.
However, we have other stuff there using internal API details w/o replacement.
It is a compromise for a too rigid and not completely thought through
encapsulation (IMHO). But I don't have the time to wait and debate this
with the responsible OpenJDK parties. Which should be the next thing some day.
~Sven