# HG changeset patch # User Doug Simon # Date 1370617387 -7200 # Node ID 4f5e5bb0318457f009021be970b1f0a0fe9ebdf9 # Parent 0927013db134225a6dddd75295ebb3f6b035fe5e fixed emitting of platform-specific newline in files generated by OptionProcessor diff -r 0927013db134 -r 4f5e5bb03184 graal/com.oracle.graal.options/src/com/oracle/graal/options/OptionProcessor.java --- a/graal/com.oracle.graal.options/src/com/oracle/graal/options/OptionProcessor.java Fri Jun 07 15:59:46 2013 +0200 +++ b/graal/com.oracle.graal.options/src/com/oracle/graal/options/OptionProcessor.java Fri Jun 07 17:03:07 2013 +0200 @@ -159,7 +159,7 @@ String help = option.help; String location = pkg + "." + option.declaringClass + "." + option.field.getSimpleName(); String comma = i == info.options.size() - 1 ? "" : ","; - out.printf(" new %s(\"%s\", %s.class, \"%s\", \"%s\", %s)%s%n", OptionDescriptor.class.getSimpleName(), name, type, help, location, optionValue, comma); + out.printf(" new %s(\"%s\", %s.class, \"%s\", \"%s\", %s)%s\n", OptionDescriptor.class.getSimpleName(), name, type, help, location, optionValue, comma); i++; } out.println(" );");