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

Typo in the JMenuItem/6458123/ManualBug6458123.java causing compilation failure

XMLWordPrintable

    • b02
    • generic, x86
    • generic, solaris_10
    • Verified

      test/javax/swing/JMenuItem/6458123/ManualBug6458123.java test has a typo giving compilation error.

      ----------System.err:(6/239)*----------
      D:\\Asha\\Cloned-Workspaces\\6u23\\test\\javax\\swing\\JMenuItem\\6458123\\ManualBug6458123.java:224: cannot find symbol
      symbol : variable menuI
      location: class ManualBug6458123
               menu.add(menuI);
                        ^
      1 error
      result: Failed. Compilation failed
      D:\\Asha\\Cloned-Workspaces\\6u23\\test\\javax\\swing\\JMenuItem\\6458123\\ManualBug6458123.java:224: cannot find symbol
      symbol : variable menuI
      location: class ManualBug6458123
               menu.add(menuI);
                        ^
      1 error

      change to
      location: class ManualBug6458123
               menu.add(menuItem);
      the case can be running.

            asaha Abhijit Saha
            ammanick Asha Manicka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: