8152936: java/lang/Class/GetPackageTest.java needs update to work with newer testng

Reviewed-by: alanb
This commit is contained in:
Amy Lu 2016-04-21 14:56:40 +08:00
parent 6e3d77a8ba
commit b909478b3d

View File

@ -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 @@ public class GetPackageTest {
assertEquals(fooClass.getClassLoader(), loader);
}
@DataProvider(name = "testclasses")
@DataProvider(name = "testClasses")
public Object[][] testClasses() {
return new Object[][] {
// primitive type, void, array types