Fix deprecation warnings at startup caused by sun.misc.Unsafe usage - #14350
Warriorrrr wants to merge 5 commits into
Conversation
That's due to the fact that the fix is in the standard edition, while spark uses android one where andoid jvm wouldn't follow the unsafe removal roadmap as per the internal-then-mirrored protocolbuffers/protobuf@1eafbde |
|
Is it also possible to disable use of |
Sure, I've added the flag in the way originally suggested when this was still a paperweight pr PaperMC/paperweight#395 (comment) |
This was pretty helpful, using the regular protobuf-java artifact fixed it, passed it onto luck |
|
This now also includes a spark version bump to resolve the final warning |
Fixes a warning during startup caused by joml, as of joml 1.10.9 it's able to use the newer unsafe provided that you add the jvm arg or manifest attribute that gives it access to it.
One downside is that fixing this warning just makes it show up later but for spark's protobuf library instead, supposedly that lib also has a new update that fixes it but I've so far been unsuccessful in seeing that.spark's latest version resolves thisAlso moves the Enable-Native-Access attribute that was previously being configured in paperweight to paper itself, this is mainly used for jline but maybe also some other things.