Re: java11 + release progress thread (also: review)
Posted by
Sven Gothel on
Aug 19, 2019; 9:08am
URL: https://forum.jogamp.org/java11-release-progress-thread-also-review-tp4039948p4039957.html
On 8/19/19 11:02 AM, gouessej [via jogamp] wrote:
> Hello
>
> I just call the run() method, I don't directly rely on sun.misc.Unsafe:
>
http://svn.code.sf.net/p/tuer/code/pre_beta/src/main/java/engine/misc/DeallocationHelper.javaThe returned Cleaner is not impl. Runnable here on Java11.
I dumped the class spec, interfaces - no Runnable there.
final Class<?> cleanerType = _mbbCleaner[0].getReturnType();
// Java >= 9: jdk.internal.ref.Cleaner (NOT accessible!)
// Java <= 8: sun.misc.Cleaner OK
This class was returned not impl Runnable: jdk.internal.ref.Cleaner
I saw your post when searching for it ;-)
~Sven