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

DU analysis for loop with break

XMLWordPrintable

    • mantis
    • generic
    • solaris_8

      javac fails the following test:
      /*
       * @test @(#)T4721076.java 1.1 02/07/31
       * @bug 4721076
       * @summary DU analysis for loop with break
       * @author Neal Gafter (gafter)
       *
       * @compile T4721076.java
       */

      class T4721076 {
          public static void main(String[] args) {
              for (final boolean b; true; b = true)
                  break;
          }
      }

            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: