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

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0.2
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Verified

      Description


      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: