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

enum implements interface, become not a enum

XMLWordPrintable

    • generic
    • generic

      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


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

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

              Created:
              Updated:
              Resolved: