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

failure in expr37802m0: javac allows byte instanceof Object

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      solaris_8

      Description

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

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

        Attachments

          Activity

            People

            Assignee:
            never Tom Rodriguez
            Reporter:
            gafter Neal Gafter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: