author | ljiang |
Thu, 25 Jul 2019 15:29:50 +0800 | |
changeset 57577 | a0c5401371c9 |
parent 50566 | c0b896fc3f08 |
permissions | -rw-r--r-- |
57577
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
1 |
# |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
2 |
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
4 |
# |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
7 |
# published by the Free Software Foundation. Oracle designates this |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
8 |
# particular file as subject to the "Classpath" exception as provided |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
9 |
# by Oracle in the LICENSE file that accompanied this code. |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
10 |
# |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
15 |
# accompanied this code). |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
16 |
# |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
17 |
# You should have received a copy of the GNU General Public License version |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
20 |
# |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
22 |
# or visit www.oracle.com if you need additional information or have any |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
23 |
# questions. |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
24 |
# |
a0c5401371c9
8228397: Missing license copyright header in some properties files
ljiang
parents:
50566
diff
changeset
|
25 |
|
40596 | 26 |
main.usage=\ |
27 |
Usage: jdeprscan [options] '{dir|jar|class}' ...\n\ |
|
28 |
\n\ |
|
29 |
options:\n\ |
|
48543
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
30 |
\ --class-path PATH\n\ |
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
31 |
\ --for-removal\n\ |
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
32 |
\ --full-version\n\ |
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
33 |
\ -? -h --help\n\ |
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
34 |
\ -l --list\n\ |
50566
c0b896fc3f08
8196618: Create API to list supported values for javac --release option
jlahoda
parents:
48543
diff
changeset
|
35 |
\ --release {0}\n\ |
48543
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
36 |
\ -v --verbose\n\ |
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
37 |
\ --version |
40596 | 38 |
|
39 |
main.help=\ |
|
40 |
Scans each argument for usages of deprecated APIs. An argument\n\ |
|
41 |
may be a directory specifying the root of a package hierarchy,\n\ |
|
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
42 |
a JAR file, a class file, or a class name. The class name must be\n\ |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
43 |
specified using a fully qualified class name using the $ separator\n\ |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
44 |
character for nested classes, for example,\n\ |
40596 | 45 |
\n\ |
46 |
\ java.lang.Thread$State\n\ |
|
47 |
\n\ |
|
41439
ee4857e4fa85
8161338: (jdeprscan) remove JEP 293 non-conforming -cp option
smarks
parents:
40596
diff
changeset
|
48 |
The --class-path option provides a search path for resolution\n\ |
40596 | 49 |
of dependent classes.\n\ |
50 |
\n\ |
|
51 |
The --for-removal option limits scanning or listing to APIs that are\n\ |
|
52 |
deprecated for removal. Cannot be used with a release value of 6, 7, or 8.\n\ |
|
53 |
\n\ |
|
54 |
The --full-version option prints out the full version string of the tool.\n\ |
|
55 |
\n\ |
|
48543
7067fe4e054e
8189102: All tools should support -?, -h and --help
goetz
parents:
48322
diff
changeset
|
56 |
The --help (-? -h) option prints out a full help message.\n\ |
40596 | 57 |
\n\ |
58 |
The --list (-l) option prints out the set of deprecated APIs. No scanning is done,\n\ |
|
59 |
so no directory, jar, or class arguments should be provided.\n\ |
|
60 |
\n\ |
|
61 |
The --release option specifies the Java SE release that provides the set\n\ |
|
62 |
of deprecated APIs for scanning.\n\ |
|
63 |
\n\ |
|
64 |
The --verbose (-v) option enables additional message output during processing.\n\ |
|
65 |
\n\ |
|
66 |
The --version option prints out the abbreviated version string of the tool. |
|
67 |
||
68 |
main.xhelp=\ |
|
69 |
Unsupported options:\n\ |
|
70 |
\n\ |
|
71 |
\ --Xload-class CLASS\n\ |
|
72 |
\ Loads deprecation information from the named class.\n\ |
|
73 |
\ --Xload-csv CSVFILE\n\ |
|
74 |
\ Loads deprecation information from the named CSV file.\n\ |
|
75 |
\ --Xload-dir DIR\n\ |
|
76 |
\ Loads deprecation information from the class hierarchy\n\ |
|
77 |
\ at the named directory.\n\ |
|
78 |
\ --Xload-jar JARFILE\n\ |
|
79 |
\ Loads deprecation information from the named JAR file.\n\ |
|
80 |
\ --Xload-jdk9 JAVA_HOME\n\ |
|
81 |
\ Loads deprecation information from the JDK located at\n\ |
|
82 |
\ JAVA_HOME, which must be a modular JDK.\n\ |
|
83 |
\ --Xload-old-jdk JAVA_HOME\n\ |
|
84 |
\ Loads deprecation information from the JDK located at\n\ |
|
85 |
\ JAVA_HOME, which must not be a modular JDK. Instead, the\n\ |
|
86 |
\ named JDK must be a "classic" JDK with an rt.jar file.\n\ |
|
87 |
\ --Xload-self\n\ |
|
88 |
\ Loads deprecation information by traversing the jrt:\n\ |
|
89 |
\ filesystem of the running JDK image.\n\ |
|
90 |
\ --Xcompiler-arg ARG\n\ |
|
91 |
\ Adds ARG to the list of compiler arguments.\n\ |
|
92 |
\ --Xcsv-comment COMMENT\n\ |
|
93 |
\ Adds COMMENT as a comment line to the output CSV file.\n\ |
|
94 |
\ Only effective if -Xprint-csv is also supplied.\n\ |
|
95 |
\ --Xhelp\n\ |
|
96 |
\ Prints this message.\n\ |
|
97 |
\ --Xprint-csv\n\ |
|
98 |
\ Prints a CSV file containing the loaded deprecation information\n\ |
|
99 |
\ instead of scanning any classes or JAR files. |
|
100 |
||
101 |
scan.process.class=Processing class {0}... |
|
102 |
||
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
103 |
# The "removal tag": empty for normal deprecations, |
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
104 |
# nonempty for removal deprecations; do not translate. |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
105 |
scan.dep.normal= |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
106 |
scan.dep.removal=(forRemoval=true) |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
107 |
|
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
108 |
scan.err.exception=error: unexpected exception {0} |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
109 |
scan.err.noclass=error: cannot find class {0} |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
110 |
scan.err.nofile=error: cannot find file {0} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
111 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
112 |
# 0: class name, 1: method name, 2: parameter and return types |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
113 |
scan.err.nomethod=error: cannot resolve Methodref {0}.{1}:{2} |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
114 |
|
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
115 |
scan.head.jar=Jar file {0}: |
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
116 |
scan.head.dir=Directory {0}: |
40596 | 117 |
|
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
118 |
# In all of the messages below, 0 and 1 are as follows: |
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
119 |
# 0: type kind (class, interface, enum, or annotation type) |
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
120 |
# 1: type name |
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
121 |
# The last element is generally a "removal tag"; see above. |
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
122 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
123 |
# 2: class name, 3: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
124 |
scan.out.extends={0} {1} extends deprecated class {2} {3} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
125 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
126 |
# 2: interface name, 3: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
127 |
scan.out.implements={0} {1} implements deprecated interface {2} {3} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
128 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
129 |
# 2: class name, 3: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
130 |
scan.out.usesclass={0} {1} uses deprecated class {2} {3} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
131 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
132 |
# 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
133 |
scan.out.usesmethod={0} {1} uses deprecated method {2}::{3}{4} {5} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
134 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
135 |
# 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
136 |
scan.out.usesintfmethod={0} {1} uses deprecated method {2}::{3}{4} {5} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
137 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
138 |
# 2: class name, 3: field name, 4: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
139 |
scan.out.usesfield={0} {1} uses deprecated field {2}::{3} {4} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
140 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
141 |
# 2: field name, 3: type name, 4: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
142 |
scan.out.hasfield={0} {1} has field named {2} of deprecated type {3} {4} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
143 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
144 |
# 2: method name, 3: parameter type, 4: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
145 |
scan.out.methodparmtype={0} {1} has method named {2} having deprecated parameter type {3} {4} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
146 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
147 |
# 2: method name, 3: return type, 4: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
148 |
scan.out.methodrettype={0} {1} has method named {2} having deprecated return type {3} {4} |
44295
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
149 |
|
f147ed497558
8171395: (jdeprscan) add comments to L10N message file
smarks
parents:
41863
diff
changeset
|
150 |
# 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag |
41863
98b049c8b848
8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents:
41439
diff
changeset
|
151 |
scan.out.methodoverride={0} {1} overrides deprecated method {2}::{3}{4} {5} |