[fyi] [icedtea-web] Fixed security tests to pass both jdk6 and 7

Jiri Vanek jvanek at redhat.com
Tue May 22 03:01:59 PDT 2012


Hi!

As I mentioned yesterday on java team the test are failing on openjdk7 because of changed exception 
message. This patch is fixing it.
This was already spotted once and I used the solution reviewed by Danesh 
(http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017540.html thread)
Test are now passing  both jdk.


2012-05-22  Jiri Vanek  <jvanek at redhat.com>

	* tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
	* tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java:
	* tests/jnlp_tests/simple/AllStackTraces/testcases/AllStackTracesTest.java:
	* tests/jnlp_tests/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java:
	* tests/jnlp_tests/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java:
	* tests/jnlp_tests/simple/ReadProperties/testcases/ReadPropertiesTest.java:
	* tests/jnlp_tests/simple/RedirectStreams/testcases/RedirectStreamsTest.java:
	* tests/jnlp_tests/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java:
	* tests/jnlp_tests/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java:
	All exact matches upon AccessControlException replaced by regular expression matching both jdk7 and 
jdk6 syntax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixedReproducersForJdk7.diff
Type: text/x-patch
Size: 14179 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120522/df149016/fixedReproducersForJdk7.diff 


More information about the distro-pkg-dev mailing list