Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/sun/rmi/rmic/newrmic/Main.java
          +++ new/src/share/classes/sun/rmi/rmic/newrmic/Main.java
↓ open down ↓ 447 lines elided ↑ open up ↑
 448  448          Batch batch = batchTable.get(batchID);
 449  449          assert batch != null;
 450  450  
 451  451          /*
 452  452           * Construct batch environment using class agreed upon by
 453  453           * generator implementations.
 454  454           */
 455  455          BatchEnvironment env;
 456  456          try {
 457  457              Constructor<? extends BatchEnvironment> cons =
 458      -                batch.envClass.getConstructor(new Class<?>[] { RootDoc.class });
      458 +                batch.envClass.getConstructor(new Class[] { RootDoc.class });
 459  459              env = cons.newInstance(rootDoc);
 460  460          } catch (NoSuchMethodException e) {
 461  461              throw new AssertionError(e);
 462  462          } catch (IllegalAccessException e) {
 463  463              throw new AssertionError(e);
 464  464          } catch (InstantiationException e) {
 465  465              throw new AssertionError(e);
 466  466          } catch (InvocationTargetException e) {
 467  467              throw new AssertionError(e);
 468  468          }
↓ open down ↓ 221 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX