8172307: Remove ununsed JVM API JVM_GetModuleByPackageName()
Summary: Remove get_module_by_package_name() etc., and unneeded test.
Reviewed-by: sspitsyn, gtriantafill
--- a/test/lib/sun/hotspot/WhiteBox.java Fri Feb 24 12:31:56 2017 -0500
+++ b/test/lib/sun/hotspot/WhiteBox.java Wed Mar 01 08:00:02 2017 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -456,7 +456,6 @@
public native void AddModulePackage(Object module, String pkg);
public native void AddModuleExportsToAllUnnamed(Object module, String pkg);
public native void AddModuleExportsToAll(Object module, String pkg);
- public native Object GetModuleByPackageName(Object ldr, String pkg);
public native int getOffsetForName0(String name);
public int getOffsetForName(String name) throws Exception {