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

in var initializer, use OK if definitely assigned.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      javac fails the following jacks tests:
      8.3.2.3-legal-forward-instance-12
      8.3.2.3-legal-forward-instance-13
      8.3.2.3-legal-forward-static-9
      8.3.2.3-legal-forward-static-10

      A typical example is

      class T {
      int x = (y=1);
      int y = 3;
      }

        Attachments

          Activity

            People

            • Assignee:
              gafter Neal Gafter
              Reporter:
              gafter Neal Gafter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: