[Bug 2142179] Re: osmpbf: fails autopkgtest with Java 25
Vladimir Petko
2142179 at bugs.launchpad.net
Fri Feb 20 03:00:26 UTC 2026
** Merge proposal linked:
https://code.launchpad.net/~vpa1977/ubuntu/+source/osmpbf/+git/osmpbf/+merge/500720
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to java-common in Ubuntu.
https://bugs.launchpad.net/bugs/2142179
Title:
osmpbf: fails autopkgtest with Java 25
Status in java-common package in Ubuntu:
New
Status in osmpbf package in Ubuntu:
New
Status in osmpbf package in Debian:
Fix Committed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/2142179/+subscriptions
More information about the foundations-bugs
mailing list