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

(test) enum used as variable name in regression tests

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b49
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      These tests contains variables named with the new reserved keyword 'enum':

      test/java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java
      test/java/rmi/transport/dgcDeadLock/TestImpl.java

      These should be proactively updated before -source 1.5 is the default compiler option.

        Attachments

          Activity

            People

            • Assignee:
              awollratsunw Ann Wollrath (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: