Hi,

On 25.02.25 22:42, Ömer Halit Çizmeci wrote:
> I face the copy paste issue daily. 

and

> I am not sure how I can help you to identify this in details but if you
> guide me through, I'm more than happy to help.

there is a lot of evidence for it being a race condition. If you (or anyone 
else) are brave and want to help, you could try a JDK patch and give feedback 
if it resolves the issue for you.

https://github.com/apache/netbeans/discussions/7051#discussioncomment-12319448

You will have to run NB on JDK 21 or 23 and follow the instructions above to 
preload the java.desktop patch jar.


The patch is based on https://github.com/openjdk/jdk/pull/23736 (all credit 
goes to xxDark on github) but the jar was built by me and is temporarily hosted 
on my raspi (https://mbien.dev/tmp/cb_patch.jar). The jar should contain only 
two class files (technically one java class) which is easy to decompile if you 
want to check. I am mostly mentioning this since preloading random jars you 
find on the internet with --patch-module is not something you should normally 
do!

sha512sum cb_patch.jar
0cc9c488f512cd262676043b34c7ca59a58bd47d8cd4a4d867ff5b70e699ad4f2b9ded59eb6a9b80130b20378a492daa73b6da053a10f20211f190adf61fe219

Building JDKs on windows can take a while to get the setup right, I did this 
mostly to speed things up during tests - but of course if you have the setup to 
build the jdk PR on windows you can do that too.

best regards,

-mbien


>
> Regards
> Omer
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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



Reply via email to