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

REGRESSION: Duplicate security warnings for applet printing from Java Plugin

XMLWordPrintable

    • 04
    • x86
    • windows_98, windows_2000



        Name: gm110360 Date: 06/26/2002


        FULL PRODUCT VERSION :
        java version "1.4.0_01"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
        Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)


        FULL OPERATING SYSTEM VERSION : Microsoft Windows 2000
        [Version 5.00.2195]


        EXTRA RELEVANT SYSTEM CONFIGURATION :
        Problem occurs with applets embedded in both IE6 and Mozilla
        1.0 (both using Sun's Java plugin).

        The number of times that the warning dialog is repeated
        seems to depend on the printer drivers.. I have tried using
        AdobePS generic postscript drivers (printing to file), and
        using a Brother HL-1250 printer.

        A DESCRIPTION OF THE PROBLEM :
        When printing from an applet, using java.awt.print.PrintJob
        (with either the Printable or Pageable job interface), the
        security warning dialog is repeated many times. With J2SE
        1.3.1, it was shown only once.

        REGRESSION. Last worked in version 1.3.1

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Somebody else has put a demo applet to exhibit this bug at:
        http://www.kfki.hu/~cspeter/jvm-bugs/getprintjob.html

        Go to this page and follow the instructions there.


        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        Dialog title: Warning
        Dialog contents:
        An applet would like to print.
        Is this OK?
        Yes/No

        (this dialog is repeated too many times).


        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        Somebody else has put some source code (and a running demo) to exhibit this bug at:
        http://www.kfki.hu/~cspeter/jvm-bugs/getprintjob.html

        ---------- END SOURCE ----------

        Release Regression From : 1.3.1_03
        The above release value was the last known release where this
        bug was known to work. Since then there has been a regression.

        (Review ID: 158329)
        ======================================================================

              dgu Dennis Gu (Inactive)
              gmanwanisunw Girish Manwani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: