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

DU analysis for loops requires two passes

XMLWordPrintable

    • mantis
    • generic
    • solaris_8

      javac incorrectly rejects this program:

      class C {
          void m() {
              final int i;
              while (true)
                  if (false)
                      i = 1;
          }
      }

            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: