src/share/classes/com/sun/tools/javac/main/Option.java

changeset 1485
d462da465da6
parent 1473
31780dd06ec7
child 1569
475eb15dfdad
     1.1 --- a/src/share/classes/com/sun/tools/javac/main/Option.java	Wed Jan 09 20:02:53 2013 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javac/main/Option.java	Thu Jan 10 14:09:33 2013 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2006, 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 @@ -311,7 +311,7 @@
    1.11  
    1.12      // This option exists only for the purpose of documenting itself.
    1.13      // It's actually implemented by the launcher.
    1.14 -    J("-J", "opt.arg.flag", "opt.J", STANDARD, INFO) {
    1.15 +    J("-J", "opt.arg.flag", "opt.J", STANDARD, INFO, true) {
    1.16          @Override
    1.17          public boolean process(OptionHelper helper, String option) {
    1.18              throw new AssertionError
    1.19 @@ -416,7 +416,7 @@
    1.20  
    1.21      // This option exists only for the purpose of documenting itself.
    1.22      // It's actually implemented by the CommandLine class.
    1.23 -    AT("@", "opt.arg.file", "opt.AT", STANDARD, INFO) {
    1.24 +    AT("@", "opt.arg.file", "opt.AT", STANDARD, INFO, true) {
    1.25          @Override
    1.26          public boolean process(OptionHelper helper, String option) {
    1.27              throw new AssertionError("the @ flag should be caught by CommandLine.");

mercurial