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

DU analysis for loops requires two passes

    XMLWordPrintable

Details

    • mantis
    • generic
    • solaris_8

    Description

      javac incorrectly rejects this program:

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

      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: