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) ;
          }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: