There are bad characters in the file:
modules/jdk.packager/src/main/java/com/oracle/tools/packager/mac/MacDmgBundler.java
384: //The ▒~@~\creator▒~@~] attribute on a file is a legacy attribute
385: // but it seems Finder expects these bytes to be ▒~@~\icnC▒~@~] for the volume icon
modules/jdk.packager/src/main/java/com/oracle/tools/packager/mac/MacDmgBundler.java
384: //The ▒~@~\creator▒~@~] attribute on a file is a legacy attribute
385: // but it seems Finder expects these bytes to be ▒~@~\icnC▒~@~] for the volume icon