[icedtea-web][rfc] Reproducer for PR1112

Adam Domurad adomurad at redhat.com
Mon Aug 20 11:11:33 PDT 2012


Hi all. This reproduces the problem behind PR1112, icedtea-web fails to
load a main-class from a signed jar that points to another jar via
META-INF/INDEX.LIST. This only occurs for signed jars and only when the
main class is in the jar loaded by INDEX.LIST

ChangeLog:
2012-08-20  Adam Domurad  <adomurad at redhat.com>

	Tests whether a main class can be found in a jar specified in 
	META-INF/INDEX.LIST. This test is done with both signed and unsigned
	jars. The failure with signed jars encapsulates PR1112.
	*
tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/resources/AdditionalJarsInMetaInfIndexListSigned.jnlp:
	*
tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/resources/AdditionalJarsInMetaInfIndexListUnsigned.jnlp:
	JNLP files for the signed and unsigned varions of the test
	*
tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/srcs/LoadedViaMetaInfIndexList.java:
	Main class that is within a jar loaded via 
	*
tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/srcs/Makefile:
	Prepares a jar with INDEX.LIST pointing to another jar that has the 
	main-class. Copies of these jars and made and signed.
 	*
tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/testcases/AdditionalJarsInMetaInfIndexListTests.java:
	Test driver, tests if main-class has run.

Cheers,
Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jars-from-index-list.patch
Type: text/x-patch
Size: 14038 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120820/476a9910/jars-from-index-list.patch 


More information about the distro-pkg-dev mailing list