< prev index next >

src/jdk.rmic/share/classes/sun/rmi/rmic/Main.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2018, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -79,12 +79,10 @@
     boolean status;
     String[] generatorArgs;
     Vector<Generator> generators;
     Class<? extends BatchEnvironment> environmentClass =
         BatchEnvironment.class;
-    boolean iiopGeneration = false;
-
     /**
      * Name of the program.
      */
     String program;
 

@@ -422,16 +420,10 @@
                 error("rmic.class.not.found",env);
                 return null;
             }
         }
 
-        // If this is the iiop stub generator, cache
-        // that fact for the jrmp generator...
-
-        if (arg.equals("iiop")) {
-            iiopGeneration = true;
-        }
         return gen;
     }
 
     /**
      * Grab a resource string and parse it into an array of strings. Assumes
< prev index next >