diff --git a/test/jdk/ProblemList.txt b/test/jdk/ProblemList.txt index 28bb2a1f033..c1303377ddb 100644 --- a/test/jdk/ProblemList.txt +++ b/test/jdk/ProblemList.txt @@ -764,7 +764,6 @@ sun/tools/jstat/jstatLineCounts4.sh 8248691,8268211 jdk/incubator/vector/ShortMaxVectorTests.java 8306592 generic-i586 jdk/incubator/vector/LoadJsvmlTest.java 8305390 windows-x64 -jdk/incubator/vector/PreferredSpeciesTest.java#id0 8358217 generic-all ############################################################################ diff --git a/test/jdk/jdk/incubator/vector/PreferredSpeciesTest.java b/test/jdk/jdk/incubator/vector/PreferredSpeciesTest.java index eb8b0358538..32d44d28ee1 100644 --- a/test/jdk/jdk/incubator/vector/PreferredSpeciesTest.java +++ b/test/jdk/jdk/incubator/vector/PreferredSpeciesTest.java @@ -133,25 +133,18 @@ public class PreferredSpeciesTest { void testLargestShapeFor(Class c) { final int S_64_BITS = 64; int elemSize = 0; - VectorSpecies maxVectorSpecies; if (c == byte.class) { elemSize = Byte.SIZE; - maxVectorSpecies = ByteVector.SPECIES_MAX; } else if (c == short.class) { elemSize = Short.SIZE; - maxVectorSpecies = ShortVector.SPECIES_MAX; } else if (c == int.class) { elemSize = Integer.SIZE; - maxVectorSpecies = IntVector.SPECIES_MAX; } else if (c == long.class) { elemSize = Long.SIZE; - maxVectorSpecies = LongVector.SPECIES_MAX; } else if (c == float.class) { elemSize = Float.SIZE; - maxVectorSpecies = FloatVector.SPECIES_MAX; } else if (c == double.class) { elemSize = Double.SIZE; - maxVectorSpecies = DoubleVector.SPECIES_MAX; } else { throw new IllegalArgumentException("Bad vector element type: " + c.getName()); } @@ -161,11 +154,6 @@ public class PreferredSpeciesTest { int maxLaneCount = VectorSupport.getMaxLaneCount(c); int max = Math.max(maxLaneCount * elemSize, S_64_BITS); - //Assert we're using the same element when comparing shapes - Assert.assertEquals(c, maxVectorSpecies.elementType()); - Assert.assertEquals(vs.vectorBitSize(), max); - Assert.assertEquals(vs.vectorBitSize(), maxVectorSpecies.vectorBitSize()); - } }