Created attachment 55591 [details] patch to force utf8 encoding The attached (rather trivial patch) allows 'make check' to work with openjdk7. OpenJDK assumes that all characters in a file are in the platform native encoding (whatever that is). If the bytes are unmappable to valid characters, previous versions of OpenJDK would just print a warning but OpenJDK 7 treats it as an error. On my builds, the error looks like this: make check JARPREFIX=/usr/share/java/dbus-java BINPREFIX=/usr/bin MANPREFIX=/usr/share/man/man1 DOCPREFIX=/usr/share/doc/dbus-java JAVADOCPREFIX=/usr/share/javadoc/dbus-java JAVAUNIXLIBDIR=/usr/lib/libmatthew-java JAVAUNIXJARDIR=/usr/lib/libmatthew-java mkdir -p classes javac -cp classes:/usr/lib/libmatthew-java/debug-disable.jar:/usr/lib/libmatthew-java/hexdump.jar: -d classes -Xlint:all -O -g:none org/freedesktop/dbus/test/*.java org/freedesktop/dbus/test/cross_test_client.java:353: error: unmappable character for encoding ASCII test(DBus.Binding.Tests.class, tests, "IdentityString", "????????????????????? - ????????????", "????????????????????? - ????????????"); The attached patch forces utf8 encoding for all java files and allows 'make check' to compile java files containing utf8 characters properly.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/dbus/dbus-java/issues/1.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.