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

The javaws applicaiton can not be installed into deployment cache after excuting "javaws -import jnlp_url".

XMLWordPrintable

    • x86_64
    • windows_7
    • Verified

      Testsuite:disableJavaManual_NonMultipleJRE in common
      Test name(s):disableJavaManual_NonMultipleJREScenarios\testReinstallDisable.html
      Product(s) tested:Jre9b122/64bit
      OS/architecture:win7-x64

      Reproducible: Always
      Reproducible on machine:egtc

      Is it a Regression:

      Test result on the last GAed release for this train:

      [if Fail] Test result on FCS:

      Is it a platform specific issue:
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Copy JDF workspace,install test jre,and run this case
      Steps to reproduce:
      1.Install test JRE ( it should supports "Enable Java" feature )
      2.Set "EnableJava" feature to OFF in JCP
      3.Uninstall and then re-install the same JRE
      4.Make sure "EnableJava" is still OFF in Java CPL.
      (ONLY apply to JDK 8 and JDK7 version 7u11 and later: Before applets/javaws applications get launched, a security warning dialog will pop-up asking you if you want to run the application. Click "Run" to accept.)
      4.Run sample applets and make sure that it's blocked (browser will behave as if java plugin is not installed):
      http://localhost:8080/disableJavaManual_NonMultipleJRE/html/testAppletWithAppletTag.html
      http://localhost:8080/disableJavaManual_NonMultipleJRE/html/testAppletWithObjectTag.html
      http://localhost:8080/disableJavaManual_NonMultipleJRE/html/testDTApplet.html
      http://localhost:8080/disableJavaManual_NonMultipleJRE/html/testJnlpApplet.html
      5.Skip this assertaion on Unix and Linux (Applies to Windows and Mac Only). Try to start javaws application SUITE_DIR/new_framework/tests/common/manual/disableJavaManual_NonMultipleJRE/jnlp/testJavawsLaunchOnCLI.jnlp from windows explorer, make sure jnlp association is blocked
      6.On Windows, do the following checks:
      Make sure javaws application could NOT be launched on command line with "javaws jnlp_url", neither local nor remote, try:
      javaws http://localhost:8080/disableJavaManual_NonMultipleJRE/jnlp/testJavawsLaunchOnCLI.jnlp
      javaws file:///SUITE_DIR/new_framework/tests/common/manual/disableJavaManual_NonMultipleJRE/jnlp/testJavawsLaunchOnCLI.jnlp
      7.Make sure javaws application could be installed with "javaws -import", try
      javaws -import http://localhost:8080/disableJavaManual_NonMultipleJRE/jnlp/testJavawsLaunchOnCLI.jnlp
      Then check deployment cache ( javaws -viewer ), app should appear in cache
      8.Make sure installed javaws application(cacheviewer/all shortcuts) could be launched,try to launch previously imported application from cache

      The actual result:
      Issue1"At step 7,the javaws applicaiton can not be installed into deployment cache after excuting "javaws -import jnlp_url".
      Issue2:Nothing can be launched successfully after launching on command line with "javaws -viewer"

            wenjyang Crystal Yang (Inactive)
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: