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

bug in DU analysis of while loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.4.0
    • tools
    • mantis
    • generic
    • solaris_8

      javac improperly accepts the following code.

      class T {
          void f() {
              final int i;
              while (true) {
                  i = 3;
                  continue;
              }
          }
      }

            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: