[libbluray-devel] Fix build with java 23+
Fridrich Strba
fstrba at suse.com
Sat Oct 25 07:30:12 UTC 2025
This patch should fix the build with java 23 and newer as exposed in
https://code.videolan.org/videolan/libbluray/-/issues/46
The description of the patch:
1) Thread.stop and ThreadGroup.stop are deprecated since 1.2 and removed
in Java 23. Before that, they only throw UnsupportedOperationException
when called. So call them by reflection and if they don't exist, just
ignore them.
2) Implement the new WindowPeer interface method
getAppropriateGraphicsConfiguration as a pass-through method
Patch submitted under any license that libbluray uses (GNU Lesser
General Public License v2.1 only) or any other licenses libbluray will
chose at a later point of time.
Cheers
Fridrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libbluray-java25.patch
Type: text/x-patch
Size: 1606 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20251025/4b22be5f/attachment.bin>
More information about the libbluray-devel
mailing list