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

Joe Darcy joe.darcy at oracle.com
Fri Jul 17 19:33:27 UTC 2020


Looks fine; cheers,

-Joe

On 7/17/2020 8:15 AM, Vicente Romero wrote:
> 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