JDK-8065365 : Special characters in java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/resource/xmlsecurity_de.properties should be replaced with their unicode equivalent
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.xml.crypto
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2014-11-19
  • Updated: 2014-11-20
  • Resolved: 2014-11-20
Related Reports
Duplicate :  
Description
When building on some systems (e.g. Mavericks) properties file that contain special characters may be truncated during the build process.

This seems to happen also with jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/resource/xmlsecurity_de.properties


Comments
This appears to be a red herring. The issue is not in the file - but in the build system which uses 'sed' to clean up property files (stripping their comments) without first overriding LC_ALL to LC_ALL=C. So if you build from a shell which has e.g. LC_ALL=en_US.UTF-8 the files end up truncated in resources.jar. The fix should be in the build macro (add_file_to_clean in make/common/JavaCompilation.gmk) rather than in the individual .properties file.
20-11-2014

On a not completely related issue, some of these xmlsecurity_* files might also be subject to JDK-8043146 which this time occurs on all platforms.
19-11-2014