RFR: 8217332: JTREG: Clean up, use generics instead of raw types

Leo Korinth leo.korinth at oracle.com
Fri Jan 25 14:28:01 UTC 2019

On 25/01/2019 14:31, Thomas Schatzl wrote:
> Hi,
> On Fri, 2019-01-18 at 10:11 +0100, Leo Korinth wrote:
>> Hi,
>> This webrev fixes lack of generics usage in the jtreg/gc folder.
>> This fix is somewhat based/dependent on "8214799: Add package
>> declaration to each JTREG test case in the gc folder". That fix is
>> out
>> for review.
>> Enhancement:
>> https://bugs.openjdk.java.net/browse/JDK-8217332
>> Webrev:
>> http://cr.openjdk.java.net/~lkorinth/8217332/00
>> Testing:
>> passed locally: open/test/hotspot/jtreg/:hotspot_gc
>    I assume this is, as some other reviews in this series, to remove
> some warnings in some code analysis tool. Fine with me to fix such
> problems in our jtreg code: so ship it.

Yes, I am trying to remove all warnings from our GC test cases. I am 
using Eclipse but many of the warnings also effect javac, and my hope is 
that this will remove javac lint warnings in our test logs as well as 
actually help us find out when we write bad code.

Thanks for the review Thomas.


> Thanks,
>    Thomas

More information about the hotspot-gc-dev mailing list