Java users in e.g. Japan can create classes with doublebyte names, and naturally expect to be able to use the class names as section names, values of manifest entries, etc. But Attributes.write silently corrupts the doublebyte characters by writing only the low bytes. There's a comment to the effect that UTF8 values should be handled. It's correct.
This situation is also mentioned in Bug 4260272.