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

Access violation happens in getPrintJob method in 1.4.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0, 1.4.1_01
    • client-libs
    • 2d
    • x86
    • windows_98

      When users try to print, access violation occurs and hotspot log has been gotten
      only on Windows98/ME.
      This seems to happen in getPrintJob method.

      REPRODUCE:
       1) Compile the attached sample code
       2) Launshja "java PrintTest"
       3) Click Print button.
          Youo will see the print dilaogue.
       4) Click "OK" button.

      RESULTS:
       User reported they got a hotspot log at the above 4) step.
       
           VM | result
      -----------+-------------
       1.3.1_06 | Not occur
       1.4.0 | occur
       1.4.0_01 | occur
       1.4.0_02 | occur
       1.4.1 | occur
       1.4.1_01 | occur
       1.4.2_b03 | occur

         OS: windows 98 (Second Edition, Japanese)
         Printer: Fujitsu XL-6100(Page Printer)


      However, JPE tried this program and any violation did not occur.

           VM | result
      -----------+-------------
       1.3.1_06 | Not occur
       1.4.0_03 | Not occur
       1.4.1_01 | Not occur
       1.4.2_b06 | Not occur

         OS: windows 98 (Second Edition, Japanese)
             Windows ME (Second Edition, Japanese)
         MEM: 384[MB]
         MPU: Pentium IV 1.4[GHz]
         Printers:
           - FujiXerox DocuPrint 400 J (PS printer)
               (Adobe PostScript printer driver 4.5.2(003))
           - EPSON LP8700 (PS and Page Printer)
               (EPSON printer Driver 3.5.8cm)


      REQUEST:
        User suggested the fix and ask SUN STRONGLY to review it !!
        Please evaluate.


      NOTE:
       - Please useWindows(Japanese) and Printer which can print Japanese
         character because the sample program includes Japanese String.

      ATTACHED FILES:
        - PrintTest.java: Sanple program
        - hs_log : Hotspot log

      ============================================================================

            jgodinez Jennifer Godinez (Inactive)
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: