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

1.0.2 classfile generates Dialog: method show()V not found under 1.0.1

XMLWordPrintable

    • 1.0.2
    • sparc
    • solaris_2.5
    • Verified


      If you compile awt/ComponentTest.java under 1.0.2 JDK, then use the 1.0.1
      appletviewer to view it, under either Win32 and Solaris, you will find an error
      like this when you try to bring up a file dialog:

      java.lang.NoSuchMethodError: java.awt.Dialog: method show()V not found
              at CTest.action(ComponentTest.java:152)
              at java.awt.Component.handleEvent(Component.java:900)
              at CTest.handleEvent(ComponentTest.java:125)
              at java.awt.Component.postEvent(Component.java:838)
              at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
              at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
              at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
              at sun.awt.motif.MMenuItemPeer.action(MMenuItemPeer.java:44)
              at java.lang.Thread.run(Thread.java)

      This problem is not encountered if you compile and run the same test under 1.0.1.

            amfowler Anne Fowler (Inactive)
            bhagen Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: