RFR(XS): JDK-8159328 [TESTBUG] ProblematicFrameTest.java throws an exception (due to trying to access Unsafe) but still passes

Dmitry Dmitriev dmitry.dmitriev at oracle.com
Tue Jun 14 14:08:49 UTC 2016


Hi George,

Bug report states: "Besides resolving this issue, the test should also 
be checking to make sure that no exception was thrown by the subprocess 
so problems like this are detected by the test.". It is possible to add 
"output.shouldNotContain(...)" to catch such situations?

Thanks,
Dmitry

On 14.06.2016 15:39, George Triantafillou wrote:
> Please review this small change to fix a test failure in 
> ProblematicFrameTest.java
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8159328
> Open webrev: http://cr.openjdk.java.net/~gtriantafill/8159328/webrev/ 
> <http://cr.openjdk.java.net/%7Egtriantafill/8159328/webrev/>
>
> Tested locally on Linux.
>
> -George
>



More information about the hotspot-runtime-dev mailing list