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

Launching JWS applet the default download progress dialog only shows if the java console is enabled

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      other

      Backports

        Description

        FULL PRODUCT VERSION :
        1.8.0_151

        ADDITIONAL OS VERSION INFORMATION :
        windows version 10.0.15063

        EXTRA RELEVANT SYSTEM CONFIGURATION :
        The problem is more pronounced when launching and downloading over a wide are network

        A DESCRIPTION OF THE PROBLEM :
        When using java web start jnlp file to launch an applet (applet-desc) the default downloading and verifying dialogs only appears if the java console is enabled. If the console is set to hide or do not start the dialogs are not shown. This is problematic when jars are being downloaded. This bug does not occur for a jws application (application-desc).

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        1. Clear java cache and hide the java console in the java control panel
        2. Download jnlp file
        3. Double click on jnlp file to launch web start

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        After double clicking the jnlp file and launching web start, the downloading and verifying dialog is displayed as the jars are downloaded. This happens only if the java console is enabled.
        ACTUAL -
        The initial java splash screen is briefly displayed but then disappears and then it appears nothing is happening while the jars are downloaded

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        Run the following jnlp based on the Oracle Java tutorial Weather Applet

        <?xml version="1.0" encoding="utf-8"?>
        <jnlp spec="1.0+" codebase="https://docs.oracle.com/javase/tutorial/deployment" >
          <information>
            <title>Weather Applet With Custom Progress Bar</title>
            <vendor>Oracle</vendor>
            <description>custom progress bar example</description>
          </information>
          <resources>
            <j2se version="1.7+"/>
            <jar href="applet/examples/dist/applet_AppletWithCustomProgressIndicator/applet_AppletWithCustomProgressIndicator.jar" main="true" />
            <jar href="applet/examples/dist/applet_CustomProgressIndicator/applet_CustomProgressIndicator.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SomeBigJar.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/IconDemo.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SplitPaneDemo.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SplitPaneDemo2.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/TextBatchPrintingDemo.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/ToolBarDemo.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/ToolBarDemo2.jar" />
            <jar href="webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SwingSet2.jar" />
          </resources>
          <applet-desc
                 name="customprogressindicatordemo.WeatherApplet"
                 main-class="customprogressindicatordemo.WeatherApplet"
                 width="600"
                 height="170">
                 <param name="tagLine" value="Information straight from the horse's mouth!"/>
             </applet-desc>
        </jnlp>
        ---------- END SOURCE ----------

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                herrick Andy Herrick (Inactive)
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: