Merge remote-tracking branch 'upstream/master'

master
Graham 5 years ago
commit 32d668c776
  1. 6
      src/org/jetbrains/java/decompiler/main/decompiler/ConsoleDecompiler.java
  2. 5
      src/org/jetbrains/java/decompiler/modules/decompiler/stats/DummyExitStatement.java

@ -72,12 +72,12 @@ public class ConsoleDecompiler implements IBytecodeProvider, IResultSaver {
PrintStreamLogger logger = new PrintStreamLogger(System.out); PrintStreamLogger logger = new PrintStreamLogger(System.out);
ConsoleDecompiler decompiler = new ConsoleDecompiler(destination, mapOptions, logger); ConsoleDecompiler decompiler = new ConsoleDecompiler(destination, mapOptions, logger);
for (File source : sources) {
decompiler.addSource(source);
}
for (File library : libraries) { for (File library : libraries) {
decompiler.addLibrary(library); decompiler.addLibrary(library);
} }
for (File source : sources) {
decompiler.addSource(source);
}
decompiler.decompileContext(); decompiler.decompileContext();
} }

@ -1,13 +1,10 @@
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.java.decompiler.modules.decompiler.stats; package org.jetbrains.java.decompiler.modules.decompiler.stats;
import java.util.Collection; import java.util.Collection;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
/**
* @author egor
*/
public class DummyExitStatement extends Statement { public class DummyExitStatement extends Statement {
public Set<Integer> bytecode = null; // offsets of bytecode instructions mapped to dummy exit public Set<Integer> bytecode = null; // offsets of bytecode instructions mapped to dummy exit

Loading…
Cancel
Save