[rfc][icedtea-web] Unittest regression fix

Andrew Azores aazores at redhat.com
Mon Feb 10 06:47:21 PST 2014


Hi,

Jiri noticed that a recent patch caused 10 unit test failures, due to 
the classloader bailing out on the condition that codebase loading was 
disabled and there appeared to be no JARs to load from. This conclusion 
was apparently reached too quickly and was caused because I had assumed 
this information would already be ready, and so had moved this logic 
earlier in the Launcher/ClassLoader cycle. Moving the check back to 
where it was, ie later on, solves the problem.

ChangeLog:
Partial revert of 7933143a1286, refactoring to move 
codebase-loading-enabling
logic out of Launcher and into JNLPClassLoader.
* netx/net/sourceforge/jnlp/Launcher.java: (createApplet, 
createAppletObject):
handle enableCodebase again
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (enableCodebase):
re-added, codebase enabling logic moved back out into Launcher

Thanks,

-- 
Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: enable_codebase_regression_fix.patch
Type: text/x-patch
Size: 7245 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140210/ab68f7dd/enable_codebase_regression_fix.patch 


More information about the distro-pkg-dev mailing list