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

unboxing versus array index results in verify error

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: