On Sun, 28 Mar 2021 at 16:03, Bläsing, Matthias
<[email protected]> wrote:
> I suspect that you see:
>
> https://openjdk.java.net/jeps/396

Yes, realised almost immediately it was probably this rather than the
splash WM_CLASS issue.  (sorry for the misdirect Patrik!)

Somehow we need to update the code at
https://github.com/apache/netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/view/ui/MainWindow.java#L123

This probably needs moving elsewhere to work properly too - I had
started looking at this a while back, and forgot about it.  The
problem is that at least Ubuntu's launcher only cares about the first
WM_CLASS it reads, which is why the splash causes multiple icons in
the dock by default.

Could JNA Platform handle this for us via X11 or other APIs?

> WARNING: Illegal reflective access by 
> org.netbeans.core.output2.FileMapStorage 
> (jar:file:/C:/LokaleProgramme/netbeans/platform/modules/org-netbeans-core-output2.jar!/)
>  to method java.nio.DirectByteBuffer.cleaner()

Isn't that one doable via jdk.unsupported and
sun.misc.Unsafe.invokeCleaner ?  Which was added for this purpose, and
is excluded from JEP 396 and 403 I believe?

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to