JDK-8195609 : DRS - cert based run rule not working when running offline
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 8u171,8u172,10
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-01-17
  • Updated: 2019-01-14
  • Resolved: 2018-01-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 11 JDK 8
10.0.1Fixed 11 b01Fixed 8u192Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
DRS cert based run rule not working when app is run offline

Please see comment for details
Comments
CPU18_04-critical-request: - Fix for Release : 8u171, 8u172, 11, 10.0.1 - Justification : Regression - Risk Analysis : M - Webrev https://java.se.oracle.com/code/cru/CR-JDK-CLIENT-9 - Testing (done/to-be-done) : JPRT, Fix Verification. - Back ports (to-be-done) : 8u171, 8u172, 10.0.1 - FX Impact : NA
25-01-2018

The code introduced under JDK-8193929 should take into account that the system could be in offline mode. So it is necessary to replace getResource() with getCachedResource() in JNLPSignedResourceHelper.checkSignedResourceHelper().
23-01-2018

RULE JavawsMultiversionJarTest::testJarUpdateAlwaysPrompt any any RULE JavawsMultiversionJarTest::testJarUpdateBackground any any
22-01-2018

RULE "JawsLocalSecurityPolicyTest::testLSPCertRuleRunFromCacheServerUnavailable" any any RULE "JarUpdateTest::testAlwaysPrompt" any any RULE "JarUpdateTest::testBackground" any any RULE "JarUpdateTest::testExtensionBackgroundUpdate" any any
22-01-2018

this is a regression caused by JDK-8194682, which was put in 8u172 and 10. The new call to ResourceProvider.get().getResource(location, version) in JNLPSignedResourceHelper.checkSignedResourcesHelper() should probable be getCachedResource(), since information about redirected URL is only available in cache (when caching is on)
19-01-2018

Andy, I have updated my previous comment. Please refer to the same.
19-01-2018

1.) synopses and description say when app is run offline, yet instructions say to tun online. - assume that is just a type. 2.) please provide trace file from java web start and full description of actual behavior. 3.) It would really help if you put this example on a real Oracle. server (I can simulate physically offline by turning off VPN)
18-01-2018