7066788: javah again accepts -old option (ineffectively) which was removed in 1.5.
authorvromero
Thu, 27 Jun 2013 09:51:59 +0100
changeset 18655 7a0cee6fc171
parent 18654 a88a4509ca4a
child 18656 d66c77f01912
7066788: javah again accepts -old option (ineffectively) which was removed in 1.5. Reviewed-by: jjg
langtools/src/share/classes/com/sun/tools/javah/JavahTask.java
--- a/langtools/src/share/classes/com/sun/tools/javah/JavahTask.java	Thu Jun 27 10:35:36 2013 +0200
+++ b/langtools/src/share/classes/com/sun/tools/javah/JavahTask.java	Thu Jun 27 09:51:59 2013 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2013, 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
@@ -220,12 +220,6 @@
             }
         },
 
-        new HiddenOption(false, "-old") {
-            void process(JavahTask task, String opt, String arg) {
-                task.old = true;
-            }
-        },
-
         new HiddenOption(false, "-llni", "-Xllni") {
             void process(JavahTask task, String opt, String arg) {
                 task.llni = true;
@@ -663,7 +657,6 @@
     boolean llni;
     boolean doubleAlign;
     boolean force;
-    boolean old;
     Set<String> javac_extras = new LinkedHashSet<String>();
 
     PrintWriter log;