Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/methodThrows/beforeNative.java
2019-01-18 22:19:56 +03:00

12 lines
273 B
Java

// "Remove 'IOException' from 'foo' throws list" "false"
import java.io.*;
class Bar {
public native int goDrink(String arg) throws IOExce<caret>ption;
public static void main(String[] args) throws IOException {
Bar bar = new Bar();
bar.goDrink("aaa");
}
}