8152936: java/lang/Class/GetPackageTest.java needs update to work with newer testng
Reviewed-by: alanb
--- a/jdk/test/java/lang/Class/GetPackageTest.java Wed Apr 20 15:06:13 2016 -0700
+++ b/jdk/test/java/lang/Class/GetPackageTest.java Thu Apr 21 14:56:40 2016 +0800
@@ -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
@@ -52,7 +52,7 @@
assertEquals(fooClass.getClassLoader(), loader);
}
- @DataProvider(name = "testclasses")
+ @DataProvider(name = "testClasses")
public Object[][] testClasses() {
return new Object[][] {
// primitive type, void, array types