7077672: jdk8_tl nightly fail in step-2 build on 8/10/11
Reviewed-by: mchung, jjg
This commit is contained in:
parent
c26005b40e
commit
fc028c77ba
@ -628,7 +628,7 @@ final class Obj {
|
|||||||
boolean hasNonPublicInterface = false;
|
boolean hasNonPublicInterface = false;
|
||||||
|
|
||||||
// define proxy in class loader of non-public interface(s), if any
|
// define proxy in class loader of non-public interface(s), if any
|
||||||
Class<?>[] classObjs = new Class<>[interfaces.length];
|
Class<?>[] classObjs = new Class<?>[interfaces.length];
|
||||||
for (int i = 0; i < interfaces.length; i++) {
|
for (int i = 0; i < interfaces.length; i++) {
|
||||||
Class<?> cl = Class.forName(interfaces[i], false, classLoader);
|
Class<?> cl = Class.forName(interfaces[i], false, classLoader);
|
||||||
if ((cl.getModifiers() & Modifier.PUBLIC) == 0) {
|
if ((cl.getModifiers() & Modifier.PUBLIC) == 0) {
|
||||||
|
@ -252,7 +252,7 @@ public class CorbaUtils {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
connectMethod = corbaStubClass.getMethod("connect",
|
connectMethod = corbaStubClass.getMethod("connect",
|
||||||
new Class<>[] {org.omg.CORBA.ORB.class});
|
new Class<?>[] {org.omg.CORBA.ORB.class});
|
||||||
} catch (NoSuchMethodException e) {
|
} catch (NoSuchMethodException e) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
"No method definition for javax.rmi.CORBA.Stub.connect(org.omg.CORBA.ORB)");
|
"No method definition for javax.rmi.CORBA.Stub.connect(org.omg.CORBA.ORB)");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user