7066788: javah again accepts -old option (ineffectively) which was removed in 1.5.

Thu, 27 Jun 2013 09:51:59 +0100

author
vromero
date
Thu, 27 Jun 2013 09:51:59 +0100
changeset 1862
a47e28759666
parent 1861
dcc6a52bf363
child 1863
8e3d391c88c6

7066788: javah again accepts -old option (ineffectively) which was removed in 1.5.
Reviewed-by: jjg

src/share/classes/com/sun/tools/javah/JavahTask.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/classes/com/sun/tools/javah/JavahTask.java	Thu Jun 27 10:35:36 2013 +0200
     1.2 +++ b/src/share/classes/com/sun/tools/javah/JavahTask.java	Thu Jun 27 09:51:59 2013 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -220,12 +220,6 @@
    1.11              }
    1.12          },
    1.13  
    1.14 -        new HiddenOption(false, "-old") {
    1.15 -            void process(JavahTask task, String opt, String arg) {
    1.16 -                task.old = true;
    1.17 -            }
    1.18 -        },
    1.19 -
    1.20          new HiddenOption(false, "-llni", "-Xllni") {
    1.21              void process(JavahTask task, String opt, String arg) {
    1.22                  task.llni = true;
    1.23 @@ -663,7 +657,6 @@
    1.24      boolean llni;
    1.25      boolean doubleAlign;
    1.26      boolean force;
    1.27 -    boolean old;
    1.28      Set<String> javac_extras = new LinkedHashSet<String>();
    1.29  
    1.30      PrintWriter log;

mercurial