8152936: java/lang/Class/GetPackageTest.java needs update to work with newer testng
authoramlu
Thu, 21 Apr 2016 14:56:40 +0800
changeset 37592 c80f098887f4
parent 37591 b71bda3ce058
child 37593 824750ada3d6
8152936: java/lang/Class/GetPackageTest.java needs update to work with newer testng Reviewed-by: alanb
jdk/test/java/lang/Class/GetPackageTest.java
--- 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