[rfc][icedtea-web] Reproducer for PR920
Adam Domurad
adomurad at redhat.com
Fri Jul 6 11:19:44 PDT 2012
This reproducer encapsulates the problem behind PR920.
A LinkageError occurs, complaining of duplicate class definition, when
an extended class outside of a jar references a common class with its
parent class. The common class attempts to load twice.
2012-07-06 Adam Domurad <adomurad at redhat.com>
Reproduces problem behind PR920, class is in a jar is loaded twice when
used by both a class within the jar, and also used by a class outside
the jar extending that class.
* tests/reproducers/custom/AppletExtendsFromOutsideJar/README:
Describes test
*
tests/reproducers/custom/AppletExtendsFromOutsideJar/resources/AppletExtendsFromOutsideJar.html:
Runs applet with main class outside jar
* A
tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/AppletReferenceInSameJar.java:
References class Referenced inside same jar
*
tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/AppletReferenceOutOfJar.java:
References class Referenced outside the jar
* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/Makefile:
Packages Reference, AppletReferenceInSameJar into a jar,
AppletReferenceOutOfJar outside it
*
tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/Referenced.java:
Class that is referenced twice, loaded twice in failing behaviour
*
tests/reproducers/custom/AppletExtendsFromOutsideJar/testcases/AppletExtendsFromOutsideJarTests.java:
Drives AppletExtendsFromOutsideJar.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducer-extendsoutside.patch
Type: text/x-patch
Size: 8342 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120706/ca6906b2/reproducer-extendsoutside.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog
Type: text/x-changelog
Size: 1180 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120706/ca6906b2/ChangeLog.bin
More information about the distro-pkg-dev
mailing list