This RFR proposes to remove the duplicate FDTest from “jdk” repo.

FDTest exists in both “jdk” and “langtools”:
http://hg.openjdk.java.net/jdk9/dev/jdk/file/tip/test/jdk/lambda/FDTest.java
http://hg.openjdk.java.net/jdk9/dev/langtools/file/tip/test/tools/javac/lambdaShapes/org/openjdk/tests/javac/FDTest.java

So far the only diff between the two tests is that the version in langtools has one more teardown method to well handle the resource close
> @AfterSuite
> static void teardown() throws IOException {
> fm.close();
> }

As this test is for JavaCompiler, it makes more sense to keep the test in "langtools" and remove the duplicate one from "jdk”.

bug: https://bugs.openjdk.java.net/browse/JDK-8075304
webrev: http://cr.openjdk.java.net/~amlu/8075304/webrev.00/


Thanks,
Amy

Reply via email to