On Tue, 24 Nov 2020 09:52:34 GMT, Joel Borggrén-Franck <jfra...@openjdk.org> 
wrote:

>> Magnus Ihse Bursie has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Fix whitespace issues
>
> src/jdk.compiler/share/classes/com/sun/tools/sjavac/Util.java line 96:
> 
>> 94: 
>> 95:     public static String extractStringOptionLine(String opName, String 
>> s, String deflt) {
>> 96:         return extractStringOptionWithDelimiter(opName, s, deflt, 
>> '\n').strip();
> 
> Is '\n' going to be problematic due to differences in line endings on various 
> platforms?

The JDK project is limited to unix-style line endings only. No other styles are 
supported, and any attempt to use such will break the build (often early on).

-------------

PR: https://git.openjdk.java.net/jdk/pull/1195

Reply via email to