JDK 16 RFR of JDK-8235496 : "Start of release updates for JDK 16" and related work

Joe Darcy joe.darcy at oracle.com
Sat May 30 00:07:58 UTC 2020


On 5/28/2020 7:26 PM, Joe Darcy wrote:
> Before pushing, I'll also update the copyright year.
>
> On 5/28/2020 4:10 PM, Jonathan Gibbons wrote:
>> Reading the javac parts ...
>>
>>
>> http://cr.openjdk.java.net/~darcy/8235496.4/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java.sdiff.html 
>>
>>
>> The tbd in "15, tbd" should be updated sometime.
>
>
> Sure; I'll all a note for "text blocks", as done in SourceVersion.
>
>
>>
>> Lines 161-174: why not a switch?
>
>
> Hmm. Not sure; the method may date back to the pre-enum days and it 
> wasn't updated to use a switch. I'm convert it over.
>

Refactored successfully to use an expression switch:

http://cr.openjdk.java.net/~darcy/8235496.5/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java.sdiff.html

Other changes made as well, including update reference JDK 15 build to b25:

     http://cr.openjdk.java.net/~darcy/8235496.5/

Thanks,

-Joe



More information about the compiler-dev mailing list