diff -r 37f78de0f227 -r 4adf52148100 hotspot/test/gc/g1/humongousObjects/TestObjectCollected.java --- a/hotspot/test/gc/g1/humongousObjects/TestObjectCollected.java Tue Jun 21 18:37:04 2016 +0400 +++ b/hotspot/test/gc/g1/humongousObjects/TestObjectCollected.java Fri Jun 24 19:52:31 2016 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -37,7 +37,7 @@ * @test TestObjectCollected * @summary checks that after different type of GCs weak/soft references to humongous object behave correspondingly to * actual object behavior - * @requires vm.gc=="G1" | vm.gc=="null" + * @requires vm.gc.G1 * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * @modules java.management