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

unboxing versus array index results in verify error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • tools
    • None
    • b32
    • generic
    • generic, solaris_8

      JCK test conv14202, and the following test, compile to unverifiable code:

      class T {
          public static void main(String[] args) {
              Integer i = 0;
              System.out.println(args[i]);
          }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: