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

Convert lambda most specific positive tests to check runtime behavior

XMLWordPrintable

    • b152
    • Verified

      test/tools/javac/lambda contains 9 positive tests in the 'MostSpecificNN.java' set. The tests confirm that the given pair of methods is disambiguated, but don't confirm that the compiler makes the correct choice. These should add a 'main' jtreg step that verifies that the wanted method is run, rather than the less-specific one.

      List of tests:
      MostSpecific10
      MostSpecific11
      MostSpecific15
      MostSpecific17
      MostSpecific18
      MostSpecific20
      MostSpecific22
      MostSpecific27
      MostSpecific29

            vromero Vicente Arturo Romero Zaldivar
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: