Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8075304

Remove duplicate tests: FDTest, MethodReferenceTest and more

    XMLWordPrintable

Details

    • b59

    Backports

      Description

        jdk/test/jdk/lambda/FDTest.java

        is duplicate of

        langtools/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".

        Attachments

          Issue Links

            Activity

              People

                amlu Amy Lu (Inactive)
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: