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

enum implements interface, become not a enum

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      ADDITIONAL SYSTEM INFORMATION :
      maybe any system

      A DESCRIPTION OF THE PROBLEM :
      public enum Foo implements Inn {
          BOO
      }
      call: Foo.BOO.getClass().isEnum() , return : false;
      Sometimes, hope return true


      REGRESSION : Last worked in version 8


      FREQUENCY : always


        Attachments

        1. EnumTester.java
          0.4 kB
        2. Main.java
          0.4 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: