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

failure in expr37802m0: javac allows byte instanceof Object

XMLWordPrintable

    • b40
    • generic
    • solaris_8

      The following should fail to compile but does not, causing a JCK_Compiler failure

      class expr37802m0 {
          {
      byte b = 2;
      if (b instanceof Object) ;
          }
      }

            never Tom Rodriguez
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: