8132944: test java/lang/ClassLoader/GetSystemPackage.java writes stuff to Agent stdout
Reviewed-by: dholmes
This commit is contained in:
parent
33abd28183
commit
f32b9d1944
@ -181,7 +181,6 @@ public class GetSystemPackage {
|
|||||||
private static Package findPackage(String name) {
|
private static Package findPackage(String name) {
|
||||||
Package[] packages = Package.getPackages();
|
Package[] packages = Package.getPackages();
|
||||||
for (Package p : packages) {
|
for (Package p : packages) {
|
||||||
System.out.println(p);
|
|
||||||
if (p.getName().equals(name)) {
|
if (p.getName().equals(name)) {
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user