mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6863746: javap should not scan ct.sym by default
Reviewed-by: mcimadamore
This commit is contained in:
parent
ae71131125
commit
604fce4d26
4 changed files with 53 additions and 10 deletions
|
@ -235,12 +235,6 @@ public class JavapTask implements DisassemblerTool.DisassemblerTask, Messages {
|
|||
}
|
||||
},
|
||||
|
||||
new Option(false, "-XDignore.symbol.file") {
|
||||
void process(JavapTask task, String opt, String arg) {
|
||||
task.options.ignoreSymbolFile = true;
|
||||
}
|
||||
},
|
||||
|
||||
new Option(false, "-XDdetails") {
|
||||
void process(JavapTask task, String opt, String arg) {
|
||||
task.options.details = EnumSet.allOf(InstructionDetailWriter.Kind.class);
|
||||
|
@ -477,9 +471,6 @@ public class JavapTask implements DisassemblerTool.DisassemblerTask, Messages {
|
|||
throw new BadArgs("err.incompatible.options", sb);
|
||||
}
|
||||
|
||||
if (options.ignoreSymbolFile && fileManager instanceof JavapFileManager)
|
||||
((JavapFileManager) fileManager).setIgnoreSymbolFile(true);
|
||||
|
||||
if ((classes == null || classes.size() == 0) &&
|
||||
!(noArgs || options.help || options.version || options.fullVersion)) {
|
||||
throw new BadArgs("err.no.classes.specified");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue