bug in DU analysis of while loop

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.2
    • Affects Version/s: 1.4.0
    • Component/s: tools
    • mantis
    • generic
    • solaris_8

      javac improperly accepts the following code.

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

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: