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

DU analysis for loop with break

    XMLWordPrintable

Details

    • mantis
    • generic
    • solaris_8

    Description

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

      Attachments

        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: