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

Compilation did not fail as expected for 5 JCK Compiler negative tests with JDK 5u25 b02

XMLWordPrintable

    • b02
    • b03
    • generic
    • generic
    • Verified

      Five JCK Compiler tests failed with "Compilation did not fail as expected" message. These are the following situations when the compilation should to fail but didn't it:

      1. Two methods with the same signature but different result type
      2. Declaration of method values() in a top level enum type.
      3. Declaration of method valueOf(String) in a top level enum type.
      4. Declaration of method values() in a member enum type.
      5. Declaration of method valueOf(String) in a member enum type.

            poonam Poonam Bajaj Parhar
            afomin Alexander Fomin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: