changeset 1861:a47e28759666

7066788: javah again accepts -old option (ineffectively) which was removed in 1.5. Reviewed-by: jjg
author vromero
date Thu, 27 Jun 2013 09:51:59 +0100
parents dcc6a52bf363
children 8e3d391c88c6
files src/share/classes/com/sun/tools/javah/JavahTask.java
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javah/JavahTask.java	Thu Jun 27 10:35:36 2013 +0200
+++ b/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;