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

PIT: awt printing in Win2k, GB18030 locale failed

XMLWordPrintable

    • tiger
    • x86
    • windows_2000
    • Verified

      JDK under test: (g:/PIT-test/jdk-win-0626)
      java version "1.5.0-internal"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-internal-bino_26_jun_2003_19_49)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b09, mixed mode)

      Platform: Windows 2000, zh_CN, with GB18030 package installed

      test used: GlobalSuite-15-b01/test/other-functional/awt/print/PrintTest.java
      result: awt printing failed, same test passed in both j2sdk1.4.2 fcs (b28), and in j2sdk 1.5 b09

      The exception thrown are attached here:

      java.awt.IllegalComponentStateException: Native resources unavailable
              at sun.awt.windows.WPanelPeer.pRestack(Native Method)
              at sun.awt.windows.WPanelPeer.restack(WPanelPeer.java:149)
              at sun.awt.windows.WPanelPeer.<init>(WPanelPeer.java:55)
              at sun.awt.windows.WWindowPeer.<init>(WWindowPeer.java:74)
              at sun.awt.windows.WPrintDialogPeer.<init>(WPrintDialogPeer.java:23)
              at sun.awt.windows.WToolkit.createWPrintDialog(WToolkit.java:431)
              at sun.awt.windows.WPrintDialog.addNotify(WPrintDialog.java:40)
              at java.awt.Dialog.conditionalShow(Dialog.java:454)
              at java.awt.Dialog.show(Dialog.java:532)
              at sun.awt.windows.WPrinterJob.displayNativeDialog(WPrinterJob.java:450)
              at sun.awt.windows.WPrinterJob.printDialog(WPrinterJob.java:514)
              at _PrintTest.actionPerformed(PrintTest.java:214)
              at java.awt.Button.processActionEvent(Button.java:388)
              at java.awt.Button.processEvent(Button.java:356)
              at java.awt.Component.dispatchEventImpl(Component.java:3620)
              at java.awt.Component.dispatchEvent(Component.java:3482)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
              at
      java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214)
              at
      java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

      ###@###.### 2003-06-27

            dmikhalksunw Denis Mikhalkin (Inactive)
            mtiensunw Minchi Tien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: