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

javac allows a labelled local variable declaration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.1, 1.1.4, 1.2.0
    • tools
    • 1.2beta3
    • generic, x86
    • generic, windows_95
    • Not verified



      Name: sgC58550 Date: 03/18/97


      javac compiles the following code which is illegal
      according to the grammar in 14.6:

      class B {
          {
              i: int i; // local variable declaration may not follow a
      statement label
          }
      }
      ======================================================================

            tturnidgsunw Todd Turnidge (Inactive)
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: