afs commented on issue #2787: URL: https://github.com/apache/jena/issues/2787#issuecomment-2430333120
> Ok, got it. > > @afs This reliably gets stuck every time I run it, with a very similar thread dump to what I posted above: https://github.com/Ostrzyciel/jena-default-graphs/blob/issue-2787/jena-default-graphs/src/main/java/org/example/Main.java > > I'm not sure if this qualifies as a "bug", but it's surely pretty confusing to me. Thanks for the example - it can dealock here as well, and with less threads. > P.S.: the reproduction code _does not_ get stuck with Jena 5.1.0. Only with Jena 5.2.0 It really is unsafe in 5.1.0 because the second thread jumps over initialization - that's why the NPE in #2675 happened. `Jena.System.init` needs to be cheap - otherwise it would be easier to make safe! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
