Public bug reported: Protobuf implementation uses sun.misc.Unsafe that produces a warning in Java 25:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest- resolute/resolute/amd64/o/osmpbf/20260218_041012_49eed@/log.gz 289s Copying java sources: cp -rv /tmp/autopkgtest.xj9sM5/build.xDC/src/debian/tests/ReadPBF.java . 289s '/tmp/autopkgtest.xj9sM5/build.xDC/src/debian/tests/ReadPBF.java' -> './ReadPBF.java' 289s 289s Compiling java sources: javac -cp .:/usr/share/java/osmpbf.jar:/usr/share/java/protobuf.jar ReadPBF.java 289s 289s Executing: java -cp .:/usr/share/java/osmpbf.jar:/usr/share/java/protobuf.jar ReadPBF andorra-latest.osm.pbf 289s Reading: andorra-latest.osm.pbf 289s WARNING: A terminally deprecated method in sun.misc.Unsafe has been called 289s WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by com.google.protobuf.UnsafeUtil$MemoryAccessor (file:/usr/share/java/protobuf-3.21.12.jar) 289s WARNING: Please consider reporting this to the maintainers of class com.google.protobuf.UnsafeUtil$MemoryAccessor 289s WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release 289s Parsing HeaderBlock 289s BBOX: 42.427600000000005,1.412368,42.65717,1.787481 .... 553s java FAIL stderr: WARNING: A terminally deprecated method in sun.misc.Unsafe has been called ** Affects: java-common (Ubuntu) Importance: Undecided Status: New ** Affects: osmpbf (Ubuntu) Importance: Undecided Status: New ** Affects: osmpbf (Debian) Importance: Unknown Status: Unknown ** Tags: update-excuse ** Also affects: java-common (Ubuntu) Importance: Undecided Status: New ** Bug watch added: Debian Bug tracker #1128378 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128378 ** Also affects: osmpbf (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128378 Importance: Unknown Status: Unknown ** Tags added: update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2142179 Title: osmpbf: fails autopkgtest with Java 25 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/2142179/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
