7077672: jdk8_tl nightly fail in step-2 build on 8/10/11

Reviewed-by: mchung, jjg
This commit is contained in:
Alexandre Boulgakov 2011-08-11 13:34:25 -07:00 committed by Jonathan Gibbons
parent c26005b40e
commit fc028c77ba
2 changed files with 2 additions and 2 deletions

View File

@ -628,7 +628,7 @@ final class Obj {
boolean hasNonPublicInterface = false;
// 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++) {
Class<?> cl = Class.forName(interfaces[i], false, classLoader);
if ((cl.getModifiers() & Modifier.PUBLIC) == 0) {

View File

@ -252,7 +252,7 @@ public class CorbaUtils {
try {
connectMethod = corbaStubClass.getMethod("connect",
new Class<>[] {org.omg.CORBA.ORB.class});
new Class<?>[] {org.omg.CORBA.ORB.class});
} catch (NoSuchMethodException e) {
throw new IllegalStateException(
"No method definition for javax.rmi.CORBA.Stub.connect(org.omg.CORBA.ORB)");