JDK-8141599 : jar update not working fine
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u95,8u72
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-11-06
  • Updated: 2015-11-23
  • Resolved: 2015-11-20
Related Reports
Duplicate :  
Description
Testsuite name: JDF javaws
Test name(s):
	
	JarUpdateTest::testLazyAlwaysUpdate
	JarUpdateTest::testJnlpAlwaysAlways
	
Product(s) tested: 8u72 b06
OS/architecture:
	Windows x86_32
Error log file (if present):  http://aurora.ru.oracle.com/functional/faces/ChessBoard.xhtml?reportName=J2SETestHistory&parameters=%5BtestNameFilterRegExp%5DJarUpdateTest%3A%3AtestJnlpAlwaysAlways%5Brelease%5D1.8.0_72
Reproducible: Always
Reproducible on machine: spb23058.ru.oracle.com

Is it a Regression: Yes (Introduced in 8u72 b01) Tests worked fine with 8u66 b17

Test result on the last GAed release for this train: Pass

Is it a platform specific issue: No

Exception/Error from Log:
Test run log location: 

Steps to reproduce: 
- start tomcat from the archive http://stt-13.ru.oracle.com/newroot/testsuites/180_user_ws/vivek/jarUpdate/tomcat.zip 
- Add http://127.0.0.1:8080 to ESL
- open java webstart app: 
$ javaws http://127.0.0.1:8080/jarUpdate/jnlp/testJnlpAlwaysAlways.jnlp 
- window with title 'First Version' should show 
- close window 
- go to tomcat/webapps/jarUpdate/jnlp/ 
- cp testJnlpAlwaysAlways_2.jnlp testJnlpAlwaysAlways.jnlp
- run same app again 
$ javaws http://127.0.0.1:8080/jarUpdate/jnlp/testJnlpAlwaysAlways.jnlp 
- window with title 'Second Version' should show

actual: 
'First version' is still shown 

RULE "JarUpdateTest::testJnlpAlwaysAlways" Exception junit.framework.ComparisonFailure: expected:<TEST [PASS]ED> but was:<TEST [FAIL]ED>
	at JarUpdateTest.testJnlpAlwaysAlways(Unknown Source)
RULE "JarUpdateTest::testLazyAlwaysUpdate" Exception junit.framework.AssertionFailedError: TEST FAILED
	at JarUpdateTest.testLazyAlwaysUpdate(Unknown Source)

Comments
7u95-b09 works fine too.
18-11-2015

I've just checked it manually and I can't reproduce the issue with jdk8u72-b09. I repeated all steps and after the last step I get windows with "SecondVersion" title.
18-11-2015

It looks like the problem is caused by JDK-8098826. Reassigning to Mikhail.
12-11-2015

Assigned to Initial Evaluator for review and assignment.
08-11-2015