RFR 8201498: test/langtools/tools/javac/diags/CheckExamples.java 6 errors occurred

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Apr 13 14:15:28 UTC 2018


And here's an attempt to fix the underlying issue. The theory is that, 
by the time we get to compile the PreviewPluralAdditional example, a 
Bar.class already exists in jtreg scratch folder. This might well be the 
case, given that there's another Bar class around (that of the 
PreviewPlural example). So a solution would be to rename both Bar 
classes to something more unambiguous. The order in which examples are 
ran depends on the behavior of File.listFiles(), not 100% sure why that 
would return different files in different order.

http://cr.openjdk.java.net/~mcimadamore/8201498_v2/

Maurizio



On 13/04/18 14:46, Maurizio Cimadamore wrote:
> The diagnostic test for the preview 'additional' diagnostic is failing 
> intermittently. This patch disables it until we figure out exactly why 
> that happens.
>
> http://cr.openjdk.java.net/~mcimadamore/8201498/
>
> Maurizio
>



More information about the compiler-dev mailing list