[rfc][icedtea-web] reprducers for main class specified in manifest instead in application descriptor
Jiri Vanek
jvanek at redhat.com
Mon Mar 5 11:29:02 PST 2012
2012-03-05 Jiri Vanek <jvanek at redhat.com>
Added test for main-class in manifest for jnlp
* Makefile.am: (prepare-reproducers.stamp) fixed manifest handling. Till
now was manifest copied as any other non java file, and so was rewritten
by jar tool
* tests/jnlp_tests/simple/ManifestedJar2/srcs: secondary jar file which
should have manifest and so should help ManifestedJar1 with testing
* tests/jnlp_tests/simple/ManifestedJar2/resources/META-INF/MANIFEST.MF:
manifest for ManifestedJar2.jar
* tests/jnlp_tests/simple/ManifestedJar1/srcs: main testing jar
* tests/jnlp_tests/simple/ManifestedJar2/resources/META-INF/MANIFEST.MF:
manifest for ManifestedJar1.jar
* tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
testing class for this reproducers
* tests/jnlp_tests/simple/ManifestedJar1/resources/: six reproducers jnlps
Currently I'm testing:
* if two jars with manifest specified, none is main and no main class, then first one is loaded
* if one jar with manifest, is not main, and no main class then is lunched
* if one jar with manifest, but not marked as main and no main class then is lunched
* if one jar with manifest, marked as main and no main class then is lunched
* Two jars, both with manifest, First is main, but specified mainclass belongs to second one, then second one should be lunched
* Two jars, both with manifest, seconds is main, no mainclass, then the one marked as main is lunched
Any idea for more (meaningfull :) ) combinations? (even as another patch...)
Best regards, J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MainClassInManifestTest.diff
Type: text/x-patch
Size: 17070 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120305/c0e83c0e/MainClassInManifestTest.diff
More information about the distro-pkg-dev
mailing list