RFR: 8051984: @ignore should be placed after @test

Andrey Zakharov andrey.x.zakharov at oracle.com
Mon Feb 16 15:24:06 UTC 2015

> But JDK-8019361 looks like a wrong number.  It must be JDK-8051984, I think.

I'm wrongly got reason of ignore bug for RFR. Thanks, Dima.



> If so, what about other sources listed in the description:
>     ./test/gc/arguments/TestParallelHeapSizeFlags.java
>     ./test/gc/arguments/TestUseCompressedOopsErgo.java
>     ./test/gc/g1/TestHumongousShrinkHeap.java

Its already fixed either by removing @ignore either by inserting @requires
> Why did you change the static import of
> com.oracle.java.testlibrary.Asserts? Seems unrelated to the @ignore
> change and I don't think there is a reason for it either. We use static
> import of the asserts a lot in our test code.
> Thanks,
> Bengt
> >/
> />/  Thanks./

There is nothing especial in import static here, its  only serves to 
reduce Asserts package names in code, but it also leads to less 
readability and question like "what assertLessThan comes from?".
Asserts.assertLessThan is better - it doesn't junk global namespace. In 
only this case - its only code style question. If you have any other 
conserns about this, please tell me.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20150216/e8cad876/attachment.htm>

More information about the hotspot-gc-dev mailing list