RFR: JDK-8245652: some tests at RecordCompilationTests are resetting the wrong compilation options

Vicente Romero vicente.romero at oracle.com
Fri Jul 17 15:15:52 UTC 2020


Please review this simple fix for [1] at [2]. Test 
RecordCompilationTests is executed twice with and without a simple 
annotation processor. This is because some record code is only stressed 
if an annotation processor is present. But some individual tests were 
changing the compilation options individually without resetting them to 
its previous value. This patch is fixing that,

Thanks,
Vicente

[1] https://bugs.openjdk.java.net/browse/JDK-8245652
[2] http://cr.openjdk.java.net/~vromero/8245652/webrev.00


More information about the compiler-dev mailing list