From bugzilla-daemon at icedtea.classpath.org Tue Nov 1 01:43:19 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 01 Nov 2011 08:43:19 +0000 Subject: [Bug 774] How to build from scrach icedtea 1.10.3/openjdk 1.6.0_b22 on Slack In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=774 --- Comment #17 from Robert Gabriel 2011-11-01 08:43:19 UTC --- This has been done, gcc-java has been build the same way: ls -la /usr/lib/jvm/java-4.5.3-gcj/ total 24 drwxr-xr-x 6 root root 4096 Oct 27 14:51 ./ drwxr-xr-x 4 root root 4096 Oct 27 14:51 ../ drwxr-xr-x 2 root root 4096 Oct 27 14:51 bin/ drwxr-xr-x 3 root root 4096 Oct 27 14:51 include/ drwxr-xr-x 4 root root 4096 Oct 27 14:51 jre/ drwxr-xr-x 2 root root 4096 Oct 27 14:51 lib/ --with-java-home=/usr/lib${LIBDIRSUFFIX}/jvm/java-${VERSION}-gcj/jre \ --enable-java-home \ --with-jvm-root-dir=/usr/lib${LIBDIRSUFFIX}/jvm/java-${VERSION}-gcj \ --with-jvm-jar-dir=/usr/lib${LIBDIRSUFFIX}/jvm/jvm-exports \ Now, I've build and install jamvm, but not sure how to use it, does anyone? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From aph at redhat.com Tue Nov 1 06:48:04 2011 From: aph at redhat.com (Andrew Haley) Date: Tue, 01 Nov 2011 13:48:04 +0000 Subject: Fix another test failure In-Reply-To: <4EAEC63D.9030104@redhat.com> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> Message-ID: <4EAFF894.8000902@redhat.com> And another. Andrew. 2011-11-01 Andrew Haley * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Accessor): Return 0, #deoptimized_frames. diff -r c2cf91b8ce35 -r 002673402c72 ChangeLog --- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Mon Oct 31 12:16:19 2011 -0400 +++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Tue Nov 01 13:40:39 2011 +0000 @@ -4551,6 +4551,8 @@ else ldr_imm(jinfo->codebuf, ARM_R0, ARM_R0, field_offset, 1, 0); str_imm(jinfo->codebuf, ARM_R0, ARM_R1, 0, 1, 0); + // deoptimized_frames = 0 + mov_imm(jinfo->codebuf, ARM_R0, 0); mov_reg(jinfo->codebuf, ARM_PC, ARM_LR); return 1; From aph at redhat.com Tue Nov 1 07:41:47 2011 From: aph at redhat.com (Andrew Haley) Date: Tue, 01 Nov 2011 14:41:47 +0000 Subject: "make dist" rebuilds everything Message-ID: <4EB0052B.9080602@redhat.com> "make dist" in icedtea6 HEAD rebuilds everything because it has "jtreg" as a dependency. The problem is that "jtreg" is both the name of a directory and a make target. One of them should perhaps be renamed. OK to apply? Andrew. 2011-11-01 Andrew Haley * Makefile.am (JTREG_SRCS): Add '/' to force JTREG_SRCS to be a dir. diff -r 0d4f47d2edbf Makefile.am --- a/Makefile.am Mon Oct 31 11:57:33 2011 -0400 +++ b/Makefile.am Tue Nov 01 14:38:12 2011 +0000 @@ -193,7 +193,7 @@ # Sources list REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java -JTREG_SRCS = $(top_srcdir)/jtreg +JTREG_SRCS = $(top_srcdir)/jtreg/ # Patch list From doko at ubuntu.com Tue Nov 1 08:42:12 2011 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 01 Nov 2011 11:42:12 -0400 Subject: "make dist" rebuilds everything In-Reply-To: <4EB0052B.9080602@redhat.com> References: <4EB0052B.9080602@redhat.com> Message-ID: <4EB01354.1020903@ubuntu.com> this looks like a fix for PR759; to reproduce this, let one patch fail to apply, and then look that the patch target isn't run twice. if that is the case, then it should be applied to all heads. Matthias On 11/01/2011 10:41 AM, Andrew Haley wrote: > "make dist" in icedtea6 HEAD rebuilds everything because it has "jtreg" > as a dependency. The problem is that "jtreg" is both the name of a > directory and a make target. One of them should perhaps be renamed. > > OK to apply? > > Andrew. > > > 2011-11-01 Andrew Haley > > * Makefile.am (JTREG_SRCS): Add '/' to force JTREG_SRCS to be a > dir. > > diff -r 0d4f47d2edbf Makefile.am > --- a/Makefile.am Mon Oct 31 11:57:33 2011 -0400 > +++ b/Makefile.am Tue Nov 01 14:38:12 2011 +0000 > @@ -193,7 +193,7 @@ > # Sources list > > REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java > -JTREG_SRCS = $(top_srcdir)/jtreg > +JTREG_SRCS = $(top_srcdir)/jtreg/ > > # Patch list > From aph at redhat.com Tue Nov 1 08:56:16 2011 From: aph at redhat.com (Andrew Haley) Date: Tue, 01 Nov 2011 15:56:16 +0000 Subject: "make dist" rebuilds everything In-Reply-To: <4EB01354.1020903@ubuntu.com> References: <4EB0052B.9080602@redhat.com> <4EB01354.1020903@ubuntu.com> Message-ID: <4EB016A0.2040603@redhat.com> Aren't you going to try it? I don't know what the connection with PR759 might be. Andrew. On 11/01/2011 03:42 PM, Matthias Klose top-posted: > this looks like a fix for PR759; to reproduce this, let one patch fail to apply, > and then look that the patch target isn't run twice. if that is the case, then > it should be applied to all heads. > > Matthias > > On 11/01/2011 10:41 AM, Andrew Haley wrote: >> "make dist" in icedtea6 HEAD rebuilds everything because it has "jtreg" >> as a dependency. The problem is that "jtreg" is both the name of a >> directory and a make target. One of them should perhaps be renamed. >> >> OK to apply? >> >> Andrew. >> >> >> 2011-11-01 Andrew Haley >> >> * Makefile.am (JTREG_SRCS): Add '/' to force JTREG_SRCS to be a >> dir. >> >> diff -r 0d4f47d2edbf Makefile.am >> --- a/Makefile.am Mon Oct 31 11:57:33 2011 -0400 >> +++ b/Makefile.am Tue Nov 01 14:38:12 2011 +0000 >> @@ -193,7 +193,7 @@ >> # Sources list >> >> REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java >> -JTREG_SRCS = $(top_srcdir)/jtreg >> +JTREG_SRCS = $(top_srcdir)/jtreg/ >> >> # Patch list >> > From jvanek at redhat.com Tue Nov 1 09:52:08 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Nov 2011 17:52:08 +0100 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces Message-ID: <4EB023B8.5080905@redhat.com> Hi! This is reproducer for recently fixed PR804 and for new PR811 (based on Behaviour of javaws when handling spaces). Currently all local-files requests test are passing (804) ( just one of them was passing before 804 patch) and all remote (811) requests are falling. Some minor changes were necessary to engine. The reproducer itself will not work without this chnages. Best Regards, J. changelogs: 2011-10-28 Jiri Vanek Added reproducer for PR804 and PR8011 * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp: new jnlp file with space in name and with jar in resources which name does not contain spaces * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp: new jnlp file with space in name and with jar in resources which name contains spaces * tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp: jnlp file without space in name but with jar in resources which name contains spaces * tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java: new file containig simple main method of "Spaces can be everywhere.jar" jar * tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java testcase for this reproducer. It is lunching each of this jnlp once locally from filesystem and once remotely from server. Please note that except it's own jar, this reproducer is also using simpletest1.jar 2011-10-28 Jiri Vanek Fixed reproducers engine to handle spaces in files and in urls * Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp) (stamps/netx-dist-tests-sign-some-reproducers.stamp) (stamps/netx-dist-tests-compile-testcases.stamp): added call to NEW_LINE_IFS to use line breake temporarily as parameter separator while loading files from list and correct quoting * NEW_LINE_IFS: new file, small separate script used in makefile as inline script which set and restore IFS variable. It is in separate file because it is reused and I do not know another way how to save a new line variable in makefile. *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java: (testResourcesExists) filename is encoded to correct URL before requested from server * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java: "-headless" string extracted to variable HEADLES_OPTION (executeProcess) and (ThreadedProcess) enhanced for variable dir to specify working directory. Backward compatibility kept (TinyHttpdImpl) now expects url on requests, so all requests are now decoded by java.net.URLDecoder -------------- next part -------------- A non-text attachment was scrubbed... Name: SpacesHandlingChangesToEngine.diff Type: text/x-patch Size: 9410 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111101/5fe00a2a/SpacesHandlingChangesToEngine.diff -------------- next part -------------- A non-text attachment was scrubbed... Name: SpacesReproducer.diff Type: text/x-patch Size: 18017 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111101/5fe00a2a/SpacesReproducer.diff From bugzilla-daemon at icedtea.classpath.org Tue Nov 1 11:43:31 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 01 Nov 2011 18:43:31 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #1 from knife 2011-11-01 18:43:31 UTC --- Created attachment 598 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=598 debug log from firefox with ICEDTEAPLUGIN_DEBUG=true -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 1 11:44:32 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 01 Nov 2011 18:44:32 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #2 from knife 2011-11-01 18:44:32 UTC --- Created attachment 599 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=599 stderr capture -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 1 11:45:54 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 01 Nov 2011 18:45:54 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 knife changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scnaifeh at hotmail.com --- Comment #3 from knife 2011-11-01 18:45:54 UTC --- I have the same problem. Logs attached. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 1 11:57:56 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 01 Nov 2011 18:57:56 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #4 from Deepak Bhole 2011-11-01 18:57:56 UTC --- Can you attach the jars for the applet as well please? Looking at the logs, the errors seems to be because jars are signed with different providers. I'd like to verify this. You can find the jars by running: find ~/.icedtea/cache | grep
| grep jar$ e.g. if the site is http://deposit.usaa.com/applet/deposit, you would run: find ~/.icedtea/cache | grep usaa.com | grep jar$ -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 1 12:29:21 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 01 Nov 2011 19:29:21 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #5 from knife 2011-11-01 19:29:21 UTC --- Created attachment 600 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=600 problem jar number 1 Two of the jars are too big to upload here, but I tried plugging the full path into firefox, and you can download them that way. The three jars at issue can be found at: https://www.usaa.com/inet/ent_ehdc/applet/ehdc.jar https://www.usaa.com/inet/ent_ehdc/applet/TwainDLL.jar https://www.usaa.com/inet/ent_ehdc/applet/HDVal.jar -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From omajid at redhat.com Tue Nov 1 13:29:17 2011 From: omajid at redhat.com (Omair Majid) Date: Tue, 01 Nov 2011 16:29:17 -0400 Subject: [visualvm] RFC: add support for building visualvm-1.3.3 Message-ID: <4EB0569D.8010608@redhat.com> Hi, The attached patch adds support for building visualvm-1.3.3. I have not done any serious tests, but it builds fine on my machine. I intend to replace UPSTREAM_133_URL with BASE_CLASSPATH_URL once all the tarballs are available from icedtea. The patch looks for ${SYSTEM_NETBEANS_DIR}/platform13 but falls back to ${SYSTEM_NETBEANS_DIR}/platform if platform13 is not found. platform13 is the name used by some distributions (such as debian) while others use platform (like fedora). Any thoughts or comments? ChangeLog: 2011-11-01 Omair Majid * NEWS: Update. * Makefile.am: Add NETBEANS_701_PROFILER_URL, NETBEANS_701_PROFILER_SRC_ZIP, NETBEANS_701_PROFILER_SHA256SUM, UPSTREAM_133_URL, VISUALVM_133_URL, VISUALVM_133_SRC_ZIP, VISUALVM_133_SHA256SUM. Initialize variable if VVVERSION_133 is set. * acinclude.m4 (VV_CHECK_FOR_NETBEANS): Check for platform13 or platform dir. Cheers, Omair -------------- next part -------------- A non-text attachment was scrubbed... Name: visualvm-1.3.3-support.patch Type: text/x-patch Size: 3548 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111101/6cfbb87f/visualvm-1.3.3-support.patch From jvanek at redhat.com Wed Nov 2 00:51:14 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Nov 2011 08:51:14 +0100 Subject: [visualvm] RFC: add support for building visualvm-1.3.3 In-Reply-To: <4EB0569D.8010608@redhat.com> References: <4EB0569D.8010608@redhat.com> Message-ID: <4EB0F672.7050000@redhat.com> On 11/01/2011 09:29 PM, Omair Majid wrote: > Hi, > > The attached patch adds support for building visualvm-1.3.3. I have not done any serious tests, but it builds fine on my machine. I intend to replace UPSTREAM_133_URL with BASE_CLASSPATH_URL once all the tarballs are available from icedtea. > > The patch looks for ${SYSTEM_NETBEANS_DIR}/platform13 but falls back to ${SYSTEM_NETBEANS_DIR}/platform if platform13 is not found. platform13 is the name used by some distributions (such as debian) while others use platform (like fedora). Hi! Looks Ok for me. I have uploaded sources for you to classpath, so you can get rid of upstream url. I think that when this is in, we can release harness 1.3 and build visualvm for f16. Tyvm J. > > Any thoughts or comments? > > ChangeLog: > 2011-11-01 Omair Majid > > * NEWS: Update. > * Makefile.am: Add NETBEANS_701_PROFILER_URL, > NETBEANS_701_PROFILER_SRC_ZIP, NETBEANS_701_PROFILER_SHA256SUM, > UPSTREAM_133_URL, VISUALVM_133_URL, VISUALVM_133_SRC_ZIP, > VISUALVM_133_SHA256SUM. Initialize variable if VVVERSION_133 is set. > * acinclude.m4 (VV_CHECK_FOR_NETBEANS): Check for platform13 or > platform dir. > > Cheers, > Omair > > > visualvm-1.3.3-support.patch > > > diff -r 5b9565081674 Makefile.am > --- a/Makefile.am Tue Mar 22 13:10:03 2011 +0100 > +++ b/Makefile.am Tue Nov 01 16:28:39 2011 -0400 > @@ -1,4 +1,5 @@ > BASE_CLASSPATH_URL=http://icedtea.classpath.org/download/visualvm/ > +UPSTREAM_133_URL =http://java.net/downloads/visualvm/release133/ > > NETBEANS_68_PROFILER_URL = $(BASE_CLASSPATH_URL) > NETBEANS_68_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release68.tar.gz > @@ -16,6 +17,10 @@ > NETBEANS_691_1_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release691_1.tar.gz > NETBEANS_691_1_PROFILER_SHA256SUM = ee083f4417435ba7f398f1c3e65433a8a983aa68ef90d27385688991fab1c493 > > +NETBEANS_701_PROFILER_URL = $(UPSTREAM_133_URL) > +NETBEANS_701_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release701.tar.gz > +NETBEANS_701_PROFILER_SHA256SUM = 0056c6b7da3fa9499b87319caa6b431b935b48f9579f7c94ec169777ecd2c238 > + > VISUALVM_122_URL = $(BASE_CLASSPATH_URL) > VISUALVM_122_SRC_ZIP = visualvm_122-src.tar.gz > VISUALVM_122_SHA256SUM = 1b1cd77354757d64ca902722bb9481e1292a88c4884ffea8af7bb47f8ae24af5 > @@ -32,6 +37,22 @@ > VISUALVM_132_SRC_ZIP = visualvm_132-src.tar.gz > VISUALVM_132_SHA256SUM = 1ad1b87a1d8ce7ce1bb1700c10942c4fd2afd47e3f024448c593abc0dff8e163 > > +VISUALVM_133_URL = $(UPSTREAM_133_URL) > +VISUALVM_133_SRC_ZIP = visualvm_133-src.tar.gz > +VISUALVM_133_SHA256SUM = 43f4d5c892d3654ada9d07f2a8dc1c1b98db671f558a5c7fa7e9db7e86b7ca81 > + > +if VVVERSION_133 > + NETBEANS_PROFILER_URL=$(NETBEANS_701_PROFILER_URL) > + NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_701_PROFILER_SRC_ZIP) > + NETBEANS_PROFILER_SHA256SUM=$(NETBEANS_701_PROFILER_SHA256SUM) > + VISUALVM_URL=$(VISUALVM_133_URL) > + VISUALVM_SRC_ZIP=$(VISUALVM_133_SRC_ZIP) > + VISUALVM_SHA256SUM=$(VISUALVM_133_SHA256SUM) > + NBPLATFORM_DIR=netbeans/nbbuild/netbeans_visualvm/platform > + NBBUILD_PROPERTIES=-Dpermit.jdk6.builds=true -Dpermit.jdk7.builds=true > + ADDITIONAL_DIRS=profiler.oql > + PROFILER=profile > +else > if VVVERSION_132 > NETBEANS_PROFILER_URL=$(NETBEANS_691_1_PROFILER_URL) > NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_691_1_PROFILER_SRC_ZIP) > @@ -77,6 +98,7 @@ > endif > endif > endif > +endif > > all: visualvm > > diff -r 5b9565081674 NEWS > --- a/NEWS Tue Mar 22 13:10:03 2011 +0100 > +++ b/NEWS Tue Nov 01 16:28:39 2011 -0400 > @@ -8,6 +8,9 @@ > > CVE-XXXX-YYYY:http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY > > +New in release 1.3 (2011-XX-XX): > +* Support for VisualVM 1.3.3 > + > New in release 1.2 (2011-03-09): > > * Support for VisualVM 1.3.2 > diff -r 5b9565081674 acinclude.m4 > --- a/acinclude.m4 Tue Mar 22 13:10:03 2011 +0100 > +++ b/acinclude.m4 Tue Nov 01 16:28:39 2011 -0400 > @@ -129,6 +129,7 @@ > AM_CONDITIONAL([VVVERSION_13], [test "$VVVERSION" = "1.3"]) > AM_CONDITIONAL([VVVERSION_131], [test "$VVVERSION" = "1.3.1"]) > AM_CONDITIONAL([VVVERSION_132], [test "$VVVERSION" = "1.3.2"]) > + AM_CONDITIONAL([VVVERSION_133], [test "$VVVERSION" = "1.3.3"]) > ]) > > AC_DEFUN_ONCE([VV_CHECK_FOR_NETBEANS], > @@ -151,7 +152,13 @@ > ]) > AC_MSG_RESULT([${SYSTEM_NETBEANS_DIR}]) > AC_SUBST(SYSTEM_NETBEANS_DIR) > -if test "$VVVERSION" = "1.3.2"; then > +if test "$VVVERSION" = "1.3.3"; then > + if test -d "${SYSTEM_NETBEANS_DIR}/platform13" ; then > + NB_PLATFORM=platform13; > + else > + NB_PLATFORM=platform > + fi > +else if test "$VVVERSION" = "1.3.2"; then > NB_PLATFORM=platform12; > else if test "$VVVERSION" = "1.3.1"; then > NB_PLATFORM=platform12; > @@ -162,6 +169,7 @@ > fi > fi > fi > +fi > if ! test -d ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM} ; then > AC_MSG_ERROR([Couldn't find NetBeans platform directory: ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM}]) > fi From bugzilla-daemon at icedtea.classpath.org Wed Nov 2 01:53:46 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Nov 2011 08:53:46 +0000 Subject: [Bug 732] Use xsltproc for bootstrap xslt in place of Xerces/Xalan In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=732 Nello Martuscielli changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppc.addon at gmail.com --- Comment #4 from Nello Martuscielli 2011-11-02 08:53:46 UTC --- hi, does it means i can safely remove xalan/xerces from my system and to have the only libxslt to build/use icedtea7 ? Thanks. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From ptisnovs at icedtea.classpath.org Wed Nov 2 01:55:24 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 02 Nov 2011 08:55:24 +0000 Subject: /hg/gfx-test: 2011-11-02 Pavel Tisnovsky Message-ID: changeset a05c6f5b49bf in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=a05c6f5b49bf author: Pavel Tisnovsky date: Wed Nov 02 09:57:29 2011 +0100 2011-11-02 Pavel Tisnovsky * Makefile: added new class to compile * src/org/gfxtest/testsuites/AlphaComposite.java: Created new class which will contains tests for alpha compositing graphics operation. * src/org/gfxtest/testsuites/TexturePaint.java: Added another tests for rendering shapes filled by a texture. diffstat: ChangeLog | 9 +++ Makefile | 2 + src/org/gfxtest/testsuites/AlphaComposite.java | 65 ++++++++++++++++++++++ src/org/gfxtest/testsuites/TexturePaint.java | 76 ++++++++++++++++++++++++++ 4 files changed, 152 insertions(+), 0 deletions(-) diffs (190 lines): diff -r 3d9ea42c564f -r a05c6f5b49bf ChangeLog --- a/ChangeLog Thu Oct 27 17:23:04 2011 +0200 +++ b/ChangeLog Wed Nov 02 09:57:29 2011 +0100 @@ -1,3 +1,12 @@ +2011-11-02 Pavel Tisnovsky + + * Makefile: added new class to compile + * src/org/gfxtest/testsuites/AlphaComposite.java: + Created new class which will contains tests for alpha + compositing graphics operation. + * src/org/gfxtest/testsuites/TexturePaint.java: + Added another tests for rendering shapes filled by a texture. + 2011-10-27 Pavel Tisnovsky * Makefile: added new class to compile diff -r 3d9ea42c564f -r a05c6f5b49bf Makefile --- a/Makefile Thu Oct 27 17:23:04 2011 +0200 +++ b/Makefile Wed Nov 02 09:57:29 2011 +0100 @@ -101,6 +101,7 @@ TESTSUITE_CLASSES = \ $(CLASSES)/$(TESTSUITE_DIR)/Areas.class \ $(CLASSES)/$(TESTSUITE_DIR)/AALines.class \ + $(CLASSES)/$(TESTSUITE_DIR)/AlphaComposite.class \ $(CLASSES)/$(TESTSUITE_DIR)/BlankImage.class \ $(CLASSES)/$(TESTSUITE_DIR)/ColorPaint.class \ $(CLASSES)/$(TESTSUITE_DIR)/NormalArcs.class \ @@ -149,6 +150,7 @@ COMPARE_RESULTS = \ $(RESULTS)/Areas \ $(RESULTS)/AALines \ + $(RESULTS)/AlphaComposite \ $(RESULTS)/BlankImage \ $(RESULTS)/ColorPaint \ $(RESULTS)/NormalArcs \ diff -r 3d9ea42c564f -r a05c6f5b49bf src/org/gfxtest/testsuites/AlphaComposite.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/gfxtest/testsuites/AlphaComposite.java Wed Nov 02 09:57:29 2011 +0100 @@ -0,0 +1,65 @@ +/* + Java gfx-test framework + + Copyright (C) 2010, 2011 Red Hat + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package org.gfxtest.testsuites; + + + +import org.gfxtest.framework.*; +import org.gfxtest.framework.annotations.*; + + + + at TestType(TestTypes.RENDER_TEST) + at Transformation(Transformations.NONE) + at Zoom(1) +public class AlphaComposite extends GfxTest +{ + /** + * Entry point to the test suite. + * + * @param args graphics test configuration + */ + public static void main(String[] args) + { + new AlphaComposite().runTestSuite(args); + } + +} diff -r 3d9ea42c564f -r a05c6f5b49bf src/org/gfxtest/testsuites/TexturePaint.java --- a/src/org/gfxtest/testsuites/TexturePaint.java Thu Oct 27 17:23:04 2011 +0200 +++ b/src/org/gfxtest/testsuites/TexturePaint.java Wed Nov 02 09:57:29 2011 +0100 @@ -586,6 +586,82 @@ } /** + * Test if arc drawn by graphics.drawOval() is rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcEmptyFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // draw the arc + CommonShapesRenderer.drawArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if rounded rectangle drawn by graphics.drawRoundRect() is rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testRoundedRectangleEmptyFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // draw the rounded rectangle + CommonShapesRenderer.drawRoundedRectangle(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if polygon drawn by graphics.drawRoundRect() is rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testPolygonEmptyFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // draw the polygon + CommonShapesRenderer.drawPolygon(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if closed path drawn by graphics.drawPath() is rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathEmptyFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // draw the closed path + CommonShapesRenderer.drawClosedPath(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** * Entry point to the test suite. * * @param args graphics test configuration From omajid at redhat.com Wed Nov 2 07:30:37 2011 From: omajid at redhat.com (Omair Majid) Date: Wed, 02 Nov 2011 10:30:37 -0400 Subject: [visualvm] RFC: add support for building visualvm-1.3.3 In-Reply-To: <4EB0F672.7050000@redhat.com> References: <4EB0569D.8010608@redhat.com> <4EB0F672.7050000@redhat.com> Message-ID: <4EB1540D.1060805@redhat.com> On 11/02/2011 03:51 AM, Jiri Vanek wrote: > On 11/01/2011 09:29 PM, Omair Majid wrote: >> Hi, >> >> The attached patch adds support for building visualvm-1.3.3. I have >> not done any serious tests, but it builds fine on my machine. I intend >> to replace UPSTREAM_133_URL with BASE_CLASSPATH_URL once all the >> tarballs are available from icedtea. >> >> The patch looks for ${SYSTEM_NETBEANS_DIR}/platform13 but falls back >> to ${SYSTEM_NETBEANS_DIR}/platform if platform13 is not found. >> platform13 is the name used by some distributions (such as debian) >> while others use platform (like fedora). > Hi! > > Looks Ok for me. I have uploaded sources for you to classpath, so you > can get rid of upstream url. Thanks. > I think that when this is in, we can release harness 1.3 and build > visualvm for f16. > I am fine with a release of 1.3. Adding this to Fedora 16 may be a problem. You see, visualvm did not have a release schedule and at the time F16 was declared alpha, we had to decided whether to update netbeans in F16 (and break visualvm until 1.3.3 was released) or stick with netbeans 6.9 and visulavm 1.3.2. We ended up going with the second option. So F16 has netbeans 6.9 and I dont think visualvm 1.3.3 will work with that. As an aside, this is one of the issues pointed out by Stanislav Ochotnicky during FOSDEM. A project does a minor version bump but requires a dependency with a new major version. This makes life hard for packagers :( Thanks, Omair From jvanek at redhat.com Wed Nov 2 07:54:17 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Nov 2011 15:54:17 +0100 Subject: [visualvm] RFC: add support for building visualvm-1.3.3 In-Reply-To: <4EB1540D.1060805@redhat.com> References: <4EB0569D.8010608@redhat.com> <4EB0F672.7050000@redhat.com> <4EB1540D.1060805@redhat.com> Message-ID: <4EB15999.4040406@redhat.com> On 11/02/2011 03:30 PM, Omair Majid wrote: > On 11/02/2011 03:51 AM, Jiri Vanek wrote: >> On 11/01/2011 09:29 PM, Omair Majid wrote: >>> Hi, >>> >>> The attached patch adds support for building visualvm-1.3.3. I have >>> not done any serious tests, but it builds fine on my machine. I intend >>> to replace UPSTREAM_133_URL with BASE_CLASSPATH_URL once all the >>> tarballs are available from icedtea. >>> >>> The patch looks for ${SYSTEM_NETBEANS_DIR}/platform13 but falls back >>> to ${SYSTEM_NETBEANS_DIR}/platform if platform13 is not found. >>> platform13 is the name used by some distributions (such as debian) >>> while others use platform (like fedora). >> Hi! >> >> Looks Ok for me. I have uploaded sources for you to classpath, so you >> can get rid of upstream url. > > Thanks. > >> I think that when this is in, we can release harness 1.3 and build >> visualvm for f16. >> > > I am fine with a release of 1.3. > > Adding this to Fedora 16 may be a problem. You see, visualvm did not have a release schedule and at the time F16 was declared alpha, we had to decided whether to update netbeans in F16 (and break visualvm until 1.3.3 was released) or stick with netbeans 6.9 and visulavm 1.3.2. We ended up going with the second option. So F16 has netbeans 6.9 and I dont think visualvm 1.3.3 will work with that. > > As an aside, this is one of the issues pointed out by Stanislav Ochotnicky during FOSDEM. A project does a minor version bump but requires a dependency with a new major version. This makes life hard for packagers :( > Yy, I did not forgot about this. I just (at first ) tough you have build it against 6.9 platform, and I was wondering that changes was so simple (because I remember how hacky was to build it). In case that this build was against platform 7.x then everything is ok and things will remain stalled, Even release of 1.3 should wait until platform will be updated (probably f17) J. > Thanks, > Omair From aph at icedtea.classpath.org Wed Nov 2 09:21:05 2011 From: aph at icedtea.classpath.org (aph at icedtea.classpath.org) Date: Wed, 02 Nov 2011 16:21:05 +0000 Subject: /hg/icedtea6: 5 new changesets Message-ID: changeset 10f799f0520c in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=10f799f0520c author: aph date: Fri Oct 28 09:43:24 2011 -0400 Add patches/arm-debug.patch. 2011-10-28 Andrew Haley * Makefile.am (ICEDTEA_PATCHES): Add patches/arm- debug.patch. changeset 2f08a6fa2940 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=2f08a6fa2940 author: aph date: Fri Oct 28 09:49:25 2011 -0400 merge changeset c2cf91b8ce35 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c2cf91b8ce35 author: aph date: Mon Oct 31 12:16:19 2011 -0400 merge changeset 002673402c72 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=002673402c72 author: aph date: Tue Nov 01 13:40:39 2011 +0000 Thumb2_Accessor Return 0, #deoptimized_frames. 2011-11-01 Andrew Haley * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Accessor): Return 0, #deoptimized_frames. changeset 6f61af32cc26 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=6f61af32cc26 author: aph date: Wed Nov 02 16:20:25 2011 +0000 Sign extend byte loads in accessors. 2011-11-02 Andrew Haley * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_codegen): Sign extend byte loads in accessors. diffstat: ChangeLog | 33 +++++++++++++++++++ Makefile.am | 3 +- arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp | 4 ++ arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S | 10 +++++- arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp | 10 ++++- patches/arm.patch | 10 ++-- 6 files changed, 61 insertions(+), 9 deletions(-) diffs (193 lines): diff -r 628e5ee78eca -r 6f61af32cc26 ChangeLog --- a/ChangeLog Thu Oct 27 13:54:50 2011 +0100 +++ b/ChangeLog Wed Nov 02 16:20:25 2011 +0000 @@ -1,3 +1,36 @@ +2011-11-02 Andrew Haley + + * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_codegen): + Sign extend byte loads in accessors. + +2011-11-01 Andrew Haley + + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Accessor): + Return 0, #deoptimized_frames. + +2011-10-31 Andrew Haley + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (accessor_sh): + Return 0, #deoptimized_frames. + (accessor{_h,_sb,_dw}): Likewise. + +2011-10-28 Andrew Haley + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (PUSHD0) + Use PUSH, not POP. + +2011-10-28 Andrew Haley + + * Makefile.am (ICEDTEA_PATCHES): Add patches/arm-debug.patch. + +2011-10-27 Andrew Haley + + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp (whole file): + Conditionalize on #ifdef __arm__. + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Likewise. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + * patches/arm.patch: Move %.S rule outside ARM conditional. + 2011-10-26 Andrew Haley * patches/arm.patch (CFLAGS): Enable the ARM assembler port. diff -r 628e5ee78eca -r 6f61af32cc26 Makefile.am --- a/Makefile.am Thu Oct 27 13:54:50 2011 +0100 +++ b/Makefile.am Wed Nov 02 16:20:25 2011 +0000 @@ -409,7 +409,8 @@ patches/openjdk/6826104-npe_on_app_and_toolkit_modal_dialog_click.patch \ patches/openjdk/5082756-ImageIO_plugins_metadata_boolean_attributes.patch \ patches/openjdk/6296893-BMP_Writer_handles_TopDown_prop_incorrectly.patch \ - patches/openjdk/7103224-glibc_name_collision.patch + patches/openjdk/7103224-glibc_name_collision.patch \ + patches/arm-debug.patch if WITH_RHINO ICEDTEA_PATCHES += \ diff -r 628e5ee78eca -r 6f61af32cc26 arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp Thu Oct 27 13:54:50 2011 +0100 +++ b/arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp Wed Nov 02 16:20:25 2011 +0000 @@ -16,6 +16,8 @@ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __arm__ + #define ARCH_THUMBEE (1<<16) #define ARCH_VFP (1<<17) #define ARCH_CLZ (1<<18) @@ -608,3 +610,5 @@ } #endif // STATIC_OFFSETS + +#endif // __arm__ diff -r 628e5ee78eca -r 6f61af32cc26 arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S --- a/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Thu Oct 27 13:54:50 2011 +0100 +++ b/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Wed Nov 02 16:20:25 2011 +0000 @@ -1,3 +1,5 @@ +#ifdef __arm__ + @ Copyright 2009, 2010 Edward Nevill @ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @ @@ -380,7 +382,7 @@ fsts s0, [stack, #4] fsts s1, [stack, #8] #else - POP r0, r1 + PUSH r0, r1 #endif .endm @@ -1775,14 +1777,17 @@ accessor_sh: ldrsh r0, [r3, r1] str r0, [ip, #0] + mov r0, #0 @ deoptimized_frames = 0 bx lr accessor_h: ldrh r0, [r3, r1] str r0, [ip, #0] + mov r0, #0 @ deoptimized_frames = 0 bx lr accessor_sb: ldrsb r0, [r3, r1] str r0, [ip, #0] + mov r0, #0 @ deoptimized_frames = 0 bx lr accessor_dw: add r0, r3, r1 @@ -1790,6 +1795,7 @@ sub ip, ip, #4 str ip, [r2, #THREAD_JAVA_SP] stmia ip, {r0, r1} + mov r0, #0 @ deoptimized_frames = 0 bx lr Opcode getfield @@ -6681,3 +6687,5 @@ .word 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 .word 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 #endif + +#endif // __arm__ diff -r 628e5ee78eca -r 6f61af32cc26 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Thu Oct 27 13:54:50 2011 +0100 +++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Wed Nov 02 16:20:25 2011 +0000 @@ -16,6 +16,8 @@ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __arm__ + #undef THUMB2EE #if !defined(DISABLE_THUMB2) && defined(HOTSPOT_ASM) && !defined(SHARK) #define THUMB2EE @@ -4549,6 +4551,8 @@ else ldr_imm(jinfo->codebuf, ARM_R0, ARM_R0, field_offset, 1, 0); str_imm(jinfo->codebuf, ARM_R0, ARM_R1, 0, 1, 0); + // deoptimized_frames = 0 + mov_imm(jinfo->codebuf, ARM_R0, 0); mov_reg(jinfo->codebuf, ARM_PC, ARM_LR); return 1; @@ -5844,7 +5848,7 @@ r = JSTACK_REG(jstack); PUSH(jstack, r); if (tos_type == btos) - ldrb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); + ldrsb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == ctos) ldrh_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == stos) @@ -5966,7 +5970,7 @@ r = JSTACK_REG(jstack); PUSH(jstack, r); if (tos_type == btos) - ldrb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); + ldrsb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == ctos) ldrh_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == stos) @@ -7535,3 +7539,5 @@ } #endif // THUMB2EE + +#endif // __arm__ diff -r 628e5ee78eca -r 6f61af32cc26 patches/arm.patch --- a/patches/arm.patch Thu Oct 27 13:54:50 2011 +0100 +++ b/patches/arm.patch Wed Nov 02 16:20:25 2011 +0000 @@ -13,11 +13,6 @@ + +CFLAGS += -DHOTSPOT_ASM + -+%.o: %.S -+ @echo Assembling $< -+ $(QUIETLY) $(REMOVE_TARGET) -+ $(COMPILE.CC) -o $@ $< $(COMPILE_DONE) -+ +cppInterpreter_arm.o: offsets_arm.s bytecodes_arm.s +thumb2.o: offsets_arm.s + @@ -40,6 +35,11 @@ + +endif + ++%.o: %.S ++ @echo Assembling $< ++ $(QUIETLY) $(REMOVE_TARGET) ++ $(COMPILE.CC) -o $@ $< $(COMPILE_DONE) ++ # The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT) # The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized From aph at redhat.com Wed Nov 2 09:24:24 2011 From: aph at redhat.com (Andrew Haley) Date: Wed, 02 Nov 2011 16:24:24 +0000 Subject: ARM: Sign extend byte loads in accessors Message-ID: <4EB16EB8.80707@redhat.com> I'm looking at jtreg failures. I think I'm getting to the point where I'm finding bugs in the ARM port that have always been present, rather than bugs introduced porting to HS20. I guess this port must never have cleanly passed jtreg. Andrew. 2011-11-02 Andrew Haley * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_codegen): Sign extend byte loads in accessors. diff -r 002673402c72 -r 6f61af32cc26 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Tue Nov 01 13:40:39 2011 +0000 +++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Wed Nov 02 16:20:25 2011 +0000 @@ -5848,7 +5848,7 @@ r = JSTACK_REG(jstack); PUSH(jstack, r); if (tos_type == btos) - ldrb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); + ldrsb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == ctos) ldrh_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == stos) @@ -5970,7 +5970,7 @@ r = JSTACK_REG(jstack); PUSH(jstack, r); if (tos_type == btos) - ldrb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); + ldrsb_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == ctos) ldrh_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); else if (tos_type == stos) From aph at redhat.com Thu Nov 3 03:02:18 2011 From: aph at redhat.com (Andrew Haley) Date: Thu, 03 Nov 2011 10:02:18 +0000 Subject: PING: "make dist" rebuilds everything In-Reply-To: <4EB0052B.9080602@redhat.com> References: <4EB0052B.9080602@redhat.com> Message-ID: <4EB266AA.2030502@redhat.com> On 11/01/2011 02:41 PM, Andrew Haley wrote: > "make dist" in icedtea6 HEAD rebuilds everything because it has "jtreg" > as a dependency. The problem is that "jtreg" is both the name of a > directory and a make target. One of them should perhaps be renamed. > > OK to apply? > > Andrew. > > > 2011-11-01 Andrew Haley > > * Makefile.am (JTREG_SRCS): Add '/' to force JTREG_SRCS to be a > dir. > > diff -r 0d4f47d2edbf Makefile.am > --- a/Makefile.am Mon Oct 31 11:57:33 2011 -0400 > +++ b/Makefile.am Tue Nov 01 14:38:12 2011 +0000 > @@ -193,7 +193,7 @@ > # Sources list > > REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java > -JTREG_SRCS = $(top_srcdir)/jtreg > +JTREG_SRCS = $(top_srcdir)/jtreg/ > > # Patch list > From xranby at icedtea.classpath.org Thu Nov 3 05:52:09 2011 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Thu, 03 Nov 2011 12:52:09 +0000 Subject: /hg/icedtea6: cppInterpreter_arm.S: Designate function labels as... Message-ID: changeset f7f8d71c851c in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=f7f8d71c851c author: Xerxes Ranby date: Thu Nov 03 14:12:53 2011 +0100 cppInterpreter_arm.S: Designate function labels as such; required for thumb interworking. 2011-11-03 Xerxes Ranby * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (cmpxchg_ptr): Designate function label as such; required for thumb interworking. (asm_generate_method_entry, asm_check_null_ptr, Thumb2_Install Thumb2_stubs, Thumb2_idiv_stub, Thumb2_irem_stub, Thumb2_invokeinterface_stub, Thumb2_invokevirtual_stub, Thumb2_invokestatic_stub, Thumb2_invokespecial_stub, Thumb2_getfield_word_stub, Thumb2_getfield_sh_stub, Thumb2_getfield_h_stub, Thumb2_getfield_sb_stub, Thumb2_getfield_dw_stub, Thumb2_putfield_word_stub, Thumb2_putfield_h_stub, Thumb2_putfield_b_stub, Thumb2_putfield_a_stub, Thumb2_putfield_dw_stub, Thumb2_getstatic_word_stub, Thumb2_getstatic_h_stub, Thumb2_getstatic_sh_stub, Thumb2_getstatic_sb_stub, Thumb2_getstatic_dw_stub, Thumb2_putstatic_word_stub, Thumb2_putstatic_h_stub, Thumb2_putstatic_b_stub, Thumb2_putstatic_dw_stub, Thumb2_putstatic_a_stub, Thumb2_stubs_end, Thumb2_DivZero_Handler, Thumb2_Handle_Exception, Thumb2_Handle_Exception_NoRegs, Thumb2_ArrayBounds_Handler, Thumb2_NullPtr_Handler, Thumb2_Stack_Overflow, Thumb2_Exit_To_Interpreter, Thumb2_Clear_Cache): Likewise. diffstat: ChangeLog | 25 ++++++++++ arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S | 44 ++++++++++++++++++- 2 files changed, 67 insertions(+), 2 deletions(-) diffs (328 lines): diff -r 6f61af32cc26 -r f7f8d71c851c ChangeLog --- a/ChangeLog Wed Nov 02 16:20:25 2011 +0000 +++ b/ChangeLog Thu Nov 03 14:12:53 2011 +0100 @@ -1,3 +1,28 @@ +2011-11-03 Xerxes R??nby + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (cmpxchg_ptr): Designate function label as such; required for + thumb interworking. + (asm_generate_method_entry, asm_check_null_ptr, Thumb2_Install + Thumb2_stubs, Thumb2_idiv_stub, Thumb2_irem_stub, + Thumb2_invokeinterface_stub, Thumb2_invokevirtual_stub, + Thumb2_invokestatic_stub, Thumb2_invokespecial_stub, + Thumb2_getfield_word_stub, Thumb2_getfield_sh_stub, + Thumb2_getfield_h_stub, Thumb2_getfield_sb_stub, + Thumb2_getfield_dw_stub, Thumb2_putfield_word_stub, + Thumb2_putfield_h_stub, Thumb2_putfield_b_stub, + Thumb2_putfield_a_stub, Thumb2_putfield_dw_stub, + Thumb2_getstatic_word_stub, Thumb2_getstatic_h_stub, + Thumb2_getstatic_sh_stub, Thumb2_getstatic_sb_stub, + Thumb2_getstatic_dw_stub, Thumb2_putstatic_word_stub, + Thumb2_putstatic_h_stub, Thumb2_putstatic_b_stub, + Thumb2_putstatic_dw_stub, Thumb2_putstatic_a_stub, + Thumb2_stubs_end, Thumb2_DivZero_Handler, + Thumb2_Handle_Exception, Thumb2_Handle_Exception_NoRegs, + Thumb2_ArrayBounds_Handler, Thumb2_NullPtr_Handler, + Thumb2_Stack_Overflow, Thumb2_Exit_To_Interpreter, + Thumb2_Clear_Cache): Likewise. + 2011-11-02 Andrew Haley * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_codegen): diff -r 6f61af32cc26 -r f7f8d71c851c arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S --- a/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Wed Nov 02 16:20:25 2011 +0000 +++ b/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Thu Nov 03 14:12:53 2011 +0100 @@ -595,6 +595,7 @@ .text .global cmpxchg_ptr + .type cmpxchg_ptr, %function cmpxchg_ptr: stmfd sp!, {r4, r5, r6, r7, r8, lr} mov r6, #0xffffffc0 @@ -701,6 +702,7 @@ ALIGN_CODE .global asm_generate_method_entry + .type asm_generate_method_entry, %function asm_generate_method_entry: mov r3, r0 mov r0, #0 @@ -783,6 +785,7 @@ @ ---- START execute.s --------------------------------------------------------------------- .global asm_check_null_ptr + .type asm_check_null_ptr, %function asm_check_null_ptr: #ifdef HW_NULL_PTR_CHECK @@ -3222,6 +3225,7 @@ #endif // USE_COMPILER .global Thumb2_Install + .type Thumb2_Install, %function Thumb2_Install: @ ldr r0, [r0] str r1, [r0, #METHOD_FROM_INTERPRETED] @@ -4856,8 +4860,10 @@ ALIGN_CODE .global Thumb2_stubs + .type Thumb2_stubs, %function Thumb2_stubs: .global Thumb2_idiv_stub + .type Thumb2_idiv_stub, %function Thumb2_idiv_stub: int_div: cmp r1, #0x21 @@ -5032,6 +5038,7 @@ .word jdiv_32 ALIGN_CODE .global Thumb2_irem_stub + .type Thumb2_irem_stub, %function Thumb2_irem_stub: int_rem: cmp r1, #0x21 @@ -5172,6 +5179,7 @@ @ R1 = index #define Rthread r9 .global Thumb2_invokeinterface_stub + .type Thumb2_invokeinterface_stub, %function Thumb2_invokeinterface_stub: stmdb sp!, {ip, lr} ldr ip, [istate, #ISTATE_METHOD] @@ -5315,6 +5323,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_invokevirtual_stub + .type Thumb2_invokevirtual_stub, %function Thumb2_invokevirtual_stub: stmdb sp!, {ip, lr} ldr ip, [istate, #ISTATE_METHOD] @@ -5399,6 +5408,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_invokestatic_stub + .type Thumb2_invokestatic_stub, %function Thumb2_invokestatic_stub: stmdb sp!, {ip, lr} ldr ip, [istate, #ISTATE_METHOD] @@ -5469,6 +5479,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_invokespecial_stub + .type Thumb2_invokespecial_stub, %function Thumb2_invokespecial_stub: stmdb sp!, {ip, lr} ldr ip, [istate, #ISTATE_METHOD] @@ -5542,6 +5553,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_getfield_word_stub + .type Thumb2_getfield_word_stub, %function Thumb2_getfield_word_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5567,6 +5579,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_getfield_sh_stub + .type Thumb2_getfield_sh_stub, %function Thumb2_getfield_sh_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5592,6 +5605,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_getfield_h_stub + .type Thumb2_getfield_h_stub, %function Thumb2_getfield_h_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5617,6 +5631,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_getfield_sb_stub + .type Thumb2_getfield_sb_stub, %function Thumb2_getfield_sb_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5642,6 +5657,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_getfield_dw_stub + .type Thumb2_getfield_dw_stub, %function Thumb2_getfield_dw_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5712,6 +5728,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_putfield_word_stub + .type Thumb2_putfield_word_stub, %function Thumb2_putfield_word_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5734,6 +5751,7 @@ b 2b .global Thumb2_putfield_h_stub + .type Thumb2_putfield_h_stub, %function Thumb2_putfield_h_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5756,6 +5774,7 @@ b 2b .global Thumb2_putfield_b_stub + .type Thumb2_putfield_b_stub, %function Thumb2_putfield_b_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5778,6 +5797,7 @@ b 2b .global Thumb2_putfield_a_stub + .type Thumb2_putfield_a_stub, %function Thumb2_putfield_a_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5802,6 +5822,7 @@ b 2b .global Thumb2_putfield_dw_stub + .type Thumb2_putfield_dw_stub, %function Thumb2_putfield_dw_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5826,6 +5847,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_getstatic_word_stub + .type Thumb2_getstatic_word_stub, %function Thumb2_getstatic_word_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5847,6 +5869,7 @@ b 2b .global Thumb2_getstatic_h_stub + .type Thumb2_getstatic_h_stub, %function Thumb2_getstatic_h_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5868,6 +5891,7 @@ b 2b .global Thumb2_getstatic_sh_stub + .type Thumb2_getstatic_sh_stub, %function Thumb2_getstatic_sh_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5889,6 +5913,7 @@ b 2b .global Thumb2_getstatic_sb_stub + .type Thumb2_getstatic_sb_stub, %function Thumb2_getstatic_sb_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5910,6 +5935,7 @@ b 2b .global Thumb2_getstatic_dw_stub + .type Thumb2_getstatic_dw_stub, %function Thumb2_getstatic_dw_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5933,6 +5959,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_putstatic_word_stub + .type Thumb2_putstatic_word_stub, %function Thumb2_putstatic_word_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5956,6 +5983,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_putstatic_h_stub + .type Thumb2_putstatic_h_stub, %function Thumb2_putstatic_h_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -5979,6 +6007,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_putstatic_b_stub + .type Thumb2_putstatic_b_stub, %function Thumb2_putstatic_b_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -6002,6 +6031,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_putstatic_dw_stub + .type Thumb2_putstatic_dw_stub, %function Thumb2_putstatic_dw_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -6025,6 +6055,7 @@ @ R0 = BCI @ R1 = index .global Thumb2_putstatic_a_stub + .type Thumb2_putstatic_a_stub, %function Thumb2_putstatic_a_stub: ldr r2, [istate, #ISTATE_CONSTANTS] add r2, r2, r1, lsl #4 @@ -6050,6 +6081,7 @@ #endif // THUMB2EE .global Thumb2_stubs_end + .type Thumb2_stubs_end, %function Thumb2_stubs_end: ALIGN_CODE @@ -6510,6 +6542,7 @@ #define TBIT 1 .global Thumb2_DivZero_Handler + .type Thumb2_DivZero_Handler, %function Thumb2_DivZero_Handler: #ifdef THUMB2EE @@ -6546,10 +6579,15 @@ #ifdef THUMB2EE .global Thumb2_Handle_Exception + .type Thumb2_Handle_Exception, %function .global Thumb2_Handle_Exception_NoRegs - .global Thumb2_ArrayBounds_Handler - .global Thumb2_NullPtr_Handler + .type Thumb2_Handle_Exception_NoRegs, %function + .global Thumb2_ArrayBounds_Handler + .type Thumb2_ArrayBounds_Handler, %function + .global Thumb2_NullPtr_Handler + .type Thumb2_NullPtr_Handler, %function .global Thumb2_Stack_Overflow + .type Thumb2_Stack_Overflow, %function Thumb2_ArrayBounds_Handler: stmdb sp!, {JAZ_REGSET} bic r0, lr, #TBIT @@ -6622,6 +6660,7 @@ ldmfd arm_sp!, {fast_regset, pc} .global Thumb2_Exit_To_Interpreter + .type Thumb2_Exit_To_Interpreter, %function Thumb2_Exit_To_Interpreter: bl load_dispatch sub stack, stack, #4 @@ -6630,6 +6669,7 @@ DISPATCH 0 .global Thumb2_Clear_Cache + .type Thumb2_Clear_Cache, %function Thumb2_Clear_Cache: stmdb sp!, {r7} mov r2, #0 From ptisnovs at icedtea.classpath.org Thu Nov 3 06:20:29 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 03 Nov 2011 13:20:29 +0000 Subject: /hg/gfx-test: 2011-11-03 Pavel Tisnovsky Message-ID: changeset f07124ad3c53 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=f07124ad3c53 author: Pavel Tisnovsky date: Thu Nov 03 14:22:31 2011 +0100 2011-11-03 Pavel Tisnovsky * src/org/gfxtest/framework/CommonShapesRenderer.java: Fixed method for rendering rounded rectangle. * src/org/gfxtest/testsuites/ColorPaint.java: Added 20 tests for rendering rounded rectangle using various color paint methods. diffstat: ChangeLog | 8 + src/org/gfxtest/framework/CommonShapesRenderer.java | 2 +- src/org/gfxtest/testsuites/ColorPaint.java | 379 ++++++++++++++++++- 3 files changed, 365 insertions(+), 24 deletions(-) diffs (444 lines): diff -r a05c6f5b49bf -r f07124ad3c53 ChangeLog --- a/ChangeLog Wed Nov 02 09:57:29 2011 +0100 +++ b/ChangeLog Thu Nov 03 14:22:31 2011 +0100 @@ -1,3 +1,11 @@ +2011-11-03 Pavel Tisnovsky + + * src/org/gfxtest/framework/CommonShapesRenderer.java: + Fixed method for rendering rounded rectangle. + * src/org/gfxtest/testsuites/ColorPaint.java: + Added 20 tests for rendering rounded rectangle using + various color paint methods. + 2011-11-02 Pavel Tisnovsky * Makefile: added new class to compile diff -r a05c6f5b49bf -r f07124ad3c53 src/org/gfxtest/framework/CommonShapesRenderer.java --- a/src/org/gfxtest/framework/CommonShapesRenderer.java Wed Nov 02 09:57:29 2011 +0100 +++ b/src/org/gfxtest/framework/CommonShapesRenderer.java Thu Nov 03 14:22:31 2011 +0100 @@ -269,7 +269,7 @@ int size = calculateRadius(image); // draw the filled round round rectangle - graphics.fillRoundRect(xc - size, yc - size, size << 1, size << 1, ROUND_RECT_RADIUS, ROUND_RECT_RADIUS); + graphics.drawRoundRect(xc - size, yc - size, size << 1, size << 1, ROUND_RECT_RADIUS, ROUND_RECT_RADIUS); // draw crosses at interesting points of image drawCrossesForBasicShapes(graphics, xc, yc, size); diff -r a05c6f5b49bf -r f07124ad3c53 src/org/gfxtest/testsuites/ColorPaint.java --- a/src/org/gfxtest/testsuites/ColorPaint.java Wed Nov 02 09:57:29 2011 +0100 +++ b/src/org/gfxtest/testsuites/ColorPaint.java Thu Nov 03 14:22:31 2011 +0100 @@ -49,7 +49,8 @@ import org.gfxtest.framework.annotations.*; /** - * This test renders filled shapes using simple ColorPaint. + * This test renders filled shapes using simple ColorPaint. Tested all following shapes: + * Circle, Arc, Rectangle, RoundedRectangle, Polygon and Path * * @author Pavel Tisnovsky */ @@ -1306,7 +1307,7 @@ // set stroke color CommonRenderingStyles.setStrokeColor(graphics); // draw the rectangle - CommonShapesRenderer.drawRectangle(image, graphics); + CommonShapesRenderer.drawRoundedRectangle(image, graphics); // test return value return TestResult.PASSED; } @@ -1652,26 +1653,6 @@ } /** - * Test if filled rounded rectangle drawn by graphics.fillRoundRect() is - * rendered correctly. - * - * @param image - * image to which two dimensional shape is to be rendered - * @param graphics - * graphics context for image - * @return test result status - PASSED, FAILED or ERROR - */ - public TestResult testRoundedRectangleColorFill(TestImage image, Graphics2D graphics) - { - // set fill color - CommonRenderingStyles.setFillColor(graphics); - // draw the rounded rectangle - CommonShapesRenderer.drawFilledRoundedRectangle(image, graphics); - // test return value - return TestResult.PASSED; - } - - /** * Test if polygon drawn by graphics.drawOval() is rendered correctly. * * @param image @@ -2040,7 +2021,71 @@ * graphics context for image * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testClosedPathColorFill(TestImage image, Graphics2D graphics) + public TestResult testClosedPathBasicStrokeEmptyFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // draw the closed path + CommonShapesRenderer.drawClosedPath(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathThickStrokeEmptyFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // set 10 pixels wide stroke + CommonRenderingStyles.setStrokeThickWidth(graphics); + // draw the closed path + CommonShapesRenderer.drawClosedPath(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathExtraThickStrokeEmptyFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // set 30 pixels wide stroke + CommonRenderingStyles.setStrokeExtraThickWidth(graphics); + // draw the closed path + CommonShapesRenderer.drawClosedPath(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathBasicStrokeColorFill(TestImage image, Graphics2D graphics) { // set fill color CommonRenderingStyles.setFillColor(graphics); @@ -2051,6 +2096,294 @@ } /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathThickStrokeColorFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // set 10 pixels wide stroke + CommonRenderingStyles.setStrokeThickWidth(graphics); + // set fill color + CommonRenderingStyles.setFillColor(graphics); + // draw the filled closed path + CommonShapesRenderer.drawFilledClosedPath(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathExtraThickStrokeColorFill(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // set 30 pixels wide stroke + CommonRenderingStyles.setStrokeExtraThickWidth(graphics); + // set fill color + CommonRenderingStyles.setFillColor(graphics); + // draw the filled closed path + CommonShapesRenderer.drawFilledClosedPath(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - red at 0% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentRed0FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.red, 0); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - red at 25% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentRed25FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.red, 25); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - red at 50% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentRed50FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.red, 50); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - red at 75% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentRed75FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.red, 75); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - red at 100% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentRed100FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.red, 100); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - green at 0% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentGreen0FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.green, 0); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - green at 25% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentGreen25FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.green, 25); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - green at 50% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentGreen50FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.green, 50); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - green at 75% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentGreen75FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.green, 75); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - green at 100% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentGreen100FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.green, 100); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - blue at 0% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentBlue0FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.blue, 0); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - blue at 25% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentBlue25FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.blue, 25); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - blue at 50% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentBlue50FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.blue, 50); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - blue at 75% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentBlue75FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.blue, 75); + } + + /** + * Test if closed path drawn by graphics.fill() is + * rendered correctly. More preciselly - test color paint using + * semi transparent color - blue at 100% of transparency. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClosedPathTransparentBlue100FillColor(TestImage image, Graphics2D graphics) + { + return renderTransparentClosedPath(image, graphics, Color.blue, 100); + } + + /** * Entry point to the test suite. * * @param args graphics test configuration From xerxes at zafena.se Thu Nov 3 06:24:14 2011 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Thu, 03 Nov 2011 14:24:14 +0100 Subject: ARM: cppInterpreter_arm.S: Designate function labels as such; required for thumb interworking. Message-ID: <4EB295FE.4070104@zafena.se> Thanks to aph and Ringding we have today tracked down one obscure bug that prevented the ARM assembler interpreter and Thumb2 JIT to work on some ARM systems. http://icedtea.classpath.org/hg/icedtea6/rev/f7f8d71c851c37ee9ff1ee1f13e7e899d3cf90c0 What was happening was that the gcc linker did not have enough information to figure out when to convert a bl function calls to blx for proper thumb inter-working. By adding the .type globalname, %function to all .global 's provided the linker with enough information to generate correct arm -> thumb and thumb -> arm function calls. Cheers Xerxes From xranby at icedtea.classpath.org Thu Nov 3 06:48:17 2011 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Thu, 03 Nov 2011 13:48:17 +0000 Subject: /hg/icedtea6: CACAO: Fix FindClass called from JNI_OnLoad and im... Message-ID: changeset 63882126a861 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=63882126a861 author: Xerxes Ranby date: Thu Nov 03 15:09:01 2011 +0100 CACAO: Fix FindClass called from JNI_OnLoad and implement jni_GetDirectBufferCapacity. 2011-11-03 Xerxes Ranby CACAO: - Fix FindClass called from JNI_OnLoad. - Implemented jni_GetDirectBufferCapacity. * Makefile.am: (CACAO_VERSION): Updated CACAO to 2011-11-02 revision. (CACAO_SHA256SUM): Updated. diffstat: ChangeLog | 9 +++++++++ Makefile.am | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diffs (30 lines): diff -r f7f8d71c851c -r 63882126a861 ChangeLog --- a/ChangeLog Thu Nov 03 14:12:53 2011 +0100 +++ b/ChangeLog Thu Nov 03 15:09:01 2011 +0100 @@ -1,3 +1,12 @@ +2011-11-03 Xerxes R??nby + + CACAO: + - Fix FindClass called from JNI_OnLoad. + - Implemented jni_GetDirectBufferCapacity. + * Makefile.am: + (CACAO_VERSION): Updated CACAO to 2011-11-02 revision. + (CACAO_SHA256SUM): Updated. + 2011-11-03 Xerxes R??nby * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S diff -r f7f8d71c851c -r 63882126a861 Makefile.am --- a/Makefile.am Thu Nov 03 14:12:53 2011 +0100 +++ b/Makefile.am Thu Nov 03 15:09:01 2011 +0100 @@ -5,8 +5,8 @@ OPENJDK_VERSION = b23 OPENJDK_URL = http://download.java.net/openjdk/jdk6/promoted/$(OPENJDK_VERSION)/ -CACAO_VERSION = f910ea5348aa -CACAO_SHA256SUM = dcbd9ebb2e4180cdcb8d2f2019c09905a87f2dfa9fda9eee56836b25727c4d90 +CACAO_VERSION = 2204b08fcae9 +CACAO_SHA256SUM = bb6ce286fcdc7350ed9913acfe5177921f515e187e74e773f6e62adba005f0a3 CACAO_BASE_URL = http://icedtea.classpath.org/download/drops/cacao CACAO_URL = $(CACAO_BASE_URL)/$(CACAO_VERSION).tar.gz CACAO_SRC_ZIP = cacao-$(CACAO_VERSION).tar.gz From omajid at redhat.com Thu Nov 3 09:35:07 2011 From: omajid at redhat.com (Omair Majid) Date: Thu, 03 Nov 2011 12:35:07 -0400 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB023B8.5080905@redhat.com> References: <4EB023B8.5080905@redhat.com> Message-ID: <4EB2C2BB.6070202@redhat.com> On 11/01/2011 12:52 PM, Jiri Vanek wrote: > Hi! This is reproducer for recently fixed PR804 and for new PR811 (based > on Behaviour of javaws when handling spaces). > Currently all local-files requests test are passing (804) ( just one of > them was passing before 804 patch) and all remote (811) requests are > falling. > Some minor changes were necessary to engine. The reproducer itself will > not work without this chnages. > Perhaps we should extract scripts that prepare reproducers from the makefile so we wont need to source NEW_LINE_IFS. What do you think? But yeah, I think everything else looks fine. Cheers, Omair From jvanek at redhat.com Thu Nov 3 11:33:22 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 03 Nov 2011 19:33:22 +0100 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB2C2BB.6070202@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> Message-ID: <4EB2DE72.5070800@redhat.com> On 11/03/2011 05:35 PM, Omair Majid wrote: > On 11/01/2011 12:52 PM, Jiri Vanek wrote: >> Hi! This is reproducer for recently fixed PR804 and for new PR811 (based >> on Behaviour of javaws when handling spaces). >> Currently all local-files requests test are passing (804) ( just one of >> them was passing before 804 patch) and all remote (811) requests are >> falling. >> Some minor changes were necessary to engine. The reproducer itself will >> not work without this chnages. >> > > Perhaps we should extract scripts that prepare reproducers from the makefile so we wont need to source NEW_LINE_IFS. What do you think? On one side I'm not sure how better will be to source extracted scripts which prepare reproducers. On the other side, I'm not sure what to imagine under "extract them". I imagine separate bash script.... What do you yourselves mean? Thank you for look at this! J. > > But yeah, I think everything else looks fine. > > Cheers, > Omair From omajid at redhat.com Thu Nov 3 12:05:46 2011 From: omajid at redhat.com (Omair Majid) Date: Thu, 03 Nov 2011 15:05:46 -0400 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB2DE72.5070800@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> Message-ID: <4EB2E60A.2080901@redhat.com> On 11/03/2011 02:33 PM, Jiri Vanek wrote: > On 11/03/2011 05:35 PM, Omair Majid wrote: >> On 11/01/2011 12:52 PM, Jiri Vanek wrote: >>> Hi! This is reproducer for recently fixed PR804 and for new PR811 (based >>> on Behaviour of javaws when handling spaces). >>> Currently all local-files requests test are passing (804) ( just one of >>> them was passing before 804 patch) and all remote (811) requests are >>> falling. >>> Some minor changes were necessary to engine. The reproducer itself will >>> not work without this chnages. >>> >> >> Perhaps we should extract scripts that prepare reproducers from the >> makefile so we wont need to source NEW_LINE_IFS. What do you think? > > On one side I'm not sure how better will be to source extracted scripts > which prepare reproducers. On the other side, I'm not sure what to > imagine under "extract them". I imagine separate bash script.... What do > you yourselves mean? > Yes, I meant bash scripts. Sorry if this was not very clear. I am thinking of something (roughly) like this: ./jnlp-reproducers --compile ./jnlp-reproducers --test-all ./jnlp-reproducers --test simple 'Spaces can be everywhere.jnlp' Then again, I am not sure if it is really a good idea - especially the bit that moves compiling instructions away from the makefile. But I think it's an excellent opportunity to sneak in my idea about easily being able to run a single test from the command line ;) As for restoring IFS, you can do simple assignments in the makefile to restore IFS: IFS=$IFS_BACKUP Thanks, Omair From jvanek at redhat.com Thu Nov 3 13:16:27 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 03 Nov 2011 21:16:27 +0100 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB2E60A.2080901@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> <4EB2E60A.2080901@redhat.com> Message-ID: <4EB2F69B.5000400@redhat.com> On 11/03/2011 08:05 PM, Omair Majid wrote: > On 11/03/2011 02:33 PM, Jiri Vanek wrote: >> On 11/03/2011 05:35 PM, Omair Majid wrote: >>> On 11/01/2011 12:52 PM, Jiri Vanek wrote: >>>> Hi! This is reproducer for recently fixed PR804 and for new PR811 (based >>>> on Behaviour of javaws when handling spaces). >>>> Currently all local-files requests test are passing (804) ( just one of >>>> them was passing before 804 patch) and all remote (811) requests are >>>> falling. >>>> Some minor changes were necessary to engine. The reproducer itself will >>>> not work without this chnages. >>>> >>> >>> Perhaps we should extract scripts that prepare reproducers from the >>> makefile so we wont need to source NEW_LINE_IFS. What do you think? >> >> On one side I'm not sure how better will be to source extracted scripts >> which prepare reproducers. On the other side, I'm not sure what to >> imagine under "extract them". I imagine separate bash script.... What do >> you yourselves mean? >> > > Yes, I meant bash scripts. Sorry if this was not very clear. > > I am thinking of something (roughly) like this: > ./jnlp-reproducers --compile > ./jnlp-reproducers --test-all > ./jnlp-reproducers --test simple 'Spaces can be everywhere.jnlp' Then I imagined the same:) but I do not think it is good idea:( At the end number of exported makefile variables can be to large. > > Then again, I am not sure if it is really a good idea - especially the bit that moves compiling instructions away from the makefile. But I think it's an excellent opportunity to sneak in my idea about easily being able to run a single test from the command line ;) But to your second "sneaking" :o) question - what exactly do you want (me) to improve?. Currently, i can comfortably run/debug each reproducer from his testsuite inside IDE (one by one or all in one ). And I can also easily verify the behaviour by running prepared reproducer from some virtual server with just compiled javaws(or again debug inisde IDE). What else can you want!:) Because it is so easy to run single reproducer from IDE, then i believe that the only problem to run it from commandline is correct setting of classpath. > > As for restoring IFS, you can do simple assignments in the makefile to restore IFS: Actually, you can't. I do not know why, but inside mkefile, the IFS variable is different from shell (just space in my case, whether in shell contains space,\t and \n). If I'm changing it in "shell", then I prefer to restore it by the same way. The line you wrote, was my exactly first idea:) > IFS=$IFS_BACKUP > > Thanks, > Omair J. From omajid at redhat.com Thu Nov 3 13:26:09 2011 From: omajid at redhat.com (Omair Majid) Date: Thu, 03 Nov 2011 16:26:09 -0400 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB2F69B.5000400@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> <4EB2E60A.2080901@redhat.com> <4EB2F69B.5000400@redhat.com> Message-ID: <4EB2F8E1.5030902@redhat.com> On 11/03/2011 04:16 PM, Jiri Vanek wrote: > On 11/03/2011 08:05 PM, Omair Majid wrote: >> On 11/03/2011 02:33 PM, Jiri Vanek wrote: >>> On 11/03/2011 05:35 PM, Omair Majid wrote: >>>> On 11/01/2011 12:52 PM, Jiri Vanek wrote: >>>>> Hi! This is reproducer for recently fixed PR804 and for new PR811 >>>>> (based >>>>> on Behaviour of javaws when handling spaces). >>>>> Currently all local-files requests test are passing (804) ( just >>>>> one of >>>>> them was passing before 804 patch) and all remote (811) requests are >>>>> falling. >>>>> Some minor changes were necessary to engine. The reproducer itself >>>>> will >>>>> not work without this chnages. >>>>> >>>> >>>> Perhaps we should extract scripts that prepare reproducers from the >>>> makefile so we wont need to source NEW_LINE_IFS. What do you think? >>> >>> On one side I'm not sure how better will be to source extracted scripts >>> which prepare reproducers. On the other side, I'm not sure what to >>> imagine under "extract them". I imagine separate bash script.... What do >>> you yourselves mean? >>> >> >> Yes, I meant bash scripts. Sorry if this was not very clear. >> >> I am thinking of something (roughly) like this: >> ./jnlp-reproducers --compile >> ./jnlp-reproducers --test-all >> ./jnlp-reproducers --test simple 'Spaces can be everywhere.jnlp' > > Then I imagined the same:) but I do not think it is good idea:( At the > end number of exported makefile variables can be to large. > Oh, fair enough. >> >> Then again, I am not sure if it is really a good idea - especially the >> bit that moves compiling instructions away from the makefile. But I >> think it's an excellent opportunity to sneak in my idea about easily >> being able to run a single test from the command line ;) > But to your second "sneaking" :o) question - what exactly do you want > (me) to improve?. Currently, i can comfortably run/debug each reproducer > from his testsuite inside IDE (one by one or all in one ). And I can > also easily verify the behaviour by running prepared reproducer from > some virtual server with just compiled javaws(or again debug inisde > IDE). What else can you want!:) Oh, that's very cool! I was trying to debug a reproducer once and couldn't figure out how to do this. Would you mind explaining how you do this? > Because it is so easy to run single reproducer from IDE, then i believe > that the only problem to run it from commandline is correct setting of > classpath. >> >> As for restoring IFS, you can do simple assignments in the makefile to >> restore IFS: > > Actually, you can't. I do not know why, but inside mkefile, the IFS > variable is different from shell (just space in my case, whether in > shell contains space,\t and \n). If I'm changing it in "shell", then I > prefer to restore it by the same way. The line you wrote, was my exactly > first idea:) > Well if IFS has a different value when running under make, how is that a problem? As long as you set it back to the old IFS, I would expect things to work fine. >> IFS=$IFS_BACKUP >> Typo, should be "$$IFS_BACKUP" (two $ instead of one). Cheers, Omair From jvanek at redhat.com Thu Nov 3 13:44:29 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 03 Nov 2011 21:44:29 +0100 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB2F8E1.5030902@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> <4EB2E60A.2080901@redhat.com> <4EB2F69B.5000400@redhat.com> <4EB2F8E1.5030902@redhat.com> Message-ID: <4EB2FD2D.9010007@redhat.com> On 11/03/2011 09:26 PM, Omair Majid wrote: > On 11/03/2011 04:16 PM, Jiri Vanek wrote: >> On 11/03/2011 08:05 PM, Omair Majid wrote: >>> On 11/03/2011 02:33 PM, Jiri Vanek wrote: >>>> On 11/03/2011 05:35 PM, Omair Majid wrote: >>>>> On 11/01/2011 12:52 PM, Jiri Vanek wrote: >>>>>> Hi! This is reproducer for recently fixed PR804 and for new PR811 >>>>>> (based >>>>>> on Behaviour of javaws when handling spaces). >>>>>> Currently all local-files requests test are passing (804) ( just >>>>>> one of >>>>>> them was passing before 804 patch) and all remote (811) requests are >>>>>> falling. >>>>>> Some minor changes were necessary to engine. The reproducer itself >>>>>> will >>>>>> not work without this chnages. >>>>>> >>>>> >>>>> Perhaps we should extract scripts that prepare reproducers from the >>>>> makefile so we wont need to source NEW_LINE_IFS. What do you think? >>>> >>>> On one side I'm not sure how better will be to source extracted scripts >>>> which prepare reproducers. On the other side, I'm not sure what to >>>> imagine under "extract them". I imagine separate bash script.... What do >>>> you yourselves mean? >>>> >>> >>> Yes, I meant bash scripts. Sorry if this was not very clear. >>> >>> I am thinking of something (roughly) like this: >>> ./jnlp-reproducers --compile >>> ./jnlp-reproducers --test-all >>> ./jnlp-reproducers --test simple 'Spaces can be everywhere.jnlp' >> >> Then I imagined the same:) but I do not think it is good idea:( At the >> end number of exported makefile variables can be to large. >> > > Oh, fair enough. > >>> >>> Then again, I am not sure if it is really a good idea - especially the >>> bit that moves compiling instructions away from the makefile. But I >>> think it's an excellent opportunity to sneak in my idea about easily >>> being able to run a single test from the command line ;) >> But to your second "sneaking" :o) question - what exactly do you want >> (me) to improve?. Currently, i can comfortably run/debug each reproducer >> from his testsuite inside IDE (one by one or all in one ). And I can >> also easily verify the behaviour by running prepared reproducer from >> some virtual server with just compiled javaws(or again debug inisde >> IDE). What else can you want!:) > > Oh, that's very cool! I was trying to debug a reproducer once and couldn't figure out how to do this. Would you mind explaining how you do this? I will write this tomorrow or during weekend ok? (Will need my full attention, now I'm getting sleepy :) ) Just one more clarification. I can debug reproducer XOR debug netx. I was not successful to debug it together. Enough? > >> Because it is so easy to run single reproducer from IDE, then i believe >> that the only problem to run it from commandline is correct setting of >> classpath. >>> >>> As for restoring IFS, you can do simple assignments in the makefile to >>> restore IFS: >> >> Actually, you can't. I do not know why, but inside mkefile, the IFS >> variable is different from shell (just space in my case, whether in >> shell contains space,\t and \n). If I'm changing it in "shell", then I >> prefer to restore it by the same way. The line you wrote, was my exactly >> first idea:) >> > > Well if IFS has a different value when running under make, how is that a problem? As long as you set it back to the old IFS, I would expect things to work fine. Ok. Unless it cause some catastrophe I will do this as you suggested. > >>> IFS=$IFS_BACKUP >>> > > Typo, should be "$$IFS_BACKUP" (two $ instead of one). > > Cheers, > Omair J From xranby at icedtea.classpath.org Fri Nov 4 05:06:44 2011 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Fri, 04 Nov 2011 12:06:44 +0000 Subject: /hg/icedtea6: cppInterpreter_arm.S: Only define ARMv4 when optim... Message-ID: changeset 8b80aff6ceda in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8b80aff6ceda author: Xerxes Ranby date: Fri Nov 04 13:27:40 2011 +0100 cppInterpreter_arm.S: Only define ARMv4 when optimizing for armv4 and armv4t. 2011-11-04 Xerxes Ranby * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (ARMv4): Only define it when optimizing for armv4 and armv4t. This will make the asm interpreter slightly faster when optimized for armv5 and later. diffstat: ChangeLog | 7 +++++++ arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S | 2 ++ 2 files changed, 9 insertions(+), 0 deletions(-) diffs (27 lines): diff -r 63882126a861 -r 8b80aff6ceda ChangeLog --- a/ChangeLog Thu Nov 03 15:09:01 2011 +0100 +++ b/ChangeLog Fri Nov 04 13:27:40 2011 +0100 @@ -1,3 +1,10 @@ +2011-11-04 Xerxes R??nby + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (ARMv4): Only define it when optimizing for armv4 and armv4t. + This will make the asm interpreter slightly faster when optimized + for armv5 and later. + 2011-11-03 Xerxes R??nby CACAO: diff -r 63882126a861 -r 8b80aff6ceda arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S --- a/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Thu Nov 03 15:09:01 2011 +0100 +++ b/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Fri Nov 04 13:27:40 2011 +0100 @@ -24,7 +24,9 @@ #ifdef HOTSPOT_ASM +#if defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__) #define ARMv4 +#endif #if defined(SHARK) || defined(THUMB2EE) From xranby at icedtea.classpath.org Fri Nov 4 06:55:40 2011 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Fri, 04 Nov 2011 13:55:40 +0000 Subject: /hg/buildbot: Make the ARM builders terminate stale java test pr... Message-ID: changeset 315332789cb6 in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=315332789cb6 author: Xerxes Ranby date: Fri Nov 04 15:16:40 2011 +0100 Make the ARM builders terminate stale java test processes and unbreak squeeze icedtea7 builders. 2011-11-04 Xerxes Ranby f3an7, f3anc, f3anj, f3ans, f3a5, f3a5c, f3a5j, f3a5s: add killall step Make the ARM builders terminate stale java test processes. f3an7, f3a5, f4: add --disable-system-gio Unbreak squeeze icedtea7 builders. diffstat: icedtea/master.cfg | 52 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 49 insertions(+), 3 deletions(-) diffs (136 lines): diff -r 51a64788c03b -r 315332789cb6 icedtea/master.cfg --- a/icedtea/master.cfg Mon Sep 05 18:40:06 2011 +0200 +++ b/icedtea/master.cfg Fri Nov 04 15:16:40 2011 +0100 @@ -273,6 +273,7 @@ "--with-additional-vms=shark", "--with-parallel-jobs=4", "--with-llvm-config=llvm-config-2.7", + "--disable-system-gio", "--disable-system-lcms"], workdir="build")) f3s7.addStep(Compile(workdir="build")) @@ -417,6 +418,12 @@ f3an7.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3an7.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) + f3anc = factory.BuildFactory() f3anc.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -442,6 +449,12 @@ f3anc.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3anc.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) + f3anj = factory.BuildFactory() f3anj.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -467,6 +480,12 @@ f3anj.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3anj.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) + f3ans = factory.BuildFactory() f3ans.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -492,6 +511,11 @@ f3ans.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3ans.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) f3lz = factory.BuildFactory() f3lz.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -604,13 +628,11 @@ f3a5.addStep(ShellCommand(command=["rm", "-rf", "build"], workdir=".", description="clean build dir")) -f3a5.addStep(ShellCommand(command=["killall", "-s", "KILL", "java"], - workdir=".", - description="killall")) f3a5.addStep(Configure(command=["../src/configure", "--disable-bootstrap", "--with-parallel-jobs=1", "--disable-docs", + "--disable-system-gio", "--disable-system-lcms"], workdir="build")) f3a5.addStep(Compile(workdir="build")) @@ -623,6 +645,12 @@ f3a5.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3a5.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) + f3a5c = factory.BuildFactory() f3a5c.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -650,6 +678,12 @@ f3a5c.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3a5c.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) + f3a5j = factory.BuildFactory() f3a5j.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -675,6 +709,11 @@ f3a5j.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3a5j.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) f3a5s = factory.BuildFactory() f3a5s.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -700,6 +739,12 @@ f3a5s.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3a5s.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) + icedtea6_builder_quick = { 'name': "icedtea6-squeeze-x86_64-quick", 'slavenames': ["squeeze-x86_64"], @@ -814,6 +859,7 @@ "--with-additional-vms=shark", "--with-parallel-jobs=4", "--with-llvm-config=llvm-config-2.7", + "--disable-system-gio", "--disable-system-lcms"], workdir="build")) f4.addStep(Compile(workdir="build")) From omajid at redhat.com Fri Nov 4 07:31:00 2011 From: omajid at redhat.com (Omair Majid) Date: Fri, 04 Nov 2011 10:31:00 -0400 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB2FD2D.9010007@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> <4EB2E60A.2080901@redhat.com> <4EB2F69B.5000400@redhat.com> <4EB2F8E1.5030902@redhat.com> <4EB2FD2D.9010007@redhat.com> Message-ID: <4EB3F724.4070108@redhat.com> On 11/03/2011 04:44 PM, Jiri Vanek wrote: > On 11/03/2011 09:26 PM, Omair Majid wrote: >> On 11/03/2011 04:16 PM, Jiri Vanek wrote: >>> On 11/03/2011 08:05 PM, Omair Majid wrote: >>>> On 11/03/2011 02:33 PM, Jiri Vanek wrote: >>>>> On 11/03/2011 05:35 PM, Omair Majid wrote: >>>>>> On 11/01/2011 12:52 PM, Jiri Vanek wrote: >>>>>>> Hi! This is reproducer for recently fixed PR804 and for new PR811 >>>>>>> (based >>>>>>> on Behaviour of javaws when handling spaces). >>>>>>> Currently all local-files requests test are passing (804) ( just >>>>>>> one of >>>>>>> them was passing before 804 patch) and all remote (811) requests are >>>>>>> falling. >>>>>>> Some minor changes were necessary to engine. The reproducer itself >>>>>>> will >>>>>>> not work without this chnages. >>>>>>> >>>>>> >>>>>> Perhaps we should extract scripts that prepare reproducers from the >>>>>> makefile so we wont need to source NEW_LINE_IFS. What do you think? >>>>> >>>>> On one side I'm not sure how better will be to source extracted >>>>> scripts >>>>> which prepare reproducers. On the other side, I'm not sure what to >>>>> imagine under "extract them". I imagine separate bash script.... >>>>> What do >>>>> you yourselves mean? >>>>> >>>> >>>> Yes, I meant bash scripts. Sorry if this was not very clear. >>>> >>>> I am thinking of something (roughly) like this: >>>> ./jnlp-reproducers --compile >>>> ./jnlp-reproducers --test-all >>>> ./jnlp-reproducers --test simple 'Spaces can be everywhere.jnlp' >>> >>> Then I imagined the same:) but I do not think it is good idea:( At the >>> end number of exported makefile variables can be to large. >>> >> >> Oh, fair enough. >> >>>> >>>> Then again, I am not sure if it is really a good idea - especially the >>>> bit that moves compiling instructions away from the makefile. But I >>>> think it's an excellent opportunity to sneak in my idea about easily >>>> being able to run a single test from the command line ;) >>> But to your second "sneaking" :o) question - what exactly do you want >>> (me) to improve?. Currently, i can comfortably run/debug each reproducer >>> from his testsuite inside IDE (one by one or all in one ). And I can >>> also easily verify the behaviour by running prepared reproducer from >>> some virtual server with just compiled javaws(or again debug inisde >>> IDE). What else can you want!:) >> >> Oh, that's very cool! I was trying to debug a reproducer once and >> couldn't figure out how to do this. Would you mind explaining how you >> do this? > > I will write this tomorrow or during weekend ok? (Will need my full > attention, now I'm getting sleepy :) ) > Of course, please take your time. No need to hurry :) > Just one more clarification. I can debug reproducer XOR debug netx. I > was not successful to debug it together. Enough? >> That should be fine, I think. >>> Because it is so easy to run single reproducer from IDE, then i believe >>> that the only problem to run it from commandline is correct setting of >>> classpath. >>>> >>>> As for restoring IFS, you can do simple assignments in the makefile to >>>> restore IFS: >>> >>> Actually, you can't. I do not know why, but inside mkefile, the IFS >>> variable is different from shell (just space in my case, whether in >>> shell contains space,\t and \n). If I'm changing it in "shell", then I >>> prefer to restore it by the same way. The line you wrote, was my exactly >>> first idea:) >>> >> >> Well if IFS has a different value when running under make, how is that >> a problem? As long as you set it back to the old IFS, I would expect >> things to work fine. > > Ok. Unless it cause some catastrophe I will do this as you suggested. > Please let us know how it goes. Cheers, Omair From ptisnovs at icedtea.classpath.org Fri Nov 4 07:43:36 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Fri, 04 Nov 2011 14:43:36 +0000 Subject: /hg/gfx-test: 2011-11-04 Pavel Tisnovsky Message-ID: changeset cecd2cd40c8b in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=cecd2cd40c8b author: Pavel Tisnovsky date: Fri Nov 04 15:45:43 2011 +0100 2011-11-04 Pavel Tisnovsky * src/org/gfxtest/framework/CommonRenderingStyles.java: Added new methods for rendering shapes using textures composed of horizontal and vertical color stripes. * src/org/gfxtest/framework/ProceduralTextureFactory.java: Added new methods for creating textures which are composed of horizontal and vertical color stripes. diffstat: ChangeLog | 9 + src/org/gfxtest/framework/CommonRenderingStyles.java | 36 ++++ src/org/gfxtest/framework/ProceduralTextureFactory.java | 124 ++++++++++++++++ 3 files changed, 169 insertions(+), 0 deletions(-) diffs (217 lines): diff -r f07124ad3c53 -r cecd2cd40c8b ChangeLog --- a/ChangeLog Thu Nov 03 14:22:31 2011 +0100 +++ b/ChangeLog Fri Nov 04 15:45:43 2011 +0100 @@ -1,3 +1,12 @@ +2011-11-04 Pavel Tisnovsky + + * src/org/gfxtest/framework/CommonRenderingStyles.java: + Added new methods for rendering shapes using textures composed + of horizontal and vertical color stripes. + * src/org/gfxtest/framework/ProceduralTextureFactory.java: + Added new methods for creating textures which are composed of + horizontal and vertical color stripes. + 2011-11-03 Pavel Tisnovsky * src/org/gfxtest/framework/CommonShapesRenderer.java: diff -r f07124ad3c53 -r cecd2cd40c8b src/org/gfxtest/framework/CommonRenderingStyles.java --- a/src/org/gfxtest/framework/CommonRenderingStyles.java Thu Nov 03 14:22:31 2011 +0100 +++ b/src/org/gfxtest/framework/CommonRenderingStyles.java Fri Nov 04 15:45:43 2011 +0100 @@ -1052,6 +1052,42 @@ } /** + * Set texture paint using texture consisting of horizontal color stripes. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + */ + public static void setTextureFillUsingHorizontalColorStripesTexture(TestImage image, Graphics2D graphics) + { + // compute anchor for a texture + Rectangle2D anchor = createAnchorRectangle(image); + + // create texture and paint object + TexturePaint texturePaint = ProceduralTextureFactory.getHorizontalColorStripesPaint(image, anchor); + graphics.setPaint(texturePaint); + } + + /** + * Set texture paint using texture consisting of vertical color stripes. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + */ + public static void setTextureFillUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics) + { + // compute anchor for a texture + Rectangle2D anchor = createAnchorRectangle(image); + + // create texture and paint object + TexturePaint texturePaint = ProceduralTextureFactory.getVerticalColorStripesPaint(image, anchor); + graphics.setPaint(texturePaint); + } + + /** * Set texture paint using texture consisting of diagonal stripes. * * @param image diff -r f07124ad3c53 -r cecd2cd40c8b src/org/gfxtest/framework/ProceduralTextureFactory.java --- a/src/org/gfxtest/framework/ProceduralTextureFactory.java Thu Nov 03 14:22:31 2011 +0100 +++ b/src/org/gfxtest/framework/ProceduralTextureFactory.java Fri Nov 04 15:45:43 2011 +0100 @@ -85,6 +85,16 @@ private static BufferedImage verticalStripesTexture = null; /** + * Image used for creating texture containing horizontal color stripes. + */ + private static BufferedImage horizontalColorStripesTexture = null; + + /** + * Image used for creating texture containing vertical color stripes. + */ + private static BufferedImage verticalColorStripesTexture = null; + + /** * Image used for creating texture containing diagonal stripes. */ private static BufferedImage diagonalStripesTexture = null; @@ -110,6 +120,20 @@ private static BufferedImage RGBTexture3 = null; /** + * Eight basic colors. + */ + private static final int[] BASIC_COLORS = { + 0xff000000, + 0xff0000ff, + 0xff00ffff, + 0xff00ff00, + 0xffffff00, + 0xffff0000, + 0xffff00ff, + 0xffffffff, + }; + + /** * Create checker texture where tile sizes are based on grid size. * * @param gridSize @@ -350,6 +374,74 @@ } /** + * Create texture containing horizontal color stripes containing 8 basic colors. + * + * @param width + * width of a texture + * @param height + * height of a texture + * @return buffered image containing texture + */ + private static BufferedImage horizontalColorStripesTextureFactory(int width, int height) + { + // if the texture already exists, return it + if (horizontalColorStripesTexture != null) + { + return horizontalColorStripesTexture; + } + + // create new texture instead + horizontalColorStripesTexture = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); + + // for all lines in a raster image + for (int y = 0; y < height; y++) + { + // compute color for each pixel + int color = BASIC_COLORS[y % 8]; + // for all columns on a line + for (int x = 0; x < width; x++) + { + horizontalColorStripesTexture.setRGB(x, y, color); + } + } + return horizontalColorStripesTexture; + } + + /** + * Create texture containing vertical stripes containing 8 basic colors. + * + * @param width + * width of a texture + * @param height + * height of a texture + * @return buffered image containing texture + */ + private static BufferedImage verticalColorStripesTextureFactory(int width, int height) + { + // if the texture already exists, return it + if (verticalColorStripesTexture != null) + { + return verticalColorStripesTexture; + } + + // create new texture instead + verticalColorStripesTexture = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); + + // for all lines in a raster image + for (int y = 0; y < height; y++) + { + // for all columns on a line + for (int x = 0; x < width; x++) + { + // compute color for each pixel + int color = BASIC_COLORS[x % 8]; + verticalColorStripesTexture.setRGB(x, y, color); + } + } + return verticalColorStripesTexture; + } + + /** * Create texture containing diagonal stripes. * * @param width @@ -627,6 +719,38 @@ } /** + * Return {@link TexturePaint} object containing texture with horizontal color stripes. + * These stripes contain eight basic colors. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param anchor + * the Rectangle2D in user space used to anchor and replicate the + * texture + * @return {@link TexturePaint} object containing horizontal stripes texture + */ + public static TexturePaint getHorizontalColorStripesPaint(TestImage image, Rectangle2D anchor) + { + return new TexturePaint(horizontalColorStripesTextureFactory(image.getWidth(), image.getHeight()), anchor); + } + + /** + * Return {@link TexturePaint} object containing texture with vertical color stripes. + * These stripes contain eight basic colors. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param anchor + * the Rectangle2D in user space used to anchor and replicate the + * texture + * @return {@link TexturePaint} object containing vertical stripes texture + */ + public static TexturePaint getVerticalColorStripesPaint(TestImage image, Rectangle2D anchor) + { + return new TexturePaint(verticalColorStripesTextureFactory(image.getWidth(), image.getHeight()), anchor); + } + + /** * Return {@link TexturePaint} object containing texture with diagonal stripes. * * @param image From bugzilla-daemon at icedtea.classpath.org Sat Nov 5 19:15:32 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 06 Nov 2011 02:15:32 +0000 Subject: [Bug 814] New: Mozzila Firefox crash Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=814 Bug #: 814 Summary: Mozzila Firefox crash Classification: Unclassified Product: IcedTea Version: 6-1.10.4 Platform: 32-bit OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: neyzan at live.com Created attachment 601 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=601 Log See attachment... -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Sun Nov 6 08:31:57 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 06 Nov 2011 16:31:57 +0000 Subject: [Bug 774] How to build from scrach icedtea 1.10.3/openjdk 1.6.0_b22 on Slack In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=774 --- Comment #18 from Robert Gabriel 2011-11-06 16:31:57 UTC --- Anyone? Someone? Can give me some advice regarding this. I've tried everything and Im out of ideas. I can post how gcc-java was build, classpath, cp-tools, jamvm and so on is installed, but this the same error which is kind of stupid. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Sun Nov 6 08:44:45 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 06 Nov 2011 16:44:45 +0000 Subject: [Bug 814] Mozzila Firefox crash In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=814 Deepak Bhole changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dbhole at redhat.com Resolution| |INVALID --- Comment #1 from Deepak Bhole 2011-11-06 16:44:45 UTC --- The trace shows that the fault originated from native libswt code. There is nothing that the VM can do about it. Please re-file this with upstream: http://www.eclipse.org/swt/bugs.php -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From ahughes at redhat.com Sun Nov 6 16:13:54 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Mon, 7 Nov 2011 00:13:54 +0000 Subject: ARM: Sign extend byte loads in accessors In-Reply-To: <4EB16EB8.80707@redhat.com> References: <4EB16EB8.80707@redhat.com> Message-ID: <20111107001354.GB25917@rivendell.middle-earth.co.uk> On 16:24 Wed 02 Nov , Andrew Haley wrote: > I'm looking at jtreg failures. > > I think I'm getting to the point where I'm finding bugs in the > ARM port that have always been present, rather than bugs introduced > porting to HS20. > > I guess this port must never have cleanly passed jtreg. > I don't think anything cleanly passes jtreg; even tests with HotSpot have some failures still. Of course, the pass/fail count should be the same for ARM & x86/x86_64. Just don't expect a clean sweep :-) > Andrew. > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111107/a140d0ab/attachment.bin From ahughes at redhat.com Sun Nov 6 16:31:01 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Mon, 7 Nov 2011 00:31:01 +0000 Subject: [RFC][icedtea6-1.9] Backport of 2436: Fix duplication of absolute path when creating $(ECJ_BOOT_DIR)/lib. In-Reply-To: <4EA849B4.8010309@redhat.com> References: <4EA849B4.8010309@redhat.com> Message-ID: <20111107003101.GE25917@rivendell.middle-earth.co.uk> On 13:56 Wed 26 Oct , Danesh Dadachanji wrote: > Hi, > > I noticed this bug was still in 1.9 while trying to replace xalan/xerces > with xsltproc. The reason 1.9 builds fine is because of the 'mkdir -p' > that makes the endorsed dir (Makefile.am:1261). However, once > xalan/xerces have been replaced, the endorsed dir is never created and > so the build crashes. > > The attached patch is the same as the changeset[1] on HEAD adjusted for 1.9. > > ChangeLog > +2011-10-26 Danesh Dadachanji > + > + * Makefile.am: > + (bootstrap-directory-ecj): Fix double > + absolute path specification in creation > + of $(ECJ_BOOT_DIR)/lib. > + > > Okay for 1.9? > > Regards, > Danesh > > [1] http://icedtea.classpath.org/hg/icedtea6/rev/513fd50d8c95 > Yes. Good catch. > diff -r 30ddc2f3dbe4 Makefile.am > --- a/Makefile.am Fri Oct 21 15:04:36 2011 +0100 > +++ b/Makefile.am Wed Oct 26 13:43:46 2011 -0400 > @@ -1280,7 +1280,7 @@ stamps/bootstrap-directory-ecj.stamp: st > ln -s $(SYSTEM_JDK_DIR)/include/$$i $(ECJ_BOOT_DIR)/include/$$i; \ > done > # For HotSpot > - mkdir -p $(abs_top_builddir)/$(ECJ_BOOT_DIR)/lib && \ > + mkdir -p $(ECJ_BOOT_DIR)/lib && \ > ln -sf $(ECJ_BOOT_DIR)/jre/lib/rt.jar $(ECJ_BOOT_DIR)/lib/tools.jar > mkdir -p stamps > touch stamps/bootstrap-directory-ecj.stamp -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111107/64cb2abb/attachment.bin From ahughes at redhat.com Sun Nov 6 16:33:21 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Mon, 7 Nov 2011 00:33:21 +0000 Subject: RFC: backport S7103224 to icedtea6 In-Reply-To: <4EA892BA.6090301@redhat.com> References: <4EA87E71.7020201@redhat.com> <20111026225323.GL594@rivendell.redhat.com> <4EA892BA.6090301@redhat.com> Message-ID: <20111107003321.GF25917@rivendell.middle-earth.co.uk> On 19:07 Wed 26 Oct , Omair Majid wrote: > On 10/26/2011 06:53 PM, Dr Andrew John Hughes wrote: > > On 17:41 Wed 26 Oct , Omair Majid wrote: > >> Hi, > >> > >> I would like to backport the fix for 7103224 to icedtea6. This bug > >> allows icedtea6 to be built with (very) new glibc versions. Please see > >> the original email for details: > >> http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-October/004589.html > >> > >> I have attached the patches for IcedTea6 HEAD and 1.10. > >> > >> ChangeLog: > >> 2011-10-25 Omair Majid > >> > >> * patches/openjdk/7103224-glibc_name_collision.patch: New file. > >> * Makefile.am (ICEDTEA_PATCHES): Add the above. > >> > >> Does anyone have any thoughts or concerns? > >> > > > > This patch seems to do more than the summary says. Why > > is MAXFLOAT being removed for example? > > > > Someone from Apple pointed out another name clash between MAXFLOAT and > the Apple compilers/libc [1] very soon after I posted my patch. I guess > it's too much of a hassle to create a separate bug for a one-line fix > removing MAXFLOAT and so Tom decided to combine the changes [2]. As > mentioned in the email, MAXFLOAT is not used anywhere so removing it > should be fairly safe. > Ok, sounds fine. > > You can commit to HEAD without approval. I suggest you do > > this and let it soak for some time before backporting to > > 1.10. > > > > Sure. I think we will be applying this patch in Fedora locally then; it > is causing icedtea6-1.10.4 (the security update!) builds to fail for F16 :( > I'm very surprised this glibc change was allowed in F16 after it's supposed to have reached beta... > > What about 7 HEAD and 7 2.0? > > > > Unfortunately, my machine cant handle too many concurrent icedtea builds > :) I will post patches after I have built and tested icedtea7. > > Thanks, > Omair > > [1] > http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-October/004591.html > [2] > http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-October/004594.html -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111107/b3834a77/attachment.bin From ahughes at redhat.com Sun Nov 6 16:37:39 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Mon, 7 Nov 2011 00:37:39 +0000 Subject: Request to backport CR7091528: javadoc attempts to parse .class files In-Reply-To: <20111101203827.GG25136@redhat.com> References: <20111101203827.GG25136@redhat.com> Message-ID: <20111107003739.GH25917@rivendell.middle-earth.co.uk> On 16:38 Tue 01 Nov , Deepak Bhole wrote: > Hi, > > I would like to backport CR7091528[1] into jdk7u-dev: > http://hg.openjdk.java.net/jdk8/tl/langtools/rev/dea82aa3ca4f > > Okay for push? > > 1: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7091528 > > Cheers, > Deepak IcedTea6 & 7 need this too. -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111107/fc3585d7/attachment.bin From bugzilla-daemon at icedtea.classpath.org Sun Nov 6 16:38:32 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 07 Nov 2011 00:38:32 +0000 Subject: [Bug 732] Use xsltproc for bootstrap xslt in place of Xerces/Xalan In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=732 --- Comment #5 from Andrew John Hughes 2011-11-07 00:38:32 UTC --- Yes, exactly. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From ahughes at redhat.com Sun Nov 6 16:52:47 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Mon, 7 Nov 2011 00:52:47 +0000 Subject: IcedTea 2.0 Released! In-Reply-To: <20111019124650.624d9d89@laptop64.home> References: <20111019044411.GD27941@rivendell.redhat.com> <20111019124650.624d9d89@laptop64.home> Message-ID: <20111107005247.GJ25917@rivendell.middle-earth.co.uk> On 12:46 Wed 19 Oct , Andreas Radke wrote: > Since latest presnapshot this release breaks parallel build with -j8 > here: > > make[3]: Entering directory `/build/src/icedtea-2.0/openjdk/corba/make' > mkdir -p /build/src/icedtea-2.0/openjdk.build/corba/dist/lib > make[4]: Entering directory `/build/src/icedtea-2.0/openjdk/corba/make/tools' > make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. > make[5]: Entering directory `/build/src/icedtea-2.0/openjdk/corba/make/tools/strip_properties' > /bin/echo -e "Main-Class: build.tools.stripproperties.StripProperties" > /build/src/icedtea-2.0/openjdk.build/corba/btclasses/stripproperties_manifest.mf > /build/src/icedtea-2.0/bootstrap/jdk1.6.0/bin/jar -cf /build/src/icedtea-2.0/openjdk.build/corba/dist/lib/classes.jar -C /build/src/icedtea-2.0/openjdk.build/corba/classes . > abs_src_zip=`cd /build/src/icedtea-2.0/openjdk.build/corba/dist/lib ; pwd`/src.zip ; \ > ( cd ../src/share/classes ; find . \( -name \*-template \) -prune -o -type f -print | zip -q $abs_src_zip -@ ) ; \ > ( cd /build/src/icedtea-2.0/openjdk.build/corba/gensrc ; find . -type f -print | zip -q $abs_src_zip -@ ) ; > abs_bin_zip=`cd /build/src/icedtea-2.0/openjdk.build/corba/dist/lib ; pwd`/bin.zip ; \ > ( cd /build/src/icedtea-2.0/openjdk.build/corba ; find lib -name "*.idl" -print | zip -q $abs_bin_zip -@ ) ; > /build/src/icedtea-2.0/bootstrap/jdk1.6.0/bin/javac -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-Xmx512m -J-Xms512m -J-XX:PermSize=32m -J-XX:MaxPermSize= > 160m -encoding ascii -source 6 -target 6 -d /build/src/icedtea-2.0/openjdk.build/corba/btclasses \ > -sourcepath ../../tools/src ../../tools/src/build/tools/stripproperties/StripProperties.java > find: `lib': No such file or directory > > zip error: Nothing to do! (/build/src/icedtea-2.0/openjdk.build/corba/dist/lib/bin.zip) > make[3]: *** [/build/src/icedtea-2.0/openjdk.build/corba/dist/lib/bin.zip] Error 12 > make[3]: *** Waiting for unfinished jobs.... > /build/src/icedtea-2.0/openjdk.build/corba/classes/. : no such file or directory > make[3]: *** [/build/src/icedtea-2.0/openjdk.build/corba/dist/lib/classes.jar] Error 1 > warning: [options] bootstrap class path not set in conjunction with -source 1.6 > /bin/sh: line 2: cd: /build/src/icedtea-2.0/openjdk.build/corba/gensrc: No such file or directory > 1 warning > > > Build finishes with -j1 > > -Andy The OpenJDK build doesn't support parallel builds correctly. IcedTea6 works round this by explicitly forcing -j1 on the internal OpenJDK build while still allowing the IcedTea rules to work in parallel. I'll forward-port this to 7 (thought I already had...) -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111107/0b94d958/attachment.bin From ptisnovs at icedtea.classpath.org Mon Nov 7 00:59:22 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 07 Nov 2011 08:59:22 +0000 Subject: /hg/gfx-test: 2011-11-07 Pavel Tisnovsky Message-ID: changeset 697bfde838ac in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=697bfde838ac author: Pavel Tisnovsky date: Mon Nov 07 10:01:14 2011 +0100 2011-11-07 Pavel Tisnovsky * src/org/gfxtest/testsuites/TexturePaint.java: Added 15 new tests - two for checking rendering of circles with texture and the rest for checking arc rendering. diffstat: ChangeLog | 6 + src/org/gfxtest/testsuites/TexturePaint.java | 352 ++++++++++++++++++++++++++- 2 files changed, 347 insertions(+), 11 deletions(-) diffs (459 lines): diff -r cecd2cd40c8b -r 697bfde838ac ChangeLog --- a/ChangeLog Fri Nov 04 15:45:43 2011 +0100 +++ b/ChangeLog Mon Nov 07 10:01:14 2011 +0100 @@ -1,3 +1,9 @@ +2011-11-07 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/TexturePaint.java: + Added 15 new tests - two for checking rendering of circles + with texture and the rest for checking arc rendering. + 2011-11-04 Pavel Tisnovsky * src/org/gfxtest/framework/CommonRenderingStyles.java: diff -r cecd2cd40c8b -r 697bfde838ac src/org/gfxtest/testsuites/TexturePaint.java --- a/src/org/gfxtest/testsuites/TexturePaint.java Fri Nov 04 15:45:43 2011 +0100 +++ b/src/org/gfxtest/testsuites/TexturePaint.java Mon Nov 07 10:01:14 2011 +0100 @@ -223,6 +223,50 @@ * graphics context for image * @return test result status - PASSED, FAILED or ERROR */ + public TestResult testCircleTexturePaintUsingHorizontalColorStripesTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingHorizontalColorStripesTexture(image, graphics); + // draw the circle + CommonShapesRenderer.drawFilledCircle(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled circle drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this circle. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testCircleTexturePaintUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics); + // draw the circle + CommonShapesRenderer.drawFilledCircle(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled circle drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this circle. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ public TestResult testCircleTexturePaintUsingDiagonalStripesTexture(TestImage image, Graphics2D graphics) { // set stroke color (it could not be used during the shape rendering) @@ -359,7 +403,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -381,7 +425,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -403,7 +447,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingGridTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -425,7 +469,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -447,7 +491,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -469,7 +513,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingVerticalStripesTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -491,7 +535,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -513,7 +557,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set texture CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -535,7 +579,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set fill color CommonRenderingStyles.setTextureFillUsingRGBTexture1(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -557,7 +601,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set fill color CommonRenderingStyles.setTextureFillUsingRGBTexture2(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -579,7 +623,7 @@ CommonRenderingStyles.setStrokeColor(graphics); // set fill color CommonRenderingStyles.setTextureFillUsingRGBTexture3(image, graphics); - // draw the circle + // draw the filled rectangle CommonShapesRenderer.drawFilledRectangle(image, graphics); // test return value return TestResult.PASSED; @@ -605,6 +649,292 @@ } /** + * Test if arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingCheckerTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingDiagonalCheckerTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingGridTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingGridTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingDiagonalGridTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingHorizontalStripesTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingVerticalStripesTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingVerticalStripesTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingHorizontalColorStripesTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingHorizontalColorStripesTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingDiagonalStripesTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingDotTexture(TestImage image, Graphics2D graphics) + { + // set stroke color (it could not be used during the shape rendering) + CommonRenderingStyles.setStrokeColor(graphics); + // set texture + CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingRGBTexture1(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // set fill color + CommonRenderingStyles.setTextureFillUsingRGBTexture1(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingRGBTexture2(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // set fill color + CommonRenderingStyles.setTextureFillUsingRGBTexture2(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** + * Test if filled arc drawn by graphics.fillOval() is rendered correctly. + * Texture paint is used for filling this arc. + * + * @param image + * image to which two dimensional shape is to be rendered + * @param graphics + * graphics context for image + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testArcTexturePaintUsingRGBTexture3(TestImage image, Graphics2D graphics) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics); + // set fill color + CommonRenderingStyles.setTextureFillUsingRGBTexture3(image, graphics); + // draw the filled arc + CommonShapesRenderer.drawFilledArc(image, graphics); + // test return value + return TestResult.PASSED; + } + + /** * Test if rounded rectangle drawn by graphics.drawRoundRect() is rendered correctly. * * @param image From aph at redhat.com Mon Nov 7 05:26:51 2011 From: aph at redhat.com (Andrew Haley) Date: Mon, 07 Nov 2011 13:26:51 +0000 Subject: ARM jtreg results Message-ID: <4EB7DC9B.6000909@redhat.com> The preliminary test results are now at http://aph.fedorapeople.org/test results/IcedTea6 1.11pre+r628e5ee78eca I'm going through them. Ignoring JDI tests for the moment -- the support is not all there -- I'm looking at others. I'll post the analysis in this thread. javax_swing_tree_TreePath.java seems simply to run out of stack space. Increasing the stack size causes the StackOverflowError to go away. However, this test doesn't work for me on x86-64 either, eventually failing with Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at com.sun.beans.ObjectHandler.dequeueResult(ObjectHandler.java:189) at java.beans.XMLDecoder.readObject(XMLDecoder.java:218) at AbstractTest.readObject(AbstractTest.java:147) at AbstractTest.testObject(AbstractTest.java:131) at AbstractTest.test(AbstractTest.java:101) at javax_swing_tree_TreePath.main(javax_swing_tree_TreePath.java:35) so I'm not going to worry about this one. It may be, however, that the default stack size on ARM is too small. Andrew. From ptisnovs at redhat.com Mon Nov 7 05:50:55 2011 From: ptisnovs at redhat.com (Pavel Tisnovsky) Date: Mon, 07 Nov 2011 14:50:55 +0100 Subject: ARM jtreg results In-Reply-To: <4EB7DC9B.6000909@redhat.com> References: <4EB7DC9B.6000909@redhat.com> Message-ID: <4EB7E23F.6070909@redhat.com> Hi Andrew, thank you for publishing test results. You are right that javax_swing_tree_TreePath is failing on i686 and x86-64 too. The code is already fixed in OpenJDK7 but it's quite difficult to backport it to OpenJDK6 (because the Swing code was rewritten). According to Sergey who's working for Oracle: Sergey Malenkov wrote: > Hi Pavel, > > Now I have no plan to fix the 6423060 CR in JDK 6, but it is possible > to find and backport needed files from the finder package. > Do you mean Open JDK 6 or JDK 6 Update Release? > > Thanks, > SAM Btw, I see many error messages in your log file which are similar to this one: execStatus=Error. Problem deleting file: /home/aph/iced-arm/temp2/test/jdk/JTwork/scratch/.nfs000000000118d826000000b0 It could be caused by some problem with NFS (file permissions, full fs etc.) Cheers, Pavel Andrew Haley wrote: > The preliminary test results are now at > http://aph.fedorapeople.org/test results/IcedTea6 > 1.11pre+r628e5ee78eca > > I'm going through them. Ignoring JDI tests for the moment -- the > support is not all there -- I'm looking at others. I'll post the > analysis in this thread. > > javax_swing_tree_TreePath.java seems simply to run out of stack space. > Increasing the stack size causes the StackOverflowError to go away. > However, this test doesn't work for me on x86-64 either, eventually > failing with > > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 > at com.sun.beans.ObjectHandler.dequeueResult(ObjectHandler.java:189) > at java.beans.XMLDecoder.readObject(XMLDecoder.java:218) > at AbstractTest.readObject(AbstractTest.java:147) > at AbstractTest.testObject(AbstractTest.java:131) > at AbstractTest.test(AbstractTest.java:101) > at javax_swing_tree_TreePath.main(javax_swing_tree_TreePath.java:35) > > so I'm not going to worry about this one. > > It may be, however, that the default stack size on ARM is too small. > > Andrew. From xranby at icedtea.classpath.org Mon Nov 7 06:20:07 2011 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Mon, 07 Nov 2011 14:20:07 +0000 Subject: /hg/buildbot: Add bot2-armv5tel and bot3-armv5tel BuildSlaves. Message-ID: changeset f8eda904bd5d in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=f8eda904bd5d author: Xerxes Ranby date: Mon Nov 07 15:41:58 2011 +0100 Add bot2-armv5tel and bot3-armv5tel BuildSlaves. icedtea_web_builder_squeeze_armv5tel, testrepo_builder_squeeze_armv5tel, icedtea6_builder_quick_armv5tel_squeeze, icedtea6_builder_quick_armv5tel_squeeze_shark, icedtea6_builder_quick_armv5tel_squeeze_cacao, icedtea6_builder_quick_armv5tel_squeeze_jamvm, icedtea7_builder_quick_armv5tel_squeeze: Share work with the two new buildslaves. lucid-ia32: only run 1 task at a time for the ia32 builder. f3an, f3lz, f3ls, f3lc, f3lj: added killall step. diffstat: icedtea/master.cfg | 47 +++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 39 insertions(+), 8 deletions(-) diffs (132 lines): diff -r 315332789cb6 -r f8eda904bd5d icedtea/master.cfg --- a/icedtea/master.cfg Fri Nov 04 15:16:40 2011 +0100 +++ b/icedtea/master.cfg Mon Nov 07 15:41:58 2011 +0100 @@ -33,7 +33,13 @@ max_builds=1), BuildSlave("lucid-ia32", getpw("jaunty-ia32"), - max_builds=3), + max_builds=1), + BuildSlave("bot3-armv5tel", + getpw("squeeze-armv5tel"), + max_builds=1) + BuildSlave("bot2-armv5tel", + getpw("squeeze-armv5tel"), + max_builds=1) BuildSlave("squeeze-armv5tel", getpw("squeeze-armv5tel"), max_builds=1)] @@ -204,7 +210,7 @@ f1arm.addStep(JTRegCheck(command=["make", "check"], workdir="build")) icedtea_web_builder_squeeze_armv5tel = { 'name': "icedtea-web-squeeze-armv5tel", - 'slavenames': ["squeeze-armv5tel"], + 'slavenames': ["squeeze-armv5tel", "bot2-armv5tel", "bot3-armv5tel"], 'builddir': "icedtea-web-squeeze-armv5tel", 'factory': f1arm } @@ -230,7 +236,7 @@ 'builddir': "testrepo_lucid_ia32", 'factory': f2 } testrepo_builder_squeeze_armv5tel = { 'name': "testrepo-squeeze-armv5tel", - 'slavenames': ["squeeze-armv5tel"], + 'slavenames': ["squeeze-armv5tel", "bot2-armv5tel", "bot3-armv5tel"], 'builddir': "testrepo_squeeze_armv5tel", 'factory': f2 } @@ -393,6 +399,11 @@ f3an.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3an.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) f3an7 = factory.BuildFactory() f3an7.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -542,6 +553,11 @@ f3lz.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3lz.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) f3ls = factory.BuildFactory() f3ls.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -568,6 +584,11 @@ f3ls.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3ls.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) f3lc = factory.BuildFactory() f3lc.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -594,6 +615,11 @@ f3lc.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3lc.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) f3lj = factory.BuildFactory() f3lj.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -619,6 +645,11 @@ f3lj.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7200)) +f3lj.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure="False", + alwaysRun="True", + description="killall")) f3a5 = factory.BuildFactory() f3a5.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -811,22 +842,22 @@ 'factory': f3lz } icedtea6_builder_quick_armv5tel_squeeze = { 'name': "icedtea6-squeeze-armv5tel-quick", - 'slavenames': ["squeeze-armv5tel"], + 'slavenames': ["squeeze-armv5tel", "bot2-armv5tel", "bot3-armv5tel"], 'builddir': "icedtea6-squeeze-armv5tel-quick", 'factory': f3a5 } icedtea6_builder_quick_armv5tel_squeeze_shark = { 'name': "icedtea6-squeeze-armv5tel-quick-shark", - 'slavenames': ["squeeze-armv5tel"], + 'slavenames': ["squeeze-armv5tel", "bot2-armv5tel", "bot3-armv5tel"], 'builddir': "icedtea6-squeeze-armv5tel-quick-shark", 'factory': f3a5s } icedtea6_builder_quick_armv5tel_squeeze_cacao = { 'name': "icedtea6-squeeze-armv5tel-quick-cacao", - 'slavenames': ["squeeze-armv5tel"], + 'slavenames': ["squeeze-armv5tel", "bot2-armv5tel", "bot3-armv5tel"], 'builddir': "icedtea6-squeeze-armv5tel-quick-cacao", 'factory': f3a5c } icedtea6_builder_quick_armv5tel_squeeze_jamvm = { 'name': "icedtea6-squeeze-armv5tel-quick-jamvm", - 'slavenames': ["squeeze-armv5tel"], + 'slavenames': ["squeeze-armv5tel", "bot2-armv5tel", "bot3-armv5tel"], 'builddir': "icedtea6-squeeze-armv5tel-quick-jamvm", 'factory': f3a5j } icedtea7_builder_quick = { 'name': "icedtea7-squeeze-x86_64-quick", @@ -835,7 +866,7 @@ 'factory': f3s7 } icedtea7_builder_quick_armv5tel_squeeze = { 'name': "icedtea7-squeeze-armv5tel-quick", - 'slavenames': ["squeeze-armv5tel"], + 'slavenames': ["squeeze-armv5tel", "bot2-armv5tel", "bot3-armv5tel"], 'builddir': "icedtea7-squeeze-armv5tel-quick", 'factory': f3a5 } icedtea7_builder_quick_arm_natty = { 'name': "icedtea7-natty-armv7l-quick", From mjw at icedtea.classpath.org Mon Nov 7 06:24:16 2011 From: mjw at icedtea.classpath.org (mjw at icedtea.classpath.org) Date: Mon, 07 Nov 2011 14:24:16 +0000 Subject: /hg/buildbot: Add missing commas in BuildSlave list. Message-ID: changeset 846ae02faf1a in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=846ae02faf1a author: Mark Wielaard date: Mon Nov 07 15:24:11 2011 +0100 Add missing commas in BuildSlave list. diffstat: icedtea/master.cfg | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (16 lines): diff -r f8eda904bd5d -r 846ae02faf1a icedtea/master.cfg --- a/icedtea/master.cfg Mon Nov 07 15:41:58 2011 +0100 +++ b/icedtea/master.cfg Mon Nov 07 15:24:11 2011 +0100 @@ -36,10 +36,10 @@ max_builds=1), BuildSlave("bot3-armv5tel", getpw("squeeze-armv5tel"), - max_builds=1) + max_builds=1), BuildSlave("bot2-armv5tel", getpw("squeeze-armv5tel"), - max_builds=1) + max_builds=1), BuildSlave("squeeze-armv5tel", getpw("squeeze-armv5tel"), max_builds=1)] From aph at redhat.com Mon Nov 7 10:59:27 2011 From: aph at redhat.com (Andrew Haley) Date: Mon, 07 Nov 2011 18:59:27 +0000 Subject: ARM: Mask shift counts Message-ID: <4EB82A8F.2060806@redhat.com> Some jtreg tests were failing because shifts were broken: they do not AND the shift count with 0x1f. Fixed thusly. Andrew. 011-11-07 Andrew Haley * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask shift counts with 31. (Thumb2_codegen): Mask double shift counts with 64. diff -r 6f61af32cc26 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Wed Nov 02 16:20:25 2011 +0000 +++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Mon Nov 07 13:59:05 2011 -0500 @@ -4088,6 +4088,12 @@ Thumb2_Spill(jinfo, 1, 0); r = JSTACK_REG(jstack); PUSH(jstack, r); + switch (opc) { + case opc_ishl: + case opc_ishr: + and_imm(jinfo->codebuf, r_rho, r_rho, 31); + break; + } dop_reg(jinfo->codebuf, dOps[opc-opc_iadd], r, r_lho, r_rho, 0, 0); } @@ -5157,6 +5163,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); @@ -5186,6 +5193,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); @@ -5215,6 +5223,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); From aph at redhat.com Mon Nov 7 10:59:33 2011 From: aph at redhat.com (Andrew Haley) Date: Mon, 07 Nov 2011 18:59:33 +0000 Subject: ARM: Mask shift counts Message-ID: <4EB82A95.5020001@redhat.com> Some jtreg tests were failing because shifts were broken: they do not AND the shift count with 0x1f. Fixed thusly. Andrew. 011-11-07 Andrew Haley * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask shift counts with 31. (Thumb2_codegen): Mask double shift counts with 64. diff -r 6f61af32cc26 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Wed Nov 02 16:20:25 2011 +0000 +++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Mon Nov 07 13:59:05 2011 -0500 @@ -4088,6 +4088,12 @@ Thumb2_Spill(jinfo, 1, 0); r = JSTACK_REG(jstack); PUSH(jstack, r); + switch (opc) { + case opc_ishl: + case opc_ishr: + and_imm(jinfo->codebuf, r_rho, r_rho, 31); + break; + } dop_reg(jinfo->codebuf, dOps[opc-opc_iadd], r, r_lho, r_rho, 0, 0); } @@ -5157,6 +5163,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); @@ -5186,6 +5193,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); @@ -5215,6 +5223,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); From bugzilla-daemon at icedtea.classpath.org Mon Nov 7 11:29:53 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 07 Nov 2011 19:29:53 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #6 from Deepak Bhole 2011-11-07 19:29:53 UTC --- It looks like the error is coming from JVM code, not icedtea-web code: http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/b58af78ac79c/src/share/classes/java/lang/ClassLoader.java Lines 787 and 788 above. What version of IcedTea are you using? I tried loading the 3 jars via a test applet with the latest IcedTea and did not run into this error. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From ahughes at redhat.com Mon Nov 7 15:34:13 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Mon, 7 Nov 2011 23:34:13 +0000 Subject: PING: "make dist" rebuilds everything In-Reply-To: <4EB266AA.2030502@redhat.com> References: <4EB0052B.9080602@redhat.com> <4EB266AA.2030502@redhat.com> Message-ID: <20111107233412.GU25917@rivendell.middle-earth.co.uk> On 10:02 Thu 03 Nov , Andrew Haley wrote: > On 11/01/2011 02:41 PM, Andrew Haley wrote: > > "make dist" in icedtea6 HEAD rebuilds everything because it has "jtreg" > > as a dependency. The problem is that "jtreg" is both the name of a > > directory and a make target. One of them should perhaps be renamed. > > > > OK to apply? > > > > Andrew. > > > > > > 2011-11-01 Andrew Haley > > > > * Makefile.am (JTREG_SRCS): Add '/' to force JTREG_SRCS to be a > > dir. > > > > diff -r 0d4f47d2edbf Makefile.am > > --- a/Makefile.am Mon Oct 31 11:57:33 2011 -0400 > > +++ b/Makefile.am Tue Nov 01 14:38:12 2011 +0000 > > @@ -193,7 +193,7 @@ > > # Sources list > > > > REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java > > -JTREG_SRCS = $(top_srcdir)/jtreg > > +JTREG_SRCS = $(top_srcdir)/jtreg/ > > > > # Patch list > > > Sorry, didn't realise you wanted approval for this as HEAD doesn't require it. A better solution might be to just rename the jtreg directory again. I changed it to avoid the conflict with the test directory created in the build tree when make check is run, but it seems we've now hit another collision. Under what configure settings does this occur? -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111107/06c792d3/attachment.bin From bugzilla-daemon at icedtea.classpath.org Mon Nov 7 18:24:04 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 08 Nov 2011 02:24:04 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #7 from knife 2011-11-08 02:24:04 UTC --- I'm running IcedTea plugin 1.1.3 on FireFox 7 on Ubuntu 11.10. Should I open a new bug on OpenJDK? This appears to be the JavaScript that generates the HTML that loads the applet (ignore that it says the browser name is Safari - that's userAgent trickery to get past the prerequisite checks on the website - with the Sun/Oracle plugin, it works whether I use Safari, FireFox, or InternetExplorer as the user agent as long as I tell it I'm on Mac OSX rather than Linux): function initializeApplet () { var appletHeight = "350"; var appletWidth = "100%"; ehdcAppDivW = "100%"; ehdcAppDivH = appletHeight; if ((iceOrCanvasless || (typeof(headlessOverride) != "undefined" && headlessOverride)) && ehdcAppletObject == null) { appletWidth = "1px"; ehdcAppH = appletHeight; appletHeight = "1"; ehdcAppletDivObject.style.height = "1px"; ehdcAppletDivObject.style.width = "2px"; ehdcAppletDivObject.style.visibility = "visible"; ehdcAppletDivObject.style.borderWidth = "0px"; } appletDivHtml = '' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '' + '' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '' + ' ' + 'A recent version of Java<sup><small>TM<\/small><\/sup> software is needed in order to continue. ' + '<br \/><br \/> ' + 'To use Home Document Capture, please update your <a href="http:\/\/jdl.sun.com\/webapps\/getjava\/BrowserRedirect?locale=en&host=java.com:80">Java Runtime Environment (JRE).<\/a> ' + 'For information review our Frequently Asked Questions.' + '<\/noembed> ' + '<\/embed> ' + '<\/comment> ' + '<\/object>'; if (ehdcAppletObject == null) { bypassClickToActivate('appletDiv', appletDivHtml); } } -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From jvanek at redhat.com Mon Nov 7 23:45:32 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 08 Nov 2011 08:45:32 +0100 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB3F724.4070108@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> <4EB2E60A.2080901@redhat.com> <4EB2F69B.5000400@redhat.com> <4EB2F8E1.5030902@redhat.com> <4EB2FD2D.9010007@redhat.com> <4EB3F724.4070108@redhat.com> Message-ID: <4EB8DE1C.3020604@redhat.com> On 11/04/2011 03:31 PM, Omair Majid wrote: > On 11/03/2011 04:44 PM, Jiri Vanek wrote: ... >>>> But to your second "sneaking" :o) question - what exactly do you want >>>> (me) to improve?. Currently, i can comfortably run/debug each reproducer >>>> from his testsuite inside IDE (one by one or all in one ). And I can >>>> also easily verify the behaviour by running prepared reproducer from >>>> some virtual server with just compiled javaws(or again debug inisde >>>> IDE). What else can you want!:) >>> >>> Oh, that's very cool! I was trying to debug a reproducer once and >>> couldn't figure out how to do this. Would you mind explaining how you >>> do this? >> >> I will write this tomorrow or during weekend ok? (Will need my full >> attention, now I'm getting sleepy :) ) >> > > Of course, please take your time. No need to hurry :) > >> Just one more clarification. I can debug reproducer XOR debug netx. I >> was not successful to debug it together. Enough? >>> > > That should be fine, I think. > >.... > I have posted this "tutorial" as new email. You should have received it already. For mailing list it is waiting for moderator approval because of screenshots. J. From jvanek at redhat.com Mon Nov 7 23:45:40 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 08 Nov 2011 08:45:40 +0100 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB3F724.4070108@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> <4EB2E60A.2080901@redhat.com> <4EB2F69B.5000400@redhat.com> <4EB2F8E1.5030902@redhat.com> <4EB2FD2D.9010007@redhat.com> <4EB3F724.4070108@redhat.com> Message-ID: <4EB8DE24.9070002@redhat.com> On 11/04/2011 03:31 PM, Omair Majid wrote: > On 11/03/2011 04:44 PM, Jiri Vanek wrote: .... > >>>> Because it is so easy to run single reproducer from IDE, then i believe >>>> that the only problem to run it from commandline is correct setting of >>>> classpath. >>>>> >>>>> As for restoring IFS, you can do simple assignments in the makefile to >>>>> restore IFS: >>>> >>>> Actually, you can't. I do not know why, but inside mkefile, the IFS >>>> variable is different from shell (just space in my case, whether in >>>> shell contains space,\t and \n). If I'm changing it in "shell", then I >>>> prefer to restore it by the same way. The line you wrote, was my exactly >>>> first idea:) >>>> >>> >>> Well if IFS has a different value when running under make, how is that >>> a problem? As long as you set it back to the old IFS, I would expect >>> things to work fine. >> >> Ok. Unless it cause some catastrophe I will do this as you suggested. >> > > Please let us know how it goes. It seems it is working as you expected. The only change is assignment IFS="$$IFS_BACKUP" ; \ instead of restoreIFS() function ( which I still like more ;) ) Thanx J > > Cheers, > Omair > changelogs: 2011-10-28 Jiri Vanek <jvanek at redhat.com> Added reproducer for PR804 and PR8011 * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp: new jnlp file with space in name and with jar in resources which name does not contain spaces * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp: new jnlp file with space in name and with jar in resources which name contains spaces * tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp: jnlp file without space in name but with jar in resources which name contains spaces * tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java: new file containig simple main method of "Spaces can be everywhere.jar" jar * tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java testcase for this reproducer. It is lunching each of this jnlp once locally from filesystem and once remotely from server. Please note that except it's own jar, this reproducer is also using simpletest1.jar 2011-10-28 Jiri Vanek <jvanek at redhat.com> Fixed reproducers engine to handle spaces in files and in urls * Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp) (stamps/netx-dist-tests-sign-some-reproducers.stamp) (stamps/netx-dist-tests-compile-testcases.stamp): added call to NEW_LINE_IFS to use line breake temporarily as parameter separator while loading files from list and correct quoting * NEW_LINE_IFS: new file, small separate script used in makefile as inline script which backup original IFS variable and then set it to pure new line. It is in separate file because it is reused and I do not know another way how to save a new line variable in makefile. Restore to original vlaue is handled in Makefile *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java: (testResourcesExists) filename is encoded to correct URL before requested from server * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java: "-headless" string extracted to variable HEADLES_OPTION (executeProcess) and (ThreadedProcess) enhanced for variable dir to specify working directory. Backward compatibility kept (TinyHttpdImpl) now expects url on requests, so all requests are now decoded by java.net.URLDecoder -------------- next part -------------- A non-text attachment was scrubbed... Name: SpacesHandlingChangesToEngine2.diff Type: text/x-patch Size: 9332 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111108/ca6eb6b5/SpacesHandlingChangesToEngine2.diff -------------- next part -------------- A non-text attachment was scrubbed... Name: SpacesReproducer.diff Type: text/x-patch Size: 18017 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111108/ca6eb6b5/SpacesReproducer.diff From mjw at icedtea.classpath.org Tue Nov 8 02:01:47 2011 From: mjw at icedtea.classpath.org (mjw at icedtea.classpath.org) Date: Tue, 08 Nov 2011 10:01:47 +0000 Subject: /hg/buildbot: Change flunkOnFailure="False" to flunkOnFailure=Fa... Message-ID: <hg.a7ab5cbae580.1320746507.-8970262713663391652@icedtea.classpath.org> changeset a7ab5cbae580 in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=a7ab5cbae580 author: Mark Wielaard <mark at klomp.org> date: Tue Nov 08 11:01:27 2011 +0100 Change flunkOnFailure="False" to flunkOnFailure=False. Same for alwaysRun. diffstat: icedtea/master.cfg | 52 ++++++++++++++++++++++++++-------------------------- 1 files changed, 26 insertions(+), 26 deletions(-) diffs (146 lines): diff -r 846ae02faf1a -r a7ab5cbae580 icedtea/master.cfg --- a/icedtea/master.cfg Mon Nov 07 15:24:11 2011 +0100 +++ b/icedtea/master.cfg Tue Nov 08 11:01:27 2011 +0100 @@ -401,8 +401,8 @@ workdir="build", timeout=7200)) f3an.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) f3an7 = factory.BuildFactory() @@ -431,8 +431,8 @@ workdir="build", timeout=7200)) f3an7.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) @@ -462,8 +462,8 @@ workdir="build", timeout=7200)) f3anc.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) @@ -493,8 +493,8 @@ workdir="build", timeout=7200)) f3anj.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) @@ -524,8 +524,8 @@ workdir="build", timeout=7200)) f3ans.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) f3lz = factory.BuildFactory() @@ -555,8 +555,8 @@ workdir="build", timeout=7200)) f3lz.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) f3ls = factory.BuildFactory() @@ -586,8 +586,8 @@ workdir="build", timeout=7200)) f3ls.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) f3lc = factory.BuildFactory() @@ -617,8 +617,8 @@ workdir="build", timeout=7200)) f3lc.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) f3lj = factory.BuildFactory() @@ -647,8 +647,8 @@ workdir="build", timeout=7200)) f3lj.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) f3a5 = factory.BuildFactory() @@ -678,8 +678,8 @@ workdir="build", timeout=7200)) f3a5.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) @@ -711,8 +711,8 @@ workdir="build", timeout=7200)) f3a5c.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) @@ -742,8 +742,8 @@ workdir="build", timeout=7200)) f3a5j.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) f3a5s = factory.BuildFactory() @@ -772,8 +772,8 @@ workdir="build", timeout=7200)) f3a5s.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", - flunkOnFailure="False", - alwaysRun="True", + flunkOnFailure=False, + alwaysRun=True, description="killall")) From aph at icedtea.classpath.org Tue Nov 8 03:04:09 2011 From: aph at icedtea.classpath.org (aph at icedtea.classpath.org) Date: Tue, 08 Nov 2011 11:04:09 +0000 Subject: /hg/icedtea6: Mask shift counts. Message-ID: <hg.0e1ae9c38563.1320750249.2873452341184383832@icedtea.classpath.org> changeset 0e1ae9c38563 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=0e1ae9c38563 author: aph date: Tue Nov 08 06:03:17 2011 -0500 Mask shift counts. 2011-11-07 Andrew Haley <aph at redhat.com> * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask shift counts with 31. (Thumb2_codegen): Mask double shift counts with 63. diffstat: ChangeLog | 6 ++++++ arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp | 10 ++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) diffs (54 lines): diff -r 8b80aff6ceda -r 0e1ae9c38563 ChangeLog --- a/ChangeLog Fri Nov 04 13:27:40 2011 +0100 +++ b/ChangeLog Tue Nov 08 06:03:17 2011 -0500 @@ -1,3 +1,9 @@ +2011-11-07 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask + shift counts with 31. + (Thumb2_codegen): Mask double shift counts with 63. + 2011-11-04 Xerxes R??nby <xerxes at zafena.se> * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S diff -r 8b80aff6ceda -r 0e1ae9c38563 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Fri Nov 04 13:27:40 2011 +0100 +++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Tue Nov 08 06:03:17 2011 -0500 @@ -4088,6 +4088,13 @@ Thumb2_Spill(jinfo, 1, 0); r = JSTACK_REG(jstack); PUSH(jstack, r); + switch (opc) { + case opc_ishl: + case opc_ishr: + case opc_iushr: + and_imm(jinfo->codebuf, r_rho, r_rho, 31); + break; + } dop_reg(jinfo->codebuf, dOps[opc-opc_iadd], r, r_lho, r_rho, 0, 0); } @@ -5157,6 +5164,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<<lho_lo)|(1<<lho_hi)))); JASSERT(res_lo != lho_lo && res_lo != lho_hi, "Spill failed"); JASSERT(res_hi != lho_lo && res_hi != lho_hi, "Spill failed"); + and_imm(jinfo->codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); @@ -5186,6 +5194,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<<lho_lo)|(1<<lho_hi)))); JASSERT(res_lo != lho_lo && res_lo != lho_hi, "Spill failed"); JASSERT(res_hi != lho_lo && res_hi != lho_hi, "Spill failed"); + and_imm(jinfo->codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); @@ -5215,6 +5224,7 @@ res_lo = PUSH(jstack, JSTACK_PREFER(jstack, ~((1<<lho_lo)|(1<<lho_hi)))); JASSERT(res_lo != lho_lo && res_lo != lho_hi, "Spill failed"); JASSERT(res_hi != lho_lo && res_hi != lho_hi, "Spill failed"); + and_imm(jinfo->codebuf, shift, shift, 63); and_imm(jinfo->codebuf, ARM_IP, shift, 31); tst_imm(jinfo->codebuf, shift, 32); loc1 = forward_16(jinfo->codebuf); From ptisnovs at icedtea.classpath.org Tue Nov 8 03:49:12 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 08 Nov 2011 11:49:12 +0000 Subject: /hg/gfx-test: 2011-11-08 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.843d131b0d88.1320752952.-6248649288953172555@icedtea.classpath.org> changeset 843d131b0d88 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=843d131b0d88 author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Tue Nov 08 12:51:12 2011 +0100 2011-11-08 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/framework/CommonClippingOperations.java: Created new class containing methods used by all clipping test suites. * src/org/gfxtest/testsuites/Clipping.java: * src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java: Moved tests to ClippingCircleByRectangleArea because I'm planning to add more specialized test for this area. diffstat: ChangeLog | 9 + src/org/gfxtest/framework/CommonClippingOperations.java | 304 +++++++ src/org/gfxtest/testsuites/Clipping.java | 224 +---- src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java | 420 ++++++++++ 4 files changed, 765 insertions(+), 192 deletions(-) diffs (truncated from 1018 to 500 lines): diff -r 697bfde838ac -r 843d131b0d88 ChangeLog --- a/ChangeLog Mon Nov 07 10:01:14 2011 +0100 +++ b/ChangeLog Tue Nov 08 12:51:12 2011 +0100 @@ -1,3 +1,12 @@ +2011-11-08 Pavel Tisnovsky <ptisnovs at redhat.com> + + * src/org/gfxtest/framework/CommonClippingOperations.java: + Created new class containing methods used by all clipping test suites. + * src/org/gfxtest/testsuites/Clipping.java: + * src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java: + Moved tests to ClippingCircleByRectangleArea because I'm planning to + add more specialized test for this area. + 2011-11-07 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/testsuites/TexturePaint.java: diff -r 697bfde838ac -r 843d131b0d88 src/org/gfxtest/framework/CommonClippingOperations.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/gfxtest/framework/CommonClippingOperations.java Tue Nov 08 12:51:12 2011 +0100 @@ -0,0 +1,304 @@ +/* + Java gfx-test framework + + Copyright (C) 2010, 2011 Red Hat + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + */ + +package org.gfxtest.framework; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.Polygon; +import java.awt.Shape; +import java.awt.geom.Ellipse2D; +import java.awt.geom.Rectangle2D; +import java.awt.geom.RoundRectangle2D; + + + +/** + * This class contains static method used by the various tests which checks if + * clipping is working correctly. + * + * @author Pavel Tisnovsky + */ +public class CommonClippingOperations +{ + /** + * Color used for rendering shape which is drawn along clip region. + */ + public static final Color CLIP_SHAPE_COLOR = Color.MAGENTA.darker(); + + /** + * Radius of corners of the round rectangle. + */ + public static final int ROUND_RECTANGLE_ARC_RADIUS = 300; + + /** + * Compute width of the clip region. + * + * @param image + * work image + * @return width of the clip region + */ + private static int computeClipRegionWidth(TestImage image) + { + // compute width first + int width = 2 * image.getWidth() / 3; + // it's best to align clip area with the grid + width = width - (width % image.getGrid()); + return width - 1; + } + + /** + * Compute height of the clip region. + * + * @param image + * work image + * @return height of the clip region + */ + private static int computeClipRegionHeight(TestImage image) + { + // compute height first + int height = 2 * image.getHeight() / 3; + // it's best to align clip area with the grid + height = height - (height % image.getGrid()); + return height - 1; + } + + /** + * Render the rectangle around the clip area. Clip area could have different + * shape but it's area should lie inside this rectangle. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void renderClipRectangle(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image) + 1; + final int height = computeClipRegionHeight(image) + 1; + // color used for clipping areas + graphics2d.setColor(CLIP_SHAPE_COLOR); + // draw rectangle around the clip area + graphics2d.drawRect(0, 0, width, height); + } + + /** + * Render the round rectangle around the clip area. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void renderClipRoundRectangle(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image) + 1; + final int height = computeClipRegionHeight(image) + 1; + // color used for clipping areas + graphics2d.setColor(CLIP_SHAPE_COLOR); + // draw rounded rectangle around the clip area + graphics2d.drawRoundRect(0, 0, width, height, ROUND_RECTANGLE_ARC_RADIUS, ROUND_RECTANGLE_ARC_RADIUS); + } + + /** + * Render the ellipse around the clip area. Clip area could have different + * shape but should be inside this ellipse. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void renderClipEllipse(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image) + 1; + final int height = computeClipRegionHeight(image) + 1; + // color used for clipping areas + graphics2d.setColor(CLIP_SHAPE_COLOR); + // draw ellipse around the clip area + graphics2d.drawOval(0, 0, width, height); + } + + /** + * Render the polygon around the clip area. Clip area could have different + * shape but should be inside this ellipse. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void renderClipPolygon(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image) + 1; + final int height = computeClipRegionHeight(image) + 1; + // color used for clipping areas + graphics2d.setColor(CLIP_SHAPE_COLOR); + // draw ellipse around the clip area + graphics2d.drawPolygon(createClippingPolygon(width, height)); + } + + /** + * Create clip region using rectangle area (not rectangular shape) + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void createClipUsingRectangleArea(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image); + final int height = computeClipRegionHeight(image); + // apply clip rectangle area + graphics2d.setClip(1, 1, width, height); + } + + /** + * Create clip region using rectangular shape (not rectangle area). + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void createClipUsingRectangleShape(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image); + final int height = computeClipRegionHeight(image); + // create clip shape + Shape clipShape = new Rectangle2D.Float(1, 1, width, height); + // and apply the created shape as clipping region + graphics2d.setClip(clipShape); + } + + /** + * Create clip region using rounded rectangular shape (not rectangle area). + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void createClipUsingRoundRectangleShape(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image); + final int height = computeClipRegionHeight(image); + // create clip shape + Shape clipShape = new RoundRectangle2D.Float(1, 1, width, height, ROUND_RECTANGLE_ARC_RADIUS, ROUND_RECTANGLE_ARC_RADIUS); + // and apply the created shape as clipping region + graphics2d.setClip(clipShape); + } + + /** + * Create clip region using elliptic shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void createClipUsingEllipseShape(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image); + final int height = computeClipRegionHeight(image); + // create clip shape + Shape clipShape = new Ellipse2D.Float(1, 1, width, height); + // and apply the created shape as clipping region + graphics2d.setClip(clipShape); + } + + /** + * Create clip region using polygonal shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + public static void createClipUsingPolygonalShape(TestImage image, Graphics2D graphics2d) + { + // compute size of clip area + final int width = computeClipRegionWidth(image); + final int height = computeClipRegionHeight(image); + // create clip shape + Polygon polygon = createClippingPolygon(width, height); + // and apply the created shape as clipping region + graphics2d.setClip(polygon); + } + + /** + * Create clipping polygon with given width and height. Please note that the + * polygon has the following shape: + * + * <pre> + * |\ /| + * | \ / | + * | >< | + * | / \ | + * |/ \| + * </pre> + * + * @param width + * image width + * @param height + * image height + * @return new clipping polygon + */ + private static Polygon createClippingPolygon(final int width, final int height) + { + Polygon polygon = new Polygon(); + // add four vertexes + polygon.addPoint(1, 1); + polygon.addPoint(width, height); + polygon.addPoint(width, 1); + polygon.addPoint(1, height); + return polygon; + } + +} diff -r 697bfde838ac -r 843d131b0d88 src/org/gfxtest/testsuites/Clipping.java --- a/src/org/gfxtest/testsuites/Clipping.java Mon Nov 07 10:01:14 2011 +0100 +++ b/src/org/gfxtest/testsuites/Clipping.java Tue Nov 08 12:51:12 2011 +0100 @@ -42,19 +42,7 @@ -import java.awt.Color; -import java.awt.Graphics2D; -import java.awt.Shape; -import java.awt.geom.Ellipse2D; -import java.awt.geom.Rectangle2D; - - - -import org.gfxtest.framework.CommonRenderingStyles; -import org.gfxtest.framework.CommonShapesRenderer; import org.gfxtest.framework.GfxTest; -import org.gfxtest.framework.TestImage; -import org.gfxtest.framework.TestResult; import org.gfxtest.framework.annotations.TestType; import org.gfxtest.framework.annotations.TestTypes; import org.gfxtest.framework.annotations.Transformation; @@ -74,185 +62,6 @@ @Zoom(1) public class Clipping extends GfxTest { - /** - * Color used for rendering shape which is drawn along clip region. - */ - private static final Color CLIP_SHAPE_COLOR = Color.MAGENTA.darker(); - - /** - * Computes width of the clip region. - * - * @param image - * work image - * @return width of the clip region - */ - private static int computeClipRegionWidth(TestImage image) - { - // compute width first - int width = 2 * image.getWidth() / 3; - // we need to align clip area with the grid - width = width - (width % image.getGrid()); - return width - 1; - } - - /** - * Compute height of the clip region. - * - * @param image - * work image - * @return height of the clip region - */ - private static int computeClipRegionHeight(TestImage image) - { - // compute height first - int height = 2 * image.getHeight() / 3; - // we need to align clip area with the grid - height = height - (height % image.getGrid()); - return height - 1; - } - - /** - * Render the rectangle around the clip area. Clip area could have different - * shape but should be inside this rectangle. - * - * @param image - * work image - * @param graphics2d - * graphics canvas - */ - private void renderClipRectangle(TestImage image, Graphics2D graphics2d) - { - // compute size of clip area - final int width = computeClipRegionWidth(image) + 1; - final int height = computeClipRegionHeight(image) + 1; - // draw rectangle around the clip area - graphics2d.setColor(CLIP_SHAPE_COLOR); - graphics2d.drawRect(0, 0, width, height); - } - - /** - * Render the ellipse around the clip area. Clip area could have different - * shape but should be inside this ellipse. - * - * @param image - * work image - * @param graphics2d - * graphics canvas - */ - private void renderClipEllipse(TestImage image, Graphics2D graphics2d) - { - // compute size of clip area - final int width = computeClipRegionWidth(image) + 1; - final int height = computeClipRegionHeight(image) + 1; - // draw rectangle around the clip area - graphics2d.setColor(CLIP_SHAPE_COLOR); - graphics2d.drawOval(0, 0, width, height); - } - - /** - * Create clip region using rectangle area (not rectangular shape) - * - * @param image - * work image - * @param graphics2d - * graphics canvas - */ - private static void createClipUsingRectangleArea(TestImage image, Graphics2D graphics2d) - { - // compute size of clip area - final int width = computeClipRegionWidth(image); - final int height = computeClipRegionHeight(image); - // apply clip rectangle area - graphics2d.setClip(1, 1, width, height); - } - - /** - * Create clip region using rectangular shape (not rectangle area). - * - * @param image - * work image - * @param graphics2d - * graphics canvas - */ - private static void createClipUsingRectangleShape(TestImage image, Graphics2D graphics2d) - { - // compute size of clip area - final int width = computeClipRegionWidth(image); - final int height = computeClipRegionHeight(image); - // create clip shape - Shape clipShape = new Rectangle2D.Float(1, 1, width, height); - // and apply it - graphics2d.setClip(clipShape); - } - - /** - * Create clip region using elliptic shape. - * - * @param image - * work image - * @param graphics2d - * graphics canvas - */ - private static void createClipUsingEllipseShape(TestImage image, Graphics2D graphics2d) - { - // compute size of clip area - final int width = computeClipRegionWidth(image); - final int height = computeClipRegionHeight(image); - // create clip shape - Shape clipShape = new Ellipse2D.Float(1, 1, width, height); - // and apply it - graphics2d.setClip(clipShape); - } - - /** - * Check if circle shape could be clipped by a rectangle area. Circle is - * rendered using stroke paint. - * - * @param image - * work image - * @param graphics2d - * graphics canvas - * @return test result status - PASSED, FAILED or ERROR - */ - public TestResult testClipCircleByRectangleAreaStrokePaint(TestImage image, Graphics2D graphics2d) - { - // render clip rectangle - renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); - // create clip area - createClipUsingRectangleArea(image, graphics2d); - // draw the area From jvanek at redhat.com Tue Nov 8 05:30:34 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 08 Nov 2011 14:30:34 +0100 Subject: [RFC][icedtea-web][rhino] added tests for corner cases of dateRange and enabled testWeekdayRange Message-ID: <4EB92EFA.9000601@redhat.com> Hi! This tests pickup and covers rhino tests failures, which occurs at the start/end of each week. eg bottoms of: http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320037429/index.html http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320123820/index.html http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320210219/index.html and see regeressions in Rhino tests More then bug in netx itself, I suspect quite strange functions incDate and decDate in tests/netx/pac/pac-funcs-test.js Note, that new tests of first day in month are falling all, and tests of last day in month are falling only for 31 days long months. Also I have noticed, taht testWeekdayRange (in same test file) have missing runTests, so this test is never call. I adddd this call, and it's three tests are now in and passing I had sorted call of this test *behind* "all currently running tests", because I want to keep rhino statistics (which are order-of-test dependent) untouched. To test dateRange properly against specific dates, I had to modify also netx/net/sourceforge/jnlp/runtime/pac-funcs.js. I have moved logic of dateRange into new function isDateInRange which an be called against any date. DateRange then preserve api compatibilty and is wrapper for "today" upon isDateInRange Best regards J. changelog: 2011-11-08 Jiri Vanek <jvanek at redhat.com> Added tests which covers corner cases or rhino support function dateRange Enabled testWeekdayRange test * tests/netx/pac/pac-funcs-test.js: (testWeekdayRange) - added mising runTests call (incDate) (decDate) (monthToStr) moved level up from function scope to be shareable (testDateRange2) new method, tests last days of months. (testDateRange3) new method, tests first days of months * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: (dateRange) logic of this method moved to isDateInRange. This one now serve just as api using current date (isDateInRange) logic of dateRange, can calculate ranges against any date -------------- next part -------------- A non-text attachment was scrubbed... Name: RhinoDateRAngeCornerCasesTests.diff Type: text/x-patch Size: 7320 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111108/4c6d514a/RhinoDateRAngeCornerCasesTests.diff From aph at redhat.com Tue Nov 8 07:44:58 2011 From: aph at redhat.com (Andrew Haley) Date: Tue, 08 Nov 2011 15:44:58 +0000 Subject: ARM jtreg results In-Reply-To: <4EB7E23F.6070909@redhat.com> References: <4EB7DC9B.6000909@redhat.com> <4EB7E23F.6070909@redhat.com> Message-ID: <4EB94E7A.4070503@redhat.com> On 11/07/2011 01:50 PM, Pavel Tisnovsky wrote: > Btw, I see many error messages in your log file which are similar to this one: > > execStatus=Error. Problem deleting file: /home/aph/iced-arm/temp2/test/jdk/JTwork/scratch/.nfs000000000118d826000000b0 > > It could be caused by some problem with NFS (file permissions, full fs etc.) I think it's actually a race (in the test harness) between closing a temp file and deleting the scratch directory. In a local file system this wouldn't matter, but you can't do this under NFS. Andrew. From dbhole at icedtea.classpath.org Tue Nov 8 08:02:01 2011 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Tue, 08 Nov 2011 16:02:01 +0000 Subject: /hg/release/icedtea-web-1.1: 4 new changesets Message-ID: <hg.8d2e4ca03cd5.1320768121.-5934593987637005765@icedtea.classpath.org> changeset 8d2e4ca03cd5 in /hg/release/icedtea-web-1.1 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.1?cmd=changeset;node=8d2e4ca03cd5 author: Deepak Bhole <dbhole at redhat.com> date: Fri Oct 28 14:29:21 2011 -0400 RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass changeset 77cbf8633a7c in /hg/release/icedtea-web-1.1 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.1?cmd=changeset;node=77cbf8633a7c author: Deepak Bhole <dbhole at redhat.com> date: Fri Oct 28 14:46:18 2011 -0400 Prepare to release 1.1.4 changeset e1040ab7de28 in /hg/release/icedtea-web-1.1 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.1?cmd=changeset;node=e1040ab7de28 author: Deepak Bhole <dbhole at redhat.com> date: Tue Nov 08 10:59:16 2011 -0500 Added tag icedtea-web-1.1.4 for changeset 77cbf8633a7c changeset 452aa7fc0e7f in /hg/release/icedtea-web-1.1 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.1?cmd=changeset;node=452aa7fc0e7f author: Deepak Bhole <dbhole at redhat.com> date: Fri Oct 28 17:28:53 2011 -0400 Prepare for 1.1.5 diffstat: .hgtags | 1 + ChangeLog | 17 +++ NEWS | 6 +- configure.ac | 2 +- netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 70 +------------- 5 files changed, 25 insertions(+), 71 deletions(-) diffs (137 lines): diff -r f968cbeaac0b -r 452aa7fc0e7f .hgtags --- a/.hgtags Fri Oct 28 14:31:42 2011 -0400 +++ b/.hgtags Fri Oct 28 17:28:53 2011 -0400 @@ -3,3 +3,4 @@ 44535ca475930d6f6a307b852ccb3f3aa97f0887 icedtea-web-1.1.1 4443143761dbd3294bfd0d9096121ca55c035d1b icedtea-web-1.1.2 3352c0b0d9bb990ec4dd89baadc2ef11bc8eed28 icedtea-web-1.1.3 +77cbf8633a7c63046eb70fbe89d594a8c7b116af icedtea-web-1.1.4 diff -r f968cbeaac0b -r 452aa7fc0e7f ChangeLog --- a/ChangeLog Fri Oct 28 14:31:42 2011 -0400 +++ b/ChangeLog Fri Oct 28 17:28:53 2011 -0400 @@ -1,3 +1,20 @@ +2011-09-28 Deepak Bhole <dbhole at redhat.com> + + * NEWS: Prepare for 1.1.5 + * configure.ac: Same + +2011-10-28 Deepak Bhole <dbhole at redhat.com> + + * NEWS: Prepare to release 1.1.4 + * configure.ac: Same + +2011-10-28 Deepak Bhole <dbhole at redhat.com> + RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and + suffix domain SOP bypass + * NEWS: Updated + * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java + (checkPermission): Remove special case for SocketPermission. + 2011-10-27 Deepak Bhole <dbhole at redhat.com> PR778: Jar download and server certificate verification deadlock diff -r f968cbeaac0b -r 452aa7fc0e7f NEWS --- a/NEWS Fri Oct 28 14:31:42 2011 -0400 +++ b/NEWS Fri Oct 28 17:28:53 2011 -0400 @@ -8,7 +8,11 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 1.1.4 (2011-XX-XX): +New in release 1.1.5 (2011-XX-XX): + +New in release 1.1.4 (2011-11-08): +* Security updates: + - RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass * Common - PR778: Jar download and server certificate verification deadlock diff -r f968cbeaac0b -r 452aa7fc0e7f configure.ac --- a/configure.ac Fri Oct 28 14:31:42 2011 -0400 +++ b/configure.ac Fri Oct 28 17:28:53 2011 -0400 @@ -1,4 +1,4 @@ -AC_INIT([icedtea-web],[1.1.4pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) +AC_INIT([icedtea-web],[1.1.5pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile netx.manifest]) diff -r f968cbeaac0b -r 452aa7fc0e7f netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Fri Oct 28 14:31:42 2011 -0400 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Fri Oct 28 17:28:53 2011 -0400 @@ -281,75 +281,7 @@ // } // } - try { - super.checkPermission(perm); - } catch (SecurityException se) { - - //This section is a special case for dealing with SocketPermissions. - if (JNLPRuntime.isDebug()) - System.err.println("Requesting permission: " + perm.toString()); - - //Change this SocketPermission's action to connect and accept - //(and resolve). This is to avoid asking for connect permission - //on every address resolve. - Permission tmpPerm = null; - if (perm instanceof SocketPermission) { - tmpPerm = new SocketPermission(perm.getName(), - SecurityConstants.SOCKET_CONNECT_ACCEPT_ACTION); - - // before proceeding, check if we are trying to connect to same origin - ApplicationInstance app = getApplication(); - JNLPFile file = app.getJNLPFile(); - - String srcHost = file.getSourceLocation().getAuthority(); - String destHost = name; - - // host = abc.xyz.com or abc.xyz.com:<port> - if (destHost.indexOf(':') >= 0) - destHost = destHost.substring(0, destHost.indexOf(':')); - - // host = abc.xyz.com - String[] hostComponents = destHost.split("\\."); - - int length = hostComponents.length; - if (length >= 2) { - - // address is in xxx.xxx.xxx format - destHost = hostComponents[length - 2] + "." + hostComponents[length - 1]; - - // host = xyz.com i.e. origin - boolean isDestHostName = false; - - // make sure that it is not an ip address - try { - Integer.parseInt(hostComponents[length - 1]); - } catch (NumberFormatException e) { - isDestHostName = true; - } - - if (isDestHostName) { - // okay, destination is hostname. Now figure out if it is a subset of origin - if (srcHost.endsWith(destHost)) { - addPermission(tmpPerm); - return; - } - } - } - } else { - tmpPerm = perm; - } - - if (tmpPerm != null) { - //askPermission will only prompt the user on SocketPermission - //meaning we're denying all other SecurityExceptions that may arise. - if (askPermission(tmpPerm)) { - addPermission(tmpPerm); - //return quietly. - } else { - throw se; - } - } - } + super.checkPermission(perm); } catch (SecurityException ex) { if (JNLPRuntime.isDebug()) { System.out.println("Denying permission: " + perm); From andrew at icedtea.classpath.org Tue Nov 8 08:02:15 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 08 Nov 2011 16:02:15 +0000 Subject: /hg/release/icedtea6-1.8: 3 new changesets Message-ID: <hg.3835320867e7.1320768135.1785565629229908550@icedtea.classpath.org> changeset 3835320867e7 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=3835320867e7 author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 01:09:07 2011 +0000 RH742515, CVE-2011-3377: IcedTea-Web: second-level domain and suffix domain SOP bypass 2011-10-28 Deepak Bhole <dbhole at redhat.com> RH742515, CVE-2011-3377: IcedTea-Web: second-level domain and suffix domain SOP bypass * NEWS: Updated. * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java (checkPermission): Remove special case for SocketPermission. changeset 14bad91b28f2 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=14bad91b28f2 author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 01:10:30 2011 +0000 Prepare for 1.8.11 release. 2011-11-08 Andrew John Hughes <ahughes at redhat.com> * NEWS: Set date for 1.8.11. * configure.ac: Bump to 1.8.11 proper. changeset ef616f503e56 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=ef616f503e56 author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 01:10:36 2011 +0000 Added tag icedtea6-1.8.11 for changeset 14bad91b28f2 diffstat: .hgtags | 1 + ChangeLog | 13 ++ NEWS | 5 +- configure.ac | 2 +- netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 68 +------------- 5 files changed, 21 insertions(+), 68 deletions(-) diffs (148 lines): diff -r b3744307bac0 -r ef616f503e56 .hgtags --- a/.hgtags Fri Oct 21 15:04:36 2011 +0100 +++ b/.hgtags Tue Nov 08 01:10:36 2011 +0000 @@ -31,3 +31,4 @@ 2cc9c0e4eadeacc5f52aae1424917aceeebe00c4 icedtea6-1.8.8 ae7e52528576f9f176761d4d41219084682be3df icedtea6-1.8.9 17524de1ad5c9871b0e2a96381630ef4d11ee737 icedtea6-1.8.10 +14bad91b28f287279c937f4e2c0e8665cdd9bdcf icedtea6-1.8.11 diff -r b3744307bac0 -r ef616f503e56 ChangeLog --- a/ChangeLog Fri Oct 21 15:04:36 2011 +0100 +++ b/ChangeLog Tue Nov 08 01:10:36 2011 +0000 @@ -1,3 +1,16 @@ +2011-11-08 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: Set date for 1.8.11. + * configure.ac: Bump to 1.8.11 proper. + +2011-10-28 Deepak Bhole <dbhole at redhat.com> + + RH742515, CVE-2011-3377: IcedTea-Web: second-level domain and + suffix domain SOP bypass + * NEWS: Updated. + * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java + (checkPermission): Remove special case for SocketPermission. + 2011-10-21 Andrew John Hughes <ahughes at redhat.com> * patches/security/20111018/7083012.patch: diff -r b3744307bac0 -r ef616f503e56 NEWS --- a/NEWS Fri Oct 21 15:04:36 2011 +0100 +++ b/NEWS Tue Nov 08 01:10:36 2011 +0000 @@ -8,7 +8,10 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 1.8.11 (20XX-XX-XX): +New in release 1.8.11 (2011-11-08): + +* Security fixes + - RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass New in release 1.8.10 (2011-10-18): diff -r b3744307bac0 -r ef616f503e56 configure.ac --- a/configure.ac Fri Oct 21 15:04:36 2011 +0100 +++ b/configure.ac Tue Nov 08 01:10:36 2011 +0000 @@ -1,4 +1,4 @@ -AC_INIT([icedtea6],[1.8.11pre],[distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea6],[1.8.11],[distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) diff -r b3744307bac0 -r ef616f503e56 netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Fri Oct 21 15:04:36 2011 +0100 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Tue Nov 08 01:10:36 2011 +0000 @@ -250,60 +250,10 @@ super.checkPermission(perm); } catch (SecurityException se) { - //This section is a special case for dealing with SocketPermissions. if (JNLPRuntime.isDebug()) System.err.println("Requesting permission: " + perm.toString()); - //Change this SocketPermission's action to connect and accept - //(and resolve). This is to avoid asking for connect permission - //on every address resolve. - Permission tmpPerm = null; - if (perm instanceof SocketPermission) { - tmpPerm = new SocketPermission(perm.getName(), - SecurityConstants.SOCKET_CONNECT_ACCEPT_ACTION); - - // before proceeding, check if we are trying to connect to same origin - ApplicationInstance app = getApplication(); - JNLPFile file = app.getJNLPFile(); - - String srcHost = file.getSourceLocation().getAuthority(); - String destHost = name; - - // host = abc.xyz.com or abc.xyz.com:<port> - if (destHost.indexOf(':') >= 0) - destHost = destHost.substring(0, destHost.indexOf(':')); - - // host = abc.xyz.com - String[] hostComponents = destHost.split("\\."); - - int length = hostComponents.length; - if (length >= 2) { - - // address is in xxx.xxx.xxx format - destHost = hostComponents[length -2] + "." + hostComponents[length -1]; - - // host = xyz.com i.e. origin - boolean isDestHostName = false; - - // make sure that it is not an ip address - try { - Integer.parseInt(hostComponents[length -1]); - } catch (NumberFormatException e) { - isDestHostName = true; - } - - if (isDestHostName) { - // okay, destination is hostname. Now figure out if it is a subset of origin - if (srcHost.endsWith(destHost)) { - addPermission(tmpPerm); - return; - } - } - } - - } else if (perm instanceof SecurityPermission) { - tmpPerm = perm; - + if (perm instanceof SecurityPermission) { // JCE's initialization requires putProviderProperty permission if (perm.equals(new SecurityPermission("putProviderProperty.SunJCE"))) { if (inTrustedCallChain("com.sun.crypto.provider.SunJCE", "run")) { @@ -312,29 +262,15 @@ } } else if (perm instanceof RuntimePermission) { - tmpPerm = perm; - // KeyGenerator's init method requires internal spec access if (perm.equals(new SecurityPermission("accessClassInPackage.sun.security.internal.spec"))) { if (inTrustedCallChain("javax.crypto.KeyGenerator", "init")) { return; } } - - } else { - tmpPerm = perm; } - if (tmpPerm != null) { - //askPermission will only prompt the user on SocketPermission - //meaning we're denying all other SecurityExceptions that may arise. - if (askPermission(tmpPerm)) { - addPermission(tmpPerm); - //return quietly. - } else { - throw se; - } - } + throw se; } } catch (SecurityException ex) { From dbhole at icedtea.classpath.org Tue Nov 8 08:02:18 2011 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Tue, 08 Nov 2011 16:02:18 +0000 Subject: /hg/release/icedtea-web-1.0: 4 new changesets Message-ID: <hg.a121fcd57325.1320768138.-5934593987637005766@icedtea.classpath.org> changeset a121fcd57325 in /hg/release/icedtea-web-1.0 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.0?cmd=changeset;node=a121fcd57325 author: Deepak Bhole <dbhole at redhat.com> date: Fri Oct 28 14:29:21 2011 -0400 RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass changeset 4f92ef9e37c4 in /hg/release/icedtea-web-1.0 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.0?cmd=changeset;node=4f92ef9e37c4 author: Deepak Bhole <dbhole at redhat.com> date: Fri Oct 28 17:03:37 2011 -0400 Prepare to release 1.0.6 changeset 8d74eb79a664 in /hg/release/icedtea-web-1.0 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.0?cmd=changeset;node=8d74eb79a664 author: Deepak Bhole <dbhole at redhat.com> date: Tue Nov 08 10:58:21 2011 -0500 Added tag icedtea-web-1.0.6 for changeset 4f92ef9e37c4 changeset 8d2ac271064f in /hg/release/icedtea-web-1.0 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.0?cmd=changeset;node=8d2ac271064f author: Deepak Bhole <dbhole at redhat.com> date: Fri Oct 28 17:27:54 2011 -0400 Prepare for 1.0.7 diffstat: .hgtags | 1 + ChangeLog | 18 +++ NEWS | 6 +- configure.ac | 2 +- netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 70 +------------- 5 files changed, 26 insertions(+), 71 deletions(-) diffs (138 lines): diff -r 574e571c53ae -r 8d2ac271064f .hgtags --- a/.hgtags Wed Sep 28 16:29:29 2011 -0400 +++ b/.hgtags Fri Oct 28 17:27:54 2011 -0400 @@ -5,3 +5,4 @@ 1cff369667f834dba0d9f01722245c3004947647 icedtea-web-1.0.3 99a3760950c668b7da194ac3705e13d4677b3ef7 icedtea-web-1.0.4 ef67e5cb533c98c1cf9b71e6a8dd86bebe9bc482 icedtea-web-1.0.5 +4f92ef9e37c4f70498784637da362e044c887727 icedtea-web-1.0.6 diff -r 574e571c53ae -r 8d2ac271064f ChangeLog --- a/ChangeLog Wed Sep 28 16:29:29 2011 -0400 +++ b/ChangeLog Fri Oct 28 17:27:54 2011 -0400 @@ -1,3 +1,21 @@ +2011-10-28 Deepak Bhole <dbhole at redhat.com> + + * configure.ac: Prepare for 1.0.7 + * NEWS: Same + +2011-10-28 Deepak Bhole <dbhole at redhat.com> + + * configure.ac: Prepare to release 1.0.6 + * NEWS: Same + +2011-10-28 Deepak Bhole <dbhole at redhat.com> + + RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and + suffix domain SOP bypass + * NEWS: Updated + * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java + (checkPermission): Remove special case for SocketPermission. + 2011-09-28 Deepak Bhole <dbhole at redhat.com> * configure.ac: Prepare for 1.0.6 diff -r 574e571c53ae -r 8d2ac271064f NEWS --- a/NEWS Wed Sep 28 16:29:29 2011 -0400 +++ b/NEWS Fri Oct 28 17:27:54 2011 -0400 @@ -8,7 +8,11 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 1.0.6 (2011-XX-XX): +New in release 1.0.7 (2011-XX-XX): + +New in release 1.0.6 (2011-11-08): +* Security updates + - RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass New in release 1.0.5 (2011-09-28): * Plugin diff -r 574e571c53ae -r 8d2ac271064f configure.ac --- a/configure.ac Wed Sep 28 16:29:29 2011 -0400 +++ b/configure.ac Fri Oct 28 17:27:54 2011 -0400 @@ -1,4 +1,4 @@ -AC_INIT([icedtea-web],[1.0.6pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) +AC_INIT([icedtea-web],[1.0.7pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) diff -r 574e571c53ae -r 8d2ac271064f netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Wed Sep 28 16:29:29 2011 -0400 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Fri Oct 28 17:27:54 2011 -0400 @@ -257,75 +257,7 @@ // } // } - try { - super.checkPermission(perm); - } catch (SecurityException se) { - - //This section is a special case for dealing with SocketPermissions. - if (JNLPRuntime.isDebug()) - System.err.println("Requesting permission: " + perm.toString()); - - //Change this SocketPermission's action to connect and accept - //(and resolve). This is to avoid asking for connect permission - //on every address resolve. - Permission tmpPerm = null; - if (perm instanceof SocketPermission) { - tmpPerm = new SocketPermission(perm.getName(), - SecurityConstants.SOCKET_CONNECT_ACCEPT_ACTION); - - // before proceeding, check if we are trying to connect to same origin - ApplicationInstance app = getApplication(); - JNLPFile file = app.getJNLPFile(); - - String srcHost = file.getSourceLocation().getAuthority(); - String destHost = name; - - // host = abc.xyz.com or abc.xyz.com:<port> - if (destHost.indexOf(':') >= 0) - destHost = destHost.substring(0, destHost.indexOf(':')); - - // host = abc.xyz.com - String[] hostComponents = destHost.split("\\."); - - int length = hostComponents.length; - if (length >= 2) { - - // address is in xxx.xxx.xxx format - destHost = hostComponents[length - 2] + "." + hostComponents[length - 1]; - - // host = xyz.com i.e. origin - boolean isDestHostName = false; - - // make sure that it is not an ip address - try { - Integer.parseInt(hostComponents[length - 1]); - } catch (NumberFormatException e) { - isDestHostName = true; - } - - if (isDestHostName) { - // okay, destination is hostname. Now figure out if it is a subset of origin - if (srcHost.endsWith(destHost)) { - addPermission(tmpPerm); - return; - } - } - } - } else { - tmpPerm = perm; - } - - if (tmpPerm != null) { - //askPermission will only prompt the user on SocketPermission - //meaning we're denying all other SecurityExceptions that may arise. - if (askPermission(tmpPerm)) { - addPermission(tmpPerm); - //return quietly. - } else { - throw se; - } - } - } + super.checkPermission(perm); } catch (SecurityException ex) { if (JNLPRuntime.isDebug()) { System.out.println("Denying permission: " + perm); From andrew at icedtea.classpath.org Tue Nov 8 08:02:31 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 08 Nov 2011 16:02:31 +0000 Subject: /hg/release/icedtea6-1.9: 3 new changesets Message-ID: <hg.f5478dd60f9e.1320768151.1785565629229908551@icedtea.classpath.org> changeset f5478dd60f9e in /hg/release/icedtea6-1.9 details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=f5478dd60f9e author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 01:05:03 2011 +0000 RH742515, CVE-2011-3377: IcedTea-Web: second-level domain and suffix domain SOP bypass 2011-10-28 Deepak Bhole <dbhole at redhat.com> RH742515, CVE-2011-3377: IcedTea-Web: second-level domain and suffix domain SOP bypass * NEWS: Updated. * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java (checkPermission): Remove special case for SocketPermission. changeset fc3dc6228784 in /hg/release/icedtea6-1.9 details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=fc3dc6228784 author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 01:07:53 2011 +0000 Prepare for 1.9.11 release. 2011-11-08 Andrew John Hughes <ahughes at redhat.com> * NEWS: Add 1.9.11 release date. * configure.ac: Bump to 1.9.11 proper. changeset 594021574961 in /hg/release/icedtea6-1.9 details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=594021574961 author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 01:08:21 2011 +0000 Added tag icedtea6-1.9.11 for changeset fc3dc6228784 diffstat: .hgtags | 1 + ChangeLog | 13 ++ NEWS | 5 +- configure.ac | 2 +- netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 68 +------------- 5 files changed, 21 insertions(+), 68 deletions(-) diffs (148 lines): diff -r 30ddc2f3dbe4 -r 594021574961 .hgtags --- a/.hgtags Fri Oct 21 15:04:36 2011 +0100 +++ b/.hgtags Tue Nov 08 01:08:21 2011 +0000 @@ -30,3 +30,4 @@ 25b9909a5432b811f85b121305a6ba7f01c7aace icedtea6-1.9.8 5eedbbda2c822758fd693f7b1ad9a73caca53471 icedtea6-1.9.9 7451a7b2b43e5c529c53a28361693cd51fc41a18 icedtea6-1.9.10 +fc3dc6228784993d02959aac8796f2accdedb857 icedtea6-1.9.11 diff -r 30ddc2f3dbe4 -r 594021574961 ChangeLog --- a/ChangeLog Fri Oct 21 15:04:36 2011 +0100 +++ b/ChangeLog Tue Nov 08 01:08:21 2011 +0000 @@ -1,3 +1,16 @@ +2011-11-08 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: Add 1.9.11 release date. + * configure.ac: Bump to 1.9.11 proper. + +2011-10-28 Deepak Bhole <dbhole at redhat.com> + + RH742515, CVE-2011-3377: IcedTea-Web: second-level domain and + suffix domain SOP bypass + * NEWS: Updated. + * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java + (checkPermission): Remove special case for SocketPermission. + 2011-10-21 Andrew John Hughes <ahughes at redhat.com> * patches/security/20111018/7083012.patch: diff -r 30ddc2f3dbe4 -r 594021574961 NEWS --- a/NEWS Fri Oct 21 15:04:36 2011 +0100 +++ b/NEWS Tue Nov 08 01:08:21 2011 +0000 @@ -8,7 +8,10 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 1.9.11 (20XX-XX-XX): +New in release 1.9.11 (2011-11-08): + +* Security fixes + - RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass New in release 1.9.10 (2011-10-18): diff -r 30ddc2f3dbe4 -r 594021574961 configure.ac --- a/configure.ac Fri Oct 21 15:04:36 2011 +0100 +++ b/configure.ac Tue Nov 08 01:08:21 2011 +0000 @@ -1,4 +1,4 @@ -AC_INIT([icedtea6],[1.9.11pre],[distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea6],[1.9.11],[distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) diff -r 30ddc2f3dbe4 -r 594021574961 netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Fri Oct 21 15:04:36 2011 +0100 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Tue Nov 08 01:08:21 2011 +0000 @@ -250,60 +250,10 @@ super.checkPermission(perm); } catch (SecurityException se) { - //This section is a special case for dealing with SocketPermissions. if (JNLPRuntime.isDebug()) System.err.println("Requesting permission: " + perm.toString()); - //Change this SocketPermission's action to connect and accept - //(and resolve). This is to avoid asking for connect permission - //on every address resolve. - Permission tmpPerm = null; - if (perm instanceof SocketPermission) { - tmpPerm = new SocketPermission(perm.getName(), - SecurityConstants.SOCKET_CONNECT_ACCEPT_ACTION); - - // before proceeding, check if we are trying to connect to same origin - ApplicationInstance app = getApplication(); - JNLPFile file = app.getJNLPFile(); - - String srcHost = file.getSourceLocation().getAuthority(); - String destHost = name; - - // host = abc.xyz.com or abc.xyz.com:<port> - if (destHost.indexOf(':') >= 0) - destHost = destHost.substring(0, destHost.indexOf(':')); - - // host = abc.xyz.com - String[] hostComponents = destHost.split("\\."); - - int length = hostComponents.length; - if (length >= 2) { - - // address is in xxx.xxx.xxx format - destHost = hostComponents[length -2] + "." + hostComponents[length -1]; - - // host = xyz.com i.e. origin - boolean isDestHostName = false; - - // make sure that it is not an ip address - try { - Integer.parseInt(hostComponents[length -1]); - } catch (NumberFormatException e) { - isDestHostName = true; - } - - if (isDestHostName) { - // okay, destination is hostname. Now figure out if it is a subset of origin - if (srcHost.endsWith(destHost)) { - addPermission(tmpPerm); - return; - } - } - } - - } else if (perm instanceof SecurityPermission) { - tmpPerm = perm; - + if (perm instanceof SecurityPermission) { // JCE's initialization requires putProviderProperty permission if (perm.equals(new SecurityPermission("putProviderProperty.SunJCE"))) { if (inTrustedCallChain("com.sun.crypto.provider.SunJCE", "run")) { @@ -312,29 +262,15 @@ } } else if (perm instanceof RuntimePermission) { - tmpPerm = perm; - // KeyGenerator's init method requires internal spec access if (perm.equals(new SecurityPermission("accessClassInPackage.sun.security.internal.spec"))) { if (inTrustedCallChain("javax.crypto.KeyGenerator", "init")) { return; } } - - } else { - tmpPerm = perm; } - if (tmpPerm != null) { - //askPermission will only prompt the user on SocketPermission - //meaning we're denying all other SecurityExceptions that may arise. - if (askPermission(tmpPerm)) { - addPermission(tmpPerm); - //return quietly. - } else { - throw se; - } - } + throw se; } } catch (SecurityException ex) { From dbhole at redhat.com Tue Nov 8 08:02:34 2011 From: dbhole at redhat.com (Deepak Bhole) Date: Tue, 8 Nov 2011 11:02:34 -0500 Subject: IcedTea-Web 1.0.6 and 1.1.4 (security releases) released Message-ID: <20111108160233.GD22610@redhat.com> IcedTea-Web 1.0.6 and 1.1.4 have been released. These are security fix only releases and address a security issue classified as having moderate impact. What's new in 1.0.6 and 1.1.4: RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass The following people helped with this release: Omair Majid Checksums: 44a770da85fd2e342ab09e065798a07d04601ea51879df4a5e88f804e4f02eba icedtea-web-1.0.6.tar.gz b17a742af0153b7887cf667a160f8519afad125bc515b0f4783c66e7ee1a7f26 icedtea-web-1.1.4.tar.gz Download links: http://icedtea.classpath.org/download/source/icedtea-web-1.0.6.tar.gz http://icedtea.classpath.org/download/source/icedtea-web-1.1.4.tar.gz After extracting, it can be built as per instructions here: http://icedtea.classpath.org/wiki/IcedTea-Web#Building_IcedTea-Web Cheers, Deepak From dbhole at icedtea.classpath.org Tue Nov 8 08:06:59 2011 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Tue, 08 Nov 2011 16:06:59 +0000 Subject: /hg/icedtea-web: 2 new changesets Message-ID: <hg.614de01ec4e4.1320768419.8643924302249223276@icedtea.classpath.org> changeset 614de01ec4e4 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=614de01ec4e4 author: Deepak Bhole <dbhole at redhat.com> date: Fri Oct 28 14:29:21 2011 -0400 RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass changeset f36e0b3fb9f0 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=f36e0b3fb9f0 author: Deepak Bhole <dbhole at redhat.com> date: Tue Nov 08 11:06:52 2011 -0500 merge diffstat: ChangeLog | 16 +++ NEWS | 2 + netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 70 +------------- netx/net/sourceforge/jnlp/tools/JarSigner.java | 2 +- 4 files changed, 20 insertions(+), 70 deletions(-) diffs (134 lines): diff -r 9f5ea9198a66 -r f36e0b3fb9f0 ChangeLog --- a/ChangeLog Thu Oct 27 18:24:46 2011 -0400 +++ b/ChangeLog Tue Nov 08 11:06:52 2011 -0500 @@ -1,3 +1,19 @@ +2011-10-31 Omair Majid <omajid at redhat.com> + + PR808: javaws is unable to start when missing jars are enumerated before + main jar + * NEWS: Update. + * netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJars): Continue + with other jars if the first jar can't be used. + +2011-10-28 Deepak Bhole <dbhole at redhat.com> + + RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and + suffix domain SOP bypass + * NEWS: Updated + * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java + (checkPermission): Remove special case for SocketPermission. + 2011-10-27 Deepak Bhole <dbhole at redhat.com> PR778: Jar download and server certificate verification deadlock diff -r 9f5ea9198a66 -r f36e0b3fb9f0 NEWS --- a/NEWS Thu Oct 27 18:24:46 2011 -0400 +++ b/NEWS Tue Nov 08 11:06:52 2011 -0500 @@ -12,6 +12,7 @@ * Security updates: - RH718164, CVE-2011-2513: Home directory path disclosure to untrusted applications - RH718170, CVE-2011-2514: Java Web Start security warning dialog manipulation + - RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass * NetX - PR618: Can't install OpenDJ, JavaWebStart fails with Input stream is null error - PR765: JNLP file with all resource jars marked as 'lazy' fails to validate signature and stops the launch of application @@ -29,6 +30,7 @@ - PR778: Jar download and server certificate verification deadlock - PR789: typo in jrunscript.sh - PR794: IcedTea-Web does not work if a Web Start app jar has a Class-Path element in the manifest + - PR808: javaws is unable to start, when missing jars are enumerated before main jar - RH734081: Javaws cannot use proxy settings from Firefox - RH738814: Access denied at ssl handshake - Support for authenticating using client certificates diff -r 9f5ea9198a66 -r f36e0b3fb9f0 netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Thu Oct 27 18:24:46 2011 -0400 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java Tue Nov 08 11:06:52 2011 -0500 @@ -281,75 +281,7 @@ // } // } - try { - super.checkPermission(perm); - } catch (SecurityException se) { - - //This section is a special case for dealing with SocketPermissions. - if (JNLPRuntime.isDebug()) - System.err.println("Requesting permission: " + perm.toString()); - - //Change this SocketPermission's action to connect and accept - //(and resolve). This is to avoid asking for connect permission - //on every address resolve. - Permission tmpPerm = null; - if (perm instanceof SocketPermission) { - tmpPerm = new SocketPermission(perm.getName(), - SecurityConstants.SOCKET_CONNECT_ACCEPT_ACTION); - - // before proceeding, check if we are trying to connect to same origin - ApplicationInstance app = getApplication(); - JNLPFile file = app.getJNLPFile(); - - String srcHost = file.getSourceLocation().getAuthority(); - String destHost = name; - - // host = abc.xyz.com or abc.xyz.com:<port> - if (destHost.indexOf(':') >= 0) - destHost = destHost.substring(0, destHost.indexOf(':')); - - // host = abc.xyz.com - String[] hostComponents = destHost.split("\\."); - - int length = hostComponents.length; - if (length >= 2) { - - // address is in xxx.xxx.xxx format - destHost = hostComponents[length - 2] + "." + hostComponents[length - 1]; - - // host = xyz.com i.e. origin - boolean isDestHostName = false; - - // make sure that it is not an ip address - try { - Integer.parseInt(hostComponents[length - 1]); - } catch (NumberFormatException e) { - isDestHostName = true; - } - - if (isDestHostName) { - // okay, destination is hostname. Now figure out if it is a subset of origin - if (srcHost.endsWith(destHost)) { - addPermission(tmpPerm); - return; - } - } - } - } else { - tmpPerm = perm; - } - - if (tmpPerm != null) { - //askPermission will only prompt the user on SocketPermission - //meaning we're denying all other SecurityExceptions that may arise. - if (askPermission(tmpPerm)) { - addPermission(tmpPerm); - //return quietly. - } else { - throw se; - } - } - } + super.checkPermission(perm); } catch (SecurityException ex) { if (JNLPRuntime.isDebug()) { System.out.println("Denying permission: " + perm); diff -r 9f5ea9198a66 -r f36e0b3fb9f0 netx/net/sourceforge/jnlp/tools/JarSigner.java --- a/netx/net/sourceforge/jnlp/tools/JarSigner.java Thu Oct 27 18:24:46 2011 -0400 +++ b/netx/net/sourceforge/jnlp/tools/JarSigner.java Tue Nov 08 11:06:52 2011 -0500 @@ -194,7 +194,7 @@ // some sort of resource download/cache error. Nothing to add // in that case ... but don't fail here if (jarFile == null) { - return; + continue; } String localFile = jarFile.getAbsolutePath(); From ahughes at redhat.com Tue Nov 8 08:13:48 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Tue, 8 Nov 2011 16:13:48 +0000 Subject: [SECURITY: IcedTea-Web] IcedTea6 1.8.11 and 1.9.11 Released! In-Reply-To: <20111019004856.GA27941@rivendell.redhat.com> References: <20111019004856.GA27941@rivendell.redhat.com> Message-ID: <20111108161348.GX25917@rivendell.middle-earth.co.uk> The IcedTea project provides a harness to build the source code from OpenJDK6 using Free Software build tools, along with additional features such as a PulseAudio sound driver and support for alternative virtual machines. A new set of security releases is now available for versions of IcedTea which include the plugin and Web Start support now developed in the IcedTea-Web project: * IcedTea6 1.8.11 * IcedTea6 1.9.11 Where possible, we recommend using IcedTea-Web in preference to these older versions, in order to obtain the latest bug fixes and features. All updates contain the following security fixes: * RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass Full details of each release can be found below. What?s New? ?????? New in release 1.9.11 (2011-11-08): * Security fixes - RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass New in release 1.8.11 (2011-11-08): * Security fixes - RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and suffix domain SOP bypass The tarballs can be downloaded from: * http://icedtea.classpath.org/download/source/icedtea6-1.8.11.tar.gz * http://icedtea.classpath.org/download/source/icedtea6-1.9.11.tar.gz SHA256 checksums: 6eb418ec0609080a71bda16896124d6e1ac23b2f54af52e05fc22c719e12ca29 icedtea6-1.8.11.tar.gz fd3b32f8dd1010fa8b752f0224fb25a8fe102c9f82652f0ded32138fd4ba3714 icedtea6-1.9.11.tar.gz Each tarball is accompanied by a digital signature (available at the above URL + '.sig'). This is produced using my public key. See details below in the signature. The following people helped with these releases: * Deepak Bhole (RH742515) * Andrew John Hughes (release management) * Omair Majid (additional patch preparation work) We would also like to thank the bug reporters and testers! To get started: $ tar xzf icedtea6-<ver>.tar.gz $ cd icedtea6-<ver> Full build requirements and instructions are in INSTALL: $ ./configure [--enable-zero --enable-pulse-java --enable-systemtap ...] $ make -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111108/f5283bcd/attachment.bin From andyrtr at archlinux.org Tue Nov 8 13:14:12 2011 From: andyrtr at archlinux.org (Andreas Radke) Date: Tue, 8 Nov 2011 22:14:12 +0100 Subject: build failure with new Xulrunner 8 Message-ID: <20111108221412.2c18c3ad@laptop64.home> I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 \ -DXP_UNIX -I/usr/include/xulrunner-8.0 \ -fPIC -o /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.o -c /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc: In function 'NPError plugin_start_appletviewer(ITNPPluginData*)': /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc:1597:118: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc: In function 'char* NP_GetMIMEDescription()': /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc:2266:24: error: new declaration 'char* NP_GetMIMEDescription()' /usr/include/xulrunner-8.0/npfunctions.h:303:24: error: ambiguates old declaration 'const char* NP_GetMIMEDescription()' make: *** [/build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.o] Error 1 checking for MOZILLA... no checking for MOZILLA... yes checking for xulrunner version... 8000000 Do you have a fix for this? -Andy ArchLinux From bugzilla-daemon at icedtea.classpath.org Tue Nov 8 14:19:57 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 08 Nov 2011 22:19:57 +0000 Subject: [Bug 815] New: LibreOffice Message-ID: <bug-815-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=815 Bug #: 815 Summary: LibreOffice Classification: Unclassified Product: IcedTea Version: unspecified Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: JamVM AssignedTo: xerxes at zafena.se ReportedBy: isa_99960 at hotmail.com CC: unassigned at icedtea.classpath.org Created attachment 602 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=602 LibreOffice problem -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From dbhole at redhat.com Tue Nov 8 14:33:56 2011 From: dbhole at redhat.com (Deepak Bhole) Date: Tue, 8 Nov 2011 17:33:56 -0500 Subject: build failure with new Xulrunner 8 In-Reply-To: <20111108221412.2c18c3ad@laptop64.home> References: <20111108221412.2c18c3ad@laptop64.home> Message-ID: <20111108223355.GH22610@redhat.com> * Andreas Radke <andyrtr at archlinux.org> [2011-11-08 16:15]: > I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 \ > -DXP_UNIX -I/usr/include/xulrunner-8.0 \ > -fPIC -o /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.o -c /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc: In function 'NPError plugin_start_appletviewer(ITNPPluginData*)': > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc:1597:118: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc: In function 'char* NP_GetMIMEDescription()': > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc:2266:24: error: new declaration 'char* NP_GetMIMEDescription()' > /usr/include/xulrunner-8.0/npfunctions.h:303:24: error: ambiguates old declaration 'const char* NP_GetMIMEDescription()' > make: *** > [/build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.o] Error 1 > > > checking for MOZILLA... no > checking for MOZILLA... yes > checking for xulrunner version... 8000000 > > Do you have a fix for this? > Fedora upgraded to xulrunner 8 today and I just spotted it this afternoon too. I need some time to think about a proper fix. The npapi-sdk guys have are refusing to back the change out[1] and have ignored a request to allow version detection so that code can be conditionally compiled[2]. They advocate copying the npapi headers into the source tree which is unfeasible. I am working on some autotools magic to allow us to continue using system npapi. I am attaching a patch that you can use in the mean time. Note: It seems that with Arch linux, version detection will work (as it is detecting 8000000). However Fedora has the last proper xulrunner version (2) so it will not work there. There may be other distros doing the same too. Cheers, Deepak 1: http://code.google.com/p/npapi-sdk/issues/detail?id=9 2: http://code.google.com/p/npapi-sdk/issues/detail?id=10 -------------- next part -------------- diff -up ./plugin/icedteanp/IcedTeaNPPlugin.cc.sav ./plugin/icedteanp/IcedTeaNPPlugin.cc --- ./plugin/icedteanp/IcedTeaNPPlugin.cc.sav 2011-11-08 17:27:29.046520865 -0500 +++ ./plugin/icedteanp/IcedTeaNPPlugin.cc 2011-11-08 17:27:40.469611421 -0500 @@ -2262,7 +2262,7 @@ NP_Initialize (NPNetscapeFuncs* browserT // Returns a string describing the MIME type that this plugin // handles. -char* +const char* NP_GetMIMEDescription () { PLUGIN_DEBUG ("NP_GetMIMEDescription\n"); From andrew at icedtea.classpath.org Tue Nov 8 14:47:19 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 08 Nov 2011 22:47:19 +0000 Subject: /hg/release/icedtea6-1.9: Prepare for 1.9.12. Message-ID: <hg.65ae83133df3.1320792439.1785565629229908551@icedtea.classpath.org> changeset 65ae83133df3 in /hg/release/icedtea6-1.9 details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=65ae83133df3 author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 22:47:10 2011 +0000 Prepare for 1.9.12. 2011-11-08 Andrew John Hughes <ahughes at redhat.com> * NEWS: Prepare for 1.9.12. * configure.ac: Bump to 1.9.12pre. diffstat: ChangeLog | 5 +++++ NEWS | 2 ++ configure.ac | 2 +- 3 files changed, 8 insertions(+), 1 deletions(-) diffs (33 lines): diff -r 594021574961 -r 65ae83133df3 ChangeLog --- a/ChangeLog Tue Nov 08 01:08:21 2011 +0000 +++ b/ChangeLog Tue Nov 08 22:47:10 2011 +0000 @@ -1,3 +1,8 @@ +2011-11-08 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: Prepare for 1.9.12. + * configure.ac: Bump to 1.9.12pre. + 2011-11-08 Andrew John Hughes <ahughes at redhat.com> * NEWS: Add 1.9.11 release date. diff -r 594021574961 -r 65ae83133df3 NEWS --- a/NEWS Tue Nov 08 01:08:21 2011 +0000 +++ b/NEWS Tue Nov 08 22:47:10 2011 +0000 @@ -8,6 +8,8 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 1.9.12 (20XX-XX-XX): + New in release 1.9.11 (2011-11-08): * Security fixes diff -r 594021574961 -r 65ae83133df3 configure.ac --- a/configure.ac Tue Nov 08 01:08:21 2011 +0000 +++ b/configure.ac Tue Nov 08 22:47:10 2011 +0000 @@ -1,4 +1,4 @@ -AC_INIT([icedtea6],[1.9.11],[distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea6],[1.9.12pre],[distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) From andrew at icedtea.classpath.org Tue Nov 8 15:12:21 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 08 Nov 2011 23:12:21 +0000 Subject: /hg/release/icedtea6-1.8: Prepare for 1.8.12. Message-ID: <hg.0e6611b4f2d9.1320793941.1785565629229908550@icedtea.classpath.org> changeset 0e6611b4f2d9 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=0e6611b4f2d9 author: Andrew John Hughes <ahughes at redhat.com> date: Tue Nov 08 23:12:16 2011 +0000 Prepare for 1.8.12. 2011-11-08 Andrew John Hughes <ahughes at redhat.com> * NEWS: Prepare for 1.8.12. * configure.ac: Bump to 1.8.12pre. diffstat: ChangeLog | 5 +++++ NEWS | 2 ++ configure.ac | 2 +- 3 files changed, 8 insertions(+), 1 deletions(-) diffs (33 lines): diff -r ef616f503e56 -r 0e6611b4f2d9 ChangeLog --- a/ChangeLog Tue Nov 08 01:10:36 2011 +0000 +++ b/ChangeLog Tue Nov 08 23:12:16 2011 +0000 @@ -1,3 +1,8 @@ +2011-11-08 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: Prepare for 1.8.12. + * configure.ac: Bump to 1.8.12pre. + 2011-11-08 Andrew John Hughes <ahughes at redhat.com> * NEWS: Set date for 1.8.11. diff -r ef616f503e56 -r 0e6611b4f2d9 NEWS --- a/NEWS Tue Nov 08 01:10:36 2011 +0000 +++ b/NEWS Tue Nov 08 23:12:16 2011 +0000 @@ -8,6 +8,8 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 1.8.12 (20XX-XX-XX): + New in release 1.8.11 (2011-11-08): * Security fixes diff -r ef616f503e56 -r 0e6611b4f2d9 configure.ac --- a/configure.ac Tue Nov 08 01:10:36 2011 +0000 +++ b/configure.ac Tue Nov 08 23:12:16 2011 +0000 @@ -1,4 +1,4 @@ -AC_INIT([icedtea6],[1.8.11],[distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea6],[1.8.12pre],[distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) From ahughes at redhat.com Tue Nov 8 15:40:12 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Tue, 8 Nov 2011 23:40:12 +0000 Subject: build failure with new Xulrunner 8 In-Reply-To: <20111108223355.GH22610@redhat.com> References: <20111108221412.2c18c3ad@laptop64.home> <20111108223355.GH22610@redhat.com> Message-ID: <20111108234012.GC25917@rivendell.middle-earth.co.uk> On 17:33 Tue 08 Nov , Deepak Bhole wrote: > * Andreas Radke <andyrtr at archlinux.org> [2011-11-08 16:15]: > > I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 \ > > -DXP_UNIX -I/usr/include/xulrunner-8.0 \ > > -fPIC -o /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.o -c /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc > > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc: In function 'NPError plugin_start_appletviewer(ITNPPluginData*)': > > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc:1597:118: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc: In function 'char* NP_GetMIMEDescription()': > > /build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc:2266:24: error: new declaration 'char* NP_GetMIMEDescription()' > > /usr/include/xulrunner-8.0/npfunctions.h:303:24: error: ambiguates old declaration 'const char* NP_GetMIMEDescription()' > > make: *** > > [/build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.o] Error 1 > > > > > > checking for MOZILLA... no > > checking for MOZILLA... yes > > checking for xulrunner version... 8000000 > > > > Do you have a fix for this? > > > > Fedora upgraded to xulrunner 8 today and I just spotted it this > afternoon too. > > I need some time to think about a proper fix. The npapi-sdk guys have > are refusing to back the change out[1] and have ignored a request to > allow version detection so that code can be conditionally compiled[2]. > > They advocate copying the npapi headers into the source tree which is > unfeasible. > > I am working on some autotools magic to allow us to continue using > system npapi. > > I am attaching a patch that you can use in the mean time. > > Note: It seems that with Arch linux, version detection will work (as it > is detecting 8000000). However Fedora has the last proper xulrunner > version (2) so it will not work there. There may be other distros doing > the same too. > > Cheers, > Deepak > > 1: http://code.google.com/p/npapi-sdk/issues/detail?id=9 > 2: http://code.google.com/p/npapi-sdk/issues/detail?id=10 > diff -up ./plugin/icedteanp/IcedTeaNPPlugin.cc.sav ./plugin/icedteanp/IcedTeaNPPlugin.cc > --- ./plugin/icedteanp/IcedTeaNPPlugin.cc.sav 2011-11-08 17:27:29.046520865 -0500 > +++ ./plugin/icedteanp/IcedTeaNPPlugin.cc 2011-11-08 17:27:40.469611421 -0500 > @@ -2262,7 +2262,7 @@ NP_Initialize (NPNetscapeFuncs* browserT > > // Returns a string describing the MIME type that this plugin > // handles. > -char* > +const char* > NP_GetMIMEDescription () > { > PLUGIN_DEBUG ("NP_GetMIMEDescription\n"); One wonders if they are trying to make sure no-one uses Firefox... I'm sure Google will be more than happy for them to do that. -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111108/ce69ae6f/attachment.bin From bugzilla-daemon at icedtea.classpath.org Tue Nov 8 18:07:18 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Nov 2011 02:07:18 +0000 Subject: [Bug 815] LibreOffice In-Reply-To: <bug-815-30@http.icedtea.classpath.org/bugzilla/> References: <bug-815-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-815-30-lPlbytIImU@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=815 Andrew John Hughes <ahughes at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #602|text/x-log |text/plain mime type| | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 8 18:08:55 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Nov 2011 02:08:55 +0000 Subject: [Bug 815] LibreOffice In-Reply-To: <bug-815-30@http.icedtea.classpath.org/bugzilla/> References: <bug-815-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-815-30-FN2U4eDhZn@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=815 Andrew John Hughes <ahughes at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ahughes at redhat.com Component|JamVM |IcedTea6 Version|unspecified |6-1.10.4 Resolution| |INVALID AssignedTo|xerxes at zafena.se |unassigned at icedtea.classpat | |h.org --- Comment #1 from Andrew John Hughes <ahughes at redhat.com> 2011-11-09 02:08:55 UTC --- This is a crash in LibreOffice code. I suggest you file a bug with them. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From ptisnovs at icedtea.classpath.org Wed Nov 9 01:14:00 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 09 Nov 2011 09:14:00 +0000 Subject: /hg/gfx-test: 2011-11-09 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.7bbb18623f9e.1320830040.-6248649288953172555@icedtea.classpath.org> changeset 7bbb18623f9e in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=7bbb18623f9e author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Wed Nov 09 10:15:54 2011 +0100 2011-11-09 Pavel Tisnovsky <ptisnovs at redhat.com> * Makefile: updated * src/org/gfxtest/framework/CommonClippingOperations.java: Refactoring, added eight new tests to this test suite. diffstat: ChangeLog | 6 + Makefile | 7 +- src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java | 319 +++++++-- 3 files changed, 258 insertions(+), 74 deletions(-) diffs (477 lines): diff -r 843d131b0d88 -r 7bbb18623f9e ChangeLog --- a/ChangeLog Tue Nov 08 12:51:12 2011 +0100 +++ b/ChangeLog Wed Nov 09 10:15:54 2011 +0100 @@ -1,3 +1,9 @@ +2011-11-09 Pavel Tisnovsky <ptisnovs at redhat.com> + + * Makefile: updated + * src/org/gfxtest/framework/CommonClippingOperations.java: + Refactoring, added eight new tests to this test suite. + 2011-11-08 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/framework/CommonClippingOperations.java: diff -r 843d131b0d88 -r 7bbb18623f9e Makefile --- a/Makefile Tue Nov 08 12:51:12 2011 +0100 +++ b/Makefile Wed Nov 09 10:15:54 2011 +0100 @@ -79,6 +79,7 @@ $(CLASSES)/$(FRAMEWORK_DIR)/CommonCAGOperations.class \ $(CLASSES)/$(FRAMEWORK_DIR)/CommonRenderingStyles.class \ $(CLASSES)/$(FRAMEWORK_DIR)/CommonShapesRenderer.class \ + $(CLASSES)/$(FRAMEWORK_DIR)/CommonClippingOperations.class \ $(CLASSES)/$(FRAMEWORK_DIR)/EntityRenderingStyle.class \ $(CLASSES)/$(FRAMEWORK_DIR)/TestResult.class \ $(CLASSES)/$(FRAMEWORK_DIR)/ParameterNotFoundException.class \ @@ -145,7 +146,8 @@ $(CLASSES)/$(TESTSUITE_DIR)/CAGOperationsOnTwoOverlappingRectangles.class \ $(CLASSES)/$(TESTSUITE_DIR)/CAGOperationsOnCircleAndRectangle.class \ $(CLASSES)/$(TESTSUITE_DIR)/TexturePaint.class \ - $(CLASSES)/$(TESTSUITE_DIR)/Clipping.class + $(CLASSES)/$(TESTSUITE_DIR)/Clipping.class \ + $(CLASSES)/$(TESTSUITE_DIR)/ClippingCircleByRectangleArea.class COMPARE_RESULTS = \ $(RESULTS)/Areas \ @@ -194,7 +196,8 @@ $(RESULTS)/CAGOperationsOnTwoOverlappingRectangles \ $(RESULTS)/CAGOperationsOnCircleAndRectangle \ $(RESULTS)/TexturePaint \ - $(RESULTS)/Clipping + $(RESULTS)/Clipping \ + $(RESULTS)/ClippingCircleByRectangleArea # targets for all test suites TESTSUITES = $(shell ls -1 src/org/gfxtest/testsuites | sed -n -e 's/\([A-Za-z0-9]*\)\.java/\1/p') diff -r 843d131b0d88 -r 7bbb18623f9e src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java --- a/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java Tue Nov 08 12:51:12 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java Wed Nov 09 10:15:54 2011 +0100 @@ -70,6 +70,53 @@ @Zoom(1) public class ClippingCircleByRectangleArea extends GfxTest { + /** + * Prepare canvas for the rendering. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void basicSetupForRendering(TestImage image, Graphics2D graphics2d) + { + // create clip area + CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); + } + + /** + * Draw empty circle clipped by rectangle area. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawEmptyCircleClippedByRectangleArea(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // draw the area + CommonShapesRenderer.drawCircle(image, graphics2d); + } + + /** + * Draw empty circle clipped by rectangle area. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawFilledCircleClippedByRectangleArea(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // fill the area + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } /** * Check if circle shape could be clipped by a rectangle area. Circle is @@ -85,12 +132,8 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // draw the area - CommonShapesRenderer.drawCircle(image, graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -109,14 +152,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set stroke width CommonRenderingStyles.setStrokeThickWidth(graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // draw the area - CommonShapesRenderer.drawCircle(image, graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -137,12 +176,8 @@ CommonClippingOperations.renderClipRectangle(image, graphics2d); // set stroke width CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // draw the area - CommonShapesRenderer.drawCircle(image, graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -187,14 +222,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set horizontal gradient paint CommonRenderingStyles.setHorizontalGradientFill(image, graphics2d); - // create horizontal gradient paint - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -213,14 +244,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set vertical gradient paint CommonRenderingStyles.setVerticalGradientFill(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -239,14 +266,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set diagonal gradient paint CommonRenderingStyles.setDiagonalGradientFill(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -265,14 +288,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set radial gradient paint CommonRenderingStyles.setRadialGradientFill(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -291,14 +310,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set the texture CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -317,14 +332,186 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set the texture CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaGridTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingGridTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaDiagonalGridTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaColorDotsTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaHorizontalStripesTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaVerticalStripesTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingVerticalStripesTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaDiagonalStripesTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaHorizontalColorStripesTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingHorizontalColorStripesTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle area. Circle is + * rendered using texture paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleAreaVerticalColorStripesTexturePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set the texture + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -343,14 +530,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set the texture CommonRenderingStyles.setTextureFillUsingRGBTexture1(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -369,14 +552,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set the texture CommonRenderingStyles.setTextureFillUsingRGBTexture2(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } @@ -395,14 +574,10 @@ { // render clip rectangle CommonClippingOperations.renderClipRectangle(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); // set the texture CommonRenderingStyles.setTextureFillUsingRGBTexture3(image, graphics2d); - // create clip area - CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // set clip region and render filled circle + drawFilledCircleClippedByRectangleArea(image, graphics2d); // test result return TestResult.PASSED; } From omajid at redhat.com Wed Nov 9 09:22:44 2011 From: omajid at redhat.com (Omair Majid) Date: Wed, 09 Nov 2011 12:22:44 -0500 Subject: [RFC][icedtea-web][rhino] added tests for corner cases of dateRange and enabled testWeekdayRange In-Reply-To: <4EB92EFA.9000601@redhat.com> References: <4EB92EFA.9000601@redhat.com> Message-ID: <4EBAB6E4.3030606@redhat.com> On 11/08/2011 08:30 AM, Jiri Vanek wrote: > Hi! > This tests pickup and covers rhino tests failures, which occurs at the > start/end of each week. > eg bottoms of: > http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320037429/index.html > http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320123820/index.html > http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320210219/index.html > and see regeressions in Rhino tests > Thanks for these. Some of the links, like 'Rhino tests' which leads to http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320037429/ICWDR_1320037429/check_o.log, look broken. > More then bug in netx itself, I suspect quite strange functions incDate > and decDate in tests/netx/pac/pac-funcs-test.js > Note, that new tests of first day in month are falling all, and tests of > last day in month are falling only for 31 days long months. > Just to be clear, the patch does not change this behaviour, right? I suspect you might have to replace incDate/decDate (and related methods) to increment the date, month, year tuple (and return that) instead of just the date or the month or the year by itself. > Also I have noticed, taht testWeekdayRange (in same test file) have > missing runTests, so this test is never call. I adddd this call, and > it's three tests are now in and passing Nice catch! > I had sorted call of this test *behind* "all currently running tests", > because I want to keep rhino statistics (which are order-of-test > dependent) untouched. > > To test dateRange properly against specific dates, I had to modify also > netx/net/sourceforge/jnlp/runtime/pac-funcs.js. I have moved logic of > dateRange into new function isDateInRange which an be called against > any date. > DateRange then preserve api compatibilty and is wrapper for "today" > upon isDateInRange > Good idea. > diff -r 89b7a28ccafb netx/net/sourceforge/jnlp/runtime/pac-funcs.js > --- a/netx/net/sourceforge/jnlp/runtime/pac-funcs.js Mon Oct 31 16:31:41 2011 -0400 > +++ b/netx/net/sourceforge/jnlp/runtime/pac-funcs.js Tue Nov 08 14:27:33 2011 +0100 > @@ -325,20 +325,22 @@ > * of the above ways of calling. > */ > function dateRange() { > +switch (arguments.length) { Indentation looks a little wrong here. > + case 1: return isDateInRange(new Date(),arguments[0]); > + case 2: return isDateInRange(new Date(),arguments[0],arguments[1]); > + case 3: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2]); > + case 4: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3]); > + case 5: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]); > + case 6: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]); > + case 7: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]); //GMT > + default: > + return false; > + } > +} > > - // note: watch out for wrapping around of dates. date ranges, like > - // month=9 to month=8, wrap around and cover the entire year. this > - // makes everything more interesting > +function isDateInRange() { > > - var gmt; > - if (arguments.length> 1) { > - if (arguments[arguments.length-1] === "GMT") { > - gmt = true; > - arguments.splice(0,arguments.length-1); > - } > - } > - > - function isDate(date) { > + function isDate(date) { Why the change in indentation? > if (typeof(date) === 'number'&& (date<= 31&& date>= 1)) { > return true; > } > @@ -578,8 +580,19 @@ > } > } > > + // note: watch out for wrapping around of dates. date ranges, like > + // month=9 to month=8, wrap around and cover the entire year. this > + // makes everything more interesting > + > + var gmt; > + if (arguments.length> 2) { > + if (arguments[arguments.length-1] === "GMT") { > + gmt = true; > + arguments.splice(0,arguments.length-1); > + } > + } > // TODO: change date to gmt, whatever > - var today = new Date(); > + var today = arguments[0] > > var arg1; > var arg2; > @@ -588,9 +601,9 @@ > var arg5; > var arg6; > > - switch (arguments.length) { > + switch (arguments.length-1) { > case 1: > - var arg = arguments[0]; > + var arg = arguments[1]; > if (isDate(arg)) { > if (today.getDate() === arg) { > return true; > @@ -611,8 +624,8 @@ > } > } > case 2: > - arg1 = arguments[0]; > - arg2 = arguments[1]; > + arg1 = arguments[1]; > + arg2 = arguments[2]; > if (isDate(arg1)&& isDate(arg2)) { > var date1 = arg1; > var date2 = arg2; > @@ -634,10 +647,10 @@ > return false; > } > case 4: > - arg1 = arguments[0]; > - arg2 = arguments[1]; > - arg3 = arguments[2]; > - arg4 = arguments[3]; > + arg1 = arguments[1]; > + arg2 = arguments[2]; > + arg3 = arguments[3]; > + arg4 = arguments[4]; > > if (isDate(arg1)&& isMonth(arg2)&& isDate(arg3)&& isMonth(arg4)) { > var date1 = arg1; > @@ -658,12 +671,12 @@ > return false; > } > case 6: > - arg1 = arguments[0]; > - arg2 = arguments[1]; > - arg3 = arguments[2]; > - arg4 = arguments[3]; > - arg5 = arguments[4]; > - arg6 = arguments[5]; > + arg1 = arguments[1]; > + arg2 = arguments[2]; > + arg3 = arguments[3]; > + arg4 = arguments[4]; > + arg5 = arguments[5]; > + arg6 = arguments[6]; > if (isDate(arg1)&& isMonth(arg2)&& isYear(arg3)&& > isDate(arg4)&& isMonth(arg5)&& isYear(arg6)) { > var day1 = arg1; > diff -r 89b7a28ccafb tests/netx/pac/pac-funcs-test.js > --- a/tests/netx/pac/pac-funcs-test.js Mon Oct 31 16:31:41 2011 -0400 > +++ b/tests/netx/pac/pac-funcs-test.js Tue Nov 08 14:27:33 2011 +0100 > @@ -21,9 +21,11 @@ > testDnsResolve(); > testDnsDomainLevels(); > testShExpMatch(); > - testWeekdayRange(); > testDateRange(); > testTimeRange(); > + testWeekdayRange(); > + testDateRange2(); > + testDateRange3(); > > java.lang.System.out.println("Test results: passed: " + testsPassed + "; failed: " + testsFailed + ";"); > } > @@ -235,11 +237,11 @@ > [ false, dayToStr(day+1) ], > [ false, dayToStr(day-1) ], > ]; > + > + runTests(weekdayRange, tests); > } > > -function testDateRange() { > - > - function incDate(date) { > +function incDate(date) { > return (date + 1 - 1) % 31 +1 ; > } > Indentation looks wrong here. > @@ -267,6 +269,9 @@ > } > } > > +function testDateRange() { > + > + > var today = new Date(); > var date = today.getDate(); > var month = today.getMonth(); > @@ -369,6 +374,80 @@ > > } > > +function testDateRange2() { > + > +var dates = [ > + new Date("January 31, 2011 3:33:33"), > + new Date("February 28, 2011 3:33:33"), > + new Date("February 29, 2012 3:33:33"), > + new Date("March 31, 2011 3:33:33"), > + new Date("April 30, 2011 3:33:33"), > + new Date("May 31, 2011 3:33:33"), > + new Date("June 30, 2011 3:33:33"), > + new Date("July 31, 2011 3:33:33"), > + new Date("August 31, 2011 3:33:33"), > + new Date("September 30, 2011 3:33:33"), > + new Date("October 31, 2011 3:33:33"), > + new Date("November 30, 2011 3:33:33"), > + new Date("December 31, 2011 3:33:33"), > + > +] > +for (var i = 0; i< dates.length; i++) { > + var today = dates[i]; > + var date = today.getDate(); > + var month = today.getMonth(); > + var year = today.getYear(); > + > + var tests = [ > + > + [ true, today, date, monthToStr(month) , incDate(date), monthToStr(month) ], > + [ true, today, decDate(date), monthToStr(month) , incDate(date), monthToStr(month) ], > + [ true, today, decDate(date), monthToStr(month), year, incDate(date), monthToStr(month), year ], > + [ false, today, incDate(date), monthToStr(month), year, incDate(date), monthToStr(month+1), year+1 ], > + > + ]; > + > + runTests(isDateInRange, tests); > +} > + > +} Also weird indentation here. > + > +function testDateRange3() { > +var dates = [ > + new Date("January 1, 2011 1:11:11"), > + new Date("February 1, 2011 1:11:11"), > + new Date("March 1, 2011 1:11:11"), > + new Date("April 1, 2011 1:11:11"), > + new Date("May 1, 2011 1:11:11"), > + new Date("June 1, 2011 1:11:11"), > + new Date("July 1, 2011 1:11:11"), > + new Date("August 1, 2011 1:11:11"), > + new Date("September 1, 2011 1:11:11"), > + new Date("October 1, 2011 1:11:11"), > + new Date("November 1, 2011 1:11:11"), > + new Date("December 1, 2011 1:11:11"), > + > +] > + > + > + > +for (var i = 0; i< dates.length; i++) { > + var today = dates[i] > + var date = today.getDate(); > + var month = today.getMonth(); > + var year = today.getYear(); > + > + var tests = [ > + [ true, today, decDate(date), monthToStr(month) , date, monthToStr(month) ], > + [ true, today, decDate(date), monthToStr(month) , incDate(date), monthToStr(month) ], > + [ true, today, decDate(date), monthToStr(month), year, incDate(date), monthToStr(month), year ], > + > + ]; > + > + runTests(isDateInRange, tests); > +} > +} And likewise. > + > function testTimeRange() { > var now = new Date(); > > The tests themselves look fine to me. Thanks again for catching this and creating a patch! Cheers, Omair From bugzilla-daemon at icedtea.classpath.org Wed Nov 9 11:46:16 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Nov 2011 19:46:16 +0000 Subject: [Bug 816] New: # A fatal error has been detected by the Java Runtime Environment: running soapui Message-ID: <bug-816-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=816 Bug #: 816 Summary: # A fatal error has been detected by the Java Runtime Environment: running soapui Classification: Unclassified Product: IcedTea Version: unspecified Platform: x86_64 OS/Version: Linux Status: NEW Severity: critical Priority: P3 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: dan_cunningham at byu.edu Created attachment 603 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=603 Pid log [akuankka at dscfc bin]$ sudo ./soapui.sh [sudo] password for akuankka: ================================ = = SOAPUI_HOME = /home/akuankka/Downloads/soapui-4.0.1 = ================================ Configuring log4j from [/home/akuankka/Downloads/soapui-4.0.1/bin/soapui-log4j.xml] 12:34:27,915 INFO [DefaultSoapUICore] initialized soapui-settings from [/home/akuankka/Downloads/soapui-4.0.1/soapui-settings.xml] 12:34:28,802 INFO [SoapUI] Used java version: 1.6.0_22 (process:10622): GLib-GObject-CRITICAL **: gtype.c:2708: You forgot to call g_type_init() (process:10622): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed (process:10622): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000003ce18199d1, pid=10622, tid=140730217981696 # # JRE version: 6.0_22-b22 # Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea6 1.10.4 # Distribution: Fedora release 16 (Verne), package fedora-60.1.10.4.fc16-x86_64 # Problematic frame: # C [libgconf-2.so.4+0x199d1] g_intern_static_string+0x199d1 # # An error report file with more information is saved as: # /home/akuankka/Downloads/soapui-4.0.1/bin/hs_err_pid10622.log # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # ./soapui.sh: line 141: 10622 Aborted (core dumped) java $JAVA_OPTS -cp $SOAPUI_CLASSPATH com.eviware.soapui.SoapUI "$@" -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Wed Nov 9 12:34:05 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Nov 2011 20:34:05 +0000 Subject: [Bug 816] # A fatal error has been detected by the Java Runtime Environment: running soapui In-Reply-To: <bug-816-30@http.icedtea.classpath.org/bugzilla/> References: <bug-816-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-816-30-qHJr4q0wsm@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=816 Deepak Bhole <dbhole at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dbhole at redhat.com Resolution| |INVALID --- Comment #1 from Deepak Bhole <dbhole at redhat.com> 2011-11-09 20:34:05 UTC --- According to the stack trace, this is a bug in JxBrowser code: j org.mozilla.xpcom.internal.GREImpl.notifyProfile()V+0 j org.mozilla.xpcom.Mozilla.notifyProfile()V+4 j com.teamdev.xpcom.a.a()V+691 j com.teamdev.xpcom.b$a.run()V+13 v ~StubRoutines::call_stub Please open this bug with them as there is nothing IcedTea can do about it. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From omajid at redhat.com Wed Nov 9 12:57:55 2011 From: omajid at redhat.com (Omair Majid) Date: Wed, 09 Nov 2011 15:57:55 -0500 Subject: [visualvm] RFC: add support for building visualvm-1.3.3 In-Reply-To: <4EB0F672.7050000@redhat.com> References: <4EB0569D.8010608@redhat.com> <4EB0F672.7050000@redhat.com> Message-ID: <4EBAE953.3070001@redhat.com> On 11/02/2011 03:51 AM, Jiri Vanek wrote: > Looks Ok for me. I have uploaded sources for you to classpath, so you > can get rid of upstream url. The urls http://icedtea.classpath.org/download/visualvm/visualvm_133-src.tar.gz and http://icedtea.classpath.org/download/visualvm/netbeans-profiler-visualvm_release701.tar.gz give me a permission denied error. Could someone please fix the file permissions? Or tell me how I can fix them myself? Thanks, Omair From mark at klomp.org Wed Nov 9 14:01:14 2011 From: mark at klomp.org (Mark Wielaard) Date: Wed, 9 Nov 2011 23:01:14 +0100 (CET) Subject: [visualvm] RFC: add support for building visualvm-1.3.3 In-Reply-To: <4EBAE953.3070001@redhat.com> References: <4EB0569D.8010608@redhat.com> <4EB0F672.7050000@redhat.com> <4EBAE953.3070001@redhat.com> Message-ID: <47609.80.101.103.228.1320876074.squirrel@gnu.wildebeest.org> On Wed, November 9, 2011 21:57, Omair Majid wrote: > The urls > http://icedtea.classpath.org/download/visualvm/visualvm_133-src.tar.gz > and > http://icedtea.classpath.org/download/visualvm/netbeans-profiler-visualvm_release701.tar.gz > give me a permission denied error. > > Could someone please fix the file permissions? Or tell me how I can fix > them myself? The files needed read permission set for others. Fixed on the server by doing: find /var/lib/public-download -not -perm -o=r | xargs sudo chmod o+r From omajid at icedtea.classpath.org Wed Nov 9 14:24:19 2011 From: omajid at icedtea.classpath.org (omajid at icedtea.classpath.org) Date: Wed, 09 Nov 2011 22:24:19 +0000 Subject: /hg/visualvm: Add support for visualvm 1.3.3 Message-ID: <hg.bc76c6cb587c.1320877459.3003210063747066060@icedtea.classpath.org> changeset bc76c6cb587c in /hg/visualvm details: http://icedtea.classpath.org/hg/visualvm?cmd=changeset;node=bc76c6cb587c author: Omair Majid <omajid at redhat.com> date: Wed Nov 09 17:23:22 2011 -0500 Add support for visualvm 1.3.3 2011-11-09 Omair Majid <omajid at redhat.com> * NEWS: Update. * Makefile.am: Add NETBEANS_701_PROFILER_URL, NETBEANS_701_PROFILER_SRC_ZIP, NETBEANS_701_PROFILER_SHA256SUM, VISUALVM_133_URL, VISUALVM_133_SRC_ZIP, VISUALVM_133_SHA256SUM. Initialize variable if VVVERSION_133 is set. * acinclude.m4 (VV_CHECK_FOR_NETBEANS): Check for platform13 dir. diffstat: ChangeLog | 9 +++++++++ Makefile.am | 21 +++++++++++++++++++++ NEWS | 3 +++ acinclude.m4 | 6 +++++- 4 files changed, 38 insertions(+), 1 deletions(-) diffs (104 lines): diff -r 5b9565081674 -r bc76c6cb587c ChangeLog --- a/ChangeLog Tue Mar 22 13:10:03 2011 +0100 +++ b/ChangeLog Wed Nov 09 17:23:22 2011 -0500 @@ -1,3 +1,12 @@ +2011-11-09 Omair Majid <omajid at redhat.com> + + * NEWS: Update. + * Makefile.am: Add NETBEANS_701_PROFILER_URL, + NETBEANS_701_PROFILER_SRC_ZIP, NETBEANS_701_PROFILER_SHA256SUM, + VISUALVM_133_URL, VISUALVM_133_SRC_ZIP, VISUALVM_133_SHA256SUM. + Initialize variables if VVVERSION_133 is set. + * acinclude.m4 (VV_CHECK_FOR_NETBEANS): Check for platform13 dir. + 2011-03-15 Jiri Vanek <jvanek at redhat.com> * Makefile.am: support for downloading files from classpath.org server diff -r 5b9565081674 -r bc76c6cb587c Makefile.am --- a/Makefile.am Tue Mar 22 13:10:03 2011 +0100 +++ b/Makefile.am Wed Nov 09 17:23:22 2011 -0500 @@ -16,6 +16,10 @@ NETBEANS_691_1_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release691_1.tar.gz NETBEANS_691_1_PROFILER_SHA256SUM = ee083f4417435ba7f398f1c3e65433a8a983aa68ef90d27385688991fab1c493 +NETBEANS_701_PROFILER_URL = $(BASE_CLASSPATH_URL) +NETBEANS_701_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release701.tar.gz +NETBEANS_701_PROFILER_SHA256SUM = 0056c6b7da3fa9499b87319caa6b431b935b48f9579f7c94ec169777ecd2c238 + VISUALVM_122_URL = $(BASE_CLASSPATH_URL) VISUALVM_122_SRC_ZIP = visualvm_122-src.tar.gz VISUALVM_122_SHA256SUM = 1b1cd77354757d64ca902722bb9481e1292a88c4884ffea8af7bb47f8ae24af5 @@ -32,6 +36,22 @@ VISUALVM_132_SRC_ZIP = visualvm_132-src.tar.gz VISUALVM_132_SHA256SUM = 1ad1b87a1d8ce7ce1bb1700c10942c4fd2afd47e3f024448c593abc0dff8e163 +VISUALVM_133_URL = $(BASE_CLASSPATH_URL) +VISUALVM_133_SRC_ZIP = visualvm_133-src.tar.gz +VISUALVM_133_SHA256SUM = 43f4d5c892d3654ada9d07f2a8dc1c1b98db671f558a5c7fa7e9db7e86b7ca81 + +if VVVERSION_133 + NETBEANS_PROFILER_URL=$(NETBEANS_701_PROFILER_URL) + NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_701_PROFILER_SRC_ZIP) + NETBEANS_PROFILER_SHA256SUM=$(NETBEANS_701_PROFILER_SHA256SUM) + VISUALVM_URL=$(VISUALVM_133_URL) + VISUALVM_SRC_ZIP=$(VISUALVM_133_SRC_ZIP) + VISUALVM_SHA256SUM=$(VISUALVM_133_SHA256SUM) + NBPLATFORM_DIR=netbeans/nbbuild/netbeans_visualvm/platform + NBBUILD_PROPERTIES=-Dpermit.jdk6.builds=true -Dpermit.jdk7.builds=true + ADDITIONAL_DIRS=profiler.oql + PROFILER=profiler +else if VVVERSION_132 NETBEANS_PROFILER_URL=$(NETBEANS_691_1_PROFILER_URL) NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_691_1_PROFILER_SRC_ZIP) @@ -77,6 +97,7 @@ endif endif endif +endif all: visualvm diff -r 5b9565081674 -r bc76c6cb587c NEWS --- a/NEWS Tue Mar 22 13:10:03 2011 +0100 +++ b/NEWS Wed Nov 09 17:23:22 2011 -0500 @@ -8,6 +8,9 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 1.3 (2011-XX-XX): +* Support for VisualVM 1.3.3 + New in release 1.2 (2011-03-09): * Support for VisualVM 1.3.2 diff -r 5b9565081674 -r bc76c6cb587c acinclude.m4 --- a/acinclude.m4 Tue Mar 22 13:10:03 2011 +0100 +++ b/acinclude.m4 Wed Nov 09 17:23:22 2011 -0500 @@ -129,6 +129,7 @@ AM_CONDITIONAL([VVVERSION_13], [test "$VVVERSION" = "1.3"]) AM_CONDITIONAL([VVVERSION_131], [test "$VVVERSION" = "1.3.1"]) AM_CONDITIONAL([VVVERSION_132], [test "$VVVERSION" = "1.3.2"]) + AM_CONDITIONAL([VVVERSION_133], [test "$VVVERSION" = "1.3.3"]) ]) AC_DEFUN_ONCE([VV_CHECK_FOR_NETBEANS], @@ -151,7 +152,9 @@ ]) AC_MSG_RESULT([${SYSTEM_NETBEANS_DIR}]) AC_SUBST(SYSTEM_NETBEANS_DIR) -if test "$VVVERSION" = "1.3.2"; then +if test "$VVVERSION" = "1.3.3"; then + NB_PLATFORM=platform13; +else if test "$VVVERSION" = "1.3.2"; then NB_PLATFORM=platform12; else if test "$VVVERSION" = "1.3.1"; then NB_PLATFORM=platform12; @@ -162,6 +165,7 @@ fi fi fi +fi if ! test -d ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM} ; then AC_MSG_ERROR([Couldn't find NetBeans platform directory: ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM}]) fi From ahughes at redhat.com Thu Nov 10 01:23:24 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Thu, 10 Nov 2011 09:23:24 +0000 Subject: Build of IcedTea6 HEAD broken Message-ID: <20111110092324.GB31481@rivendell.middle-earth.co.uk> Our nightly builder reports: Linking vm... vmError.o: In function `ps': /notnfs/nighttester/icedtea6-target-testing/openjdk/hotspot/src/share/vm/utilities/vmError.cpp:241: multiple definition of `ps' debug.o:/notnfs/nighttester/icedtea6-target-testing/openjdk/hotspot/src/share/vm/utilities/debug.cpp :464: first defined here collect2: ld returned 1 exit status I presume this is caused by: 2011-10-28 Andrew Haley <aph at redhat.com> * Makefile.am (ICEDTEA_PATCHES): Add patches/arm-debug.patch. Can this please be fixed? Thanks, -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111110/b8e42010/attachment.bin From mark at klomp.org Thu Nov 10 02:09:23 2011 From: mark at klomp.org (Mark Wielaard) Date: Thu, 10 Nov 2011 11:09:23 +0100 Subject: Build of IcedTea6 HEAD broken In-Reply-To: <20111110092324.GB31481@rivendell.middle-earth.co.uk> References: <20111110092324.GB31481@rivendell.middle-earth.co.uk> Message-ID: <1320919763.3298.33.camel@springer.wildebeest.org> Hi Andrew, On Thu, 2011-11-10 at 09:23 +0000, Dr Andrew John Hughes wrote: > Our nightly builder reports: > > Linking vm... > vmError.o: In function `ps': > /notnfs/nighttester/icedtea6-target-testing/openjdk/hotspot/src/share/vm/utilities/vmError.cpp:241: > multiple definition of `ps' > debug.o:/notnfs/nighttester/icedtea6-target-testing/openjdk/hotspot/src/share/vm/utilities/debug.cpp > :464: first defined here > collect2: ld returned 1 exit status Can you give a bit more information about how your nightly builder is setup/configured? Most of the public buildbots for icedtea6 are green at the moment: http://builder.classpath.org/icedtea/buildbot/waterfall Thanks, Mark From aph at redhat.com Thu Nov 10 02:25:42 2011 From: aph at redhat.com (Andrew Haley) Date: Thu, 10 Nov 2011 10:25:42 +0000 Subject: Build of IcedTea6 HEAD broken In-Reply-To: <1320919763.3298.33.camel@springer.wildebeest.org> References: <20111110092324.GB31481@rivendell.middle-earth.co.uk> <1320919763.3298.33.camel@springer.wildebeest.org> Message-ID: <4EBBA6A6.8040900@redhat.com> On 11/10/2011 10:09 AM, Mark Wielaard wrote: > Can you give a bit more information about how your nightly builder is > setup/configured? Yes, please. I'll fix it as soon as I can duplicate it. I wonder if it's a debug build. Andrew. From jvanek at redhat.com Thu Nov 10 03:12:24 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 10 Nov 2011 12:12:24 +0100 Subject: [RFC][icedtea-web][rhino] added tests for corner cases of dateRange and enabled testWeekdayRange In-Reply-To: <4EBAB6E4.3030606@redhat.com> References: <4EB92EFA.9000601@redhat.com> <4EBAB6E4.3030606@redhat.com> Message-ID: <4EBBB198.4080400@redhat.com> On 11/09/2011 06:22 PM, Omair Majid wrote: > On 11/08/2011 08:30 AM, Jiri Vanek wrote: >> Hi! >> This tests pickup and covers rhino tests failures, which occurs at the >> start/end of each week. >> eg bottoms of: >> http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320037429/index.html >> http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320123820/index.html >> http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320210219/index.html >> and see regeressions in Rhino tests >> > > Thanks for these. Some of the links, like 'Rhino tests' which leads to > http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320037429/ICWDR_1320037429/check_o.log, look broken. Yap, I',m aware of this. Those links are used in three levels.. In this deepest one they are not fixed, (because I'm lazy) because the logs themselves are available in the logs list at the top. > >> More then bug in netx itself, I suspect quite strange functions incDate >> and decDate in tests/netx/pac/pac-funcs-test.js >> Note, that new tests of first day in month are falling all, and tests of >> last day in month are falling only for 31 days long months. >> > > Just to be clear, the patch does not change this behaviour, right? True. Most of new tests (all except X.30) are falling. The fix will probably lay inside incDate/decDate. I will fix them when this patch will be in. Probably the best way is to use Date javascript functionality setDate var date=new Date(); function incDate(d){ var date2=new Date(); date2.setDate(d.getDate()+30); return date2; } function f1() { document.writeln(" 1 "+date.toLocaleDateString()); document.writeln(" 2 "+incDate(date)); document.writeln(" 3 "+date.toLocaleDateString()); } will output 1 11/10/2011 2 Sat Dec 10 2011 12:06:47 GMT+0100 (CET) 3 11/10/2011 which is correct. So this should do the work but will need quite a typing in tests. > > I suspect you might have to replace incDate/decDate (and related methods) to increment the date, month, year tuple (and return that) instead of just the date or the month or the year by itself. ... > > Good idea. > >> diff -r 89b7a28ccafb netx/net/sourceforge/jnlp/runtime/pac-funcs.js ...to much indentation problems ... >> > > The tests themselves look fine to me. > > Thanks again for catching this and creating a patch! > Attached is patch with fixed indentation Regards J. > Cheers, > Omair -------------- next part -------------- A non-text attachment was scrubbed... Name: RhinoDateRAngeCornerCasesTests.diff Type: text/x-patch Size: 7368 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111110/0bcb8c4d/RhinoDateRAngeCornerCasesTests.diff From xranby at icedtea.classpath.org Thu Nov 10 03:37:04 2011 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Thu, 10 Nov 2011 11:37:04 +0000 Subject: /hg/buildbot: Some jdk jtreg tests takes 7200s to timeout, incre... Message-ID: <hg.afcfe8947eac.1320925024.-8970262713663391652@icedtea.classpath.org> changeset afcfe8947eac in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=afcfe8947eac author: Xerxes Ranby <xerxes at zafena.se> date: Thu Nov 10 12:59:53 2011 +0100 Some jdk jtreg tests takes 7200s to timeout, increase check-jdk timeout to 7500 to prevent race. diffstat: icedtea/master.cfg | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diffs (129 lines): diff -r a7ab5cbae580 -r afcfe8947eac icedtea/master.cfg --- a/icedtea/master.cfg Tue Nov 08 11:01:27 2011 +0100 +++ b/icedtea/master.cfg Thu Nov 10 12:59:53 2011 +0100 @@ -398,7 +398,7 @@ workdir="build", timeout=2400)) f3an.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3an.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -428,7 +428,7 @@ workdir="build", timeout=2400)) f3an7.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3an7.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -459,7 +459,7 @@ workdir="build", timeout=2400)) f3anc.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3anc.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -490,7 +490,7 @@ workdir="build", timeout=2400)) f3anj.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3anj.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -521,7 +521,7 @@ workdir="build", timeout=2400)) f3ans.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3ans.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -552,7 +552,7 @@ workdir="build", timeout=2400)) f3lz.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3lz.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -583,7 +583,7 @@ workdir="build", timeout=2400)) f3ls.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3ls.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -614,7 +614,7 @@ workdir="build", timeout=2400)) f3lc.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3lc.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -644,7 +644,7 @@ workdir="build", timeout=2400)) f3lj.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3lj.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -675,7 +675,7 @@ workdir="build", timeout=2400)) f3a5.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3a5.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -708,7 +708,7 @@ workdir="build")) f3a5c.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3a5c.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -739,7 +739,7 @@ workdir="build", timeout=2400)) f3a5j.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3a5j.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -769,7 +769,7 @@ workdir="build", timeout=2400)) f3a5s.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build", timeout=7200)) + workdir="build", timeout=7500)) f3a5s.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, @@ -902,7 +902,7 @@ workdir="build")) f4.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", - workdir="build")) + workdir="build", timeout=7500)) icedtea6_builder_full = { 'name': "icedtea6-squeeze-x86_64-full", 'slavenames': ["squeeze-x86_64"], From omajid at redhat.com Thu Nov 10 06:56:30 2011 From: omajid at redhat.com (Omair Majid) Date: Thu, 10 Nov 2011 09:56:30 -0500 Subject: [visualvm] RFC: add support for building visualvm-1.3.3 In-Reply-To: <47609.80.101.103.228.1320876074.squirrel@gnu.wildebeest.org> References: <4EB0569D.8010608@redhat.com> <4EB0F672.7050000@redhat.com> <4EBAE953.3070001@redhat.com> <47609.80.101.103.228.1320876074.squirrel@gnu.wildebeest.org> Message-ID: <4EBBE61E.10800@redhat.com> On 11/09/2011 05:01 PM, Mark Wielaard wrote: > On Wed, November 9, 2011 21:57, Omair Majid wrote: >> The urls >> http://icedtea.classpath.org/download/visualvm/visualvm_133-src.tar.gz >> and >> http://icedtea.classpath.org/download/visualvm/netbeans-profiler-visualvm_release701.tar.gz >> give me a permission denied error. >> >> Could someone please fix the file permissions? Or tell me how I can fix >> them myself? > > The files needed read permission set for others. > Fixed on the server by doing: > find /var/lib/public-download -not -perm -o=r | xargs sudo chmod o+r > Thanks Mark! Omair From omajid at redhat.com Thu Nov 10 06:58:31 2011 From: omajid at redhat.com (Omair Majid) Date: Thu, 10 Nov 2011 09:58:31 -0500 Subject: [RFC][icedtea-web][rhino] added tests for corner cases of dateRange and enabled testWeekdayRange In-Reply-To: <4EBBB198.4080400@redhat.com> References: <4EB92EFA.9000601@redhat.com> <4EBAB6E4.3030606@redhat.com> <4EBBB198.4080400@redhat.com> Message-ID: <4EBBE697.70308@redhat.com> On 11/10/2011 06:12 AM, Jiri Vanek wrote: > On 11/09/2011 06:22 PM, Omair Majid wrote: >> On 11/08/2011 08:30 AM, Jiri Vanek wrote: >>> Hi! >>> This tests pickup and covers rhino tests failures, which occurs at the >>> start/end of each week. >>> eg bottoms of: >>> http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320037429/index.html >>> http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320123820/index.html >>> http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320210219/index.html >>> and see regeressions in Rhino tests >>> >> >> Thanks for these. Some of the links, like 'Rhino tests' which leads to >> http://10.34.2.200/icedtea-web-dailyreport/ICWDR_1320037429/ICWDR_1320037429/check_o.log, >> look broken. > Yap, I',m aware of this. Those links are used in three levels.. In this > deepest one they are not fixed, (because I'm lazy) because the logs > themselves are available in the logs list at the top. >> >>> More then bug in netx itself, I suspect quite strange functions incDate >>> and decDate in tests/netx/pac/pac-funcs-test.js >>> Note, that new tests of first day in month are falling all, and tests of >>> last day in month are falling only for 31 days long months. >>> >> >> Just to be clear, the patch does not change this behaviour, right? > > True. Most of new tests (all except X.30) are falling. The fix will > probably lay inside incDate/decDate. I will fix them when this patch > will be in. Probably the best way is to use Date javascript > functionality setDate > var date=new Date(); > > function incDate(d){ > var date2=new Date(); > date2.setDate(d.getDate()+30); > return date2; > } > function f1() > { > document.writeln(" 1 "+date.toLocaleDateString()); > document.writeln(" 2 "+incDate(date)); > document.writeln(" 3 "+date.toLocaleDateString()); > } > > will output > 1 11/10/2011 > 2 Sat Dec 10 2011 12:06:47 GMT+0100 (CET) > 3 11/10/2011 > which is correct. > > So this should do the work but will need quite a typing in tests. >> >> I suspect you might have to replace incDate/decDate (and related >> methods) to increment the date, month, year tuple (and return that) >> instead of just the date or the month or the year by itself. > ... >> >> Good idea. >> >>> diff -r 89b7a28ccafb netx/net/sourceforge/jnlp/runtime/pac-funcs.js > ...to much indentation problems ... >>> >> >> The tests themselves look fine to me. >> >> Thanks again for catching this and creating a patch! >> > Attached is patch with fixed indentation > Looks good to me. Cheers, Omair From omajid at redhat.com Thu Nov 10 07:17:57 2011 From: omajid at redhat.com (Omair Majid) Date: Thu, 10 Nov 2011 10:17:57 -0500 Subject: ping? [RFC] [icedtea-web] reproducer for handling spaces In-Reply-To: <4EB8DE24.9070002@redhat.com> References: <4EB023B8.5080905@redhat.com> <4EB2C2BB.6070202@redhat.com> <4EB2DE72.5070800@redhat.com> <4EB2E60A.2080901@redhat.com> <4EB2F69B.5000400@redhat.com> <4EB2F8E1.5030902@redhat.com> <4EB2FD2D.9010007@redhat.com> <4EB3F724.4070108@redhat.com> <4EB8DE24.9070002@redhat.com> Message-ID: <4EBBEB25.3070601@redhat.com> On 11/08/2011 02:45 AM, Jiri Vanek wrote: > On 11/04/2011 03:31 PM, Omair Majid wrote: >> On 11/03/2011 04:44 PM, Jiri Vanek wrote: > .... >> >>>>> Because it is so easy to run single reproducer from IDE, then i >>>>> believe >>>>> that the only problem to run it from commandline is correct setting of >>>>> classpath. >>>>>> >>>>>> As for restoring IFS, you can do simple assignments in the >>>>>> makefile to >>>>>> restore IFS: >>>>> >>>>> Actually, you can't. I do not know why, but inside mkefile, the IFS >>>>> variable is different from shell (just space in my case, whether in >>>>> shell contains space,\t and \n). If I'm changing it in "shell", then I >>>>> prefer to restore it by the same way. The line you wrote, was my >>>>> exactly >>>>> first idea:) >>>>> >>>> >>>> Well if IFS has a different value when running under make, how is that >>>> a problem? As long as you set it back to the old IFS, I would expect >>>> things to work fine. >>> >>> Ok. Unless it cause some catastrophe I will do this as you suggested. >>> >> >> Please let us know how it goes. > > It seems it is working as you expected. > The only change is assignment IFS="$$IFS_BACKUP" ; \ instead of > restoreIFS() function ( which I still like more ;) ) > > diff -r 89b7a28ccafb tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java > --- a/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java Mon Oct 31 16:31:41 2011 -0400 > +++ b/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java Tue Nov 08 08:36:59 2011 +0100 > @@ -64,9 +64,12 @@ > > for (int i = 0; i< simpleContent.length; i++) { > File file = simpleContent[i]; > - System.err.println(file.getName()); > + System.err.print(file.getName()); > + URI u = new URI((String)null,(String)null,(String)null,server.getPort(),file.getName(),(String)null,null); It seems rather strange that the URI has the server port, but not the server address. Not sure if this may or may not be a problem. > + System.err.println(" ("+u.toString()+")"); > + String fname=u.toString(); > if (file.getName().toLowerCase().endsWith(".jnlp")) { > - String c = server.getResourceAsString("/" + file.getName()); > + String c = server.getResourceAsString("/" + fname); > Assert.assertTrue(c.contains("<")); > Assert.assertTrue(c.contains(">")); > Assert.assertTrue(c.contains("jnlp")); Everything else looks fine to me. Cheers, Omair From ptisnovs at icedtea.classpath.org Thu Nov 10 07:22:36 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 10 Nov 2011 15:22:36 +0000 Subject: /hg/gfx-test: 2011-11-10 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.2d45a6c76b6a.1320938556.-6248649288953172555@icedtea.classpath.org> changeset 2d45a6c76b6a in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=2d45a6c76b6a author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Thu Nov 10 16:24:44 2011 +0100 2011-11-10 Pavel Tisnovsky <ptisnovs at redhat.com> * Makefile: updated * src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java: Changed JavaDoc. * src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java: * src/org/gfxtest/testsuites/ClippingCircleByPolygonalShape.java: * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: * src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java: Created stubs for new test suites. diffstat: ChangeLog | 11 + Makefile | 12 +- src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java | 75 ++++++++++ src/org/gfxtest/testsuites/ClippingCircleByPolygonalShape.java | 75 ++++++++++ src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java | 4 +- src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java | 75 ++++++++++ src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java | 75 ++++++++++ 7 files changed, 323 insertions(+), 4 deletions(-) diffs (377 lines): diff -r 7bbb18623f9e -r 2d45a6c76b6a ChangeLog --- a/ChangeLog Wed Nov 09 10:15:54 2011 +0100 +++ b/ChangeLog Thu Nov 10 16:24:44 2011 +0100 @@ -1,3 +1,14 @@ +2011-11-10 Pavel Tisnovsky <ptisnovs at redhat.com> + + * Makefile: updated + * src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java: + Changed JavaDoc. + * src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java: + * src/org/gfxtest/testsuites/ClippingCircleByPolygonalShape.java: + * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: + * src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java: + Created stubs for new test suites. + 2011-11-09 Pavel Tisnovsky <ptisnovs at redhat.com> * Makefile: updated diff -r 7bbb18623f9e -r 2d45a6c76b6a Makefile --- a/Makefile Wed Nov 09 10:15:54 2011 +0100 +++ b/Makefile Thu Nov 10 16:24:44 2011 +0100 @@ -147,7 +147,11 @@ $(CLASSES)/$(TESTSUITE_DIR)/CAGOperationsOnCircleAndRectangle.class \ $(CLASSES)/$(TESTSUITE_DIR)/TexturePaint.class \ $(CLASSES)/$(TESTSUITE_DIR)/Clipping.class \ - $(CLASSES)/$(TESTSUITE_DIR)/ClippingCircleByRectangleArea.class + $(CLASSES)/$(TESTSUITE_DIR)/ClippingCircleByRectangleArea.class \ + $(CLASSES)/$(TESTSUITE_DIR)/ClippingCircleByEllipseShape.class \ + $(CLASSES)/$(TESTSUITE_DIR)/ClippingCircleByPolygonalShape.class \ + $(CLASSES)/$(TESTSUITE_DIR)/ClippingCircleByRectangleShape.class \ + $(CLASSES)/$(TESTSUITE_DIR)/ClippingCircleByRoundRectangleShape.class COMPARE_RESULTS = \ $(RESULTS)/Areas \ @@ -197,7 +201,11 @@ $(RESULTS)/CAGOperationsOnCircleAndRectangle \ $(RESULTS)/TexturePaint \ $(RESULTS)/Clipping \ - $(RESULTS)/ClippingCircleByRectangleArea + $(RESULTS)/ClippingCircleByRectangleArea \ + $(RESULTS)/ClippingCircleByEllipseShape.class \ + $(RESULTS)/ClippingCircleByPolygonalShape.class \ + $(RESULTS)/ClippingCircleByRectangleShape.class \ + $(RESULTS)/ClippingCircleByRoundRectangleShape.class # targets for all test suites TESTSUITES = $(shell ls -1 src/org/gfxtest/testsuites | sed -n -e 's/\([A-Za-z0-9]*\)\.java/\1/p') diff -r 7bbb18623f9e -r 2d45a6c76b6a src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java Thu Nov 10 16:24:44 2011 +0100 @@ -0,0 +1,75 @@ +/* + Java gfx-test framework + + Copyright (C) 2010, 2011 Red Hat + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + */ + +package org.gfxtest.testsuites; + +import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.annotations.GraphicsPrimitive; +import org.gfxtest.framework.annotations.GraphicsPrimitives; +import org.gfxtest.framework.annotations.TestType; +import org.gfxtest.framework.annotations.TestTypes; +import org.gfxtest.framework.annotations.Transformation; +import org.gfxtest.framework.annotations.Transformations; +import org.gfxtest.framework.annotations.Zoom; + +/** + * This test check if clipping is working correctly for an empty, filled + * and textured circle which is clipped by an ellipse shape. + * + * @author Pavel Tisnovsky + */ + at TestType(TestTypes.RENDER_TEST) + at Transformation(Transformations.NONE) + at GraphicsPrimitive(GraphicsPrimitives.CIRCLE) + at Zoom(1) +public class ClippingCircleByEllipseShape extends GfxTest +{ + + /** + * Entry point to the test suite. + * + * @param args + * graphics test configuration + */ + public static void main(String[] args) + { + new ClippingCircleByEllipseShape().runTestSuite(args); + } +} diff -r 7bbb18623f9e -r 2d45a6c76b6a src/org/gfxtest/testsuites/ClippingCircleByPolygonalShape.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/gfxtest/testsuites/ClippingCircleByPolygonalShape.java Thu Nov 10 16:24:44 2011 +0100 @@ -0,0 +1,75 @@ +/* + Java gfx-test framework + + Copyright (C) 2010, 2011 Red Hat + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + */ + +package org.gfxtest.testsuites; + +import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.annotations.GraphicsPrimitive; +import org.gfxtest.framework.annotations.GraphicsPrimitives; +import org.gfxtest.framework.annotations.TestType; +import org.gfxtest.framework.annotations.TestTypes; +import org.gfxtest.framework.annotations.Transformation; +import org.gfxtest.framework.annotations.Transformations; +import org.gfxtest.framework.annotations.Zoom; + +/** + * This test check if clipping is working correctly for an empty, filled + * and textured circle which is clipped by a polygonal shape. + * + * @author Pavel Tisnovsky + */ + at TestType(TestTypes.RENDER_TEST) + at Transformation(Transformations.NONE) + at GraphicsPrimitive(GraphicsPrimitives.CIRCLE) + at Zoom(1) +public class ClippingCircleByPolygonalShape extends GfxTest +{ + + /** + * Entry point to the test suite. + * + * @param args + * graphics test configuration + */ + public static void main(String[] args) + { + new ClippingCircleByPolygonalShape().runTestSuite(args); + } +} diff -r 7bbb18623f9e -r 2d45a6c76b6a src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java --- a/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java Wed Nov 09 10:15:54 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java Thu Nov 10 16:24:44 2011 +0100 @@ -59,8 +59,8 @@ import org.gfxtest.framework.annotations.Zoom; /** - * This test check if clipping is working correctly for various types of clips - * and various types of rendered shapes. + * This test check if clipping is working correctly for an empty, filled + * and textured circle which is clipped by a rectangle area. * * @author Pavel Tisnovsky */ diff -r 7bbb18623f9e -r 2d45a6c76b6a src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java Thu Nov 10 16:24:44 2011 +0100 @@ -0,0 +1,75 @@ +/* + Java gfx-test framework + + Copyright (C) 2010, 2011 Red Hat + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + */ + +package org.gfxtest.testsuites; + +import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.annotations.GraphicsPrimitive; +import org.gfxtest.framework.annotations.GraphicsPrimitives; +import org.gfxtest.framework.annotations.TestType; +import org.gfxtest.framework.annotations.TestTypes; +import org.gfxtest.framework.annotations.Transformation; +import org.gfxtest.framework.annotations.Transformations; +import org.gfxtest.framework.annotations.Zoom; + +/** + * This test check if clipping is working correctly for an empty, filled + * and textured circle which is clipped by a rectangular shape (not rectangular area!). + * + * @author Pavel Tisnovsky + */ + at TestType(TestTypes.RENDER_TEST) + at Transformation(Transformations.NONE) + at GraphicsPrimitive(GraphicsPrimitives.CIRCLE) + at Zoom(1) +public class ClippingCircleByRectangleShape extends GfxTest +{ + + /** + * Entry point to the test suite. + * + * @param args + * graphics test configuration + */ + public static void main(String[] args) + { + new ClippingCircleByRectangleShape().runTestSuite(args); + } +} diff -r 7bbb18623f9e -r 2d45a6c76b6a src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java Thu Nov 10 16:24:44 2011 +0100 @@ -0,0 +1,75 @@ +/* + Java gfx-test framework + + Copyright (C) 2010, 2011 Red Hat + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + */ + +package org.gfxtest.testsuites; + +import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.annotations.GraphicsPrimitive; +import org.gfxtest.framework.annotations.GraphicsPrimitives; +import org.gfxtest.framework.annotations.TestType; +import org.gfxtest.framework.annotations.TestTypes; +import org.gfxtest.framework.annotations.Transformation; +import org.gfxtest.framework.annotations.Transformations; +import org.gfxtest.framework.annotations.Zoom; + +/** + * This test check if clipping is working correctly for an empty, filled + * and textured circle which is clipped by round rectangle shape. + * + * @author Pavel Tisnovsky + */ + at TestType(TestTypes.RENDER_TEST) + at Transformation(Transformations.NONE) + at GraphicsPrimitive(GraphicsPrimitives.CIRCLE) + at Zoom(1) +public class ClippingCircleByRoundRectangleShape extends GfxTest +{ + + /** + * Entry point to the test suite. + * + * @param args + * graphics test configuration + */ + public static void main(String[] args) + { + new ClippingCircleByRoundRectangleShape().runTestSuite(args); + } +} From jvanek at redhat.com Thu Nov 10 08:04:36 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 10 Nov 2011 17:04:36 +0100 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites Message-ID: <4EBBF614.9000601@redhat.com> This patch add code-coverage of our testsuits functionality into makefile. It is adding optional dependence for emma.jar, which is providing whole functionality of arround investigating coverage and generate reports. It add three new top level targets into makefile.am It run-test-code-coverage, run-reproducers-test-code-coverage and run-unit-test-code-coverage. Except this, it is modifying touch $@ of several more targets. The reason is as follows. *run-reproducers-test-code-coverage and run-unit-test-code-coverage: * each must run all tests again, with (by emma) marrked code (so the results can not be as correct as we can wish) * it depends on all preparations which proceed normal testing * when they are run after this tests, they do not invoke them again (just run the marrked version) * when they are run without previoous make check or make run-netx-dist-tests they invoke them * all four make check , make run-netx-dist-tests run-reproducers-test-code-coverage and run-unit-test-code-coverage are considered as top level targets *run-test-code-coverage, on the other side just merges results generated by run-reproducers-test-code-coverage and run-unit-test-code-coverage. When it is run after this two targets, then he just reuse the results. If he ie run without, then he invoke them. It ia lso to be considered top level target. *Each code-coverege target creates html report. Reproducer tests are not covered 100% they will need more hacking, which I will post as new patch. (in some longer time, it will not be easy) Best regards J. changelog: 2011-11-10 Jiri Vanek <jvanek at redhat.com> Added code-coverage generation targets * configure.ac: added search for optional emma.jar * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables to store tests clases for reuse in emmarun (run-netx-dist-tests): made dependent on reused stamped version (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests ($(NETX_UNIT_TEST_DIR)/coverage.es) and (run-unit-test-code-coverage) targets to generate report from unit-tests. Both result binary file and html report in tests.build/netx/unit ($(JNLP_TESTS_ENGINE_DIR)/coverage.es) and (run-reproducers-test-code-coverage) targets to generate report from reproducers-test. Both result binary file and html report in tests.build/netx/jnlp_testsengine (run-test-code-coverage): merges binary results from unit and reproducers code-coverage runs and save html report in abs_top_builddir (clean-netx-dist-tests) removes REPRODUCERS_CLASS_NAMES file, and run-reproducers-test-code-coverage and stamps/run-netx-dist-tests stamps (clean-netx-unit-tests) remove UNIT_CLASS_NAMES fiel and run-unit-test-code-coverage and run-netx-unit-tests stamps -------------- next part -------------- A non-text attachment was scrubbed... Name: codeCoverage.diff Type: text/x-patch Size: 7864 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111110/78c5e9d4/codeCoverage.diff From vanaltj at icedtea.classpath.org Thu Nov 10 08:42:02 2011 From: vanaltj at icedtea.classpath.org (vanaltj at icedtea.classpath.org) Date: Thu, 10 Nov 2011 16:42:02 +0000 Subject: /hg/buildbot: Add Fedora15&16 x86 slave configuration stanzas. Message-ID: <hg.f01ccf3f2780.1320943322.-8970262713663391652@icedtea.classpath.org> changeset f01ccf3f2780 in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=f01ccf3f2780 author: Jon VanAlten <jon.vanalten at redhat.com> date: Thu Nov 10 11:14:54 2011 -0500 Add Fedora15&16 x86 slave configuration stanzas. diffstat: icedtea/master.cfg | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diffs (16 lines): diff -r afcfe8947eac -r f01ccf3f2780 icedtea/master.cfg --- a/icedtea/master.cfg Thu Nov 10 12:59:53 2011 +0100 +++ b/icedtea/master.cfg Thu Nov 10 11:14:54 2011 -0500 @@ -42,6 +42,12 @@ max_builds=1), BuildSlave("squeeze-armv5tel", getpw("squeeze-armv5tel"), + max_builds=1), + BuildSlave("fedora16-x86", + getpw("vanaltj"), + max_builds=1), + BuildSlave("fedora15-x86", + getpw("vanaltj"), max_builds=1)] c['slavePortnum'] = 9989 From aph at redhat.com Thu Nov 10 09:00:09 2011 From: aph at redhat.com (Andrew Haley) Date: Thu, 10 Nov 2011 17:00:09 +0000 Subject: Argh In-Reply-To: <4EAFF894.8000902@redhat.com> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> <4EAFF894.8000902@redhat.com> Message-ID: <4EBC0319.30301@redhat.com> So, I'm trawling through jtreg failures to see which ones really are VM bugs,and I notice that some java.util.concurrent tests are failing, and even some really simple ones. "Ah well," I thought, "there must be some problem with the memory barrier code." So, I read through the source looking for the barriers. And that was the problem. There are no barriers. None, nada, zilch. On ARM this is a really big problem: memory barriers are essential. I'm testing this patch. Andrew. 2011-11-10 Andrew Haley <aph at redhat.com> * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (fullBarrier): New. (storeBarrier): New. (Thumb2_Accessor, Thumb2_codegen): Emit barriers for volatile fields. * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (TEST_VOLATILE, MAYBE_VOLATILE): New macros. * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def (igetfield) (bgetfield, cgetfield, sgetfield, lgetfield, iputfield, cputfield) (bputfield, lputfield, getstatic, putstatic): Check for volatile fields. diff -r 0e1ae9c38563 arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp Tue Nov 08 06:03:17 2011 -0500 +++ b/arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp Thu Nov 10 16:46:20 2011 +0000 @@ -489,6 +489,8 @@ print_def("CONSTANTPOOL_CACHE", offset_of(constantPoolOopDesc, _cache)); print_def("CONSTANTPOOL_POOL_HOLDER", offset_of(constantPoolOopDesc, _pool_holder)); print_def("CONSTANTPOOL_BASE", sizeof(constantPoolOopDesc)); + print_def("CP_CACHE_VOLATILE_FIELD_FLAG_BIT", ConstantPoolCacheEntry::volatileField); + print_def("CP_CACHE_FLAGS", offset_of(ConstantPoolCacheEntry, _flags)); nl(); print_def("CP_OFFSET", in_bytes(constantPoolCacheOopDesc::base_offset())); nl(); diff -r 0e1ae9c38563 arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def --- a/arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def Tue Nov 08 06:03:17 2011 -0500 +++ b/arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def Thu Nov 10 16:46:20 2011 +0000 @@ -1573,10 +1573,12 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r3, tmp2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT .abortentry78: ldr tmp2, [tmp1, tmp2] + MAYBE_VOLATILE r3 DISPATCH_NEXT DISPATCH_NEXT PUSH tmp2 @@ -1592,10 +1594,12 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r3, tmp2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT .abortentry79: ldrsb tmp2, [tmp1, tmp2] + MAYBE_VOLATILE r3 DISPATCH_NEXT DISPATCH_NEXT PUSH tmp2 @@ -1611,10 +1615,12 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r3, tmp2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT .abortentry80: ldrh tmp2, [tmp1, tmp2] + MAYBE_VOLATILE r3 DISPATCH_NEXT DISPATCH_NEXT PUSH tmp2 @@ -1630,10 +1636,12 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r3, tmp2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT .abortentry81: ldrsh tmp2, [tmp1, tmp2] + MAYBE_VOLATILE r3 DISPATCH_NEXT DISPATCH_NEXT PUSH tmp2 @@ -1649,15 +1657,18 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r3, tmp2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT add tmp2, tmp1, tmp2 DISPATCH_NEXT .abortentry82: ldmia tmp2, {tmp2, tmp1} + MAYBE_VOLATILE r3 DISPATCH_NEXT PUSH tmp2, tmp1 DISPATCH_FINISH + .ltorg } (iputfield) iputfield { @@ -1669,6 +1680,8 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r2, tmp2 + MAYBE_VOLATILE r2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT DISPATCH_NEXT @@ -1687,6 +1700,8 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r2, tmp2 + MAYBE_VOLATILE r2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT DISPATCH_NEXT @@ -1705,6 +1720,8 @@ DISPATCH_NEXT SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r2, tmp2 + MAYBE_VOLATILE r2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT DISPATCH_NEXT @@ -1721,6 +1738,8 @@ add tmp2, tmp2, r2, lsl #4 SW_NPC cmp tmp1, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r2, tmp2 + MAYBE_VOLATILE r2 ldr tmp2, [tmp2, #CP_OFFSET+8] .abortentry113: str r3, [tmp1, tmp2] @@ -1738,6 +1757,8 @@ DISPATCH_NEXT SW_NPC cmp lr, #0 SW_NPC beq null_ptr_exception_jpc_3 + TEST_VOLATILE r2, tmp2 + MAYBE_VOLATILE r2 ldr tmp2, [tmp2, #CP_OFFSET+8] DISPATCH_NEXT add tmp2, lr, tmp2 @@ -1746,6 +1767,7 @@ .abortentry86: stm tmp2, {r3, tmp1} DISPATCH_FINISH + .ltorg } #endif // FAST_BYTECODES @@ -1763,6 +1785,7 @@ ldr r3, [tmp2, #CP_OFFSET+4] ldr r2, [tmp2, #CP_OFFSET+12] ldr lr, [tmp2, #CP_OFFSET+8] + mov r1, r2 @ R1 saved for MAYBE_VOLATILE movs r2, r2, lsr #29 bhi getstatic_w @ C = 1, Z = 0 => R2 == 3, 5, 7 bcs getstatic_h @ C = 1 => R2 = 1 @@ -1784,6 +1807,7 @@ blne resolve_get_put ldr r3, [tmp2, #CP_OFFSET+4] @ r3 = object ldr lr, [tmp2, #CP_OFFSET+12] @ lr = tos_type + MAYBE_VOLATILE lr ldr r2, [tmp2, #CP_OFFSET+8] @ r2 = offset movs lr, lr, lsr #29 bhi putstatic_w @ C = 1, Z = 0 => R2 == 3, 5, 7 @@ -1792,6 +1816,7 @@ tst lr, #2 bne putstatic_dw b putstatic_sh + .ltorg } #ifdef NOTICE_SAFEPOINTS diff -r 0e1ae9c38563 arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S --- a/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Tue Nov 08 06:03:17 2011 -0500 +++ b/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Thu Nov 10 16:46:20 2011 +0000 @@ -585,6 +585,21 @@ .fpu softvfp #endif // HW_FP + + .macro TEST_VOLATILE flags, cp_cache + ldr \flags, [\cp_cache, #CP_OFFSET+CP_CACHE_FLAGS] + .endm + + .macro MAYBE_VOLATILE flags + tst \flags, #(1<<CP_CACHE_VOLATILE_FIELD_FLAG_BIT) + beq 0f + stmfd sp!, {r2, lr} + ldr r2, =0xffff0fa0 + blx r2 + ldmfd sp!, {r2, lr} +0: + .endm + .eabi_attribute Tag_ABI_FP_denormal, 1 .eabi_attribute Tag_ABI_FP_exceptions, 1 .eabi_attribute Tag_ABI_FP_number_model, 3 @@ -1942,18 +1957,21 @@ getstatic_sh: DISPATCH_START 3 ldrsh tmp2, [r3, lr] + MAYBE_VOLATILE r1 DISPATCH_NEXT PUSH tmp2 DISPATCH_FINISH getstatic_h: DISPATCH_START 3 ldrh tmp2, [r3, lr] + MAYBE_VOLATILE r1 DISPATCH_NEXT PUSH tmp2 DISPATCH_FINISH getstatic_sb: DISPATCH_START 3 ldrsb tmp2, [r3, lr] + MAYBE_VOLATILE r1 DISPATCH_NEXT PUSH tmp2 DISPATCH_FINISH @@ -1961,12 +1979,14 @@ DISPATCH_START 3 add r3, r3, lr ldm r3, {r2, tmp2} + MAYBE_VOLATILE r1 DISPATCH_NEXT PUSH r2, tmp2 DISPATCH_FINISH getstatic_w: DISPATCH_START 3 ldr tmp2, [r3, lr] + MAYBE_VOLATILE r1 DISPATCH_NEXT PUSH tmp2 DISPATCH_FINISH diff -r 0e1ae9c38563 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp --- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Tue Nov 08 06:03:17 2011 -0500 +++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Thu Nov 10 16:46:20 2011 +0000 @@ -2058,7 +2058,9 @@ #define T_CHKA(size, idx) (0xca00 | (((size) & 8) << (7-3)) | ((idx) << 3) | ((size) & 7)) #define T_HBL(handler) (0xc300 | (handler)) -#define T_ENTER_LEAVE(enter) (0xf3bf8f0f | ((enter)<<4)) +#define T_MISC_CONTROL(op, option) (0xf3bf8f00 | ((op)<<4) | option) +#define T_ENTER_LEAVE(enter) (T_MISC_CONTROL(enter, 0xf)) +#define T_DMB(option) (T_MISC_CONTROL(5, option)) #define T1_ADD_IMM(dst, src, imm3) (0x1c00 | ((imm3) << 6) | ((src) << 3) | (dst)) #define T2_ADD_IMM(r, imm8) (0x3000 | ((r) << 8) | (imm8)) @@ -2878,6 +2880,16 @@ } #endif +int fullBarrier(CodeBuf *codebuf) +{ + return out_16x2(codebuf, T_DMB(0xf)); +} + +int storeBarrier(CodeBuf *codebuf) +{ + return out_16x2(codebuf, T_DMB(0xe)); +} + int tbh(CodeBuf *codebuf, Reg base, Reg idx) { out_16x2(codebuf, T_TBH(base, idx)); @@ -4558,6 +4570,10 @@ else ldr_imm(jinfo->codebuf, ARM_R0, ARM_R0, field_offset, 1, 0); str_imm(jinfo->codebuf, ARM_R0, ARM_R1, 0, 1, 0); + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + // deoptimized_frames = 0 mov_imm(jinfo->codebuf, ARM_R0, 0); mov_reg(jinfo->codebuf, ARM_PC, ARM_LR); @@ -5589,6 +5605,10 @@ mov_imm(jinfo->codebuf, ARM_R1, index); blx(jinfo->codebuf, handlers[handler]); Thumb2_restore_locals(jinfo, bc_stackinfo[bci+len] & ~BC_FLAGS_MASK); + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + break; } @@ -5620,6 +5640,10 @@ else ldr_imm(jinfo->codebuf, r, r_obj, field_offset, 1, 0); } + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + break; } @@ -5652,6 +5676,10 @@ mov_imm(jinfo->codebuf, ARM_R1, index); blx(jinfo->codebuf, handlers[handler]); Thumb2_restore_locals(jinfo, bc_stackinfo[bci+len] & ~BC_FLAGS_MASK); + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + break; } @@ -5682,6 +5710,10 @@ else ldr_imm(jinfo->codebuf, r, r, field_offset, 1, 0); } + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + break; } @@ -5692,6 +5724,10 @@ Reg r_obj; cache = cp->entry_at(index); + + if (cache->is_volatile()) + storeBarrier(jinfo->codebuf); + if (!cache->is_resolved((Bytecodes::Code)opcode)) { int java_index = GET_NATIVE_U2(code_base+bci+1); constantPoolOop pool = jinfo->method->constants(); @@ -5710,6 +5746,10 @@ mov_imm(jinfo->codebuf, ARM_R1, index); blx(jinfo->codebuf, handlers[handler]); Thumb2_restore_locals(jinfo, bc_stackinfo[bci+len] & ~BC_FLAGS_MASK); + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + break; } @@ -5741,6 +5781,10 @@ } } } + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + break; } @@ -5750,6 +5794,10 @@ int index = GET_NATIVE_U2(code_base+bci+1); cache = cp->entry_at(index); + + if (cache->is_volatile()) + storeBarrier(jinfo->codebuf); + if (!cache->is_resolved((Bytecodes::Code)opcode)) { int java_index = GET_NATIVE_U2(code_base+bci+1); constantPoolOop pool = jinfo->method->constants(); @@ -5808,6 +5856,10 @@ } } } + + if (cache->is_volatile()) + fullBarrier(jinfo->codebuf); + break; } From stefan at complang.tuwien.ac.at Thu Nov 10 09:44:11 2011 From: stefan at complang.tuwien.ac.at (Stefan Ring) Date: Thu, 10 Nov 2011 18:44:11 +0100 Subject: Argh In-Reply-To: <4EBC0319.30301@redhat.com> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> <4EAFF894.8000902@redhat.com> <4EBC0319.30301@redhat.com> Message-ID: <CAAxjCEwOcKG4U9M83oi_TD4zOGiOfiO3YcOSXe9AD3Ya7xwHng@mail.gmail.com> On Thu, Nov 10, 2011 at 6:00 PM, Andrew Haley <aph at redhat.com> wrote: > So, I'm trawling through jtreg failures to see which ones really > are VM bugs,and I notice that some java.util.concurrent tests are > failing, and even some really simple ones. ?"Ah well," I thought, > "there must be some problem with the memory barrier code." ?So, I > read through the source looking for the barriers. > > And that was the problem. ?There are no barriers. ?None, nada, > zilch. ?On ARM this is a really big problem: memory barriers are > essential. CACAO also doesn't have any for ARM yet, IIRC - don't feel bad ;). From bugzilla-daemon at icedtea.classpath.org Thu Nov 10 10:36:05 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 10 Nov 2011 18:36:05 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: <bug-809-30@http.icedtea.classpath.org/bugzilla/> References: <bug-809-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-809-30-e0opFNEdKp@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #8 from Deepak Bhole <dbhole at redhat.com> 2011-11-10 18:36:05 UTC --- I am unable to reproduce this locally if I create a sample applet (with the parameters in comment #7 and the jars from comment #5. Can you try clearing your cache (rm -rf ~/.icedtea/cache)? I doubt it will help, but lets eliminate that before we start digging in deeper to find out why it isn't reproducible.. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From mjw at icedtea.classpath.org Thu Nov 10 10:54:18 2011 From: mjw at icedtea.classpath.org (mjw at icedtea.classpath.org) Date: Thu, 10 Nov 2011 18:54:18 +0000 Subject: /hg/buildbot: Hook up f15 and f16 builders to testrepo and icedt... Message-ID: <hg.32ff60cc1ae2.1320951258.-8970262713663391652@icedtea.classpath.org> changeset 32ff60cc1ae2 in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=32ff60cc1ae2 author: Mark Wielaard <mark at klomp.org> date: Thu Nov 10 19:54:04 2011 +0100 Hook up f15 and f16 builders to testrepo and icedtea-web. diffstat: icedtea/master.cfg | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diffs (80 lines): diff -r f01ccf3f2780 -r 32ff60cc1ae2 icedtea/master.cfg --- a/icedtea/master.cfg Thu Nov 10 11:14:54 2011 -0500 +++ b/icedtea/master.cfg Thu Nov 10 19:54:04 2011 +0100 @@ -103,12 +103,16 @@ c['schedulers'].append(Scheduler(name="icedtea-web", branch="icedtea-web", treeStableTimer=60, builderNames=["icedtea-web-squeeze-x86_64", + "icedtea-web-f15-x86", + "icedtea-web-f16-x86", "icedtea-web-squeeze-armv5tel", "icedtea-web-natty-armv7l"])) c['schedulers'].append(Scheduler(name="testrepo", branch="testrepo", treeStableTimer=60, builderNames=["testrepo-squeeze-x86_64", + "testrepo-f15-x86", + "testrepo-f16-x86", "testrepo-natty-armv7l", "testrepo-lucid-ia32", "testrepo-squeeze-armv5tel"])) @@ -206,6 +210,30 @@ 'builddir': "icedtea-web", 'factory': f1 } +f1f15 = factory.BuildFactory() +f1f15.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +f1f15.addStep(ShellCommand(command=["./autogen.sh"], workdir="src", description="autogen")) +f1f15.addStep(ShellCommand(command=["rm", "-rf", "build"], workdir=".", description="clean build dir")) +f1f15.addStep(Configure(command=["../src/configure"], workdir="build")) +f1f15.addStep(Compile(command=["make", "-j4"], workdir="build")) +f1f15.addStep(JTRegCheck(command=["make", "check"], workdir="build")) +icedtea_web_builder_f15_x86 = { 'name': "icedtea-web-f15-x86", + 'slavenames': ["fedora15-x86"], + 'builddir': "f15-icedtea-web", + 'factory': f1f15 } + +f1f16 = factory.BuildFactory() +f1f16.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +f1f16.addStep(ShellCommand(command=["./autogen.sh"], workdir="src", description="autogen")) +f1f16.addStep(ShellCommand(command=["rm", "-rf", "build"], workdir=".", description="clean build dir")) +f1f16.addStep(Configure(command=["../src/configure"], workdir="build")) +f1f16.addStep(Compile(command=["make", "-j4"], workdir="build")) +f1f16.addStep(JTRegCheck(command=["make", "check"], workdir="build")) +icedtea_web_builder_f16_x86 = { 'name': "icedtea-web-f16-x86", + 'slavenames': ["fedora16-x86"], + 'builddir': "f16-icedtea-web", + 'factory': f1f16 } + f1arm = factory.BuildFactory() f1arm.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) f1arm.addStep(ShellCommand(command=["./autogen.sh"], workdir="src", description="autogen")) @@ -233,6 +261,14 @@ 'slavenames': ["squeeze-x86_64"], 'builddir': "testrepo", 'factory': f2 } +testrepo_builder_f15_x86 = { 'name': "testrepo-f15-x86", + 'slavenames': ["fedora15-x86"], + 'builddir': "f15-testrepo", + 'factory': f2 } +testrepo_builder_f16_x86 = { 'name': "testrepo-f16-x86", + 'slavenames': ["fedora16-x86"], + 'builddir': "f16-testrepo", + 'factory': f2 } testrepo_builder_natty_armv7l = { 'name': "testrepo-natty-armv7l", 'slavenames': ["natty-armv7l"], 'builddir': "testrepo_natty_armv7l", @@ -942,9 +978,13 @@ icedtea6_builder_full, icedtea7_builder_full, icedtea_web_builder_x86_64, + icedtea_web_builder_f15_x86, + icedtea_web_builder_f16_x86, icedtea_web_builder_squeeze_armv5tel, icedtea_web_builder_natty_armv7l, testrepo_builder_x86_64, + testrepo_builder_f15_x86, + testrepo_builder_f16_x86, testrepo_builder_natty_armv7l, testrepo_builder_lucid_ia32, testrepo_builder_squeeze_armv5tel ] From ahughes at redhat.com Thu Nov 10 10:59:15 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Thu, 10 Nov 2011 18:59:15 +0000 Subject: Build of IcedTea6 HEAD broken In-Reply-To: <4EBBA6A6.8040900@redhat.com> References: <20111110092324.GB31481@rivendell.middle-earth.co.uk> <1320919763.3298.33.camel@springer.wildebeest.org> <4EBBA6A6.8040900@redhat.com> Message-ID: <20111110185915.GE17686@rivendell.middle-earth.co.uk> On 10:25 Thu 10 Nov , Andrew Haley wrote: > On 11/10/2011 10:09 AM, Mark Wielaard wrote: > > Can you give a bit more information about how your nightly builder is > > setup/configured? > > Yes, please. I'll fix it as soon as I can duplicate it. I wonder > if it's a debug build. > > Andrew. > I couldn't replicate it with a default build either, which probably explains why no-one spotted it yet. The builder tests a number of targets (setup by Omair IIRC) and indeed this failure occurs when it runs 'make icedtea-debug'. Config for this build is: ./configure --disable-bootstrap --with-parallel-jobs=3 --with-openjdk-src-zip=/notnfs/nighttester/drops/openjdk-6-src-b23-05_jul_2011.tar.gz --with-cacao-src-zip=/notnfs/nighttester/drops/cacao-dd4532afd08a.tar.bz2 --with-hotspot-src-zip=/notnfs/nighttester/drops/hs20.tar.gz --with-jaxp-drop-zip=/notnfs/nighttester/drops/jaxp6.zip --with-jaf-drop-zip=/notnfs/nighttester/drops/jaf6.zip --with-jaxws-drop-zip=/notnfs/nighttester/drops/jaxws6.zip --enable-systemtap so basically: ./configure --disable-bootstrap --enable-systemtap --with-parallel-jobs=3 plus pre-downloaded zips -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111110/2ada1c51/attachment.bin From jvanek at icedtea.classpath.org Thu Nov 10 11:56:00 2011 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Thu, 10 Nov 2011 19:56:00 +0000 Subject: /hg/icedtea-web: Enabled testWeekdayRange, added tests for star/... Message-ID: <hg.5860a2cbe221.1320954960.8643924302249223276@icedtea.classpath.org> changeset 5860a2cbe221 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=5860a2cbe221 author: Jiri Vanek <jvanek at redhat.com> date: Thu Nov 10 20:57:36 2011 +0100 Enabled testWeekdayRange, added tests for star/end of months for dateRange pac function diffstat: ChangeLog | 15 ++++ netx/net/sourceforge/jnlp/runtime/pac-funcs.js | 65 +++++++++++------- tests/netx/pac/pac-funcs-test.js | 85 +++++++++++++++++++++++++- 3 files changed, 136 insertions(+), 29 deletions(-) diffs (255 lines): diff -r f36e0b3fb9f0 -r 5860a2cbe221 ChangeLog --- a/ChangeLog Tue Nov 08 11:06:52 2011 -0500 +++ b/ChangeLog Thu Nov 10 20:57:36 2011 +0100 @@ -1,3 +1,18 @@ +2011-11-10 Jiri Vanek <jvanek at redhat.com> + + Added tests which covers corner cases or rhino support function dateRange + Enabled testWeekdayRange test + * tests/netx/pac/pac-funcs-test.js: (testWeekdayRange) - added mising + runTests call + (incDate) (decDate) (monthToStr) moved level up from function scope + to be shareable + (testDateRange2) new method, tests last days of months. + (testDateRange3) new method, tests first days of months + * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: + (dateRange) logic of this method moved to isDateInRange. This one now serve + just as api using current date + (isDateInRange) logic of dateRange, can calculate ranges against any date + 2011-10-31 Omair Majid <omajid at redhat.com> PR808: javaws is unable to start when missing jars are enumerated before diff -r f36e0b3fb9f0 -r 5860a2cbe221 netx/net/sourceforge/jnlp/runtime/pac-funcs.js --- a/netx/net/sourceforge/jnlp/runtime/pac-funcs.js Tue Nov 08 11:06:52 2011 -0500 +++ b/netx/net/sourceforge/jnlp/runtime/pac-funcs.js Thu Nov 10 20:57:36 2011 +0100 @@ -325,18 +325,20 @@ * of the above ways of calling. */ function dateRange() { + switch (arguments.length) { + case 1: return isDateInRange(new Date(),arguments[0]); + case 2: return isDateInRange(new Date(),arguments[0],arguments[1]); + case 3: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2]); + case 4: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3]); + case 5: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]); + case 6: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]); + case 7: return isDateInRange(new Date(),arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]); //GMT + default: + return false; + } +} - // note: watch out for wrapping around of dates. date ranges, like - // month=9 to month=8, wrap around and cover the entire year. this - // makes everything more interesting - - var gmt; - if (arguments.length > 1) { - if (arguments[arguments.length-1] === "GMT") { - gmt = true; - arguments.splice(0,arguments.length-1); - } - } + function isDateInRange() { function isDate(date) { if (typeof(date) === 'number' && (date <= 31 && date >= 1)) { @@ -578,8 +580,19 @@ } } + // note: watch out for wrapping around of dates. date ranges, like + // month=9 to month=8, wrap around and cover the entire year. this + // makes everything more interesting + + var gmt; + if (arguments.length > 2) { + if (arguments[arguments.length-1] === "GMT") { + gmt = true; + arguments.splice(0,arguments.length-1); + } + } // TODO: change date to gmt, whatever - var today = new Date(); + var today = arguments[0] var arg1; var arg2; @@ -588,9 +601,9 @@ var arg5; var arg6; - switch (arguments.length) { + switch (arguments.length-1) { case 1: - var arg = arguments[0]; + var arg = arguments[1]; if (isDate(arg)) { if (today.getDate() === arg) { return true; @@ -611,8 +624,8 @@ } } case 2: - arg1 = arguments[0]; - arg2 = arguments[1]; + arg1 = arguments[1]; + arg2 = arguments[2]; if (isDate(arg1) && isDate(arg2)) { var date1 = arg1; var date2 = arg2; @@ -634,10 +647,10 @@ return false; } case 4: - arg1 = arguments[0]; - arg2 = arguments[1]; - arg3 = arguments[2]; - arg4 = arguments[3]; + arg1 = arguments[1]; + arg2 = arguments[2]; + arg3 = arguments[3]; + arg4 = arguments[4]; if (isDate(arg1) && isMonth(arg2) && isDate(arg3) && isMonth(arg4)) { var date1 = arg1; @@ -658,12 +671,12 @@ return false; } case 6: - arg1 = arguments[0]; - arg2 = arguments[1]; - arg3 = arguments[2]; - arg4 = arguments[3]; - arg5 = arguments[4]; - arg6 = arguments[5]; + arg1 = arguments[1]; + arg2 = arguments[2]; + arg3 = arguments[3]; + arg4 = arguments[4]; + arg5 = arguments[5]; + arg6 = arguments[6]; if (isDate(arg1) && isMonth(arg2) && isYear(arg3) && isDate(arg4) && isMonth(arg5) && isYear(arg6)) { var day1 = arg1; diff -r f36e0b3fb9f0 -r 5860a2cbe221 tests/netx/pac/pac-funcs-test.js --- a/tests/netx/pac/pac-funcs-test.js Tue Nov 08 11:06:52 2011 -0500 +++ b/tests/netx/pac/pac-funcs-test.js Thu Nov 10 20:57:36 2011 +0100 @@ -21,9 +21,11 @@ testDnsResolve(); testDnsDomainLevels(); testShExpMatch(); - testWeekdayRange(); testDateRange(); testTimeRange(); + testWeekdayRange(); + testDateRange2(); + testDateRange3(); java.lang.System.out.println("Test results: passed: " + testsPassed + "; failed: " + testsFailed + ";"); } @@ -235,10 +237,10 @@ [ false, dayToStr(day+1) ], [ false, dayToStr(day-1) ], ]; + + runTests(weekdayRange, tests); } -function testDateRange() { - function incDate(date) { return (date + 1 - 1) % 31 +1 ; } @@ -267,6 +269,9 @@ } } +function testDateRange() { + + var today = new Date(); var date = today.getDate(); var month = today.getMonth(); @@ -369,6 +374,80 @@ } +function testDateRange2() { + + var dates = [ + new Date("January 31, 2011 3:33:33"), + new Date("February 28, 2011 3:33:33"), + new Date("February 29, 2012 3:33:33"), + new Date("March 31, 2011 3:33:33"), + new Date("April 30, 2011 3:33:33"), + new Date("May 31, 2011 3:33:33"), + new Date("June 30, 2011 3:33:33"), + new Date("July 31, 2011 3:33:33"), + new Date("August 31, 2011 3:33:33"), + new Date("September 30, 2011 3:33:33"), + new Date("October 31, 2011 3:33:33"), + new Date("November 30, 2011 3:33:33"), + new Date("December 31, 2011 3:33:33"), + +] + for (var i = 0; i < dates.length; i++) { + var today = dates[i]; + var date = today.getDate(); + var month = today.getMonth(); + var year = today.getYear(); + + var tests = [ + + [ true, today, date, monthToStr(month) , incDate(date), monthToStr(month) ], + [ true, today, decDate(date), monthToStr(month) , incDate(date), monthToStr(month) ], + [ true, today, decDate(date), monthToStr(month), year, incDate(date), monthToStr(month), year ], + [ false, today, incDate(date), monthToStr(month), year, incDate(date), monthToStr(month+1), year+1 ], + + ]; + + runTests(isDateInRange, tests); + } + +} + +function testDateRange3() { + var dates = [ + new Date("January 1, 2011 1:11:11"), + new Date("February 1, 2011 1:11:11"), + new Date("March 1, 2011 1:11:11"), + new Date("April 1, 2011 1:11:11"), + new Date("May 1, 2011 1:11:11"), + new Date("June 1, 2011 1:11:11"), + new Date("July 1, 2011 1:11:11"), + new Date("August 1, 2011 1:11:11"), + new Date("September 1, 2011 1:11:11"), + new Date("October 1, 2011 1:11:11"), + new Date("November 1, 2011 1:11:11"), + new Date("December 1, 2011 1:11:11"), + + ] + + + + for (var i = 0; i < dates.length; i++) { + var today = dates[i] + var date = today.getDate(); + var month = today.getMonth(); + var year = today.getYear(); + + var tests = [ + [ true, today, decDate(date), monthToStr(month) , date, monthToStr(month) ], + [ true, today, decDate(date), monthToStr(month) , incDate(date), monthToStr(month) ], + [ true, today, decDate(date), monthToStr(month), year, incDate(date), monthToStr(month), year ], + + ]; + + runTests(isDateInRange, tests); + } +} + function testTimeRange() { var now = new Date(); From mjw at icedtea.classpath.org Thu Nov 10 12:38:48 2011 From: mjw at icedtea.classpath.org (mjw at icedtea.classpath.org) Date: Thu, 10 Nov 2011 20:38:48 +0000 Subject: /hg/buildbot: Hook up icedtea6/7 builds to f15/16-x86 build slaves. Message-ID: <hg.ec7d0609cbed.1320957528.-8970262713663391652@icedtea.classpath.org> changeset ec7d0609cbed in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=ec7d0609cbed author: Mark Wielaard <mark at klomp.org> date: Thu Nov 10 21:38:42 2011 +0100 Hook up icedtea6/7 builds to f15/16-x86 build slaves. diffstat: icedtea/master.cfg | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 43 insertions(+), 1 deletions(-) diffs (96 lines): diff -r 32ff60cc1ae2 -r ec7d0609cbed icedtea/master.cfg --- a/icedtea/master.cfg Thu Nov 10 19:54:04 2011 +0100 +++ b/icedtea/master.cfg Thu Nov 10 21:38:42 2011 +0100 @@ -2,7 +2,7 @@ # ex: set syntax=python: # Python master.cfg program for IcedTea buildbot. -# Copyright (C) 2010, Mark J. Wielaard <mark at klomp.org> +# Copyright (C) 2010, 2011, Mark J. Wielaard <mark at klomp.org> # This file is part of the IcedTea buildbot, and is free software. # You can redistribute it and/or modify it under the terms of the GNU @@ -76,6 +76,8 @@ "icedtea6-squeeze-x86_64-quick-jamvm", "icedtea6-squeeze-x86_64-quick-cacao", "icedtea6-squeeze-x86_64-quick-shark", + "icedtea6-f15-x86", + "icedtea6-f16-x86", "icedtea6-natty-armv7l-quick", "icedtea6-natty-armv7l-quick-cacao", "icedtea6-natty-armv7l-quick-jamvm", @@ -93,6 +95,8 @@ c['schedulers'].append(Scheduler(name="icedtea7-quick", branch="icedtea7", treeStableTimer=5*60, builderNames=["icedtea7-squeeze-x86_64-quick", + "icedtea7-f15-x86", + "icedtea7-f16-x86", "icedtea7-squeeze-armv5tel-quick", "icedtea7-natty-armv7l-quick"] )) @@ -447,6 +451,24 @@ alwaysRun=True, description="killall")) +# Default build factory that just does autogen, configure, make and make check +fdefault = factory.BuildFactory() +fdefault.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +fdefault.addStep(ShellCommand(command=["./autogen.sh"], workdir="src", + description="autogen")) +fdefault.addStep(ShellCommand(command=["rm", "-rf", "build"], workdir=".", + description="clean build dir")) +fdefault.addStep(Configure(command=["../src/configure", + "--with-parallel-jobs=2"], + workdir="build")) +fdefault.addStep(Compile(workdir="build")) +fdefault.addStep(JTRegCheck(command=["make", "check"], description="check", + workdir="build")) +fdefault.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", + "java"], workdir=".", + flunkOnFailure=False, alwaysRun=True, + description="killall")) + f3an7 = factory.BuildFactory() f3an7.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) f3an7.addStep(ShellCommand(command=["./autogen.sh"], @@ -843,6 +865,22 @@ 'slavenames': ["squeeze-x86_64"], 'builddir': "icedtea6-quick-shark", 'factory': f3s } +icedtea6_builder_f15_x86 = { 'name': "icedtea6-f15-x86", + 'slavenames': ["fedora15-x86"], + 'builddir': "icedtea6-f15-x86", + 'factory': fdefault } +icedtea6_builder_f16_x86 = { 'name': "icedtea6-f16-x86", + 'slavenames': ["fedora16-x86"], + 'builddir': "icedtea6-f16-x86", + 'factory': fdefault } +icedtea7_builder_f15_x86 = { 'name': "icedtea7-f15-x86", + 'slavenames': ["fedora15-x86"], + 'builddir': "icedtea7-f15-x86", + 'factory': fdefault } +icedtea7_builder_f16_x86 = { 'name': "icedtea7-f16-x86", + 'slavenames': ["fedora16-x86"], + 'builddir': "icedtea7-f16-x86", + 'factory': fdefault } icedtea6_builder_quick_arm_natty = { 'name': "icedtea6-natty-armv7l-quick", 'slavenames': ["natty-armv7l"], 'builddir': "icedtea6-natty-armv7l-quick", @@ -960,6 +998,8 @@ icedtea6_builder_quick_jamvm, icedtea6_builder_quick_cacao, icedtea6_builder_quick_shark, + icedtea6_builder_f15_x86, + icedtea6_builder_f16_x86, icedtea6_builder_quick_arm_natty, icedtea6_builder_quick_arm_natty_cacao, icedtea6_builder_quick_arm_natty_jamvm, @@ -973,6 +1013,8 @@ icedtea6_builder_quick_armv5tel_squeeze_jamvm, icedtea6_builder_quick_armv5tel_squeeze_shark, icedtea7_builder_quick, + icedtea7_builder_f15_x86, + icedtea7_builder_f16_x86, icedtea7_builder_quick_armv5tel_squeeze, icedtea7_builder_quick_arm_natty, icedtea6_builder_full, From ahughes at redhat.com Thu Nov 10 14:51:57 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Thu, 10 Nov 2011 22:51:57 +0000 Subject: Request to backport 7102369/709446/7100592 and 7092186 In-Reply-To: <4EBC4498.9000807@redhat.com> References: <4EBC4498.9000807@redhat.com> Message-ID: <20111110225157.GI17686@rivendell.middle-earth.co.uk> On 16:39 Thu 10 Nov , Omair Majid wrote: > Hi, > > The recent security changes breaks some applications as rmiregistry > needs to be started with the java.rmi.server.codebase property set. I > would like to backport the following two changesets from jdk7u to > address this problem: > > http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/7ed2fd310470 > http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/2d10aa9d772a > > Does anyone have any thoughts or concerns? > Can you explain a bit more about these patches and why they are needed/appropriate? The bugs don't give much detail and one isn't even accessible. Have you posted these to IcedTea? > Thanks, > Omair -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111110/1630353d/attachment.bin From aph at redhat.com Fri Nov 11 03:15:59 2011 From: aph at redhat.com (Andrew Haley) Date: Fri, 11 Nov 2011 11:15:59 +0000 Subject: Build of IcedTea6 HEAD broken In-Reply-To: <20111110185915.GE17686@rivendell.middle-earth.co.uk> References: <20111110092324.GB31481@rivendell.middle-earth.co.uk> <1320919763.3298.33.camel@springer.wildebeest.org> <4EBBA6A6.8040900@redhat.com> <20111110185915.GE17686@rivendell.middle-earth.co.uk> Message-ID: <4EBD03EF.9070207@redhat.com> On 11/10/2011 06:59 PM, Dr Andrew John Hughes wrote: > On 10:25 Thu 10 Nov , Andrew Haley wrote: >> On 11/10/2011 10:09 AM, Mark Wielaard wrote: >>> Can you give a bit more information about how your nightly builder is >>> setup/configured? >> >> Yes, please. I'll fix it as soon as I can duplicate it. I wonder >> if it's a debug build. > > I couldn't replicate it with a default build either, which probably explains > why no-one spotted it yet. The builder tests a number of targets (setup by > Omair IIRC) and indeed this failure occurs when it runs 'make icedtea-debug'. Ah, OK. It should be really easy to fix that. Sorry for the breakage. The build config for ARM is really messy at the moment, so I need to tidy it up a bit. Andrew. From ptisnovs at icedtea.classpath.org Fri Nov 11 03:23:23 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Fri, 11 Nov 2011 11:23:23 +0000 Subject: /hg/gfx-test: 2011-11-11 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.ee567b76ecc2.1321010603.-6248649288953172555@icedtea.classpath.org> changeset ee567b76ecc2 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=ee567b76ecc2 author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Fri Nov 11 12:25:13 2011 +0100 2011-11-11 Pavel Tisnovsky <ptisnovs at redhat.com> * Makefile: updated * src/org/gfxtest/testsuites/AALines.java: Improved JavaDoc. * src/org/gfxtest/testsuites/AAEllipses.java: Created new test suite used for checking proper rendering of antialiased ellipses. diffstat: ChangeLog | 9 + Makefile | 2 + src/org/gfxtest/testsuites/AAEllipses.java | 382 +++++++++++++++++++++++++++++ src/org/gfxtest/testsuites/AALines.java | 74 +++- 4 files changed, 442 insertions(+), 25 deletions(-) diffs (truncated from 700 to 500 lines): diff -r 2d45a6c76b6a -r ee567b76ecc2 ChangeLog --- a/ChangeLog Thu Nov 10 16:24:44 2011 +0100 +++ b/ChangeLog Fri Nov 11 12:25:13 2011 +0100 @@ -1,3 +1,12 @@ +2011-11-11 Pavel Tisnovsky <ptisnovs at redhat.com> + + * Makefile: updated + * src/org/gfxtest/testsuites/AALines.java: + Improved JavaDoc. + * src/org/gfxtest/testsuites/AAEllipses.java: + Created new test suite used for checking proper rendering + of antialiased ellipses. + 2011-11-10 Pavel Tisnovsky <ptisnovs at redhat.com> * Makefile: updated diff -r 2d45a6c76b6a -r ee567b76ecc2 Makefile --- a/Makefile Thu Nov 10 16:24:44 2011 +0100 +++ b/Makefile Fri Nov 11 12:25:13 2011 +0100 @@ -102,6 +102,7 @@ TESTSUITE_CLASSES = \ $(CLASSES)/$(TESTSUITE_DIR)/Areas.class \ $(CLASSES)/$(TESTSUITE_DIR)/AALines.class \ + $(CLASSES)/$(TESTSUITE_DIR)/AAEllipses.class \ $(CLASSES)/$(TESTSUITE_DIR)/AlphaComposite.class \ $(CLASSES)/$(TESTSUITE_DIR)/BlankImage.class \ $(CLASSES)/$(TESTSUITE_DIR)/ColorPaint.class \ @@ -156,6 +157,7 @@ COMPARE_RESULTS = \ $(RESULTS)/Areas \ $(RESULTS)/AALines \ + $(RESULTS)/AAEllipses \ $(RESULTS)/AlphaComposite \ $(RESULTS)/BlankImage \ $(RESULTS)/ColorPaint \ diff -r 2d45a6c76b6a -r ee567b76ecc2 src/org/gfxtest/testsuites/AAEllipses.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/gfxtest/testsuites/AAEllipses.java Fri Nov 11 12:25:13 2011 +0100 @@ -0,0 +1,382 @@ +/* + Java gfx-test framework + + Copyright (C) 2010, 2011 Red Hat + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package org.gfxtest.testsuites; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.RenderingHints; +import java.awt.image.BufferedImage; + + + +import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.TestImage; +import org.gfxtest.framework.TestResult; +import org.gfxtest.framework.annotations.GraphicsPrimitive; +import org.gfxtest.framework.annotations.GraphicsPrimitives; +import org.gfxtest.framework.annotations.RenderStyle; +import org.gfxtest.framework.annotations.RenderStyles; +import org.gfxtest.framework.annotations.TestType; +import org.gfxtest.framework.annotations.TestTypes; +import org.gfxtest.framework.annotations.Transformation; +import org.gfxtest.framework.annotations.Transformations; +import org.gfxtest.framework.annotations.Zoom; + + + +/** + * This test check the rendering of antialiased circles and ellipses. All sample + * images and test images are zoomed to show the pixel-wide differences between + * both renderers. Zoom factor is set to 16. + * + * @author Pavel Tisnovsky + */ + at TestType(TestTypes.RENDER_TEST) + at GraphicsPrimitive(GraphicsPrimitives.ELLIPSE) + at RenderStyle(RenderStyles.NORMAL_AA) + at Transformation(Transformations.NONE) + at Zoom(16) +public class AAEllipses extends GfxTest +{ + + /** + * Draw circle onto the image using given color and also highlights circle + * center point and four points at quadrants. Odd width and height is used + * for the test circle. + * + * @param image + * image to which line is to be drawn + * @param graphics2d + * graphics canvas + * @param xc + * x-coordination of circle center + * @param yc + * y-coordination of circle center + * @param radius + * radius of circle + * @param color + * circle color + */ + private static void drawCircleOddSize(BufferedImage image, Graphics2D graphics2d, int xc, int yc, int radius, Color color) + { + // rectangle around the circle + int x1 = xc - radius; + int y1 = yc - radius; + int x2 = xc + radius; + int y2 = yc + radius; + + // circle size + int size = 1 + radius * 2; + + // draw circle + graphics2d.setColor(color); + graphics2d.drawOval(x1, y1, size, size); + + // draw interesting points for the circle + renderCircleCenter(image, xc, yc); + renderCircleQuadrant(image, xc, yc, x1, y1, x2, y2); + } + + /** + * Draw circle onto the image using given color and also highlights circle + * center point and four points at quadrants. Even width and height is used + * for the test circle. + * + * @param image + * image to which line is to be drawn + * @param graphics2d + * graphics canvas + * @param xc + * x-coordination of circle center + * @param yc + * y-coordination of circle center + * @param radius + * radius of circle + * @param color + * circle color + */ + private static void drawCircleEvenSize(BufferedImage image, Graphics2D graphics2d, int xc, int yc, int radius, Color color) + { + // rectangle around the circle + int x1 = xc - radius; + int y1 = yc - radius; + int x2 = xc + radius; + int y2 = yc + radius; + + // circle size + int size = radius * 2; + + // draw circle + graphics2d.setColor(color); + graphics2d.drawOval(x1, y1, size, size); + + // draw interesting points for the circle + renderCircleCenter(image, xc, yc); + renderCircleQuadrant(image, xc, yc, x1, y1, x2, y2); + } + + /** + * Draw pixel which is in the center of circle. + * + * @param image + * image to which line is to be drawn + * @param xc + * x-coordination of circle center + * @param yc + * y-coordination of circle center + */ + private static void renderCircleCenter(BufferedImage image, int xc, int yc) + { + // pixes at the center of circle + image.setRGB(xc, yc, 0xff0000); + } + + /** + * Draw pixel which is in the circle quadrant. + * + * @param image + * image to which line is to be drawn + * @param xc + * x-coordination of circle center + * @param yc + * y-coordination of circle center + * @param x1 + * leftmost part of circle + * @param y1 + * topmost part of circle + * @param x2 + * rightmost part of circle + * @param y2 + * undermost part of circle + */ + private static void renderCircleQuadrant(BufferedImage image, int xc, int yc, int x1, int y1, int x2, int y2) + { + renderCircleCenter(image, x1, yc); + renderCircleCenter(image, x2, yc); + renderCircleCenter(image, xc, y1); + renderCircleCenter(image, xc, y2); + } + + /** + * Draw circles with odd size (width and height). + * + * @param image + * test image + * @param graphics2d + * graphics canvas + */ + private void drawCirclesOddSize(TestImage image, Graphics2D graphics2d) + { + // compute center of circles + int xc = image.getCenterX(); + int yc = image.getCenterY(); + // image used for rendering + final BufferedImage bufferedImage = image.getImage(); + // draw circles + drawCircleOddSize(bufferedImage, graphics2d, xc, yc, 2, Color.BLACK); + drawCircleOddSize(bufferedImage, graphics2d, xc, yc, 4, Color.YELLOW); + drawCircleOddSize(bufferedImage, graphics2d, xc, yc, 6, Color.MAGENTA); + drawCircleOddSize(bufferedImage, graphics2d, xc, yc, 9, Color.BLUE); + drawCircleOddSize(bufferedImage, graphics2d, xc, yc, 12, Color.GRAY); + } + + /** + * Draw circles with even size (width and height). + * @param image + * test image + * @param graphics2d + * graphics canvas + */ + private void drawCirclesEvenSize(TestImage image, Graphics2D graphics2d) + { + // compute center of circles + int xc = image.getCenterX(); + int yc = image.getCenterY(); + // image used for rendering + final BufferedImage bufferedImage = image.getImage(); + // draw circles + drawCircleEvenSize(bufferedImage, graphics2d, xc, yc, 2, Color.BLACK); + drawCircleEvenSize(bufferedImage, graphics2d, xc, yc, 4, Color.YELLOW); + drawCircleEvenSize(bufferedImage, graphics2d, xc, yc, 6, Color.MAGENTA); + drawCircleEvenSize(bufferedImage, graphics2d, xc, yc, 9, Color.BLUE); + drawCircleEvenSize(bufferedImage, graphics2d, xc, yc, 12, Color.GRAY); + } + + /** + * This method just enables antialiasing for the following rendering + * operation. + * + * @param graphics2d + * graphics canvas + */ + private void setAA1(Graphics2D graphics) + { + graphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); + } + + /** + * This method just enables antialiasing and fractional metrics for the + * following rendering operation. + * + * @param graphics2d + * graphics canvas + */ + private void setAA2(Graphics2D graphics) + { + graphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); + graphics.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON); + } + + /** + * Test rendering of circles with various sizes, but the sizes are all odd. + * + * @param image + * test image + * @param graphics2d + * graphics canvas + * @return test result + */ + public TestResult testCircleOddSizeNoAA(TestImage image, Graphics2D graphics2d) + { + // draw test circles + drawCirclesOddSize(image, graphics2d); + return TestResult.PASSED; + } + + /** + * Test rendering of circles with various sizes, but the sizes are all even. + * + * @param image + * test image + * @param graphics2d + * graphics canvas + * @return test result + */ + public TestResult testCircleEvenSizeNoAA(TestImage image, Graphics2D graphics2d) + { + // draw test circles + drawCirclesEvenSize(image, graphics2d); + return TestResult.PASSED; + } + + /** + * Test rendering of circles with various sizes, but the sizes are all odd. + * + * @param image + * test image + * @param graphics2d + * graphics canvas + * @return test result + */ + public TestResult testCircleOddSizeAA1(TestImage image, Graphics2D graphics2d) + { + // enable antialiasing + setAA1(graphics2d); + // draw test circles + drawCirclesOddSize(image, graphics2d); + return TestResult.PASSED; + } + + /** + * Test rendering of circles with various sizes, but the sizes are all even. + * + * @param image + * test image + * @param graphics2d + * graphics canvas + * @return test result + */ + public TestResult testCircleEvenSizeAA1(TestImage image, Graphics2D graphics2d) + { + // enable antialiasing + setAA1(graphics2d); + // draw test circles + drawCirclesEvenSize(image, graphics2d); + return TestResult.PASSED; + } + + /** + * Test rendering of circles with various sizes, but the sizes are all odd. + * + * @param image + * test image + * @param graphics2d + * graphics canvas + * @return test result + */ + public TestResult testCircleOddSizeAA2(TestImage image, Graphics2D graphics2d) + { + // enable antialiasing and fractional metrics + setAA2(graphics2d); + // draw test circles + drawCirclesOddSize(image, graphics2d); + return TestResult.PASSED; + } + + /** + * Test rendering of circles with various sizes, but the sizes are all even. + * + * @param image + * test image + * @param graphics2d + * graphics canvas + * @return test result + */ + public TestResult testCircleEvenSizeAA2(TestImage image, Graphics2D graphics2d) + { + // enable antialiasing and fractional metrics + setAA2(graphics2d); + // draw test circles + drawCirclesEvenSize(image, graphics2d); + return TestResult.PASSED; + } + + /** + * Entry point to the test suite. + * + * @param args not used in this case + */ + public static void main(String[] args) + { + new AAEllipses().runTestSuite(args); + } + +} diff -r 2d45a6c76b6a -r ee567b76ecc2 src/org/gfxtest/testsuites/AALines.java --- a/src/org/gfxtest/testsuites/AALines.java Thu Nov 10 16:24:44 2011 +0100 +++ b/src/org/gfxtest/testsuites/AALines.java Fri Nov 11 12:25:13 2011 +0100 @@ -48,11 +48,13 @@ import org.gfxtest.framework.*; import org.gfxtest.framework.annotations.*; + + /** - * This test check the rendering of antialiased lines. - * All sample images and test images are zoomed to show - * the pixel-wide differences between both renderers. - * + * This test check the proper rendering of antialiased lines. All sample images + * and test images are zoomed to show the pixel-wide differences between both + * renderers. Zoom factor is set to 16. + * * @author Pavel Tisnovsky */ @TestType(TestTypes.RENDER_TEST) @@ -83,13 +85,15 @@ */ private static void drawLine(BufferedImage image, Graphics2D graphics2d, int x1, int y1, int x2, int y2, Color color) { + // draw the line graphics2d.setColor(color); graphics2d.drawLine(x1, y1, x2, y2); - + + // highlight also both line endpoints image.setRGB(x1, y1, 0xff0000); image.setRGB(x2, y2, 0xff0000); } - + /** * Draws various horizontal lines with end points having theirs * y-coordinates changed by +- one pixel. @@ -101,13 +105,18 @@ */ private static void drawHorizontalJaggedLines(BufferedImage image, Graphics2D graphics) { + // y-difference is +1 pixel drawLine(image, graphics, 3, 3, 36, 4, Color.BLACK); + // y-difference is +1 pixel drawLine(image, graphics, 3, 9, 36, 10, Color.YELLOW); + // y-difference is +1 pixel drawLine(image, graphics, 3, 15, 36, 16, Color.MAGENTA); + // y-difference is -1 pixel drawLine(image, graphics, 3, 21, 36, 20, Color.BLUE); + // y-difference is -1 pixel drawLine(image, graphics, 3, 26, 36, 25, Color.GRAY); } - + /** * Draws various vertical lines with end points having theirs x-coordinates * changed by +- one pixel. @@ -125,7 +134,7 @@ drawLine(image, graphics, 27, 3, 28, 26, Color.BLUE); drawLine(image, graphics, 35, 3, 34, 26, Color.GRAY); } - + /** * Draw color wheel, ie. lines with one common end point and other end point * forming circle. @@ -143,12 +152,14 @@ // draw color wheel for (int i = 0; i < ANGLES; i++) { + // compute color for each line Color color = new Color(Color.HSBtoRGB((float)i/ANGLES, 1.0f, 1.0f)); graphics.setColor(color); int majorRadius = (xc > yc ? yc : xc) - 2; double angle = 2.0 * i / ANGLES * Math.PI; double cos = Math.cos(angle); double sin = Math.sin(angle); From jvanek at icedtea.classpath.org Fri Nov 11 05:40:01 2011 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Fri, 11 Nov 2011 13:40:01 +0000 Subject: /hg/icedtea-web: 3 new changesets Message-ID: <hg.1f74d3de726c.1321018801.8643924302249223276@icedtea.classpath.org> changeset 1f74d3de726c in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=1f74d3de726c author: Jiri Vanek <jvanek at redhat.com> date: Fri Nov 11 14:33:29 2011 +0100 reproducers engine can now handle files and directories with spaces changeset dc34e82d88d4 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=dc34e82d88d4 author: Jiri Vanek <jvanek at redhat.com> date: Fri Nov 11 14:35:45 2011 +0100 Added reproducer for handling spaces by javaws both localy and remotely changeset 22db4e09bbc7 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=22db4e09bbc7 author: Jiri Vanek <jvanek at redhat.com> date: Fri Nov 11 14:40:26 2011 +0100 chenglogs for spaces reproducers and for changes to engine because of spaces diffstat: ChangeLog | 38 ++ Makefile.am | 26 +- NEW_LINE_IFS | 8 + tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp | 53 +++ tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp | 53 +++ tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp | 53 +++ tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java | 43 ++ tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java | 152 ++++++++++ tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java | 14 +- tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java | 27 +- 10 files changed, 449 insertions(+), 18 deletions(-) diffs (truncated from 640 to 500 lines): diff -r 5860a2cbe221 -r 22db4e09bbc7 ChangeLog --- a/ChangeLog Thu Nov 10 20:57:36 2011 +0100 +++ b/ChangeLog Fri Nov 11 14:40:26 2011 +0100 @@ -1,3 +1,41 @@ +2011-11-11 Jiri Vanek <jvanek at redhat.com> + + Added reproducer for PR804 and PR8011 + * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp: + new jnlp file with space in name and with jar in resources which name does not contain + spaces + * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp: + new jnlp file with space in name and with jar in resources which name contains spaces + * tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp: + jnlp file without space in name but with jar in resources which name contains spaces + * tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java: + new file containig simple main method of "Spaces can be everywhere.jar" jar + * tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java + testcase for this reproducer. It is lunching each of this jnlp once locally from filesystem and + once remotely from server. Please note that except it's own jar, this reproducer is also + using simpletest1.jar + +2011-11-11 Jiri Vanek <jvanek at redhat.com> + + Fixed reproducers engine to handle spaces in files and in urls + * Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp) + (stamps/netx-dist-tests-sign-some-reproducers.stamp) + (stamps/netx-dist-tests-compile-testcases.stamp): + added call to NEW_LINE_IFS to use line breake temporarily as parameter + separator while loading files from list and correct quoting + * NEW_LINE_IFS: new file, small separate script used in makefile as inline script + which backup original IFS variable and then set it to pure new line. It is in + separate file because it is reused and I do not know another way how to save a new + line variable in makefile. Restore to original vlaue is handled in Makefile + *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java: + (testResourcesExists) filename is encoded to correct URL before requested from server + * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java: + "-headless" string extracted to variable HEADLES_OPTION + (executeProcess) and (ThreadedProcess) enhanced for variable dir to specify working + directory. Backward compatibility kept + (TinyHttpdImpl) now expects url on requests, so all requests are now decoded by + java.net.URLDecoder + 2011-11-10 Jiri Vanek <jvanek at redhat.com> Added tests which covers corner cases or rhino support function dateRange diff -r 5860a2cbe221 -r 22db4e09bbc7 Makefile.am --- a/Makefile.am Thu Nov 10 20:57:36 2011 +0100 +++ b/Makefile.am Fri Nov 11 14:40:26 2011 +0100 @@ -473,22 +473,24 @@ stamps/netx-dist-tests-prepare-reproducers.stamp: stamps/junit-jnlp-dist-dirs types=(simple signed); \ for which in "$${types[@]}" ; do \ + . $(abs_top_builddir)/NEW_LINE_IFS ; \ simpleReproducers=(`cat $(abs_top_builddir)/junit-jnlp-dist-$$which.txt `); \ + IFS="$$IFS_BACKUP" ; \ for dir in "$${simpleReproducers[@]}" ; do \ echo "processing: $$dir" ; \ - mkdir -p $(JNLP_TESTS_DIR)/$$dir ; \ + mkdir -p "$(JNLP_TESTS_DIR)/$$dir" ; \ d=`pwd` ; \ - cd $(JNLP_TESTS_SRCDIR)/$$which/$$dir/srcs/ ; \ + cd "$(JNLP_TESTS_SRCDIR)/$$which/$$dir/srcs/" ; \ srcFiles=`find . -mindepth 1 -type f -name "*.java" | sed "s/.\/*//"` ; \ notSrcFiles=`find . -mindepth 1 -type f \! -name "*.java" | sed "s/.\/*//"` ; \ - $(BOOT_DIR)/bin/javac -d $(JNLP_TESTS_DIR)/$$dir/ $$srcFiles ; \ + $(BOOT_DIR)/bin/javac -d "$(JNLP_TESTS_DIR)/$$dir/" $$srcFiles ; \ if [ -n "$$notSrcFiles" ] ; then \ - cp -R --parents $$notSrcFiles $(JNLP_TESTS_DIR)/$$dir/ ; \ + cp -R --parents "$$notSrcFiles" "$(JNLP_TESTS_DIR)/$$dir/" ; \ fi ; \ - cd $(JNLP_TESTS_DIR)/$$dir/ ; \ - $(BOOT_DIR)/bin/jar cf $(JNLP_TESTS_SERVER_DEPLOYDIR)/$$dir.jar * ; \ - cd $$d ; \ - cp -R $(JNLP_TESTS_SRCDIR)/$$which/$$dir/resources/* $(JNLP_TESTS_SERVER_DEPLOYDIR)/ ; \ + cd "$(JNLP_TESTS_DIR)/$$dir/" ; \ + $(BOOT_DIR)/bin/jar cf "$(JNLP_TESTS_SERVER_DEPLOYDIR)/$$dir.jar" * ; \ + cd "$$d" ; \ + cp -R "$(JNLP_TESTS_SRCDIR)/$$which/$$dir/resources/"* $(JNLP_TESTS_SERVER_DEPLOYDIR)/ ; \ done ; \ done ; \ mkdir -p stamps && \ @@ -499,9 +501,11 @@ keystore=$(abs_top_builddir)/$(KEYSTORE_NAME); \ pass=123456789; \ $(BOOT_DIR)/bin/keytool -genkey -alias $$alias -keystore $$keystore -keypass $$pass -storepass $$pass -dname "cn=$$alias, ou=$$alias, o=$$alias, c=$$alias" ; \ + . $(abs_top_builddir)/NEW_LINE_IFS ; \ signedReproducers=(`cat $(abs_top_builddir)/junit-jnlp-dist-signed.txt `); \ + IFS="$$IFS_BACKUP" ; \ for dir in "$${signedReproducers[@]}" ; do \ - $(BOOT_DIR)/bin/jarsigner -keystore $$keystore -storepass $$pass -keypass $$pass $(JNLP_TESTS_SERVER_DEPLOYDIR)/$$dir.jar $$alias ; \ + $(BOOT_DIR)/bin/jarsigner -keystore $$keystore -storepass $$pass -keypass $$pass "$(JNLP_TESTS_SERVER_DEPLOYDIR)/$$dir.jar" $$alias ; \ done ; \ mkdir -p stamps && \ touch $@ @@ -522,12 +526,14 @@ netx-dist-tests-source-files.txt stamps/netx-dist-tests-compile.stamp types=(simple signed); \ for which in "$${types[@]}" ; do \ + . $(abs_top_builddir)/NEW_LINE_IFS ; \ simpleReproducers=(`cat $(abs_top_builddir)/junit-jnlp-dist-$$which.txt `); \ + IFS="$$IFS_BACKUP" ; \ for dir in "$${simpleReproducers[@]}" ; do \ $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \ -d $(JNLP_TESTS_ENGINE_DIR) \ -classpath $(JUNIT_JAR):$(NETX_DIR)/lib/classes.jar:$(JNLP_TESTS_ENGINE_DIR) \ - $(JNLP_TESTS_SRCDIR)/$$which/$$dir/testcases/* ; \ + "$(JNLP_TESTS_SRCDIR)/$$which/$$dir/testcases/"* ; \ done ; \ done ; \ mkdir -p stamps && \ diff -r 5860a2cbe221 -r 22db4e09bbc7 NEW_LINE_IFS --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NEW_LINE_IFS Fri Nov 11 14:40:26 2011 +0100 @@ -0,0 +1,8 @@ +#!/bin/sh +NEW_LINE_IFS=" +" + +IFS_BACKUP="$IFS"; +#echo "1xx""$IFS""xx" ; +IFS="$NEW_LINE_IFS" ; +#echo "2xx""$IFS""xx" ; diff -r 5860a2cbe221 -r 22db4e09bbc7 tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp Fri Nov 11 14:40:26 2011 +0100 @@ -0,0 +1,53 @@ +<!-- + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + + --> +<?xml version="1.0" encoding="utf-8"?> +<jnlp spec="1.0" href="Spaces can be everywhere1.jnlp" codebase="."> + <information> + <title>Spaces can be everywhere1</title> + <vendor>NetX</vendor> + <homepage href="http://jnlp.sourceforge.net/netx/"/> + <description>Spaces can be everywhere1</description> + <offline/> + </information> + <resources> + <j2se version="1.4+"/> + <jar href="simpletest1.jar"/> + </resources> + <application-desc main-class="SimpleTest1"> + </application-desc> +</jnlp> diff -r 5860a2cbe221 -r 22db4e09bbc7 tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp Fri Nov 11 14:40:26 2011 +0100 @@ -0,0 +1,53 @@ +<!-- + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + + --> +<?xml version="1.0" encoding="utf-8"?> +<jnlp spec="1.0" href="Spaces can be everywhere2.jnlp" codebase="."> + <information> + <title>Spaces can be everywhere2</title> + <vendor>NetX</vendor> + <homepage href="http://jnlp.sourceforge.net/netx/"/> + <description>Spaces can be everywhere2</description> + <offline/> + </information> + <resources> + <j2se version="1.4+"/> + <jar href="Spaces can be everywhere.jar"/> + </resources> + <application-desc main-class="SpacesCanBeEverywhere"> + </application-desc> +</jnlp> diff -r 5860a2cbe221 -r 22db4e09bbc7 tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp Fri Nov 11 14:40:26 2011 +0100 @@ -0,0 +1,53 @@ +<!-- + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +IcedTea is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + + --> +<?xml version="1.0" encoding="utf-8"?> +<jnlp spec="1.0" href="SpacesCanBeEverywhere1.jnlp" codebase="."> + <information> + <title>simpletest1</title> + <vendor>NetX</vendor> + <homepage href="http://jnlp.sourceforge.net/netx/"/> + <description>simpletest1</description> + <offline/> + </information> + <resources> + <j2se version="1.4+"/> + <jar href="Spaces can be everywhere.jar"/> + </resources> + <application-desc main-class="SpacesCanBeEverywhere"> + </application-desc> +</jnlp> diff -r 5860a2cbe221 -r 22db4e09bbc7 tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java Fri Nov 11 14:40:26 2011 +0100 @@ -0,0 +1,43 @@ +/* SpacesCanBeEverywhere.java +Copyright (C) 2011 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + */ + +public class SpacesCanBeEverywhere{ + + public static void main(String[] args){ + System.out.println("Spaces can be everywhere.jsr was launched correctly"); + } +} diff -r 5860a2cbe221 -r 22db4e09bbc7 tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java Fri Nov 11 14:40:26 2011 +0100 @@ -0,0 +1,152 @@ +/* SpacesCanBeEverywhereTests.java +Copyright (C) 2011 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. + */ + +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import net.sourceforge.jnlp.ServerAccess; +import org.junit.Assert; + +import org.junit.Test; + +public class SpacesCanBeEverywhereTests { + + private static ServerAccess server = new ServerAccess(); + + @Test + public void SpacesCanBeEverywhereRemoteTests1() throws Exception { + System.out.println("connecting SpacesCanBeEverywhereRemoteTests1 request"); + System.err.println("connecting SpacesCanBeEverywhereRemoteTests1 request"); + ServerAccess.ProcessResult pr = server.executeJavawsHeadless(null, "/Spaces%20can%20be%20everywhere1.jnlp"); + System.out.println(pr.stdout); + System.err.println(pr.stderr); + String s = "Good simple javaws exapmle"; + Assert.assertTrue("stdout should contains `" + s + "`, but did not", pr.stdout.contains(s)); + String cc = "ClassNotFoundException"; + Assert.assertFalse("stderr should NOT contains `" + cc + "`, but did", pr.stderr.contains(cc)); + Assert.assertFalse("should not be terminated, but was", pr.wasTerminated); + Assert.assertEquals((Integer) 0, pr.returnValue); + } + + @Test + public void SpacesCanBeEverywhereRemoteTests2() throws Exception { + System.out.println("connecting SpacesCanBeEverywhereRemoteTests2 request"); + System.err.println("connecting SpacesCanBeEverywhereRemoteTests2 request"); + ServerAccess.ProcessResult pr = server.executeJavawsHeadless(null, "/Spaces%20can%20be%20everywhere2.jnlp"); + System.out.println(pr.stdout); + System.err.println(pr.stderr); + String s="Spaces can be everywhere.jsr was launched correctly"; + Assert.assertTrue("stdout should contains `"+s+"`, but did not",pr.stdout.contains(s)); + String cc = "ClassNotFoundException"; + Assert.assertFalse("stderr should NOT contains `" + cc + "`, but did", pr.stderr.contains(cc)); + Assert.assertFalse("should not be terminated, but was", pr.wasTerminated); + Assert.assertEquals((Integer) 0, pr.returnValue); + } + + @Test + public void SpacesCanBeEverywhereRemoteTests3() throws Exception { + System.out.println("connecting SpacesCanBeEverywhereRemoteTests3 request"); + System.err.println("connecting SpacesCanBeEverywhereRemoteTests3 request"); + ServerAccess.ProcessResult pr = server.executeJavawsHeadless(null, "/SpacesCanBeEverywhere1.jnlp"); + System.out.println(pr.stdout); + System.err.println(pr.stderr); + String s="Spaces can be everywhere.jsr was launched correctly"; + Assert.assertTrue("stdout should contains `"+s+"`, but did not",pr.stdout.contains(s)); + String cc = "ClassNotFoundException"; + Assert.assertFalse("stderr should NOT contains `" + cc + "`, but did", pr.stderr.contains(cc)); + Assert.assertFalse("should not be terminated, but was", pr.wasTerminated); + Assert.assertEquals((Integer) 0, pr.returnValue); + } + + + @Test + public void SpacesCanBeEverywhereLocalTests1() throws Exception { + System.out.println("connecting SpacesCanBeEverywhereLocalTests1 request"); + System.err.println("connecting SpacesCanBeEverywhereLocalTests1 request"); + List<String> commands=new ArrayList<String>(4); + commands.add(server.getJavawsLocation()); + commands.add(ServerAccess.HEADLES_OPTION); + commands.add("Spaces can be everywhere1.jnlp"); + ServerAccess.ProcessResult pr = ServerAccess.executeProcess(commands,server.getDir()); + System.out.println(pr.stdout); + System.err.println(pr.stderr); + String s = "Good simple javaws exapmle"; + Assert.assertTrue("stdout should contains `" + s + "`, but did not", pr.stdout.contains(s)); + String cc = "ClassNotFoundException"; + Assert.assertFalse("stderr should NOT contains `" + cc + "`, but did", pr.stderr.contains(cc)); + Assert.assertFalse("should not be terminated, but was", pr.wasTerminated); + Assert.assertEquals((Integer) 0, pr.returnValue); + } + + @Test + public void SpacesCanBeEverywhereLocalTests2() throws Exception { + System.out.println("connecting SpacesCanBeEverywhereLocalTests2 request"); + System.err.println("connecting SpacesCanBeEverywhereLocalTests2 request"); + List<String> commands=new ArrayList<String>(4); + commands.add(server.getJavawsLocation()); + commands.add(ServerAccess.HEADLES_OPTION); + commands.add("Spaces can be everywhere2.jnlp"); + ServerAccess.ProcessResult pr = ServerAccess.executeProcess(commands,server.getDir()); + System.out.println(pr.stdout); + System.err.println(pr.stderr); + String s="Spaces can be everywhere.jsr was launched correctly"; + Assert.assertTrue("stdout should contains `"+s+"`, but did not",pr.stdout.contains(s)); + String cc = "ClassNotFoundException"; + Assert.assertFalse("stderr should NOT contains `" + cc + "`, but did", pr.stderr.contains(cc)); + Assert.assertFalse("should not be terminated, but was", pr.wasTerminated); + Assert.assertEquals((Integer) 0, pr.returnValue); + } + + @Test + public void SpacesCanBeEverywhereLocalTests3() throws Exception { + System.out.println("connecting SpacesCanBeEverywhereLocalTests3 request"); + System.err.println("connecting SpacesCanBeEverywhereLocalTests3 request"); + List<String> commands=new ArrayList<String>(4); + commands.add(server.getJavawsLocation()); + commands.add(ServerAccess.HEADLES_OPTION); + commands.add("SpacesCanBeEverywhere1.jnlp"); + ServerAccess.ProcessResult pr = ServerAccess.executeProcess(commands,server.getDir()); + System.out.println(pr.stdout); + System.err.println(pr.stderr); + String s="Spaces can be everywhere.jsr was launched correctly"; + Assert.assertTrue("stdout should contains `"+s+"`, but did not",pr.stdout.contains(s)); + String cc = "ClassNotFoundException"; + Assert.assertFalse("stderr should NOT contains `" + cc + "`, but did", pr.stderr.contains(cc)); + Assert.assertFalse("should not be terminated, but was", pr.wasTerminated); + Assert.assertEquals((Integer) 0, pr.returnValue); + } +} diff -r 5860a2cbe221 -r 22db4e09bbc7 tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java --- a/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java Thu Nov 10 20:57:36 2011 +0100 +++ b/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java Fri Nov 11 14:40:26 2011 +0100 @@ -38,6 +38,7 @@ From omajid at redhat.com Fri Nov 11 07:07:05 2011 From: omajid at redhat.com (Omair Majid) Date: Fri, 11 Nov 2011 10:07:05 -0500 Subject: Request to backport 7102369/709446/7100592 and 7092186 In-Reply-To: <20111110225157.GI17686@rivendell.middle-earth.co.uk> References: <4EBC4498.9000807@redhat.com> <20111110225157.GI17686@rivendell.middle-earth.co.uk> Message-ID: <4EBD3A19.8030605@redhat.com> On 11/10/2011 05:51 PM, Dr Andrew John Hughes wrote: > On 16:39 Thu 10 Nov , Omair Majid wrote: >> Hi, >> >> The recent security changes breaks some applications as rmiregistry >> needs to be started with the java.rmi.server.codebase property set. I >> would like to backport the following two changesets from jdk7u to >> address this problem: >> >> http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/7ed2fd310470 >> http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/2d10aa9d772a >> >> Does anyone have any thoughts or concerns? >> > > Can you explain a bit more about these patches and why they are > needed/appropriate? The bugs don't give much detail and one isn't > even accessible. > Here is a bug report of a user who now has to start rmiregistry with -J-Djava.rmi.server.codebase= option for his code to continue working after the security update: https://bugzilla.redhat.com/show_bug.cgi?id=751203 As you can see, one of the patches removes the need for explicitly setting this property (and reverts back to the pre-security-update condition). I dont know about you, but I think security fixes should not be causing any change in behaviour of valid applications (as far as possible). Also, the jtreg test sun/tools/jstatd/jstatdExternalRegistry.sh has been failing ever since the security fixes were added; applying these two patches makes that test pass too. > Have you posted these to IcedTea? I was expecting IcedTea7 to get these when it merges OpenJDK 7u changesets. I will be adding this to IcedTea6 when it is approved for OpenJDK6. Of course, unless people want otherwise and I will be happy to accommodate that. Cheers, Omair From bugzilla-daemon at icedtea.classpath.org Mon Nov 14 00:32:23 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 14 Nov 2011 08:32:23 +0000 Subject: [Bug 817] New: IcedTea7-2.0 fails to build on PaX enabled kernels. Message-ID: <bug-817-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=817 Bug #: 817 Summary: IcedTea7-2.0 fails to build on PaX enabled kernels. Classification: Unclassified Product: IcedTea Version: 2.0 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: IcedTea7 AssignedTo: ahughes at redhat.com ReportedBy: sera at gentoo.org CC: unassigned at icedtea.classpath.org IcedTea7-2.0 fails to build on a PaX enabled kernel due to the gamma tests. The corresponding Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=389751 This bug was fixed by Andrew for IcedTea6 http://icedtea.classpath.org/hg/icedtea6/rev/cb463b94b82d. The original bug was https://bugs.gentoo.org/show_bug.cgi?id=244901. Please consider applying the same fix to IcedTea7. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From xerxes at zafena.se Mon Nov 14 01:54:43 2011 From: xerxes at zafena.se (=?UTF-8?B?WGVyeGVzIFLDpW5ieQ==?=) Date: Mon, 14 Nov 2011 10:54:43 +0100 Subject: Argh In-Reply-To: <CAAxjCEwOcKG4U9M83oi_TD4zOGiOfiO3YcOSXe9AD3Ya7xwHng@mail.gmail.com> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> <4EAFF894.8000902@redhat.com> <4EBC0319.30301@redhat.com> <CAAxjCEwOcKG4U9M83oi_TD4zOGiOfiO3YcOSXe9AD3Ya7xwHng@mail.gmail.com> Message-ID: <4EC0E563.5060105@zafena.se> 2011-11-10 18:44, Stefan Ring skrev: > On Thu, Nov 10, 2011 at 6:00 PM, Andrew Haley<aph at redhat.com> wrote: >> So, I'm trawling through jtreg failures to see which ones really >> are VM bugs,and I notice that some java.util.concurrent tests are >> failing, and even some really simple ones. "Ah well," I thought, >> "there must be some problem with the memory barrier code." So, I >> read through the source looking for the barriers. >> >> And that was the problem. There are no barriers. None, nada, >> zilch. On ARM this is a really big problem: memory barriers are >> essential. Yes, thank you Andrew for adding them. i will test your work as soon as possibe. > > CACAO also doesn't have any for ARM yet, IIRC - don't feel bad ;). Hum, i thought you added memory barriers for ARM into CACAO HEAD: http://mips.complang.tuwien.ac.at/hg/cacao/rev/c7bf150bfa46 or are these barriers not used by the rest of the code? Cheers Xerxes From jvanek at redhat.com Mon Nov 14 04:35:28 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 14 Nov 2011 13:35:28 +0100 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4EBBF614.9000601@redhat.com> References: <4EBBF614.9000601@redhat.com> Message-ID: <4EC10B10.5060903@redhat.com> On 11/10/2011 05:04 PM, Jiri Vanek wrote: > This patch add code-coverage of our testsuits functionality into makefile. It is adding optional dependence for emma.jar, which is providing whole functionality of arround investigating coverage and generate reports. > It add three new top level targets into makefile.am It run-test-code-coverage, run-reproducers-test-code-coverage and run-unit-test-code-coverage. Except this, it is modifying touch $@ of several more targets. The reason is as follows. > *run-reproducers-test-code-coverage and run-unit-test-code-coverage: > * each must run all tests again, with (by emma) marrked code (so the results can not be as correct as we can wish) > * it depends on all preparations which proceed normal testing > * when they are run after this tests, they do not invoke them again (just run the marrked version) > * when they are run without previoous make check or make run-netx-dist-tests they invoke them > * all four make check , make run-netx-dist-tests run-reproducers-test-code-coverage and run-unit-test-code-coverage are considered as top level targets > *run-test-code-coverage, on the other side just merges results generated by run-reproducers-test-code-coverage and run-unit-test-code-coverage. When it is run after this two targets, then he just reuse the results. If he ie run without, then he invoke them. It ia lso to be considered top level target. > *Each code-coverege target creates html report. > > Reproducer tests are not covered 100% they will need more hacking, which I will post as new patch. (in some longer time, it will not be easy) > > Best regards > J. > > > changelog: > > 2011-11-10 Jiri Vanek <jvanek at redhat.com> > Added code-coverage generation targets > * configure.ac: added search for optional emma.jar > * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables > to store tests clases for reuse in emmarun > (run-netx-dist-tests): made dependent on reused stamped version > (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests > ($(NETX_UNIT_TEST_DIR)/coverage.es) and (run-unit-test-code-coverage) targets > to generate report from unit-tests. Both result binary file and html report in > tests.build/netx/unit > ($(JNLP_TESTS_ENGINE_DIR)/coverage.es) and (run-reproducers-test-code-coverage) > targets to generate report from reproducers-test. Both result binary file > and html report in tests.build/netx/jnlp_testsengine > (run-test-code-coverage): merges binary results from unit and reproducers > code-coverage runs and save html report in abs_top_builddir > (clean-netx-dist-tests) removes REPRODUCERS_CLASS_NAMES file, and > run-reproducers-test-code-coverage and stamps/run-netx-dist-tests stamps > (clean-netx-unit-tests) remove UNIT_CLASS_NAMES fiel and > run-unit-test-code-coverage and run-netx-unit-tests stamps > Updated for head, added patching of javaws and netx as mentioned above 2011-11-14 Jiri Vanek <jvanek at redhat.com> Added code-coverage generation targets * configure.ac: added search for optional emma.jar * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables to store tests clases for reuse in emmarun (run-netx-dist-tests): made dependent on reused stamped version (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests ($(NETX_UNIT_TEST_DIR)/coverage.es) and (run-unit-test-code-coverage) targets to generate report from unit-tests. Both result binary file, xml and html report in tests.build/netx/unit ($(JNLP_TESTS_ENGINE_DIR)/coverage.es) and (run-reproducers-test-code-coverage) targets to generate report from reproducers-test. They also backup, change javaws and netx.jar, run tests and restore them. Both result binary file, xml and html report in tests.build/netx/jnlp_testsengine (run-test-code-coverage): merges binary results from unit and reproducers code-coverage runs and save xml and html report in abs_top_builddir (clean-netx-dist-tests) removes REPRODUCERS_CLASS_NAMES file, and run-reproducers-test-code-coverage and stamps/run-netx-dist-tests stamps (clean-netx-unit-tests) remove UNIT_CLASS_NAMES file and run-unit-test-code-coverage and run-netx-unit-tests stamps * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java (ProcessResult) added filtering on stdout to remove EMMA messages (testsProcessResultFiltering) test for this behaviour There are several things, I would like to pick up: touch @$ (madness?) rmains EMMA is very badly configurable in verbosity upon instructed classes and output file names.In fact - in its source codes there are todo marks:) -verbosityl.level property is not working at all, so I'm filtering EMMA messages for reproducers - if not done so, then most of reproducers fail, and coverage is then not-so-according. Unfiltered output remains inside ProcessResult also. I have added small test for this behaviour. -output fielnames, are working, but do not follow merging correctly. So instead of setting output filenames I'm mv-ing files after each run and using this moved versions (because -in is working correctly, and outputs will not override inputs (or better - will not fail) Sample output can be found at http://10.34.2.200/icedtea-web/ -There is iso-88..1. encoding. In this patch I have already used utf-8, but still it was little bit pain to force Emma to encode properly :-/ Best regards J. -------------- next part -------------- A non-text attachment was scrubbed... Name: testCoverageUponHead.diff Type: text/x-patch Size: 15216 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111114/f9a866d5/testCoverageUponHead.diff From ddadacha at redhat.com Mon Nov 14 14:39:57 2011 From: ddadacha at redhat.com (Danesh Dadachanji) Date: Mon, 14 Nov 2011 17:39:57 -0500 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. Message-ID: <4EC198BD.3000706@redhat.com> Hi, Here's a patch to fix java tray icons not showing on GNOME 3. It fixes RH683768[1]/part of another bug reported on Oracle's bug database[2]. It's been pushed into openjdk8 and I'm going to ask that it be backported to 6 and 7. In the mean time, I'd like to get it into icedtea{6,7} HEAD. The attached patch is for icedtea6, tested on Fedora 15 with GNOME Shell 3.0.2. Once I sort out build issues, I'll post a (similar) patch for icedtea7-forest/jdk. ChangeLog: +2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> + + * Makefile.am: + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch + * NEWS: Updated. + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms + _NET_WM_PID and WM_CLIENT_MACHINE for X windows. + Regards, Danesh [1] https://bugzilla.redhat.com/show_bug.cgi?id=683768 [2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7103610 -------------- next part -------------- A non-text attachment was scrubbed... Name: icedtea6-01.patch Type: text/x-patch Size: 4110 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111114/7aabce80/icedtea6-01.patch From stefan at complang.tuwien.ac.at Mon Nov 14 14:59:27 2011 From: stefan at complang.tuwien.ac.at (Stefan Ring) Date: Mon, 14 Nov 2011 23:59:27 +0100 Subject: Argh In-Reply-To: <4EC0E563.5060105@zafena.se> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> <4EAFF894.8000902@redhat.com> <4EBC0319.30301@redhat.com> <CAAxjCEwOcKG4U9M83oi_TD4zOGiOfiO3YcOSXe9AD3Ya7xwHng@mail.gmail.com> <4EC0E563.5060105@zafena.se> Message-ID: <CAAxjCExErmWXikv8ANWyQ6nQpAdBm35yzPQWqkHh7TgvxXYtxw@mail.gmail.com> >> CACAO also doesn't have any for ARM yet, IIRC - don't feel bad ;). > > Hum, i thought you added memory barriers for ARM into CACAO HEAD: > http://mips.complang.tuwien.ac.at/hg/cacao/rev/c7bf150bfa46 > or are these barriers not used by the rest of the code? Hmm, you're right about that, obviously. I already forgot about this ;). Unfortunately, that's not everything. JSR133 requires memory barriers for volatiles, at least, and this is currently only implemented for x86_64. Depending on the processor's memory model, more might be needed. I'll have to read up on ARM's memory model. This is on my ever-growing to-do list. Cheers From aph at redhat.com Tue Nov 15 07:12:41 2011 From: aph at redhat.com (Andrew Haley) Date: Tue, 15 Nov 2011 15:12:41 +0000 Subject: Argh In-Reply-To: <CAAxjCExErmWXikv8ANWyQ6nQpAdBm35yzPQWqkHh7TgvxXYtxw@mail.gmail.com> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> <4EAFF894.8000902@redhat.com> <4EBC0319.30301@redhat.com> <CAAxjCEwOcKG4U9M83oi_TD4zOGiOfiO3YcOSXe9AD3Ya7xwHng@mail.gmail.com> <4EC0E563.5060105@zafena.se> <CAAxjCExErmWXikv8ANWyQ6nQpAdBm35yzPQWqkHh7TgvxXYtxw@mail.gmail.com> Message-ID: <4EC28169.60006@redhat.com> On 11/14/2011 10:59 PM, Stefan Ring wrote: > Depending on the processor's memory model, more might be needed. I'll > have to read up on ARM's memory model. It's all in Doug Lea's JSR133 cookbook. Andrew. From aph at redhat.com Tue Nov 15 07:13:27 2011 From: aph at redhat.com (Andrew Haley) Date: Tue, 15 Nov 2011 15:13:27 +0000 Subject: Argh In-Reply-To: <4EC0E563.5060105@zafena.se> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> <4EAFF894.8000902@redhat.com> <4EBC0319.30301@redhat.com> <CAAxjCEwOcKG4U9M83oi_TD4zOGiOfiO3YcOSXe9AD3Ya7xwHng@mail.gmail.com> <4EC0E563.5060105@zafena.se> Message-ID: <4EC28197.1020507@redhat.com> On 11/14/2011 09:54 AM, Xerxes R?nby wrote: >>> And that was the problem. There are no barriers. None, nada, >>> >> zilch. On ARM this is a really big problem: memory barriers are >>> >> essential. > Yes, thank you Andrew for adding them. i will test your work as soon as possibe. It's not all done yet; there are still bugs. Andrew. From stefan at complang.tuwien.ac.at Tue Nov 15 07:58:55 2011 From: stefan at complang.tuwien.ac.at (Stefan Ring) Date: Tue, 15 Nov 2011 16:58:55 +0100 Subject: Argh In-Reply-To: <4EC28169.60006@redhat.com> References: <4EA0285F.9010104@redhat.com> <4EAEC63D.9030104@redhat.com> <4EAFF894.8000902@redhat.com> <4EBC0319.30301@redhat.com> <CAAxjCEwOcKG4U9M83oi_TD4zOGiOfiO3YcOSXe9AD3Ya7xwHng@mail.gmail.com> <4EC0E563.5060105@zafena.se> <CAAxjCExErmWXikv8ANWyQ6nQpAdBm35yzPQWqkHh7TgvxXYtxw@mail.gmail.com> <4EC28169.60006@redhat.com> Message-ID: <CAAxjCExOMv0ecn0EBfrUOX+uj9o9=ebkFhXSq1j5czkRa8u_8w@mail.gmail.com> On Tue, Nov 15, 2011 at 4:12 PM, Andrew Haley <aph at redhat.com> wrote: > On 11/14/2011 10:59 PM, Stefan Ring wrote: >> Depending on the processor's memory model, more might be needed. I'll >> have to read up on ARM's memory model. > > It's all in Doug Lea's JSR133 cookbook. Good to know, thanks. When I last looked at the cookbook, ARM was not yet represented. From ahughes at redhat.com Tue Nov 15 11:47:35 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Tue, 15 Nov 2011 19:47:35 +0000 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. In-Reply-To: <4EC198BD.3000706@redhat.com> References: <4EC198BD.3000706@redhat.com> Message-ID: <20111115194735.GG7712@rivendell.middle-earth.co.uk> On 17:39 Mon 14 Nov , Danesh Dadachanji wrote: > Hi, > > Here's a patch to fix java tray icons not showing on GNOME 3. It fixes > RH683768[1]/part of another bug reported on Oracle's bug database[2]. > It's been pushed into openjdk8 and I'm going to ask that it be > backported to 6 and 7. In the mean time, I'd like to get it into > icedtea{6,7} HEAD. > > The attached patch is for icedtea6, tested on Fedora 15 with GNOME Shell > 3.0.2. Once I sort out build issues, I'll post a (similar) patch for > icedtea7-forest/jdk. > > ChangeLog: > +2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> > + > + * Makefile.am: > + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch > + * NEWS: Updated. > + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms > + _NET_WM_PID and WM_CLIENT_MACHINE for X windows. > + > > > Regards, > Danesh > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=683768 > [2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7103610 Looks good to me. -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111115/85286ad2/attachment.bin From ddadacha at icedtea.classpath.org Tue Nov 15 12:04:11 2011 From: ddadacha at icedtea.classpath.org (ddadacha at icedtea.classpath.org) Date: Tue, 15 Nov 2011 20:04:11 +0000 Subject: /hg/icedtea6: 683768: Add a workaround for Java applications usi... Message-ID: <hg.15d88aeb3dc4.1321387451.2873452341184383832@icedtea.classpath.org> changeset 15d88aeb3dc4 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=15d88aeb3dc4 author: Danesh Dadachanji <ddadacha at redhat.com> date: Tue Nov 15 15:02:41 2011 -0500 683768: Add a workaround for Java applications using tray icon for Gnome Shell. diffstat: ChangeLog | 8 ++ Makefile.am | 3 +- NEWS | 1 + patches/openjdk/683768-System-tray-icon.patch | 79 +++++++++++++++++++++++++++ 4 files changed, 90 insertions(+), 1 deletions(-) diffs (125 lines): diff -r 0e1ae9c38563 -r 15d88aeb3dc4 ChangeLog --- a/ChangeLog Tue Nov 08 06:03:17 2011 -0500 +++ b/ChangeLog Tue Nov 15 15:02:41 2011 -0500 @@ -1,3 +1,11 @@ +2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> + + * Makefile.am: + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch + * NEWS: Updated. + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms + _NET_WM_PID and WM_CLIENT_MACHINE for X windows. + 2011-11-07 Andrew Haley <aph at redhat.com> * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask diff -r 0e1ae9c38563 -r 15d88aeb3dc4 Makefile.am --- a/Makefile.am Tue Nov 08 06:03:17 2011 -0500 +++ b/Makefile.am Tue Nov 15 15:02:41 2011 -0500 @@ -410,7 +410,8 @@ patches/openjdk/5082756-ImageIO_plugins_metadata_boolean_attributes.patch \ patches/openjdk/6296893-BMP_Writer_handles_TopDown_prop_incorrectly.patch \ patches/openjdk/7103224-glibc_name_collision.patch \ - patches/arm-debug.patch + patches/arm-debug.patch \ + patches/openjdk/683768-System-tray-icon.patch if WITH_RHINO ICEDTEA_PATCHES += \ diff -r 0e1ae9c38563 -r 15d88aeb3dc4 NEWS --- a/NEWS Tue Nov 08 06:03:17 2011 -0500 +++ b/NEWS Tue Nov 15 15:02:41 2011 -0500 @@ -22,6 +22,7 @@ - PR732: Use xsltproc for bootstrap xslt in place of Xerces/Xalan - RH727195: Japanese font mappings are broken - LP862286: Fix exception on trying to start PulseAudio playback + - RH683768: Add a workaround for Java applications using tray icon for Gnome Shell * Import of OpenJDK6 b23 including upgrade to HotSpot 20 - S7023111: Add webrev script to make/scripts - S6909331: Add vsvars.sh to the jdk repository (handy cygwin way to get vcvars32.bat run) diff -r 0e1ae9c38563 -r 15d88aeb3dc4 patches/openjdk/683768-System-tray-icon.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/openjdk/683768-System-tray-icon.patch Tue Nov 15 15:02:41 2011 -0500 @@ -0,0 +1,82 @@ +--- openjdk.orig/jdk/make/sun/xawt/mapfile-vers 2011-11-10 14:24:02.954504503 -0500 ++++ openjdk/jdk/make/sun/xawt/mapfile-vers 2011-11-14 15:17:31.710505342 -0500 +@@ -304,6 +304,8 @@ + Java_sun_awt_X11_XlibWrapper_XSynchronize; + Java_java_awt_FileDialog_initIDs; + Java_sun_awt_X11_XWindow_initIDs; ++ Java_sun_awt_X11_XWindowPeer_getLocalHostname; ++ Java_sun_awt_X11_XWindowPeer_getJvmPID; + + Java_sun_java2d_opengl_OGLContext_getOGLIdString; + Java_sun_java2d_opengl_OGLMaskFill_maskFill; +--- openjdk.orig/jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java 2011-11-10 14:24:02.702508353 -0500 ++++ openjdk/jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java 2011-11-14 15:17:31.735504849 -0500 +@@ -199,11 +199,18 @@ + return name; + } + ++ private static native String getLocalHostname(); ++ private static native int getJvmPID(); ++ + void postInit(XCreateWindowParams params) { + super.postInit(params); + + // Init WM_PROTOCOLS atom + initWMProtocols(); ++ ++ // Set _NET_WM_PID and WM_CLIENT_MACHINE using this JVM ++ XAtom.get("WM_CLIENT_MACHINE").setProperty(getWindow(), getLocalHostname()); ++ XAtom.get("_NET_WM_PID").setCard32Property(getWindow(), getJvmPID()); + + // Set WM_TRANSIENT_FOR and group_leader + Window t_window = (Window)target; +--- openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c 2011-07-05 14:36:12.000000000 -0400 ++++ openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c 2011-11-14 15:17:31.775504063 -0500 +@@ -46,6 +46,8 @@ + #include "java_awt_SystemColor.h" + #include "java_awt_TrayIcon.h" + ++#include <unistd.h> ++ + uint32_t awt_NumLockMask = 0; + Boolean awt_ModLockIsShiftLock = False; + +@@ -914,3 +916,38 @@ + AWT_UNLOCK(); + } + } ++ ++/* ++ * Class: sun_awt_X11_XWindowPeer ++ * Method: getJvmPID ++ * Signature: ()I ++ */ ++JNIEXPORT jint JNICALL Java_sun_awt_X11_XWindowPeer_getJvmPID ++(JNIEnv *env, jclass cls) ++{ ++ /* Return the JVM's PID. */ ++ return getpid(); ++} ++ ++#ifndef HOST_NAME_MAX ++#define HOST_NAME_MAX 1024 /* Overestimated */ ++#endif ++ ++/* ++ * Class: sun_awt_X11_XWindowPeer ++ * Method: getLocalHostname ++ * Signature: ()Ljava/lang/String; ++ */ ++JNIEXPORT jstring JNICALL Java_sun_awt_X11_XWindowPeer_getLocalHostname ++(JNIEnv *env, jclass cls) ++{ ++ /* Return the machine's FQDN. */ ++ char hostname[HOST_NAME_MAX + 1]; ++ if (gethostname(hostname, HOST_NAME_MAX + 1) == 0) { ++ hostname[HOST_NAME_MAX] = '\0'; ++ jstring res = (*env)->NewStringUTF(env, hostname); ++ return res; ++ } ++ ++ return (jstring)NULL; ++} From ddadacha at redhat.com Tue Nov 15 12:08:57 2011 From: ddadacha at redhat.com (Danesh Dadachanji) Date: Tue, 15 Nov 2011 15:08:57 -0500 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. In-Reply-To: <20111115194735.GG7712@rivendell.middle-earth.co.uk> References: <4EC198BD.3000706@redhat.com> <20111115194735.GG7712@rivendell.middle-earth.co.uk> Message-ID: <4EC2C6D9.3000205@redhat.com> Hi, On 15/11/11 02:47 PM, Dr Andrew John Hughes wrote: > On 17:39 Mon 14 Nov , Danesh Dadachanji wrote: >> Hi, >> >> Here's a patch to fix java tray icons not showing on GNOME 3. It fixes >> RH683768[1]/part of another bug reported on Oracle's bug database[2]. >> It's been pushed into openjdk8 and I'm going to ask that it be >> backported to 6 and 7. In the mean time, I'd like to get it into >> icedtea{6,7} HEAD. >> >> The attached patch is for icedtea6, tested on Fedora 15 with GNOME Shell >> 3.0.2. Once I sort out build issues, I'll post a (similar) patch for >> icedtea7-forest/jdk. >> >> ChangeLog: >> +2011-11-14 Danesh Dadachanji<ddadacha at redhat.com> >> + >> + * Makefile.am: >> + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch >> + * NEWS: Updated. >> + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms >> + _NET_WM_PID and WM_CLIENT_MACHINE for X windows. >> + >> >> >> Regards, >> Danesh >> >> [1] https://bugzilla.redhat.com/show_bug.cgi?id=683768 >> [2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7103610 > > > Looks good to me. > Thanks for the review! I noticed some extra indentations in the ChangeLog entry. I've removed them and pushed to HEAD. http://icedtea.classpath.org/hg/icedtea6/rev/15d88aeb3dc4 Regards, Danesh From aph at icedtea.classpath.org Tue Nov 15 13:23:39 2011 From: aph at icedtea.classpath.org (aph at icedtea.classpath.org) Date: Tue, 15 Nov 2011 21:23:39 +0000 Subject: /hg/icedtea6: Unbreak debug builds. Message-ID: <hg.b26203d46fdd.1321392219.2873452341184383832@icedtea.classpath.org> changeset b26203d46fdd in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b26203d46fdd author: Andrew Haley <aph at redhat.com> date: Tue Nov 15 15:49:02 2011 -0500 Unbreak debug builds. 2011-11-15 Andrew Haley <aph at redhat.com> * patches/arm-debug.patch: Surround all code in #ifdef PRODUCT in order to unbreak debug builds. diffstat: ChangeLog | 5 +++++ patches/arm-debug.patch | 18 ++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diffs (67 lines): diff -r 15d88aeb3dc4 -r b26203d46fdd ChangeLog --- a/ChangeLog Tue Nov 15 15:02:41 2011 -0500 +++ b/ChangeLog Tue Nov 15 15:49:02 2011 -0500 @@ -1,3 +1,8 @@ +2011-11-15 Andrew Haley <aph at redhat.com> + + * patches/arm-debug.patch: Surround all code in #ifdef PRODUCT + in order to unbreak debug builds. + 2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> * Makefile.am: diff -r 15d88aeb3dc4 -r b26203d46fdd patches/arm-debug.patch --- a/patches/arm-debug.patch Tue Nov 15 15:02:41 2011 -0500 +++ b/patches/arm-debug.patch Tue Nov 15 15:49:02 2011 -0500 @@ -1,9 +1,11 @@ ---- openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-09-16 19:04:00.000000000 +0100 -+++ openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-09-19 11:40:10.000000000 +0100 -@@ -238,6 +238,18 @@ +diff -u openjdk/hotspot/src/share/vm/utilities/vmError.cpp openjdk/hotspot/src/share/vm/utilities/vmError.cpp +--- openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-07-05 14:31:05.000000000 -0400 ++++ openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-11-15 15:15:30.705973617 -0500 +@@ -237,6 +238,19 @@ return buf; } ++#ifdef PRODUCT +extern "C" void ps() { + fdStream out(defaultStream::output_fd()); + JavaThread* thread = JavaThread::active(); @@ -14,27 +16,32 @@ + + delete[] buf; +} -+ ++#endif // PRODUCT + void VMError::print_stack_trace(outputStream* st, JavaThread* jt, char* buf, int buflen, bool verbose) { #ifdef ZERO +diff -u openjdk/hotspot/src/share/vm/utilities/vmError.hpp openjdk/hotspot/src/share/vm/utilities/vmError.hpp --- openjdk/hotspot/src/share/vm/utilities/vmError.hpp 2011-07-05 14:31:05.000000000 -0400 -+++ openjdk/hotspot/src/share/vm/utilities/vmError.hpp 2011-09-19 13:38:35.000000000 -0400 -@@ -30,6 +30,8 @@ ++++ openjdk/hotspot/src/share/vm/utilities/vmError.hpp 2011-11-15 15:15:30.631987981 -0500 +@@ -30,6 +30,10 @@ class VM_ReportJavaOutOfMemory; ++#ifdef PRODUCT +extern "C" void ps(); ++#endif // PRODUCT + class VMError : public StackObj { friend class VM_ReportJavaOutOfMemory; -@@ -89,6 +91,8 @@ +@@ -89,6 +93,10 @@ const char* detail_msg() const { return _detail_msg; } bool should_report_bug(unsigned int id) { return id != oom_error; } ++#ifdef PRODUCT + friend void ps(); ++#endif // PRODUCT + public: // Constructor for crashes From aph at redhat.com Tue Nov 15 13:27:37 2011 From: aph at redhat.com (Andrew Haley) Date: Tue, 15 Nov 2011 21:27:37 +0000 Subject: Unbreak debug builds Message-ID: <4EC2D949.2090204@redhat.com> Obvious/trivial: my ARM debug patch broke debug builds. Fixed thusly: Andrew. 2011-11-15 Andrew Haley <aph at redhat.com> * patches/arm-debug.patch: Surround all code in #ifdef PRODUCT in order to unbreak debug builds. diff -r 15d88aeb3dc4 -r b26203d46fdd patches/arm-debug.patch --- a/patches/arm-debug.patch Tue Nov 15 15:02:41 2011 -0500 +++ b/patches/arm-debug.patch Tue Nov 15 15:49:02 2011 -0500 @@ -1,9 +1,11 @@ ---- openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-09-16 19:04:00.000000000 +0100 -+++ openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-09-19 11:40:10.000000000 +0100 -@@ -238,6 +238,18 @@ +diff -u openjdk/hotspot/src/share/vm/utilities/vmError.cpp openjdk/hotspot/src/share/vm/utilities/vmError.cpp +--- openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-07-05 14:31:05.000000000 -0400 ++++ openjdk/hotspot/src/share/vm/utilities/vmError.cpp 2011-11-15 15:15:30.705973617 -0500 +@@ -237,6 +238,19 @@ return buf; } ++#ifdef PRODUCT +extern "C" void ps() { + fdStream out(defaultStream::output_fd()); + JavaThread* thread = JavaThread::active(); @@ -14,27 +16,32 @@ + + delete[] buf; +} -+ ++#endif // PRODUCT + void VMError::print_stack_trace(outputStream* st, JavaThread* jt, char* buf, int buflen, bool verbose) { #ifdef ZERO +diff -u openjdk/hotspot/src/share/vm/utilities/vmError.hpp openjdk/hotspot/src/share/vm/utilities/vmError.hpp --- openjdk/hotspot/src/share/vm/utilities/vmError.hpp 2011-07-05 14:31:05.000000000 -0400 -+++ openjdk/hotspot/src/share/vm/utilities/vmError.hpp 2011-09-19 13:38:35.000000000 -0400 -@@ -30,6 +30,8 @@ ++++ openjdk/hotspot/src/share/vm/utilities/vmError.hpp 2011-11-15 15:15:30.631987981 -0500 +@@ -30,6 +30,10 @@ class VM_ReportJavaOutOfMemory; ++#ifdef PRODUCT +extern "C" void ps(); ++#endif // PRODUCT + class VMError : public StackObj { friend class VM_ReportJavaOutOfMemory; -@@ -89,6 +91,8 @@ +@@ -89,6 +93,10 @@ const char* detail_msg() const { return _detail_msg; } bool should_report_bug(unsigned int id) { return id != oom_error; } ++#ifdef PRODUCT + friend void ps(); ++#endif // PRODUCT + public: // Constructor for crashes From ddadacha at redhat.com Tue Nov 15 13:54:51 2011 From: ddadacha at redhat.com (Danesh Dadachanji) Date: Tue, 15 Nov 2011 16:54:51 -0500 Subject: [RFC][icedtea6-1.9, icedtea6-1.10] Backport for PR732: Use xsltproc for bootstrap xslt in place of Xerces/Xalan In-Reply-To: <4EA869EA.4010107@redhat.com> References: <4EA869EA.4010107@redhat.com> Message-ID: <4EC2DFAB.5080109@redhat.com> Ping? On 26/10/11 04:13 PM, Danesh Dadachanji wrote: > Hi, > > Attached are patches for 6-1.9 and 6-1.10 to replace the use of > xalan/xerces with xsltproc. > > It is pretty similar to PR732's fix[1] with some minor changes in > syntax/line numbers for diffs: > - The changeset from HEAD that added > patches/ecj/endorsed-dir-for-jvmti.patch was never backported so I did > not need to deal with it. > - I had to adjust patches/ecj/xsltproc.patch to get it to apply, > jvmti.make is a bit offset when compared to HEAD's build. > - For 1.9, the configure.ac macros in question do not start with "IT_" > (e.g. FIND_TOOL vs IT_FIND_TOOL). > > 1.10 ChangeLog: > +2011-10-26 Danesh Dadachanji <ddadacha at redhat.com> > + > + * Makefile.am: > + (ENDORSED_DIR): Removed. > + (ICEDTEA_ECJ_PATCHES): Add xsltproc.patch. > + (ICEDTEA_ENV_ECJ): Set XSLT. Don't > + set ICEDTEA_ENDORSED_DIR or ENDORSED. > + (bootstrap-directory-stage1): Don't link > + xalan2, xerces2 or xalan2 serialiser. > + * acinclude.m4: > + (IT_FIND_XALAN2_JAR): Removed. > + (IT_FIND_XALAN2_SERIALIZER_JAR): Removed. > + (IT_FIND_XERCES2_JAR): Removed. > + * configure.ac: > + Replace calls to FIND_XALAN2_JAR, > + IT_FIND_XALAN2_SERIALIZER_JAR and > + IT_FIND_XERCES2_JAR with call to > + IT_FIND_TOOL for xsltproc. > + * patches/ecj/xsltproc.patch: > + Patch jvmti.make in HotSpot to use > + xsltproc instead of Java's XSLT > + when bootstrapping. > + * NEWS: Updated. > > > 1.9 ChangeLog: > +2011-10-26 Danesh Dadachanji <ddadacha at redhat.com> > + > + * Makefile.am: > + (ENDORSED_DIR): Removed. > + (ICEDTEA_ECJ_PATCHES): Add xsltproc.patch. > + (ICEDTEA_ENV_ECJ): Set XSLT. Don't > + set ICEDTEA_ENDORSED_DIR or ENDORSED. > + (bootstrap-directory-stage1): Don't link > + xalan2, xerces2 or xalan2 serialiser. > + * acinclude.m4: > + (FIND_XALAN2_JAR): Removed. > + (FIND_XALAN2_SERIALIZER_JAR): Removed. > + (FIND_XERCES2_JAR): Removed. > + * configure.ac: > + Replace calls to FIND_XALAN2_JAR, > + FIND_XALAN2_SERIALIZER_JAR and > + FIND_XERCES2_JAR with call to > + FIND_TOOL for xsltproc. > + * patches/ecj/xsltproc.patch: > + Patch jvmti.make in HotSpot to use > + xsltproc instead of Java's XSLT > + when bootstrapping. > + * NEWS: Updated. > > Regards, > Danesh > [1] http://icedtea.classpath.org/hg/icedtea6/rev/32fa8c401cee From omajid at redhat.com Wed Nov 16 05:39:57 2011 From: omajid at redhat.com (Omair Majid) Date: Wed, 16 Nov 2011 08:39:57 -0500 Subject: <Swing Dev> Focus on image icons are not visible in javaws cache with high contrast mode In-Reply-To: <CAOo=rxU3rM_ht_-kOQAAEinVwuysKQmhtuZN65KEQs_BTU6g9A@mail.gmail.com> References: <4e647dc3.82cde30a.3537.5eed@mx.google.com> <CAOo=rxWpsDbsS3GVaH8shVfu3NKr1gu2VRSOgmOgutQffWnxTQ@mail.gmail.com> <4E6A13ED.200@oracle.com> <CAOo=rxXAttuk+_dV9U39cjXtAt9XkGo3Pec9pJv2BE0NcCL=jQ@mail.gmail.com> <1316086740.27737.52.camel@chalkhill> <4E71F7D4.6000704@oracle.com> <1316098057.27737.111.camel@chalkhill> <4E732DB1.6070804@oracle.com> <CAOo=rxV3iW-2CM=NfOE9R+6fQm4P5jvCiJv77Ve_52aTRPDucQ@mail.gmail.com> <4EA8237B.4020407@oracle.com> <CAOo=rxUw_JTkttdKUfUMcZsKhU_4JOJH5X96tm55tEySiJFi4A@mail.gmail.com> <4EABFC41.7040504@oracle.com> <CAOo=rxU3rM_ht_-kOQAAEinVwuysKQmhtuZN65KEQs_BTU6g9A@mail.gmail.com> Message-ID: <4EC3BD2D.2030605@redhat.com> (Moving to distro-pkg-dev) Hi Sean, On 11/16/2011 06:23 AM, Sean Chou wrote: > Does anyone know where is openjdk's javaws ? It seems the binary is not > included... > OpenJDK does not include an open source implementation of javaws or the browser plugin. The IcedTea-Web [1] project provides an implementation that is used by most Linux distributions as well as a few BSD distributions. If you have any fixes or suggestions (or even questions!) send them over to distro-pkg-dev at openjdk.java.net and we will try our best to help out. Cheers, Omair [1] http://icedtea.classpath.org/wiki/IcedTea-Web From andrew at icedtea.classpath.org Wed Nov 16 06:01:38 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Nov 2011 14:01:38 +0000 Subject: /hg/icedtea6: PR719: make distcheck work in IcedTea6 Message-ID: <hg.1075c87ee025.1321452098.2873452341184383832@icedtea.classpath.org> changeset 1075c87ee025 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=1075c87ee025 author: Andrew John Hughes <ahughes at redhat.com> date: Wed Nov 16 14:01:13 2011 +0000 PR719: make distcheck work in IcedTea6 2011-11-11 Andrew John Hughes <ahughes at redhat.com> PR719: make distcheck work in IcedTea6 * Makefile.am: (distclean-local): Depend on clean-local. (ports): Remove inapplicable conditionals from reversion and ensure copied files have correct permissions. (clean-generated): Replace hardcoded name with $(GENERATED_BUILD_DIR). (clean-jtreg): Remove all empty directories. * NEWS: List this fix. diffstat: ChangeLog | 21 +++++++++++++++++---- Makefile.am | 13 +++++++++---- NEWS | 1 + 3 files changed, 27 insertions(+), 8 deletions(-) diffs (96 lines): diff -r b26203d46fdd -r 1075c87ee025 ChangeLog --- a/ChangeLog Tue Nov 15 15:49:02 2011 -0500 +++ b/ChangeLog Wed Nov 16 14:01:13 2011 +0000 @@ -1,3 +1,16 @@ +2011-11-11 Andrew John Hughes <ahughes at redhat.com> + + PR719: make distcheck work in IcedTea6 + * Makefile.am: + (distclean-local): Depend on clean-local. + (ports): Remove inapplicable conditionals from + reversion and ensure copied files have correct + permissions. + (clean-generated): Replace hardcoded name with + $(GENERATED_BUILD_DIR). + (clean-jtreg): Remove all empty directories. + * NEWS: List this fix. + 2011-11-15 Andrew Haley <aph at redhat.com> * patches/arm-debug.patch: Surround all code in #ifdef PRODUCT @@ -5,10 +18,10 @@ 2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> - * Makefile.am: - (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch - * NEWS: Updated. - * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms + * Makefile.am: + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch + * NEWS: Updated. + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms _NET_WM_PID and WM_CLIENT_MACHINE for X windows. 2011-11-07 Andrew Haley <aph at redhat.com> diff -r b26203d46fdd -r 1075c87ee025 Makefile.am --- a/Makefile.am Tue Nov 15 15:49:02 2011 -0500 +++ b/Makefile.am Wed Nov 16 14:01:13 2011 +0000 @@ -662,7 +662,7 @@ rmdir lib ; \ fi -distclean-local: clean-download clean-hgforest +distclean-local: clean-local clean-download clean-hgforest if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \ if [ -e tapset ] ; then \ rmdir tapset ; \ @@ -1044,13 +1044,12 @@ # Copy ports sources into tree stamps/ports.stamp: stamps/replace-hotspot.stamp -if !WITH_ALT_HSBUILD for target in $(abs_top_srcdir)/arm_port/hotspot/tools \ $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \ link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \ cp -rlv $$target $$link; \ + chmod -R ug+rwX $$link; \ done -endif mkdir -p stamps touch stamps/ports.stamp @@ -1072,7 +1071,7 @@ clean-generated: if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \ - rm -rf $(abs_top_builddir)/generated ; \ + rm -rf $(GENERATED_BUILD_DIR); \ fi rm -f stamps/generated.stamp @@ -2147,7 +2146,13 @@ clean-jtreg: rm -rf test/jtreg/classes + if [ -e test/jtreg ] ; then \ + rmdir test/jtreg ; \ + fi rm -f test/jtreg.jar + if [ -e test ] ; then \ + rmdir test ; \ + fi rm -f stamps/jtreg.stamp check-hotspot: stamps/jtreg.stamp diff -r b26203d46fdd -r 1075c87ee025 NEWS --- a/NEWS Tue Nov 15 15:49:02 2011 -0500 +++ b/NEWS Wed Nov 16 14:01:13 2011 +0000 @@ -23,6 +23,7 @@ - RH727195: Japanese font mappings are broken - LP862286: Fix exception on trying to start PulseAudio playback - RH683768: Add a workaround for Java applications using tray icon for Gnome Shell + - PR719: make distcheck should work in IcedTea6 * Import of OpenJDK6 b23 including upgrade to HotSpot 20 - S7023111: Add webrev script to make/scripts - S6909331: Add vsvars.sh to the jdk repository (handy cygwin way to get vcvars32.bat run) From bugzilla-daemon at icedtea.classpath.org Wed Nov 16 06:03:25 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Nov 2011 14:03:25 +0000 Subject: [Bug 719] make distcheck should work in IcedTea6 In-Reply-To: <bug-719-30@http.icedtea.classpath.org/bugzilla/> References: <bug-719-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-719-30-jfI5PV97iP@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=719 Andrew John Hughes <ahughes at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Andrew John Hughes <ahughes at redhat.com> 2011-11-16 14:03:25 UTC --- Fixed: http://icedtea.classpath.org/hg/icedtea6/rev/1075c87ee025 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Wed Nov 16 08:50:28 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Nov 2011 16:50:28 +0000 Subject: [Bug 817] IcedTea7-2.0 fails to build on PaX enabled kernels. In-Reply-To: <bug-817-30@http.icedtea.classpath.org/bugzilla/> References: <bug-817-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-817-30-0JKszjZIwj@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=817 Andrew John Hughes <ahughes at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Andrew John Hughes <ahughes at redhat.com> 2011-11-16 16:50:28 UTC --- Thanks for spotting this. It should be a simple forward port which I'll look at getting into 2.1 and backporting to Gentoo's e-builds of 2.0. I don't want to disturb the build system too much on the 2.0 branch itself, but should be fine to fix this issue quicker on Gentoo. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From ahughes at redhat.com Wed Nov 16 21:28:43 2011 From: ahughes at redhat.com (Dr Andrew John Hughes) Date: Thu, 17 Nov 2011 05:28:43 +0000 Subject: Request to backport 7102369/709446/7100592 and 7092186 In-Reply-To: <4EBD3A19.8030605@redhat.com> References: <4EBC4498.9000807@redhat.com> <20111110225157.GI17686@rivendell.middle-earth.co.uk> <4EBD3A19.8030605@redhat.com> Message-ID: <20111117052842.GB8052@rivendell.middle-earth.co.uk> On 10:07 Fri 11 Nov , Omair Majid wrote: > On 11/10/2011 05:51 PM, Dr Andrew John Hughes wrote: > > On 16:39 Thu 10 Nov , Omair Majid wrote: > >> Hi, > >> > >> The recent security changes breaks some applications as rmiregistry > >> needs to be started with the java.rmi.server.codebase property set. I > >> would like to backport the following two changesets from jdk7u to > >> address this problem: > >> > >> http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/7ed2fd310470 > >> http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/2d10aa9d772a > >> > >> Does anyone have any thoughts or concerns? > >> > > > > Can you explain a bit more about these patches and why they are > > needed/appropriate? The bugs don't give much detail and one isn't > > even accessible. > > > > Here is a bug report of a user who now has to start rmiregistry with > -J-Djava.rmi.server.codebase= option for his code to continue working > after the security update: > https://bugzilla.redhat.com/show_bug.cgi?id=751203 > > As you can see, one of the patches removes the need for explicitly > setting this property (and reverts back to the pre-security-update > condition). I dont know about you, but I think security fixes should not > be causing any change in behaviour of valid applications (as far as > possible). > I agree. > Also, the jtreg test sun/tools/jstatd/jstatdExternalRegistry.sh has been > failing ever since the security fixes were added; applying these two > patches makes that test pass too. > > > Have you posted these to IcedTea? > > I was expecting IcedTea7 to get these when it merges OpenJDK 7u > changesets. That's only going to happen on HEAD. This looks like something worth proposing for 2.0.1 on the 2.0 release branch. I will be adding this to IcedTea6 when it is approved for > OpenJDK6. Of course, unless people want otherwise and I will be happy to > accommodate that. > Fixes like this should go into IcedTea6 first, so they reach users as speedily as possible. Patches to OpenJDK6 won't reach users until a release of OpenJDK6 is made and that is then used in a released IcedTea. Also, the OpenJDK6 approval process is even slower than before at present. > Cheers, > Omair -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111117/7081aae6/attachment.bin From bugzilla-daemon at icedtea.classpath.org Thu Nov 17 12:06:10 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 17 Nov 2011 20:06:10 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: <bug-809-30@http.icedtea.classpath.org/bugzilla/> References: <bug-809-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-809-30-4CUliQg9Pu@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #9 from knife <scnaifeh at hotmail.com> 2011-11-17 20:06:10 UTC --- I tried clearing the cache and no luck. I get the same error. I'm uploading the full page where this applet appears. There is probably a lot of junk that has nothing to do with the applet, but I tried opening this html file directly and got the same error, so hopefully it will help. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Thu Nov 17 12:07:21 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 17 Nov 2011 20:07:21 +0000 Subject: [Bug 809] Fails with USAA Deposit at Home In-Reply-To: <bug-809-30@http.icedtea.classpath.org/bugzilla/> References: <bug-809-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-809-30-GiXblj9vJA@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=809 --- Comment #10 from knife <scnaifeh at hotmail.com> 2011-11-17 20:07:21 UTC --- Created attachment 604 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=604 HTML to reproduce the bug -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Thu Nov 17 23:17:49 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Nov 2011 07:17:49 +0000 Subject: [Bug 817] IcedTea7-2.0 fails to build on PaX enabled kernels. In-Reply-To: <bug-817-30@http.icedtea.classpath.org/bugzilla/> References: <bug-817-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-817-30-Uw2zVbuH8E@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=817 --- Comment #2 from Ralph Sennhauser <sera at gentoo.org> 2011-11-18 07:17:49 UTC --- Thanks for taking care of it once more. I first missed the following bit. The no-test_gamma.patch only fixes building non bootstrap builds on PaX enabled hosts. If --enable-bootstrap is used, the intermediate JDK would need to have the PaX markings (paxctl -m) applied before using it to rebuild itself. To help people google - the error seen without the markings is of the form: Error occurred during initialization of VM Could not reserve enough space for code cache /var/tmp/paludis/dev-java-icedtea-7.2.0-r1/work/icedtea-2.0/bootstrap/jdk1.6.0/bin/java cannot be found or is corrupted. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Fri Nov 18 00:11:17 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Nov 2011 08:11:17 +0000 Subject: [Bug 818] New: Upon normal cut-and-paste operations between applications the soffice.bin binary crashes. Message-ID: <bug-818-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=818 Bug #: 818 Summary: Upon normal cut-and-paste operations between applications the soffice.bin binary crashes. Classification: Unclassified Product: IcedTea Version: 6-1.10.4 Platform: x86_64 OS/Version: Linux Status: NEW Severity: critical Priority: P3 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: trj at thomasrjones.com Created attachment 605 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=605 error log thomas at hp-g72:~> /usr/lib64/libreoffice/program/soffice.bin --calc QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f643d744782, pid=31354, tid=140068167317248 # # JRE version: 6.0_22-b22 # Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea6 1.10.4 # Distribution: Dummy Product (x86_64), package suse-0.3.2-x86_64 # Problematic frame: # C [libQtGui.so.4+0x2b1782] QX11PixmapData::createCompatiblePixmapData() const+0x132 # # An error report file with more information is saved as: # /home/thomas/hs_err_pid31354.log # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # [error occurred during error reporting , id 0xb] Aborted thomas at hp-g72:~> -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From ddadacha at redhat.com Fri Nov 18 13:58:33 2011 From: ddadacha at redhat.com (Danesh Dadachanji) Date: Fri, 18 Nov 2011 16:58:33 -0500 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. In-Reply-To: <4EC198BD.3000706@redhat.com> References: <4EC198BD.3000706@redhat.com> Message-ID: <4EC6D509.2070901@redhat.com> Hi, Here's the patch of the same code without ChangeLog/NOTES entries. Tested on F15 with the icedtea7-forest/jdk branch, it worked as expected. Is this okay to push? Regards, Danesh On 14/11/11 05:39 PM, Danesh Dadachanji wrote: > Hi, > > Here's a patch to fix java tray icons not showing on GNOME 3. It fixes > RH683768[1]/part of another bug reported on Oracle's bug database[2]. > It's been pushed into openjdk8 and I'm going to ask that it be > backported to 6 and 7. In the mean time, I'd like to get it into > icedtea{6,7} HEAD. > > The attached patch is for icedtea6, tested on Fedora 15 with GNOME Shell > 3.0.2. Once I sort out build issues, I'll post a (similar) patch for > icedtea7-forest/jdk. > > ChangeLog: > +2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> > + > + * Makefile.am: > + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch > + * NEWS: Updated. > + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms > + _NET_WM_PID and WM_CLIENT_MACHINE for X windows. > + > > > Regards, > Danesh > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=683768 > [2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7103610 -------------- next part -------------- A non-text attachment was scrubbed... Name: icedtea7-01.patch Type: text/x-patch Size: 2821 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111118/077b2705/icedtea7-01.patch From omajid at redhat.com Fri Nov 18 14:22:09 2011 From: omajid at redhat.com (Omair Majid) Date: Fri, 18 Nov 2011 17:22:09 -0500 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. In-Reply-To: <4EC6D509.2070901@redhat.com> References: <4EC198BD.3000706@redhat.com> <4EC6D509.2070901@redhat.com> Message-ID: <4EC6DA91.2020209@redhat.com> On 11/18/2011 04:58 PM, Danesh Dadachanji wrote: > Hi, > > Here's the patch of the same code without ChangeLog/NOTES entries. > > Tested on F15 with the icedtea7-forest/jdk branch, it worked as expected. > > Is this okay to push? > Looks fine to me. Any reason you are not pushing this to openjdk7 directly? Are they under code freeze or something? if you push it to jdk7, icedtea7-forest will pick it up on the next sync (not sure when that is tbh, but I would suspect the next month or so). FYI, to push this to icedtea7-forest, please do an hg export of changeset from jdk8 and hg import it into icedtea7-forest/jdk. You will also want to bump the changesets/sha256sums in icedtea7 if you want icedtea7 to pick up the icedtea7-forest change. Cheers, Omair From jvanek at redhat.com Fri Nov 18 15:08:55 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Sat, 19 Nov 2011 00:08:55 +0100 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4EC10B10.5060903@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> Message-ID: <4EC6E587.3090500@redhat.com> On 11/14/2011 01:35 PM, Jiri Vanek wrote: > On 11/10/2011 05:04 PM, Jiri Vanek wrote: >> This patch add code-coverage of our testsuits functionality into makefile. It is adding optional dependence for emma.jar, which is providing whole functionality of arround investigating coverage and generate reports. >> It add three new top level targets into makefile.am It run-test-code-coverage, run-reproducers-test-code-coverage and run-unit-test-code-coverage. Except this, it is modifying touch $@ of several more targets. The reason is as follows. >> *run-reproducers-test-code-coverage and run-unit-test-code-coverage: >> * each must run all tests again, with (by emma) marrked code (so the results can not be as correct as we can wish) >> * it depends on all preparations which proceed normal testing >> * when they are run after this tests, they do not invoke them again (just run the marrked version) >> * when they are run without previoous make check or make run-netx-dist-tests they invoke them >> * all four make check , make run-netx-dist-tests run-reproducers-test-code-coverage and run-unit-test-code-coverage are considered as top level targets >> *run-test-code-coverage, on the other side just merges results generated by run-reproducers-test-code-coverage and run-unit-test-code-coverage. When it is run after this two targets, then he just reuse the results. If he ie run without, then he invoke them. It ia lso to be considered top level target. >> *Each code-coverege target creates html report. >> >> Reproducer tests are not covered 100% they will need more hacking, which I will post as new patch. (in some longer time, it will not be easy) >> >> Best regards >> J. >> >> >> changelog: >> >> 2011-11-10 Jiri Vanek <jvanek at redhat.com> >> Added code-coverage generation targets >> * configure.ac: added search for optional emma.jar >> * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables >> to store tests clases for reuse in emmarun >> (run-netx-dist-tests): made dependent on reused stamped version >> (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests >> ($(NETX_UNIT_TEST_DIR)/coverage.es) and (run-unit-test-code-coverage) targets >> to generate report from unit-tests. Both result binary file and html report in >> tests.build/netx/unit >> ($(JNLP_TESTS_ENGINE_DIR)/coverage.es) and (run-reproducers-test-code-coverage) >> targets to generate report from reproducers-test. Both result binary file >> and html report in tests.build/netx/jnlp_testsengine >> (run-test-code-coverage): merges binary results from unit and reproducers >> code-coverage runs and save html report in abs_top_builddir >> (clean-netx-dist-tests) removes REPRODUCERS_CLASS_NAMES file, and >> run-reproducers-test-code-coverage and stamps/run-netx-dist-tests stamps >> (clean-netx-unit-tests) remove UNIT_CLASS_NAMES fiel and >> run-unit-test-code-coverage and run-netx-unit-tests stamps >> > > Updated for head, added patching of javaws and netx as mentioned above > > 2011-11-14 Jiri Vanek <jvanek at redhat.com> > Added code-coverage generation targets > * configure.ac: added search for optional emma.jar > * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables > to store tests clases for reuse in emmarun > (run-netx-dist-tests): made dependent on reused stamped version > (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests > ($(NETX_UNIT_TEST_DIR)/coverage.es) and (run-unit-test-code-coverage) targets > to generate report from unit-tests. Both result binary file, xml and html report in > tests.build/netx/unit > ($(JNLP_TESTS_ENGINE_DIR)/coverage.es) and (run-reproducers-test-code-coverage) > targets to generate report from reproducers-test. They also backup, > change javaws and netx.jar, run tests and restore them. Both result binary file, xml > and html report in tests.build/netx/jnlp_testsengine > (run-test-code-coverage): merges binary results from unit and reproducers > code-coverage runs and save xml and html report in abs_top_builddir > (clean-netx-dist-tests) removes REPRODUCERS_CLASS_NAMES file, and > run-reproducers-test-code-coverage and stamps/run-netx-dist-tests stamps > (clean-netx-unit-tests) remove UNIT_CLASS_NAMES file and > run-unit-test-code-coverage and run-netx-unit-tests stamps > * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java > (ProcessResult) added filtering on stdout to remove EMMA messages > (testsProcessResultFiltering) test for this behaviour > > > There are several things, I would like to pick up: > touch @$ (madness?) rmains > EMMA is very badly configurable in verbosity upon instructed classes and output file names.In fact - in its source codes there are todo marks:) > -verbosityl.level property is not working at all, so I'm filtering EMMA messages for reproducers - if not done so, then most of reproducers fail, and coverage is then not-so-according. Unfiltered output remains inside ProcessResult also. I have added small test for this behaviour. > -output fielnames, are working, but do not follow merging correctly. So instead of setting output filenames I'm mv-ing files after each run and using this moved versions (because -in is working correctly, and outputs will not override inputs (or better - will not fail) > > Sample output can be found at http://10.34.2.200/icedtea-web/ > -There is iso-88..1. encoding. In this patch I have already used utf-8, but still it was little bit pain to force Emma to encode properly :-/ > > Best regards > J. > I made an typo on line 155 of the patch. There was missing -D in property definition. -------------- next part -------------- A non-text attachment was scrubbed... Name: testCoverageUponHead2.diff Type: text/x-patch Size: 15217 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111119/42e98fec/testCoverageUponHead2.diff From rcook at wyrms.net Fri Nov 18 18:41:50 2011 From: rcook at wyrms.net (Robin Cook) Date: Fri, 18 Nov 2011 20:41:50 -0600 Subject: icedtea-web compiling In-Reply-To: <4EC6E587.3090500@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> Message-ID: <1321670510.4330.4.camel@pheuri.wyrms.net> Hello I am trying to compile icedtea-web against firefox 8.0 but the firefox package does not have the mozilla-plugin.pc file to get the information. What do I need to put into MOZILLA_LIB variable to get it to compile? Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111118/138b2b96/attachment.bin From ptisnovs at icedtea.classpath.org Mon Nov 21 03:01:29 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 21 Nov 2011 11:01:29 +0000 Subject: /hg/gfx-test: * src/org/gfxtest/testsuites/ClippingCircleByEllip... Message-ID: <hg.009c81195a99.1321873289.-6248649288953172555@icedtea.classpath.org> changeset 009c81195a99 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=009c81195a99 author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Mon Nov 21 12:02:48 2011 +0100 * src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java: Added nine new tests to this test suite. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java | 260 +++++++++++ 2 files changed, 265 insertions(+), 0 deletions(-) diffs (290 lines): diff -r ee567b76ecc2 -r 009c81195a99 ChangeLog --- a/ChangeLog Fri Nov 11 12:25:13 2011 +0100 +++ b/ChangeLog Mon Nov 21 12:02:48 2011 +0100 @@ -1,3 +1,8 @@ +2011-11-21 Pavel Tisnovsky <ptisnovs at redhat.com> + + * src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java: + Added nine new tests to this test suite. + 2011-11-11 Pavel Tisnovsky <ptisnovs at redhat.com> * Makefile: updated diff -r ee567b76ecc2 -r 009c81195a99 src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java --- a/src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java Fri Nov 11 12:25:13 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java Mon Nov 21 12:02:48 2011 +0100 @@ -40,7 +40,16 @@ package org.gfxtest.testsuites; +import java.awt.Graphics2D; + + + +import org.gfxtest.framework.CommonClippingOperations; +import org.gfxtest.framework.CommonRenderingStyles; +import org.gfxtest.framework.CommonShapesRenderer; import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.TestImage; +import org.gfxtest.framework.TestResult; import org.gfxtest.framework.annotations.GraphicsPrimitive; import org.gfxtest.framework.annotations.GraphicsPrimitives; import org.gfxtest.framework.annotations.TestType; @@ -61,6 +70,257 @@ @Zoom(1) public class ClippingCircleByEllipseShape extends GfxTest { + /** + * Prepare canvas for the rendering. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void basicSetupForRendering(TestImage image, Graphics2D graphics2d) + { + // create clip area + CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); + } + + /** + * Draw empty circle clipped by an ellipse shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawEmptyCircleClippedByEllipseShape(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // draw the area + CommonShapesRenderer.drawCircle(image, graphics2d); + } + + /** + * Draw empty circle clipped by an ellipse shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawFilledCircleClippedByEllipseShape(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // fill the area + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByEllipseShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using wide stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByEllipseShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using extra wide stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByEllipseShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using color paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeColorPaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create clip area + CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); + // fill the area + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintBlue25(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillBlueColor(graphics2d, 25); + // create clip area + CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); + // fill the area + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using horizontal gradient paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeHorizontalGradientPaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set horizontal gradient paint + CommonRenderingStyles.setHorizontalGradientFill(image, graphics2d); + // set clip region and draw the circle + drawFilledCircleClippedByEllipseShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using vertical gradient paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeVerticalGradientPaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set vertical gradient paint + CommonRenderingStyles.setVerticalGradientFill(image, graphics2d); + // set clip region and draw the circle + drawFilledCircleClippedByEllipseShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using diagonal gradient paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeDiagonalGradientPaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set diagonal gradient paint + CommonRenderingStyles.setDiagonalGradientFill(image, graphics2d); + // set clip region and draw the circle + drawFilledCircleClippedByEllipseShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using radial gradient paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeRadialGradientPaint(TestImage image, Graphics2D graphics2d) + { + // render an ellipse which is used as a base for clip shape + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set radial gradient paint + CommonRenderingStyles.setRadialGradientFill(image, graphics2d); + // set clip region and draw the circle + drawFilledCircleClippedByEllipseShape(image, graphics2d); + // test result + return TestResult.PASSED; + } /** * Entry point to the test suite. From dbhole at redhat.com Mon Nov 21 06:33:23 2011 From: dbhole at redhat.com (Deepak Bhole) Date: Mon, 21 Nov 2011 09:33:23 -0500 Subject: icedtea-web compiling In-Reply-To: <1321670510.4330.4.camel@pheuri.wyrms.net> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> <1321670510.4330.4.camel@pheuri.wyrms.net> Message-ID: <20111121143323.GA27720@redhat.com> * Robin Cook <rcook at wyrms.net> [2011-11-19 06:25]: > Hello > > I am trying to compile icedtea-web against firefox 8.0 but the firefox > package does not have the mozilla-plugin.pc file to get the information. > > What do I need to put into MOZILLA_LIB variable to get it to compile? > Which distro are you using? If it does not contain the .pc file, chances are that it won't contain headers either, which means you still wouldn't be able to compile icedtea-web. If you distro has an analogous -devel package or something, please try installing that. Cheers, Deepak From omajid at redhat.com Mon Nov 21 08:22:35 2011 From: omajid at redhat.com (Omair Majid) Date: Mon, 21 Nov 2011 11:22:35 -0500 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4EC6E587.3090500@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> Message-ID: <4ECA7ACB.1030207@redhat.com> Comments in-line below. > diff -r 22db4e09bbc7 Makefile.am > --- a/Makefile.am Fri Nov 11 14:40:26 2011 +0100 > +++ b/Makefile.am Sat Nov 19 00:07:45 2011 +0100 > @@ -25,6 +25,8 @@ > KEYSTORE_NAME=teststore.ks > > JUNIT_RUNNER_JAR=$(abs_top_builddir)/junit-runner.jar > +UNIT_CLASS_NAMES = $(abs_top_builddir)/unit_class_names > +REPRODUCERS_CLASS_NAMES = $(abs_top_builddir)/reproducers_class_names > > # Build directories > > @@ -539,7 +541,11 @@ > mkdir -p stamps&& \ > touch $@ > > -run-netx-dist-tests: all-local stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ > +run-netx-dist-tests: stamps/run-netx-dist-tests > + Files in the stamps dir have names that end with .stamp. Also, target aliases ($(foo): stamps/$(foo).stamp) are normally added to the end of the makefile. > +stamps/run-netx-dist-tests: stamps/netx-dist.stamp extra-lib/about.jar stamps/plugin.stamp launcher.build/$(javaws) \ > + javaws.desktop stamps/docs.stamp launcher.build/$(itweb_settings) itweb-settings.desktop \ > + stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ > stamps/netx-dist-tests-compile.stamp stamps/netx-dist-tests-compile-testcases.stamp $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) > cd $(JNLP_TESTS_ENGINE_DIR) ; \ > class_names= ; \ > @@ -548,7 +554,7 @@ > class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ > class_names="$$class_names $$class_name" ; \ > done ; \ > - echo $$class_names ; \ > + echo $$class_names> $(REPRODUCERS_CLASS_NAMES) ; \ > CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ > $(BOOT_DIR)/bin/java -Dtest.server.dir=$(JNLP_TESTS_SERVER_DEPLOYDIR) -Djavaws.build.bin=$(DESTDIR)$(bindir)/javaws \ > -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ > @@ -556,6 +562,7 @@ > cat stdout.log ; \ > cat stderr.log>&2 > -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml> $(TESTS_DIR)/index_reproducers.html > + touch $@ > > netx-unit-tests-source-files.txt: > find $(NETX_UNIT_TEST_SRCDIR) -name '*.java' | sort> $@ > @@ -590,13 +597,167 @@ > class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ > class_names="$$class_names $$class_name" ; \ > done ; \ > - echo $$class_names ; \ > + echo $$class_names> $(UNIT_CLASS_NAMES); \ Perhaps you should split this into a new target that generates $(UNIT_CLASS_NAMES), so this target and run-unit-test-code-coverage can depend on it? > CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ > $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ > > stdout.log 2> stderr.log ; \ > cat stdout.log ; \ > - cat stderr.log>&2 > + cat stderr.log>&2 ; > -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(NETX_UNIT_TEST_DIR)/tests-output.xml> $(TESTS_DIR)/index_unit.html Hm... perhaps we should add a configure check for xsltproc? > + touch $@ > + > +$(NETX_UNIT_TEST_DIR)/coverage.es: run-unit-test-code-coverage > + > +run-unit-test-code-coverage: check Would it be possible to add more specific dependencies? > + if test "$(EMMA_AVAILABLE)" = "true"; then \ We tend to do a makefile 'if' instead of a shell 'if'. if WITH_EMMA ... endif As a bonus you will get rid of lots of "; \" :) > + echo "warning, this can rewrite tests.build/netx/unit/tests-output.xml, but not coresponding html file"; \ > + echo "xml results run from emma sandbox, however, can be wrong" ; \ Perhaps we should address this by either writing to another file rather than tests-output.xml or making sure the emma results are coorect? > + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma ; \ > + cd $(NETX_UNIT_TEST_DIR) ; \ > + class_names=`cat $(UNIT_CLASS_NAMES)` ; \ > + $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) -cp $(EMMA_JAR) -Demma.report.html.out.encoding=UTF-8 emmarun \ > + -Dreport.html.out.encoding=UTF-8 \ Are the properties duplicated on purpose? > + -raw \ > + -sp $(NETX_SRCDIR) \ > + -sp $(NETX_UNIT_TEST_SRCDIR) \ > + -sp $(JUNIT_RUNNER_SRCDIR) \ > + -r html \ > + -r xml \ > + -cp $(NETX_DIR)/lib/classes.jar \ > + -cp $(JUNIT_JAR) \ > + -cp $(JUNIT_RUNNER_JAR) \ > + -cp $(BOOT_DIR)/jre/lib/rt.jar \ > + -cp $(BOOT_DIR)/jre/lib/jsse.jar \ > + -cp $(RHINO_RUNTIME) \ > + -cp . \ > + -ix "-org.junit.*" \ > + -ix "-junit.*" \ > + CommandLine $$class_names ; \ > + echo "you can add -ix "-*Test*" -ix "-*test*" to ignore all test cases from statistics." ; \ I would rather avoid these echo commands telling a user how to modify the makefile. Perhaps a comment might be useful instead? > + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output_withEmma.xml ; \ > + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma $(NETX_UNIT_TEST_DIR)/tests-output.xml ; \ > + else \ > + echo "Sorry, coverage report cant be run without emma installed. Try install emma or specify with-emma value" ; \ Perhaps you might want to invoke false here so "make run-unit-test-code-coverage" fails? > + fi > + touch $@ > + > +$(JNLP_TESTS_ENGINE_DIR)/coverage.es: run-reproducers-test-code-coverage > + > +run-reproducers-test-code-coverage: stamps/run-netx-dist-tests > + if test "$(EMMA_AVAILABLE)" = "true"; then \ > + echo "warning, this can rewrite tests.build/netx/jnlp_testsengine/tests-output.xml, but not coresponding html file" ; \ > + echo "xml results run from emma sandbox, however, can be wrong" ; \ > + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml_noEmma ; \ > + echo "backuping javaws and netx.jar in $(DESTDIR)" ; \ > + netx_backup=$(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx_backup.jar ; \ > + javaws_backup=$(DESTDIR)$(bindir)/javaws_backup ; \ > + mv $(DESTDIR)$(bindir)/javaws $$javaws_backup ; \ > + mv $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar $$netx_backup ; \ I dont think playing with files inside $(bindir) and/or $(datadir) is a good idea. The files may be read-only at this point if the user does something like this: $ make # make install $ make run-reproducers-test-code-coverage > @@ -611,6 +772,9 @@ > clean-netx-unit-tests: clean_tests_reports > rm -f netx-unit-tests-source-files.txt > rm -rf $(NETX_UNIT_TEST_DIR) > + rm -f $(UNIT_CLASS_NAMES) > + -rm -f run-unit-test-code-coverage > + -rm -f run-netx-unit-tests Is the "-" in "-rm" required? -f means force so rm should not fail if the file is missing. > rm -f stamps/netx-unit-tests-compile.stamp > > clean_tests_reports: > @@ -629,7 +793,10 @@ > rm -f stamps/netx-dist-tests-sign-some-reproducers.stamp > rm -f junit-jnlp-dist-simple.txt > rm -f junit-jnlp-dist-signed.txt > + rm -f $(REPRODUCERS_CLASS_NAMES) > rm -f $(abs_top_builddir)/$(KEYSTORE_NAME) > + -rm -f run-reproducers-test-code-coverage > + rm -f stamps/run-netx-dist-tests > > # plugin tests > Cheers, Omair From bugzilla-daemon at icedtea.classpath.org Mon Nov 21 10:24:07 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 21 Nov 2011 18:24:07 +0000 Subject: [Bug 819] New: A fatal error has been detected by the Java Runtime Environment Message-ID: <bug-819-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=819 Bug #: 819 Summary: A fatal error has been detected by the Java Runtime Environment Classification: Unclassified Product: IcedTea Version: 6-1.1 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: luishpardo at gmail.com Created attachment 606 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=606 error libre office # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fa289ef44b0, pid=14603, tid=140336566810400 # # JRE version: 6.0_22-b22 # Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea6 1.10.4 # Distribution: Dummy Product (x86_64), package suse-1.2-x86_64 # Problematic frame: # C [libswlx.so+0x4b54b0] SwAnchoredObject::GetAnchorFrm() const+0x0 # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From ddadacha at redhat.com Mon Nov 21 10:05:37 2011 From: ddadacha at redhat.com (Danesh Dadachanji) Date: Mon, 21 Nov 2011 13:05:37 -0500 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. In-Reply-To: <4EC6DA91.2020209@redhat.com> References: <4EC198BD.3000706@redhat.com> <4EC6D509.2070901@redhat.com> <4EC6DA91.2020209@redhat.com> Message-ID: <4ECA92F1.4060408@redhat.com> Hi, On 18/11/11 05:22 PM, Omair Majid wrote: > Looks fine to me. Any reason you are not pushing this to openjdk7 > directly? Are they under code freeze or something? if you push it to > jdk7, icedtea7-forest will pick it up on the next sync (not sure when > that is tbh, but I would suspect the next month or so). > I've asked it be backported[1] into openjdk7 and as you said, that might take a while. I was under the impression that we wanted it available to the community as soon as a fix was accepted. I figured it would be best to push it ASAP but if you think it's fine to wait for this to be synched with jdk7, I have no objections. We can just ignore this email then! =) > FYI, to push this to icedtea7-forest, please do an hg export of > changeset from jdk8 and hg import it into icedtea7-forest/jdk. You will > also want to bump the changesets/sha256sums in icedtea7 if you want > icedtea7 to pick up the icedtea7-forest change. > Good to know, I exported this[2], here's an updated diff of the changeset. > Cheers, > Omair Regards, Danesh [1] http://mail.openjdk.java.net/pipermail/awt-dev/2011-November/002068.html [2] http://hg.openjdk.java.net/jdk8/awt/jdk/rev/f614bcada2a9 -------------- next part -------------- A non-text attachment was scrubbed... Name: icedtea7-02.patch Type: text/x-patch Size: 2815 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111121/528cdbab/icedtea7-02.patch From omajid at redhat.com Mon Nov 21 10:14:52 2011 From: omajid at redhat.com (Omair Majid) Date: Mon, 21 Nov 2011 13:14:52 -0500 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. In-Reply-To: <4ECA92F1.4060408@redhat.com> References: <4EC198BD.3000706@redhat.com> <4EC6D509.2070901@redhat.com> <4EC6DA91.2020209@redhat.com> <4ECA92F1.4060408@redhat.com> Message-ID: <4ECA951C.2030807@redhat.com> On 11/21/2011 01:05 PM, Danesh Dadachanji wrote: > Hi, > > On 18/11/11 05:22 PM, Omair Majid wrote: >> Looks fine to me. Any reason you are not pushing this to openjdk7 >> directly? Are they under code freeze or something? if you push it to >> jdk7, icedtea7-forest will pick it up on the next sync (not sure when >> that is tbh, but I would suspect the next month or so). >> > > I've asked it be backported[1] into openjdk7 and as you said, that might > take a while. I was under the impression that we wanted it available to > the community as soon as a fix was accepted. I figured it would be best > to push it ASAP but if you think it's fine to wait for this to be > synched with jdk7, I have no objections. We can just ignore this email > then! =) > I would rather push this into jdk7u-dev ASAP, but if we are waiting on someone else to do the push, then there is not much we can do to speed it up. Anyway, it's your call if you want to push this into icedtea7-forest or wait for the change to be added to openjdk7. I am fine with it either way. Cheers, Omair From bugzilla-daemon at icedtea.classpath.org Mon Nov 21 12:00:02 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 21 Nov 2011 20:00:02 +0000 Subject: [Bug 819] A fatal error has been detected by the Java Runtime Environment In-Reply-To: <bug-819-30@http.icedtea.classpath.org/bugzilla/> References: <bug-819-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-819-30-gFKkbkhkyY@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=819 Deepak Bhole <dbhole at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dbhole at redhat.com Resolution| |INVALID --- Comment #1 from Deepak Bhole <dbhole at redhat.com> 2011-11-21 20:00:02 UTC --- The error is in native code. There is nothing that the JVM can do about it. C [libswlx.so+0x4b54b0] SwAnchoredObject::GetAnchorFrm() const+0x0 Please re-file this with the LibreOffice folk. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Mon Nov 21 12:35:23 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 21 Nov 2011 20:35:23 +0000 Subject: [Bug 820] New: IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenApp Message-ID: <bug-820-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=820 Bug #: 820 Summary: IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenApp Classification: Unclassified Product: IcedTea-Web Version: 1.1.3 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: Plugin AssignedTo: dbhole at redhat.com ReportedBy: alex_mayorga at yahoo.com CC: unassigned at icedtea.classpath.org Created attachment 607 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=607 ICEDTEAPLUGIN_DEBUG=true firefox-trunk 2>&1 | tee crash.log IcedTea-Web 1.1.3 (1.1.3-1ubuntu1.1) Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:11.0a1) Gecko/20111121 Firefox/11.0a1 ID:20111121035245 Linux VPCCW1FFXL 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Loading Citrix XenApp on Firefox trunk causes a crash that's not logged on about:crashes Attached find the output of: ICEDTEAPLUGIN_DEBUG=true firefox-trunk 2>&1 | tee crash.log Let me know if there's anything else you need me to provide. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Mon Nov 21 12:57:22 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 21 Nov 2011 20:57:22 +0000 Subject: [Bug 820] IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenApp In-Reply-To: <bug-820-30@http.icedtea.classpath.org/bugzilla/> References: <bug-820-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-820-30-p3RhSmLKzi@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=820 Deepak Bhole <dbhole at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |MOVED --- Comment #1 from Deepak Bhole <dbhole at redhat.com> 2011-11-21 20:57:22 UTC --- Bug in Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=704249 Thanks for re-filing Alex! -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From rcook at wyrms.net Mon Nov 21 13:42:32 2011 From: rcook at wyrms.net (Robin Cook) Date: Mon, 21 Nov 2011 15:42:32 -0600 Subject: icedtea-web compiling In-Reply-To: <20111121143323.GA27720@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> <1321670510.4330.4.camel@pheuri.wyrms.net> <20111121143323.GA27720@redhat.com> Message-ID: <1321911752.12766.6.camel@pheuri.wyrms.net> I am running a sourcemage a source based distro and I compile firefox from the scripts. But I looked in the source and it has the pkgconfig file in the xulrunner directory but that is not touched after the configure script is run and not sure what data needs to be installed. But I was able to git it to build by using npapi-sdk . Thanks On Mon, 2011-11-21 at 09:33 -0500, Deepak Bhole wrote: > * Robin Cook <rcook at wyrms.net> [2011-11-19 06:25]: > > Hello > > > > I am trying to compile icedtea-web against firefox 8.0 but the firefox > > package does not have the mozilla-plugin.pc file to get the information. > > > > What do I need to put into MOZILLA_LIB variable to get it to compile? > > > > Which distro are you using? If it does not contain the .pc file, chances > are that it won't contain headers either, which means you still wouldn't > be able to compile icedtea-web. > > If you distro has an analogous -devel package or something, please try > installing that. > > Cheers, > Deepak > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111121/ecf09219/attachment.bin From ptisnovs at icedtea.classpath.org Tue Nov 22 02:10:44 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 22 Nov 2011 10:10:44 +0000 Subject: /hg/gfx-test: 2011-11-22 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.2a1c2b41f808.1321956644.-6248649288953172555@icedtea.classpath.org> changeset 2a1c2b41f808 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=2a1c2b41f808 author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Tue Nov 22 11:12:54 2011 +0100 2011-11-22 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: Added nine new tests to this test suite (incl. transparency tests). diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java | 261 ++++++++++ 2 files changed, 266 insertions(+), 0 deletions(-) diffs (291 lines): diff -r 009c81195a99 -r 2a1c2b41f808 ChangeLog --- a/ChangeLog Mon Nov 21 12:02:48 2011 +0100 +++ b/ChangeLog Tue Nov 22 11:12:54 2011 +0100 @@ -1,3 +1,8 @@ +2011-11-22 Pavel Tisnovsky <ptisnovs at redhat.com> + + * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: + Added nine new tests to this test suite (incl. transparency tests). + 2011-11-21 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java: diff -r 009c81195a99 -r 2a1c2b41f808 src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java --- a/src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java Mon Nov 21 12:02:48 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java Tue Nov 22 11:12:54 2011 +0100 @@ -40,7 +40,16 @@ package org.gfxtest.testsuites; +import java.awt.Graphics2D; + + + +import org.gfxtest.framework.CommonClippingOperations; +import org.gfxtest.framework.CommonRenderingStyles; +import org.gfxtest.framework.CommonShapesRenderer; import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.TestImage; +import org.gfxtest.framework.TestResult; import org.gfxtest.framework.annotations.GraphicsPrimitive; import org.gfxtest.framework.annotations.GraphicsPrimitives; import org.gfxtest.framework.annotations.TestType; @@ -61,6 +70,258 @@ @Zoom(1) public class ClippingCircleByRectangleShape extends GfxTest { + /** + * Prepare canvas for the rendering. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void basicSetupForRendering(TestImage image, Graphics2D graphics2d) + { + // create clip shape which is constructed from rectangular area + CommonClippingOperations.createClipUsingRectangleShape(image, graphics2d); + } + + /** + * Draw empty circle clipped by rectangle shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawEmptyCircleClippedByRectangleShape(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // draw the shape + CommonShapesRenderer.drawCircle(image, graphics2d); + } + + /** + * Draw empty circle clipped by rectangle shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawFilledCircleClippedByRectangleShape(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Draw circle clipped by rectangle. Circle is drawn using alpha paint with + * blue color. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency + */ + private void drawCircleClippedByRectangleAlphaPaintBlue(TestImage image, Graphics2D graphics2d, int transparency) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillBlueColor(graphics2d, transparency); + // create clip area + CommonClippingOperations.createClipUsingRectangleShape(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Check if circle shape could be clipped by a rectangle shape. Circle is + * rendered using stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRectangleShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle shape. Circle is + * rendered using wide stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRectangleShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle shape. Circle is + * rendered using extra wide stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRectangleShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangle shape. Circle is + * rendered using color paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeColorPaint(TestImage image, Graphics2D graphics2d) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create clip shape + CommonClippingOperations.createClipUsingRectangleShape(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular shape. Circle is + * rendered using alpha paint with blue color at 0% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue000(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle using alpha paint with 0% transparency + drawCircleClippedByRectangleAlphaPaintBlue(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular shape. Circle is + * rendered using alpha paint with blue color at 25% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue025(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle using alpha paint with 25% transparency + drawCircleClippedByRectangleAlphaPaintBlue(image, graphics2d, 25); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular shape. Circle is + * rendered using alpha paint with blue color at 50% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue050(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle using alpha paint with 50% transparency + drawCircleClippedByRectangleAlphaPaintBlue(image, graphics2d, 50); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular shape. Circle is + * rendered using alpha paint with blue color at 75% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue075(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle using alpha paint with 75% transparency + drawCircleClippedByRectangleAlphaPaintBlue(image, graphics2d, 75); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular shape. Circle is + * rendered using alpha paint with blue color at 100% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue100(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle using alpha paint with 100% transparency + drawCircleClippedByRectangleAlphaPaintBlue(image, graphics2d, 100); + // test result + return TestResult.PASSED; + } /** * Entry point to the test suite. From jvanek at redhat.com Tue Nov 22 04:11:50 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 22 Nov 2011 13:11:50 +0100 Subject: Icedtea-web f16 Message-ID: <4ECB9186.7060308@redhat.com> Hi! I remember, then when new api for xulrunner reached fedoras, You have added icedtea-web-1.0.6-npapi-fix.patch to specfiles. Then you said (IIRC) that you will add it to sources, but you are not able to detect version correctly. How does this goes? Any progress? Compiling small program during configure is not enough? Something similar (nasty) I have done at first when I was trying to make it compatible with rhel5? Best Regards J. -------------- next part -------------- A non-text attachment was scrubbed... Name: icedtea-web-1.0.6-npapi-fix.patch Type: text/x-patch Size: 484 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111122/1d1528dc/icedtea-web-1.0.6-npapi-fix.patch -------------- next part -------------- A non-text attachment was scrubbed... Name: rhel5compatibleByautotools.patch Type: text/x-patch Size: 6177 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111122/1d1528dc/rhel5compatibleByautotools.patch From bugzilla-daemon at icedtea.classpath.org Tue Nov 22 08:45:24 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 22 Nov 2011 16:45:24 +0000 Subject: [Bug 820] IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenApp In-Reply-To: <bug-820-30@http.icedtea.classpath.org/bugzilla/> References: <bug-820-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-820-30-4aG76kdOqu@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=820 Omair Majid <omajid at redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |omajid at redhat.com Resolution|MOVED | --- Comment #2 from Omair Majid <omajid at redhat.com> 2011-11-22 16:45:24 UTC --- Mozilla devs are saying that this issue should be addressed on icedtea-web side: https://bugzilla.mozilla.org/show_bug.cgi?id=704249#c3 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From ddadacha at redhat.com Tue Nov 22 11:08:34 2011 From: ddadacha at redhat.com (Danesh Dadachanji) Date: Tue, 22 Nov 2011 14:08:34 -0500 Subject: [RFC][icedtea6] RH683768: Tray icons for applications are not displayed in the GNOME notification bar. In-Reply-To: <4ECA951C.2030807@redhat.com> References: <4EC198BD.3000706@redhat.com> <4EC6D509.2070901@redhat.com> <4EC6DA91.2020209@redhat.com> <4ECA92F1.4060408@redhat.com> <4ECA951C.2030807@redhat.com> Message-ID: <4ECBF332.8090006@redhat.com> Hi, On 21/11/11 01:14 PM, Omair Majid wrote: > On 11/21/2011 01:05 PM, Danesh Dadachanji wrote: >> Hi, >> >> On 18/11/11 05:22 PM, Omair Majid wrote: >>> Looks fine to me. Any reason you are not pushing this to openjdk7 >>> directly? Are they under code freeze or something? if you push it to >>> jdk7, icedtea7-forest will pick it up on the next sync (not sure when >>> that is tbh, but I would suspect the next month or so). >>> >> >> I've asked it be backported[1] into openjdk7 and as you said, that might >> take a while. I was under the impression that we wanted it available to >> the community as soon as a fix was accepted. I figured it would be best >> to push it ASAP but if you think it's fine to wait for this to be >> synched with jdk7, I have no objections. We can just ignore this email >> then! =) >> > > I would rather push this into jdk7u-dev ASAP, but if we are waiting on > someone else to do the push, then there is not much we can do to speed > it up. > As discussed on IRC, it's better off in jdk7u-dev. Thanks for pushing it[1] so quickly Omair! Regards, Danesh [1] http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/f1d09dc7f9a7 From ptisnovs at icedtea.classpath.org Wed Nov 23 04:17:03 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 23 Nov 2011 12:17:03 +0000 Subject: /hg/gfx-test: 2011-11-23 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.15cc4f8f742a.1322050623.-6248649288953172555@icedtea.classpath.org> changeset 15cc4f8f742a in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=15cc4f8f742a author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Wed Nov 23 13:19:16 2011 +0100 2011-11-23 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: Improved javadoc. * src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java: Added five new tests to this test suite. diffstat: ChangeLog | 7 + src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java | 2 +- src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java | 262 ++++++++++ 3 files changed, 270 insertions(+), 1 deletions(-) diffs (306 lines): diff -r 2a1c2b41f808 -r 15cc4f8f742a ChangeLog --- a/ChangeLog Tue Nov 22 11:12:54 2011 +0100 +++ b/ChangeLog Wed Nov 23 13:19:16 2011 +0100 @@ -1,3 +1,10 @@ +2011-11-23 Pavel Tisnovsky <ptisnovs at redhat.com> + + * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: + Improved javadoc. + * src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java: + Added five new tests to this test suite. + 2011-11-22 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: diff -r 2a1c2b41f808 -r 15cc4f8f742a src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java --- a/src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java Tue Nov 22 11:12:54 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java Wed Nov 23 13:19:16 2011 +0100 @@ -127,7 +127,7 @@ * @param graphics2d * graphics canvas * @param transparency - * selected transparency + * selected transparency (0..100 percent) */ private void drawCircleClippedByRectangleAlphaPaintBlue(TestImage image, Graphics2D graphics2d, int transparency) { diff -r 2a1c2b41f808 -r 15cc4f8f742a src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java --- a/src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java Tue Nov 22 11:12:54 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRoundRectangleShape.java Wed Nov 23 13:19:16 2011 +0100 @@ -40,7 +40,16 @@ package org.gfxtest.testsuites; +import java.awt.Graphics2D; + + + +import org.gfxtest.framework.CommonClippingOperations; +import org.gfxtest.framework.CommonRenderingStyles; +import org.gfxtest.framework.CommonShapesRenderer; import org.gfxtest.framework.GfxTest; +import org.gfxtest.framework.TestImage; +import org.gfxtest.framework.TestResult; import org.gfxtest.framework.annotations.GraphicsPrimitive; import org.gfxtest.framework.annotations.GraphicsPrimitives; import org.gfxtest.framework.annotations.TestType; @@ -61,6 +70,259 @@ @Zoom(1) public class ClippingCircleByRoundRectangleShape extends GfxTest { + /** + * Prepare canvas for the rendering. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void basicSetupForRendering(TestImage image, Graphics2D graphics2d) + { + // create clip shape which is constructed from round rectangular area + CommonClippingOperations.createClipUsingRoundRectangleShape(image, graphics2d); + } + + /** + * Draw empty circle clipped by a round rectangle shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawEmptyCircleClippedByRoundRectangleShape(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // draw the shape + CommonShapesRenderer.drawCircle(image, graphics2d); + } + + /** + * Draw empty circle clipped by a round rectangle shape. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private static void drawFilledCircleClippedByRoundRectangleShape(TestImage image, Graphics2D graphics2d) + { + // prepare canvas for the rendering + basicSetupForRendering(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Prepare for rendering shape using alpha paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private void prepareForAlphaPaint(TestImage image, Graphics2D graphics2d) + { + // render clip round rectangle + CommonClippingOperations.renderClipRoundRectangle(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + } + + /** + * Draw filled circle using alpha paint (fill color should be set before + * this method is called). + * + * @param image + * work image + * @param graphics2d + * graphics canvas + */ + private void drawFilledCircleUsingAlphaPaint(TestImage image, Graphics2D graphics2d) + { + // create clip area + CommonClippingOperations.createClipUsingRectangleShape(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Draw circle clipped by a round rectangle shape. Circle is drawn using + * alpha paint with red color. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByRoundRectangleAlphaPaintRed(TestImage image, Graphics2D graphics2d, int transparency) + { + // prepare for rendering shape using alpha paint + prepareForAlphaPaint(image, graphics2d); + // set transparent fill color + CommonRenderingStyles.setTransparentFillRedColor(graphics2d, transparency); + // and perform the drawing + drawFilledCircleUsingAlphaPaint(image, graphics2d); + } + + /** + * Draw circle clipped by a round rectangle shape. Circle is drawn using + * alpha paint with green color. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByRoundRectangleAlphaPaintGreen(TestImage image, Graphics2D graphics2d, int transparency) + { + // prepare for rendering shape using alpha paint + prepareForAlphaPaint(image, graphics2d); + // set transparent fill color + CommonRenderingStyles.setTransparentFillGreenColor(graphics2d, transparency); + // and perform the drawing + drawFilledCircleUsingAlphaPaint(image, graphics2d); + } + + /** + * Draw circle clipped by a round rectangle shape. Circle is drawn using + * alpha paint with blue color. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByRoundRectangleAlphaPaintBlue(TestImage image, Graphics2D graphics2d, int transparency) + { + // prepare for rendering shape using alpha paint + prepareForAlphaPaint(image, graphics2d); + // set transparent fill color + CommonRenderingStyles.setTransparentFillBlueColor(graphics2d, transparency); + // and perform the drawing + drawFilledCircleUsingAlphaPaint(image, graphics2d); + } + + /** + * Check if circle shape could be clipped by a round rectangle shape. Circle is + * rendered using stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRoundRectangleShapeStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render clip round rectangle + CommonClippingOperations.renderClipRoundRectangle(image, graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRoundRectangleShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a round rectangle shape. Circle is + * rendered using wide stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRoundRectangleShapeWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render clip round rectangle + CommonClippingOperations.renderClipRoundRectangle(image, graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRoundRectangleShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a round rectangle shape. Circle is + * rendered using extra wide stroke paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRoundRectangleShapeExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // render clip round rectangle + CommonClippingOperations.renderClipRoundRectangle(image, graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // set clip region and draw the circle + drawEmptyCircleClippedByRoundRectangleShape(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a round rectangle shape. Circle is + * rendered using color paint. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRoundRectangleShapeColorPaint(TestImage image, Graphics2D graphics2d) + { + // render clip round rectangle + CommonClippingOperations.renderClipRoundRectangle(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create clip shape + CommonClippingOperations.createClipUsingRoundRectangleShape(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a round rectangular shape. + * Circle is rendered using alpha paint with blue color at 0% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue000(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle using alpha paint with 0% + // transparency + drawCircleClippedByRoundRectangleAlphaPaintBlue(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } /** * Entry point to the test suite. From ddadacha at redhat.com Wed Nov 23 11:36:30 2011 From: ddadacha at redhat.com (Danesh Dadachanji) Date: Wed, 23 Nov 2011 14:36:30 -0500 Subject: [RFC][icedtea-web] Change icon for AccessWarningPane dialogs Message-ID: <4ECD4B3E.6080102@redhat.com> Hi, I noticed that dialogs for access warnings use the warning icon (yellow exclamation). This, to me, implies something went wrong and seems too alarming. I would like to change it to the question icon instead. Thoughts? The attached patch can be tested with one of the webstart tests - I used persistserv.jnlp[1] ChangeLog: +2011-11-23 Danesh Dadachanji <ddadacha at redhat.com> + + Update UI for AccessWarningPane + * netx/net/sourceforge/jnlp/security/AccessWarningPane.java: + Use the question.png instead of the warning.png for access dialogs. + Does this look good for HEAD? Regards, Danesh [1] http://www.pscode.org/jws/persistserv.jnlp -------------- next part -------------- A non-text attachment was scrubbed... Name: access-warning-question-icon-01.patch Type: text/x-patch Size: 903 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111123/d59ddb07/access-warning-question-icon-01.patch From bugzilla-daemon at icedtea.classpath.org Wed Nov 23 14:40:44 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 23 Nov 2011 22:40:44 +0000 Subject: [Bug 820] IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenApp In-Reply-To: <bug-820-30@http.icedtea.classpath.org/bugzilla/> References: <bug-820-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-820-30-ajElkyGQWx@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=820 --- Comment #3 from Luke Wagner <luke at mozilla.com> 2011-11-23 22:40:44 UTC --- A bit more info: this single-threaded abort is on the FF aurora channel at the moment. It will move to beta on Dec 20 and to FF release (as FF 10) 6 weeks after that. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Thu Nov 24 07:01:33 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 24 Nov 2011 15:01:33 +0000 Subject: [Bug 821] New: Deadlock in java.awt.EventQueue on OpenJDK7 Message-ID: <bug-821-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=821 Bug #: 821 Summary: Deadlock in java.awt.EventQueue on OpenJDK7 Classification: Unclassified Product: IcedTea Version: unspecified Platform: x86 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: IcedTea7 AssignedTo: ahughes at redhat.com ReportedBy: paolo at msw.it CC: unassigned at icedtea.classpath.org Created attachment 608 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=608 thread dump made with jstack While working on NetBeans I experienced a deadlock of OpenJDK. I attach a full thread dump I made with jstack. The system details are: Debian Testing/Sid (Wheezy) Kernel 3.1.0-1-686-pae java version "1.7.0_147-icedtea" OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-1) OpenJDK Server VM (build 21.0-b17, mixed mode) At first I opened a bug report for NetBeans which is now closed, in case you want to check it is: http://netbeans.org/bugzilla/show_bug.cgi?id=205483 It's about a week I'm using OpenJDK 7 and so far it happened once, in case it happens again I try to provide more information. Thanks, Paolo. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From andrew at icedtea.classpath.org Fri Nov 25 10:09:07 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 25 Nov 2011 18:09:07 +0000 Subject: /hg/icedtea6-hg: 24 new changesets Message-ID: <hg.737f39dbb69f.1322244547.-4802862771906329287@icedtea.classpath.org> changeset 737f39dbb69f in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=737f39dbb69f author: Omair Majid <omajid at redhat.com> date: Wed Oct 26 19:28:49 2011 -0400 S7103224: collision between __LEAF define in interfaceSupport.hpp and /usr/include/sys/cdefs.h with gcc 2011-10-26 Omair Majid <omajid at redhat.com> * NEWS: Update with fix. * patches/openjdk/7103224-glibc_name_collision.patch: New file. Export of OpenJDK changeset. * Makefile.am (ICEDTEA_PATCHES): Add the above. changeset fd72f69cc3e9 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=fd72f69cc3e9 author: aph date: Wed Oct 19 12:37:40 2011 -0400 Reinstate the ARM assembler port. 2011-09-15 Andrew Haley <aph at redhat.com> Reinstate the ARM assembler port. Back out this patch: 2011-07-11 Xerxes R??nby <xerxes at zafena.se> Removal of the ARM assembler port, unbreaks Zero and Shark builds. * Makefile.am: (ICEDTEA_PATCHES): Remove patches/arm.patch. (clean-ports): Removed. (stamps/ports.stamp): Likewise. (hotspot-ports): Likewise. * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Removed. * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Likewise. * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Likewise. * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. * arm_port/hotspot/tools/mkbc.c: Likewise. * patches/arm.patch: Likewise. changeset 080e299556a0 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=080e299556a0 author: aph date: Wed Oct 26 13:10:04 2011 -0400 merge changeset 68d8fd484caa in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=68d8fd484caa author: aph date: Thu Oct 27 13:49:16 2011 +0100 merge changeset 628e5ee78eca in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=628e5ee78eca author: aph date: Thu Oct 27 13:54:50 2011 +0100 Update ARM port to HS20 and hard FP. 2011-10-26 Andrew Haley <aph at redhat.com> * patches/arm.patch (CFLAGS): Enable the ARM assembler port. PR icedtea/484: * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (fast_empty_entry, normal_entry_synchronized, normal_entry): Return 0, #deoptimized_frames. * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Return): Likewise. * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def (return_unsafe, ireturn_unsafe, lreturn_unsafe) (ireturn,areturn,freturn): Return deoptimized_frames = 0. PR icedtea/323: * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Replace all stores to THREAD_LAST_JAVA_SP with stores to THREAD_LAST_JAVA_FP. Add stores to THREAD_LAST_JAVA_SP. * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. * Makefile.am (ICEDTEA_PATCHES): Add patches/arm- debug.patch. (stamps/ports.stamp): Use cp -l to link the ARM interpreter sources into the target dir rather than copying them. (EXTRA_DIST): Add arm_port. Update to HS20: * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Replace all calls to fatal1() (which no longer exists) with calls to fatal(). (Thumb2_is_zombie, Thumb2_pass2): invoke* and {get,put}* now take native, not Java, byte ordered indexes. (Thumb2_disass, Thumb2_codegen, Thumb2_tablegen): Bytecodes::special_length_at() takes different arguments from the previous version; adjust suitably. * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Replace call to report_fatal_vararg(char const*, int, char const*, ...) (which no longer exists) with call to Helper_report_fatal. * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def (new): Renumber the fast bytecodes iload_0_iconst_N to iload_3_iload_N. * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. * patches/arm.patch: Likewise. Add *.S to the list of source files. * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp (All #includes) : Move to new OpenJDK include file format. (Helper_report_fatal): New assember helper. (print_vm_offsets): Add THREAD_LAST_JAVA_FP. Hard FP port: * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Initialize): Add hard FP variants for the stubs that need it. * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (POPF0, POPF1, POPD0, POPD1,PUSHF0, PUSHD0): New macros. (.eabi_attribute): Use real names. Add declaration for hard FP ABI. (.fast_native_return_double, .fast_native_return_float, .fast_copy_double, .fast_copy_float): New. (fast_native_entry): use SIZEOF_FFI_CIF, not 24. Add logic to handle args in FP registers. (FIND_LOWEST_BIT, FIND_LOWEST_BIT_PAIR, COPY_DOUBLE, COPY_FLOAT): New macros. (.copy_float_table, .copy_double_table): New. * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def (frem, drem, f2i, f2l, d2i, d2l): Add hardfp args. * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (REWRITE_PAIRS): New macro. * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Use REWRITE_PAIRS to prevent rewriting pairs of bytecodes in the instruction stream. * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (fast_native_entry): Update ISTATE_SELF_LINK to get correct stack traces. * patches/arm-debug.patch: New file. changeset 16a1f3497b7e in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=16a1f3497b7e author: aph date: Thu Oct 27 18:33:35 2011 +0100 Unbreak non-ARM zero builds. 2011-10-27 Andrew Haley <aph at redhat.com> * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp (whole file): Conditionalize on #ifdef __arm__. * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Likewise. * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. * patches/arm.patch: Move %.S rule outside ARM conditional. changeset 8ac014b1879d in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=8ac014b1879d author: aph date: Fri Oct 28 09:43:24 2011 -0400 Add patches/arm-debug.patch. 2011-10-28 Andrew Haley <aph at redhat.com> * Makefile.am (ICEDTEA_PATCHES): Add patches/arm- debug.patch. changeset 3885df4d608f in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=3885df4d608f author: aph date: Fri Oct 28 14:52:52 2011 +0100 merge changeset 26bdb437215d in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=26bdb437215d author: aph date: Fri Oct 28 11:46:11 2011 -0400 Fix PUSH/POP thinko in soft-fp builds. 2011-10-28 Andrew Haley <aph at redhat.com> * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (PUSHD0) Use PUSH, not POP. changeset 0d4f47d2edbf in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=0d4f47d2edbf author: aph date: Mon Oct 31 11:57:33 2011 -0400 Fix accessors to return 0, #deoptimized_frames. 2011-10-31 Andrew Haley <aph at redhat.com> * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (accessor_sh): Return 0, #deoptimized_frames. (accessor{_h,_sb,_dw}): Likewise. changeset 10f799f0520c in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=10f799f0520c author: aph date: Fri Oct 28 09:43:24 2011 -0400 Add patches/arm-debug.patch. 2011-10-28 Andrew Haley <aph at redhat.com> * Makefile.am (ICEDTEA_PATCHES): Add patches/arm- debug.patch. changeset 2f08a6fa2940 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=2f08a6fa2940 author: aph date: Fri Oct 28 09:49:25 2011 -0400 merge changeset c2cf91b8ce35 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=c2cf91b8ce35 author: aph date: Mon Oct 31 12:16:19 2011 -0400 merge changeset 002673402c72 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=002673402c72 author: aph date: Tue Nov 01 13:40:39 2011 +0000 Thumb2_Accessor Return 0, #deoptimized_frames. 2011-11-01 Andrew Haley <aph at redhat.com> * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Accessor): Return 0, #deoptimized_frames. changeset 6f61af32cc26 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=6f61af32cc26 author: aph date: Wed Nov 02 16:20:25 2011 +0000 Sign extend byte loads in accessors. 2011-11-02 Andrew Haley <aph at redhat.com> * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_codegen): Sign extend byte loads in accessors. changeset f7f8d71c851c in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=f7f8d71c851c author: Xerxes Ranby <xerxes at zafena.se> date: Thu Nov 03 14:12:53 2011 +0100 cppInterpreter_arm.S: Designate function labels as such; required for thumb interworking. 2011-11-03 Xerxes Ranby <xerxes at zafena.se> * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (cmpxchg_ptr): Designate function label as such; required for thumb interworking. (asm_generate_method_entry, asm_check_null_ptr, Thumb2_Install Thumb2_stubs, Thumb2_idiv_stub, Thumb2_irem_stub, Thumb2_invokeinterface_stub, Thumb2_invokevirtual_stub, Thumb2_invokestatic_stub, Thumb2_invokespecial_stub, Thumb2_getfield_word_stub, Thumb2_getfield_sh_stub, Thumb2_getfield_h_stub, Thumb2_getfield_sb_stub, Thumb2_getfield_dw_stub, Thumb2_putfield_word_stub, Thumb2_putfield_h_stub, Thumb2_putfield_b_stub, Thumb2_putfield_a_stub, Thumb2_putfield_dw_stub, Thumb2_getstatic_word_stub, Thumb2_getstatic_h_stub, Thumb2_getstatic_sh_stub, Thumb2_getstatic_sb_stub, Thumb2_getstatic_dw_stub, Thumb2_putstatic_word_stub, Thumb2_putstatic_h_stub, Thumb2_putstatic_b_stub, Thumb2_putstatic_dw_stub, Thumb2_putstatic_a_stub, Thumb2_stubs_end, Thumb2_DivZero_Handler, Thumb2_Handle_Exception, Thumb2_Handle_Exception_NoRegs, Thumb2_ArrayBounds_Handler, Thumb2_NullPtr_Handler, Thumb2_Stack_Overflow, Thumb2_Exit_To_Interpreter, Thumb2_Clear_Cache): Likewise. changeset 63882126a861 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=63882126a861 author: Xerxes Ranby <xerxes at zafena.se> date: Thu Nov 03 15:09:01 2011 +0100 CACAO: Fix FindClass called from JNI_OnLoad and implement jni_GetDirectBufferCapacity. 2011-11-03 Xerxes Ranby <xerxes at zafena.se> CACAO: - Fix FindClass called from JNI_OnLoad. - Implemented jni_GetDirectBufferCapacity. * Makefile.am: (CACAO_VERSION): Updated CACAO to 2011-11-02 revision. (CACAO_SHA256SUM): Updated. changeset 8b80aff6ceda in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=8b80aff6ceda author: Xerxes Ranby <xerxes at zafena.se> date: Fri Nov 04 13:27:40 2011 +0100 cppInterpreter_arm.S: Only define ARMv4 when optimizing for armv4 and armv4t. 2011-11-04 Xerxes Ranby <xerxes at zafena.se> * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (ARMv4): Only define it when optimizing for armv4 and armv4t. This will make the asm interpreter slightly faster when optimized for armv5 and later. changeset 0e1ae9c38563 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=0e1ae9c38563 author: aph date: Tue Nov 08 06:03:17 2011 -0500 Mask shift counts. 2011-11-07 Andrew Haley <aph at redhat.com> * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask shift counts with 31. (Thumb2_codegen): Mask double shift counts with 63. changeset 15d88aeb3dc4 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=15d88aeb3dc4 author: Danesh Dadachanji <ddadacha at redhat.com> date: Tue Nov 15 15:02:41 2011 -0500 683768: Add a workaround for Java applications using tray icon for Gnome Shell. changeset b26203d46fdd in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=b26203d46fdd author: Andrew Haley <aph at redhat.com> date: Tue Nov 15 15:49:02 2011 -0500 Unbreak debug builds. 2011-11-15 Andrew Haley <aph at redhat.com> * patches/arm-debug.patch: Surround all code in #ifdef PRODUCT in order to unbreak debug builds. changeset 1075c87ee025 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=1075c87ee025 author: Andrew John Hughes <ahughes at redhat.com> date: Wed Nov 16 14:01:13 2011 +0000 PR719: make distcheck work in IcedTea6 2011-11-11 Andrew John Hughes <ahughes at redhat.com> PR719: make distcheck work in IcedTea6 * Makefile.am: (distclean-local): Depend on clean-local. (ports): Remove inapplicable conditionals from reversion and ensure copied files have correct permissions. (clean-generated): Replace hardcoded name with $(GENERATED_BUILD_DIR). (clean-jtreg): Remove all empty directories. * NEWS: List this fix. changeset 50d0d5edf291 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=50d0d5edf291 author: Andrew John Hughes <ahughes at redhat.com> date: Fri Nov 18 20:25:16 2011 +0000 Merge changeset 8ab75c7a55b2 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=8ab75c7a55b2 author: Andrew John Hughes <ahughes at redhat.com> date: Fri Nov 25 18:08:27 2011 +0000 Update to work with upstreamed security patches. 2011-11-24 Andrew John Hughes <ahughes at redhat.com> * patches/security/20111018/7000600.patch, * patches/security/20111018/7019773.patch, * patches/security/20111018/7023640.patch, * patches/security/20111018/7032417.patch, * patches/security/20111018/7046794.patch, * patches/security/20111018/7046823.patch, * patches/security/20111018/7055902.patch, * patches/security/20111018/7057857.patch, * patches/security/20111018/7064341.patch, * patches/security/20111018/7070134.patch, * patches/security/20111018/7077466.patch, * patches/security/20111018/7083012.patch, * patches/security/20111018/7096936.patch: Drop patches applied upstream. * Makefile.am: (JAXWS_DROP_ZIP): Updated. (JAXWS_DROP_SHA256SUM): Likewise. (SECURITY_PATCHES): Set empty (upstream). * patches/rhino.patch, * patches/xjc.patch: Rewritten to work with upstream security patches. diffstat: ChangeLog | 238 + Makefile.am | 70 +- NEWS | 5 +- arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp | 614 + arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def | 7696 + arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S | 6733 + arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp | 7553 + arm_port/hotspot/tools/mkbc.c | 607 + patches/arm-debug.patch | 46 + patches/arm.patch | 226 + patches/openjdk/6578583-modality-broken-vista.patch | 1439 - patches/openjdk/683768-System-tray-icon.patch | 79 + patches/openjdk/7103224-glibc_name_collision.patch | 230 + patches/rhino.patch | 29 +- patches/security/20111018/7000600.patch | 44 - patches/security/20111018/7019773.patch | 116 - patches/security/20111018/7023640.patch | 97 - patches/security/20111018/7032417.patch | 29 - patches/security/20111018/7046794.patch | 39 - patches/security/20111018/7046823.patch | 140 - patches/security/20111018/7055902.patch | 39 - patches/security/20111018/7057857.patch | 73 - patches/security/20111018/7064341.patch | 475 - patches/security/20111018/7070134.patch | 97771 ---------------- patches/security/20111018/7077466.patch | 30 - patches/security/20111018/7083012.patch | 141 - patches/security/20111018/7096936.patch | 50 - patches/xjc.patch | 14 +- 28 files changed, 24092 insertions(+), 100531 deletions(-) diffs (truncated from 125030 to 500 lines): diff -r a60a29a6dace -r 8ab75c7a55b2 ChangeLog --- a/ChangeLog Fri Oct 21 15:04:36 2011 +0100 +++ b/ChangeLog Fri Nov 25 18:08:27 2011 +0000 @@ -1,3 +1,235 @@ +2011-11-24 Andrew John Hughes <ahughes at redhat.com> + + * patches/security/20111018/7000600.patch, + * patches/security/20111018/7019773.patch, + * patches/security/20111018/7023640.patch, + * patches/security/20111018/7032417.patch, + * patches/security/20111018/7046794.patch, + * patches/security/20111018/7046823.patch, + * patches/security/20111018/7055902.patch, + * patches/security/20111018/7057857.patch, + * patches/security/20111018/7064341.patch, + * patches/security/20111018/7070134.patch, + * patches/security/20111018/7077466.patch, + * patches/security/20111018/7083012.patch, + * patches/security/20111018/7096936.patch: + Drop patches applied upstream. + * Makefile.am: + (JAXWS_DROP_ZIP): Updated. + (JAXWS_DROP_SHA256SUM): Likewise. + (SECURITY_PATCHES): Set empty (upstream). + * patches/rhino.patch, + * patches/xjc.patch: + Rewritten to work with upstream security patches. + +2011-11-11 Andrew John Hughes <ahughes at redhat.com> + + PR719: make distcheck work in IcedTea6 + * Makefile.am: + (distclean-local): Depend on clean-local. + (ports): Remove inapplicable conditionals from + reversion and ensure copied files have correct + permissions. + (clean-generated): Replace hardcoded name with + $(GENERATED_BUILD_DIR). + (clean-jtreg): Remove all empty directories. + * NEWS: List this fix. + +2011-11-15 Andrew Haley <aph at redhat.com> + + * patches/arm-debug.patch: Surround all code in #ifdef PRODUCT + in order to unbreak debug builds. + +2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> + + * Makefile.am: + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch + * NEWS: Updated. + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms + _NET_WM_PID and WM_CLIENT_MACHINE for X windows. + +2011-11-07 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask + shift counts with 31. + (Thumb2_codegen): Mask double shift counts with 63. + +2011-11-04 Xerxes R??nby <xerxes at zafena.se> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (ARMv4): Only define it when optimizing for armv4 and armv4t. + This will make the asm interpreter slightly faster when optimized + for armv5 and later. + +2011-11-03 Xerxes R??nby <xerxes at zafena.se> + + CACAO: + - Fix FindClass called from JNI_OnLoad. + - Implemented jni_GetDirectBufferCapacity. + * Makefile.am: + (CACAO_VERSION): Updated CACAO to 2011-11-02 revision. + (CACAO_SHA256SUM): Updated. + +2011-11-03 Xerxes R??nby <xerxes at zafena.se> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (cmpxchg_ptr): Designate function label as such; required for + thumb interworking. + (asm_generate_method_entry, asm_check_null_ptr, Thumb2_Install + Thumb2_stubs, Thumb2_idiv_stub, Thumb2_irem_stub, + Thumb2_invokeinterface_stub, Thumb2_invokevirtual_stub, + Thumb2_invokestatic_stub, Thumb2_invokespecial_stub, + Thumb2_getfield_word_stub, Thumb2_getfield_sh_stub, + Thumb2_getfield_h_stub, Thumb2_getfield_sb_stub, + Thumb2_getfield_dw_stub, Thumb2_putfield_word_stub, + Thumb2_putfield_h_stub, Thumb2_putfield_b_stub, + Thumb2_putfield_a_stub, Thumb2_putfield_dw_stub, + Thumb2_getstatic_word_stub, Thumb2_getstatic_h_stub, + Thumb2_getstatic_sh_stub, Thumb2_getstatic_sb_stub, + Thumb2_getstatic_dw_stub, Thumb2_putstatic_word_stub, + Thumb2_putstatic_h_stub, Thumb2_putstatic_b_stub, + Thumb2_putstatic_dw_stub, Thumb2_putstatic_a_stub, + Thumb2_stubs_end, Thumb2_DivZero_Handler, + Thumb2_Handle_Exception, Thumb2_Handle_Exception_NoRegs, + Thumb2_ArrayBounds_Handler, Thumb2_NullPtr_Handler, + Thumb2_Stack_Overflow, Thumb2_Exit_To_Interpreter, + Thumb2_Clear_Cache): Likewise. + +2011-11-02 Andrew Haley <aph at redhat.com> + + * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_codegen): + Sign extend byte loads in accessors. + +2011-11-01 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Accessor): + Return 0, #deoptimized_frames. + +2011-10-31 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (accessor_sh): + Return 0, #deoptimized_frames. + (accessor{_h,_sb,_dw}): Likewise. + +2011-10-28 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (PUSHD0) + Use PUSH, not POP. + +2011-10-28 Andrew Haley <aph at redhat.com> + + * Makefile.am (ICEDTEA_PATCHES): Add patches/arm-debug.patch. + +2011-10-27 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp (whole file): + Conditionalize on #ifdef __arm__. + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Likewise. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + * patches/arm.patch: Move %.S rule outside ARM conditional. + +2011-10-26 Andrew Haley <aph at redhat.com> + + * patches/arm.patch (CFLAGS): Enable the ARM assembler port. + + PR icedtea/484: + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (fast_empty_entry, normal_entry_synchronized, normal_entry): + Return 0, #deoptimized_frames. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Return): + Likewise. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def + (return_unsafe, ireturn_unsafe, lreturn_unsafe) + (ireturn,areturn,freturn): Return deoptimized_frames = 0. + + PR icedtea/323: + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Replace + all stores to THREAD_LAST_JAVA_SP with stores to + THREAD_LAST_JAVA_FP. Add stores to THREAD_LAST_JAVA_SP. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + + * Makefile.am (ICEDTEA_PATCHES): Add patches/arm-debug.patch. + (stamps/ports.stamp): Use cp -l to link the ARM interpreter + sources into the target dir rather than copying them. + (EXTRA_DIST): Add arm_port. + + Update to HS20: + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Replace all calls + to fatal1() (which no longer exists) with calls to fatal(). + (Thumb2_is_zombie, Thumb2_pass2): invoke* and {get,put}* now take + native, not Java, byte ordered indexes. + (Thumb2_disass, Thumb2_codegen, Thumb2_tablegen): + Bytecodes::special_length_at() takes different arguments from the + previous version; adjust suitably. + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Replace + call to report_fatal_vararg(char const*, int, char const*, ...) + (which no longer exists) with call to Helper_report_fatal. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def (new): + Renumber the fast bytecodes iload_0_iconst_N to iload_3_iload_N. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + * patches/arm.patch: Likewise. + Add *.S to the list of source files. + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp (All #includes) + : Move to new OpenJDK include file format. + (Helper_report_fatal): New assember helper. + (print_vm_offsets): Add THREAD_LAST_JAVA_FP. + + Hard FP port: + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Initialize): + Add hard FP variants for the stubs that need it. + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (POPF0, POPF1, POPD0, POPD1,PUSHF0, PUSHD0): New macros. + (.eabi_attribute): Use real names. Add declaration for hard + FP ABI. + (.fast_native_return_double, .fast_native_return_float, + .fast_copy_double, .fast_copy_float): New. + (fast_native_entry): use SIZEOF_FFI_CIF, not 24. Add logic to + handle args in FP registers. + (FIND_LOWEST_BIT, FIND_LOWEST_BIT_PAIR, COPY_DOUBLE, COPY_FLOAT): + New macros. + (.copy_float_table, .copy_double_table): New. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def + (frem, drem, f2i, f2l, d2i, d2l): Add hardfp args. + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (REWRITE_PAIRS): New macro. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Use + REWRITE_PAIRS to prevent rewriting pairs of bytecodes in the + instruction stream. + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (fast_native_entry): + Update ISTATE_SELF_LINK to get correct stack traces. + + * patches/arm-debug.patch: New file. + +2011-10-26 Andrew Haley <aph at redhat.com> + + Reinstate the ARM assembler port. Back out this patch: + + 2011-07-11 Xerxes R??nby <xerxes at zafena.se> + + Removal of the ARM assembler port, unbreaks Zero and Shark builds. + * Makefile.am: + (ICEDTEA_PATCHES): Remove patches/arm.patch. + (clean-ports): Removed. + (stamps/ports.stamp): Likewise. + (hotspot-ports): Likewise. + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Removed. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Likewise. + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Likewise. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + * arm_port/hotspot/tools/mkbc.c: Likewise. + * patches/arm.patch: Likewise. + +2011-10-26 Omair Majid <omajid at redhat.com> + + S7103224: collision between __LEAF define in interfaceSupport.hpp and + /usr/include/sys/cdefs.h with gcc + * NEWS: Update with fix. + * patches/openjdk/7103224-glibc_name_collision.patch: New file. Export of + OpenJDK changeset. + * Makefile.am (ICEDTEA_PATCHES): Add the above. + 2011-10-21 Andrew John Hughes <ahughes at redhat.com> * patches/security/20111018/7083012.patch: @@ -1234,6 +1466,12 @@ bugzilla: Bug #727195 "Japanese font mappings are broken" https://bugzilla.redhat.com/show_bug.cgi?id=727195 +2011-09-08 Andrew John Hughes <ahughes at redhat.com> + + * patches/openjdk/6578583-modality-broken-vista.patch: + Removed. + * Makefile.am: Drop above patch, upstreamed. + 2011-09-08 Pavel Tisnovsky <ptisnovs at redhat.com> * Makefile.am: added new patch diff -r a60a29a6dace -r 8ab75c7a55b2 Makefile.am --- a/Makefile.am Fri Oct 21 15:04:36 2011 +0100 +++ b/Makefile.am Fri Nov 25 18:08:27 2011 +0000 @@ -5,8 +5,8 @@ OPENJDK_VERSION = b23 OPENJDK_URL = http://download.java.net/openjdk/jdk6/promoted/$(OPENJDK_VERSION)/ -CACAO_VERSION = f910ea5348aa -CACAO_SHA256SUM = dcbd9ebb2e4180cdcb8d2f2019c09905a87f2dfa9fda9eee56836b25727c4d90 +CACAO_VERSION = 2204b08fcae9 +CACAO_SHA256SUM = bb6ce286fcdc7350ed9913acfe5177921f515e187e74e773f6e62adba005f0a3 CACAO_BASE_URL = http://icedtea.classpath.org/download/drops/cacao CACAO_URL = $(CACAO_BASE_URL)/$(CACAO_VERSION).tar.gz CACAO_SRC_ZIP = cacao-$(CACAO_VERSION).tar.gz @@ -18,8 +18,8 @@ JAMVM_SRC_ZIP = jamvm-$(JAMVM_VERSION).tar.gz JAXWS_DROP_URL = http://icedtea.classpath.org/download/drops -JAXWS_DROP_ZIP = jdk6-jaxws2_1_6-2011_06_08.zip -JAXWS_DROP_SHA256SUM = be95ff0ae05b474d0bbb3ad8bdb2a23f20cb8c48b1a21f16aa079e43a50c057f +JAXWS_DROP_ZIP = jdk6-jaxws2_1_6-2011_06_13.zip +JAXWS_DROP_SHA256SUM = 229040544e791f44906e8e7b6f6faf503c730a5d854275135f3925490d5c3be3 JAF_DROP_URL = http://icedtea.classpath.org/download/drops JAF_DROP_ZIP = jdk6-jaf-b20.zip JAF_DROP_SHA256SUM = 78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012 @@ -199,24 +199,10 @@ ICEDTEA_FSG_PATCHES = -SECURITY_PATCHES = \ - patches/security/20111018/7000600.patch \ - patches/security/20111018/7019773.patch \ - patches/security/20111018/7023640.patch \ - patches/security/20111018/7032417.patch \ - patches/security/20111018/7046823.patch \ - patches/security/20111018/7055902.patch \ - patches/security/20111018/7057857.patch \ - patches/security/20111018/7064341.patch \ - patches/security/20111018/7070134.patch \ - patches/security/20111018/7083012.patch \ - patches/security/20111018/7096936.patch \ - patches/security/20111018/7046794.patch \ - patches/security/20111018/7077466.patch +SECURITY_PATCHES = ICEDTEA_PATCHES = \ $(SECURITY_PATCHES) \ - patches/openjdk/6578583-modality-broken-vista.patch \ patches/openjdk/6610244-modal-fatal-error-windows.patch \ patches/stdc-limit-macros.patch \ patches/openjdk/4993545-nativeinlightfixer.patch \ @@ -289,6 +275,7 @@ patches/openjdk/6959123-libpng_14.patch \ patches/applet_hole.patch \ patches/jtreg-httpTest.patch \ + patches/arm.patch \ patches/debug-dir.patch \ patches/override-redirect-metacity.patch \ patches/openjdk/6967533-pre_epoch.patch \ @@ -407,7 +394,10 @@ patches/openjdk/6371401-BigInteger.shift_throws_StackOverflowError.patch \ patches/openjdk/6826104-npe_on_app_and_toolkit_modal_dialog_click.patch \ patches/openjdk/5082756-ImageIO_plugins_metadata_boolean_attributes.patch \ - patches/openjdk/6296893-BMP_Writer_handles_TopDown_prop_incorrectly.patch + patches/openjdk/6296893-BMP_Writer_handles_TopDown_prop_incorrectly.patch \ + patches/openjdk/7103224-glibc_name_collision.patch \ + patches/arm-debug.patch \ + patches/openjdk/683768-System-tray-icon.patch if WITH_RHINO ICEDTEA_PATCHES += \ @@ -623,7 +613,8 @@ EXTRA_DIST = generated \ $(top_srcdir)/patches/* \ - contrib overlays \ + contrib arm_port \ + overlays \ jconsole.desktop policytool.desktop \ $(JTREG_SRCS) HACKING pulseaudio fsg.sh \ hotspot.map \ @@ -644,7 +635,7 @@ check-local: jtregcheck clean-local: clean-jtreg clean-jtreg-reports $(PULSE_JAVA_CLEAN_TARGET) \ - clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract \ + clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract clean-ports \ clean-overlay clean-native-ecj clean-icedtea-against-icedtea clean-icedtea-debug-against-icedtea \ clean-icedtea-against-ecj clean-extract-ecj clean-generated clean-replace-hotspot \ clean-rewriter clean-rewrite-rhino clean-rt clean-bootstrap-directory \ @@ -657,7 +648,7 @@ rmdir lib ; \ fi -distclean-local: clean-download clean-hgforest +distclean-local: clean-local clean-download clean-hgforest if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \ if [ -e tapset ] ; then \ rmdir tapset ; \ @@ -681,7 +672,7 @@ clean-icedtea-against-ecj \ clean-jamvm clean-add-jamvm clean-add-jamvm-debug \ clean-cacao clean-add-cacao clean-add-cacao-debug \ - clean-overlay clean-extract-ecj clean-extract clean-extract-openjdk \ + clean-ports clean-overlay clean-extract-ecj clean-extract clean-extract-openjdk \ clean-replace-hotspot clean-generated clean-download clean-hgforest clean-download-openjdk \ clean-rewriter clean-rewrite-rhino clean-add-systemtap clean-add-systemtap-debug \ clean-add-pulseaudio clean-add-pulseaudio-debug clean-add-nss clean-add-nss-debug \ @@ -1037,7 +1028,26 @@ clean-replace-hotspot: rm -f stamps/replace-hotspot.stamp -stamps/generated.stamp: stamps/replace-hotspot.stamp +# Copy ports sources into tree +stamps/ports.stamp: stamps/replace-hotspot.stamp + for target in $(abs_top_srcdir)/arm_port/hotspot/tools \ + $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \ + link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \ + cp -rlv $$target $$link; \ + chmod -R ug+rwX $$link; \ + done + mkdir -p stamps + touch stamps/ports.stamp + +clean-ports: + for target in $(abs_top_srcdir)/arm_port/hotspot/tools \ + $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \ + link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \ + rm -rf $$link; \ + done + rm -f stamps/ports.stamp + +stamps/generated.stamp: stamps/ports.stamp if [ ! -e $(GENERATED_BUILD_DIR) ]; then \ cp -a $(abs_top_srcdir)/generated $(GENERATED_BUILD_DIR) && \ chmod -R ug+rwX $(GENERATED_BUILD_DIR) ; \ @@ -1047,7 +1057,7 @@ clean-generated: if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \ - rm -rf $(abs_top_builddir)/generated ; \ + rm -rf $(GENERATED_BUILD_DIR); \ fi rm -f stamps/generated.stamp @@ -2122,7 +2132,13 @@ clean-jtreg: rm -rf test/jtreg/classes + if [ -e test/jtreg ] ; then \ + rmdir test/jtreg ; \ + fi rm -f test/jtreg.jar + if [ -e test ] ; then \ + rmdir test ; \ + fi rm -f stamps/jtreg.stamp check-hotspot: stamps/jtreg.stamp @@ -2289,6 +2305,8 @@ extract-ecj: stamps/extract-ecj.stamp +hotspot-ports: stamps/ports.stamp + icedtea: stamps/icedtea.stamp icedtea-against-icedtea: stamps/icedtea-against-icedtea.stamp diff -r a60a29a6dace -r 8ab75c7a55b2 NEWS --- a/NEWS Fri Oct 21 15:04:36 2011 +0100 +++ b/NEWS Fri Nov 25 18:08:27 2011 +0000 @@ -21,6 +21,9 @@ - PR752: ImageFormatException extends Exception not RuntimeException - PR732: Use xsltproc for bootstrap xslt in place of Xerces/Xalan - RH727195: Japanese font mappings are broken + - LP862286: Fix exception on trying to start PulseAudio playback + - RH683768: Add a workaround for Java applications using tray icon for Gnome Shell + - PR719: make distcheck should work in IcedTea6 * Import of OpenJDK6 b23 including upgrade to HotSpot 20 - S7023111: Add webrev script to make/scripts - S6909331: Add vsvars.sh to the jdk repository (handy cygwin way to get vcvars32.bat run) @@ -372,7 +375,7 @@ - S6826104, RH730015: Getting a NullPointer exception when clicked on Application & Toolkit Modal dialog - S5082756: Image I/O plug-ins set metadata boolean attributes to "true" or "false" - S6296893: BMP Writer handles TopDown property incorrectly for some of the compression types - - LP862286: Fix exception on trying to start PulseAudio playback + - S7103224: collision between __LEAF define in interfaceSupport.hpp and /usr/include/sys/cdefs.h with gcc * Allow selection of test suites using the jtreg_checks argument e.g. jtreg_checks="langtools" * CACAO - CA149: Used wrong class loader. diff -r a60a29a6dace -r 8ab75c7a55b2 arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp Fri Nov 25 18:08:27 2011 +0000 @@ -0,0 +1,614 @@ +/* + * Copyright 2009, 2010 Edward Nevill + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifdef __arm__ + +#define ARCH_THUMBEE (1<<16) +#define ARCH_VFP (1<<17) +#define ARCH_CLZ (1<<18) + +#include "precompiled.hpp" +#include "asm/assembler.hpp" +#include "interp_masm_zero.hpp" +#include "interpreter/bytecodeInterpreter.hpp" +#include "interpreter/bytecodeInterpreter.inline.hpp" +#include "interpreter/interpreter.hpp" +#include "interpreter/interpreterRuntime.hpp" +#include "oops/methodDataOop.hpp" +#include "oops/methodOop.hpp" +#include "oops/oop.inline.hpp" +#include "prims/jvmtiExport.hpp" +#include "prims/jvmtiThreadState.hpp" +#include "runtime/deoptimization.hpp" +#include "runtime/frame.inline.hpp" +#include "runtime/sharedRuntime.hpp" +#include "runtime/stubRoutines.hpp" +#include "runtime/synchronizer.hpp" +#include "runtime/vframeArray.hpp" +#include "utilities/debug.hpp" + +#ifndef STATIC_OFFSETS + +#include <linux/auxvec.h> +#include <asm/hwcap.h> + +#define VECBUFF_SIZE 64 + +extern "C" unsigned hwcap(void) +{ + int fd; From bugzilla-daemon at icedtea.classpath.org Sun Nov 27 11:42:26 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 27 Nov 2011 19:42:26 +0000 Subject: [Bug 822] New: https://bcee.snet.lu/ssogate/xlogin not functional Message-ID: <bug-822-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=822 Bug #: 822 Summary: https://bcee.snet.lu/ssogate/xlogin not functional Classification: Unclassified Product: IcedTea-Web Version: unspecified Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: Plugin AssignedTo: dbhole at redhat.com ReportedBy: icedtea.classpath.org at pcfe.net CC: unassigned at icedtea.classpath.org Description of problem: https://bcee.snet.lu/ssogate/xlogin is not functional, how do I file a decent bug report with my bank? I am in no way blaming icedtea, but if I tell my bank "F16 x86_64 with icedtea-web and java-1.6.0-openjdk does not work" I am bound to get a "did you reboot your Windows or Mac". As such I would like to know how to file a detailled bug report with the bank. Version-Release number of selected component (if applicable): java-1.6.0-openjdk-1.6.0.0-60.1.10.4.fc16.x86_64 icedtea-web-1.1.4-1.fc16.x86_64 firefox-8.0-3.fc16.x86_64 How reproducible: always Steps to Reproduce: 1. go to https://bcee.snet.lu/ 2. click for 'S-Net LuxTrust' login 3. applet start loading Actual results: "exception: java.security.AccessControlException: access denied (java...." displayed in browser page bottom, applet never loads Expected results: ideally the applet loads and works, but for now I'll settle on some help to get error messages for L2 or L3 support at the bank. Additional info: -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Sun Nov 27 11:59:21 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 27 Nov 2011 19:59:21 +0000 Subject: [Bug 822] https://bcee.snet.lu/ssogate/xlogin not functional In-Reply-To: <bug-822-30@http.icedtea.classpath.org/bugzilla/> References: <bug-822-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-822-30-nCj3FTaAcu@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=822 --- Comment #1 from Deepak Bhole <dbhole at redhat.com> 2011-11-27 19:59:21 UTC --- This is definitely an icedtea-web issue. I was able to reproduce this locally and from what I can tell, it shouldn't be happening. The main applet jar is signed and the plug-in for some reason is not recognizing it. I will take a look at it on Monday. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Sun Nov 27 12:43:14 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 27 Nov 2011 20:43:14 +0000 Subject: [Bug 822] https://bcee.snet.lu/ssogate/xlogin not functional In-Reply-To: <bug-822-30@http.icedtea.classpath.org/bugzilla/> References: <bug-822-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-822-30-OixZ9MuV0i@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=822 --- Comment #2 from pcfe <icedtea.classpath.org at pcfe.net> 2011-11-27 20:43:14 UTC --- Created attachment 609 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=609 screenshot showing the error this is all I ever get in the browser. FWIW: on RHEL6 with SUN-java (I had easy access to a test machine) the site works, but I have little wish o install SUN java on my F16 box. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Sun Nov 27 13:25:31 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 27 Nov 2011 21:25:31 +0000 Subject: [Bug 823] New: icedtea get crashed at random files during compiling/packaging Message-ID: <bug-823-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=823 Bug #: 823 Summary: icedtea get crashed at random files during compiling/packaging Classification: Unclassified Product: IcedTea Version: unspecified Platform: other OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: majaczek at gmail.com I tried to compile LWJGL on my arm linux machine. it contains both java and C code, and uses ant to build. I noticed crashes of icedtea on random files - that mean it is reproducible but it happens always on another file, and since it is a huge project it seems always reproducible on recompile since the chances of success are very low with that huge amount of files. I noticed that also crashed icedtea didn't return an error value since ant is talking BUILD SUCCESSFULL. i have various crash reports, the oldest were cleared but since a while i'm collecting ones in separate directory, I would send them later in bunch package. it seems complaining on unknown signal (4 or 11 or another), cutting sh callpath on crashreports, and making too much NULL pointers. as it is random bug it probably is a race condition or dependence on another things on my machine. since it's always on another files it seems things like memory left and cpu usage may fire this. I'm a programmer with very little knowledge on debugging, but for me it seems like ugly bug in memory managment. I hope it gets fixed since IcedTea6 is only community supported JVM on this device (and there aren't any officially suppported), well Hopefully i have also a PC :P -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Mon Nov 28 01:22:03 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 28 Nov 2011 09:22:03 +0000 Subject: [Bug 823] icedtea get crashed at random files during compiling/packaging In-Reply-To: <bug-823-30@http.icedtea.classpath.org/bugzilla/> References: <bug-823-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-823-30-MSdCFNdLxh@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=823 Xerxes R?nby <xerxes at zafena.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerxes at zafena.se --- Comment #1 from Xerxes R?nby <xerxes at zafena.se> 2011-11-28 09:22:03 UTC --- Hi I have compiled LWJGL 2.8.2 sucessfully on my ARM machines. I think you are running out of memory during your build. Check that you have enabled enough swap memory during compilation, I did my build of LWJGL using 512Mb ram and 3Gb swap. I have put some of my builds online at this url: http://openjdk.gudinna.com/lwjgl-es/ If your JVM still crash after adding more swap please tell us which JVM are you using (zero interpreted mode ,zero mixed mode, shark, cacao, jamvm)? Feel free to the crash log it will help us. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From ptisnovs at icedtea.classpath.org Mon Nov 28 01:32:15 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 28 Nov 2011 09:32:15 +0000 Subject: /hg/gfx-test: 2011-11-28 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.7b3a6a308d48.1322472735.-6248649288953172555@icedtea.classpath.org> changeset 7b3a6a308d48 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=7b3a6a308d48 author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Mon Nov 28 10:34:25 2011 +0100 2011-11-28 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/framework/GfxTest.java: Changed method visibility in GfxTest API. * src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java: Added 15 new rendering tests. diffstat: ChangeLog | 7 + src/org/gfxtest/framework/GfxTest.java | 2 +- src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java | 345 ++++++++++ 3 files changed, 353 insertions(+), 1 deletions(-) diffs (388 lines): diff -r 15cc4f8f742a -r 7b3a6a308d48 ChangeLog --- a/ChangeLog Wed Nov 23 13:19:16 2011 +0100 +++ b/ChangeLog Mon Nov 28 10:34:25 2011 +0100 @@ -1,3 +1,10 @@ +2011-11-28 Pavel Tisnovsky <ptisnovs at redhat.com> + + * src/org/gfxtest/framework/GfxTest.java: + Changed method visibility in GfxTest API. + * src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java: + Added 15 new rendering tests. + 2011-11-23 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/testsuites/ClippingCircleByRectangleShape.java: diff -r 15cc4f8f742a -r 7b3a6a308d48 src/org/gfxtest/framework/GfxTest.java --- a/src/org/gfxtest/framework/GfxTest.java Wed Nov 23 13:19:16 2011 +0100 +++ b/src/org/gfxtest/framework/GfxTest.java Mon Nov 28 10:34:25 2011 +0100 @@ -490,7 +490,7 @@ * * @return actual zoom value */ - private int getZoom() + protected int getZoom() { Zoom zoom = this.getClass().getAnnotation(Zoom.class); return zoom == null ? 1 : zoom.value(); diff -r 15cc4f8f742a -r 7b3a6a308d48 src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java --- a/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java Wed Nov 23 13:19:16 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java Mon Nov 28 10:34:25 2011 +0100 @@ -119,6 +119,81 @@ } /** + * Draw circle clipped by a rectangle area. Circle is drawn using alpha paint with + * red color and selected transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByRectangleAreaAlphaPaintRed(TestImage image, Graphics2D graphics2d, int transparency) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillRedColor(graphics2d, transparency); + // create clip area + CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Draw circle clipped by a rectangle area. Circle is drawn using alpha paint with + * green color and selected transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByRectangleAreaAlphaPaintGreen(TestImage image, Graphics2D graphics2d, int transparency) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillGreenColor(graphics2d, transparency); + // create clip area + CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Draw circle clipped by a rectangle area. Circle is drawn using alpha paint with + * blue color and selected transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByRectangleAreaAlphaPaintBlue(TestImage image, Graphics2D graphics2d, int transparency) + { + // render clip rectangle + CommonClippingOperations.renderClipRectangle(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillBlueColor(graphics2d, transparency); + // create clip area + CommonClippingOperations.createClipUsingRectangleArea(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** * Check if circle shape could be clipped by a rectangle area. Circle is * rendered using stroke paint. * @@ -209,6 +284,276 @@ } /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with red color at 0% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintRed000(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 0% transparency + drawCircleClippedByRectangleAreaAlphaPaintRed(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with red color at 25% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintRed025(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 25% transparency + drawCircleClippedByRectangleAreaAlphaPaintRed(image, graphics2d, 25); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with red color at 50% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintRed050(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 50% transparency + drawCircleClippedByRectangleAreaAlphaPaintRed(image, graphics2d, 50); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with red color at 75% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintRed075(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 75% transparency + drawCircleClippedByRectangleAreaAlphaPaintRed(image, graphics2d, 75); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with red color at 100% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintRed100(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 100% transparency + drawCircleClippedByRectangleAreaAlphaPaintRed(image, graphics2d, 100); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with green color at 0% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintGreen000(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 0% transparency + drawCircleClippedByRectangleAreaAlphaPaintGreen(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with green color at 25% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintGreen025(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 25% transparency + drawCircleClippedByRectangleAreaAlphaPaintGreen(image, graphics2d, 25); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with green color at 50% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintGreen050(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 50% transparency + drawCircleClippedByRectangleAreaAlphaPaintGreen(image, graphics2d, 50); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with green color at 75% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintGreen075(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 75% transparency + drawCircleClippedByRectangleAreaAlphaPaintGreen(image, graphics2d, 75); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with green color at 100% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintGreen100(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 100% transparency + drawCircleClippedByRectangleAreaAlphaPaintGreen(image, graphics2d, 100); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with blue color at 0% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue000(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 0% transparency + drawCircleClippedByRectangleAreaAlphaPaintBlue(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with blue color at 25% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue025(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 25% transparency + drawCircleClippedByRectangleAreaAlphaPaintBlue(image, graphics2d, 25); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with blue color at 50% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue050(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 50% transparency + drawCircleClippedByRectangleAreaAlphaPaintBlue(image, graphics2d, 50); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with blue color at 75% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue075(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 75% transparency + drawCircleClippedByRectangleAreaAlphaPaintBlue(image, graphics2d, 75); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by a rectangular area. Circle is + * rendered using alpha paint with blue color at 100% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByRectangleShapeAlphaPaintBlue100(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by rectangle area using alpha paint with 100% transparency + drawCircleClippedByRectangleAreaAlphaPaintBlue(image, graphics2d, 100); + // test result + return TestResult.PASSED; + } + + /** * Check if circle shape could be clipped by a rectangle area. Circle is * rendered using horizontal gradient paint. * From bugzilla-daemon at icedtea.classpath.org Mon Nov 28 04:52:46 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 28 Nov 2011 12:52:46 +0000 Subject: [Bug 823] icedtea get crashed at random files during compiling/packaging In-Reply-To: <bug-823-30@http.icedtea.classpath.org/bugzilla/> References: <bug-823-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-823-30-8QJ4dBGr6J@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=823 --- Comment #2 from majaczek at gmail.com 2011-11-28 12:52:46 UTC --- run-out-of-memory is very possible if the compilation is such memory hungry. my machine is nokia N900 which were repartitioned (custom partitions + bigger swap) however it has about 256 phys memory and about 2gb swap so it may be not enough. I have to repartition again with about 3.5 GB of swap and try again... or perhaps solve it temporary by enabling swap file. whenever i do I'll check if it helps with the compilation. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From ptisnovs at icedtea.classpath.org Mon Nov 28 06:15:29 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 28 Nov 2011 14:15:29 +0000 Subject: /hg/gfx-test: 2011-11-28 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.99792ac3c3e2.1322489729.-6248649288953172555@icedtea.classpath.org> changeset 99792ac3c3e2 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=99792ac3c3e2 author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Mon Nov 28 15:17:35 2011 +0100 2011-11-28 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/framework/annotations/GraphicsPrimitive.java: * src/org/gfxtest/framework/annotations/RenderStyle.java: * src/org/gfxtest/framework/annotations/RenderStyles.java: * src/org/gfxtest/framework/annotations/TestType.java: * src/org/gfxtest/framework/annotations/TestTypes.java: * src/org/gfxtest/framework/annotations/Transformation.java: * src/org/gfxtest/framework/annotations/Transformations.java: * src/org/gfxtest/framework/annotations/Zoom.java: Added JavaDoc to all annotations. Changed retention policy because we need to use all test suite annotations in runtime. diffstat: ChangeLog | 14 ++++++++ src/org/gfxtest/framework/annotations/GraphicsPrimitive.java | 12 +++++++ src/org/gfxtest/framework/annotations/RenderStyle.java | 11 ++++++ src/org/gfxtest/framework/annotations/RenderStyles.java | 20 ++++++++++++ src/org/gfxtest/framework/annotations/TestType.java | 12 +++++++ src/org/gfxtest/framework/annotations/TestTypes.java | 14 ++++++++ src/org/gfxtest/framework/annotations/Transformation.java | 11 ++++++ src/org/gfxtest/framework/annotations/Transformations.java | 13 +++++++ src/org/gfxtest/framework/annotations/Zoom.java | 8 ++++ 9 files changed, 115 insertions(+), 0 deletions(-) diffs (210 lines): diff -r 7b3a6a308d48 -r 99792ac3c3e2 ChangeLog --- a/ChangeLog Mon Nov 28 10:34:25 2011 +0100 +++ b/ChangeLog Mon Nov 28 15:17:35 2011 +0100 @@ -1,3 +1,17 @@ +2011-11-28 Pavel Tisnovsky <ptisnovs at redhat.com> + + * src/org/gfxtest/framework/annotations/GraphicsPrimitive.java: + * src/org/gfxtest/framework/annotations/RenderStyle.java: + * src/org/gfxtest/framework/annotations/RenderStyles.java: + * src/org/gfxtest/framework/annotations/TestType.java: + * src/org/gfxtest/framework/annotations/TestTypes.java: + * src/org/gfxtest/framework/annotations/Transformation.java: + * src/org/gfxtest/framework/annotations/Transformations.java: + * src/org/gfxtest/framework/annotations/Zoom.java: + Added JavaDoc to all annotations. + Changed retention policy because we need to use all test suite + annotations in runtime. + 2011-11-28 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/framework/GfxTest.java: diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/GraphicsPrimitive.java --- a/src/org/gfxtest/framework/annotations/GraphicsPrimitive.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/GraphicsPrimitive.java Mon Nov 28 15:17:35 2011 +0100 @@ -40,6 +40,18 @@ package org.gfxtest.framework.annotations; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + + + +/** + * Declaration of interface used to specify graphics primitive for each test + * suite. + * + * @author Pavel Tisnovsky + */ + at Retention(RetentionPolicy.RUNTIME) public @interface GraphicsPrimitive { GraphicsPrimitives value(); diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/RenderStyle.java --- a/src/org/gfxtest/framework/annotations/RenderStyle.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/RenderStyle.java Mon Nov 28 15:17:35 2011 +0100 @@ -40,6 +40,17 @@ package org.gfxtest.framework.annotations; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + + + +/** + * Interface declaration for specifying render style used by test suites. + * + * @author Pavel Tisnovsky + */ + at Retention(RetentionPolicy.RUNTIME) public @interface RenderStyle { RenderStyles value(); diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/RenderStyles.java --- a/src/org/gfxtest/framework/annotations/RenderStyles.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/RenderStyles.java Mon Nov 28 15:17:35 2011 +0100 @@ -40,11 +40,31 @@ package org.gfxtest.framework.annotations; +/** + * Render styles used by particular test suite. + * + * @author Pavel Tisnovsky + */ public enum RenderStyles { + /** + * Rendering style is not used for the test suite. + */ NONE, + /** + * Normal solid line style. + */ NORMAL, + /** + * Dashed line style. + */ DASH, + /** + * Filled shape(s) or areas. + */ FILL, + /** + * Normal style with antialiasing (AA) enabled. + */ NORMAL_AA, } diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/TestType.java --- a/src/org/gfxtest/framework/annotations/TestType.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/TestType.java Mon Nov 28 15:17:35 2011 +0100 @@ -40,6 +40,18 @@ package org.gfxtest.framework.annotations; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + + + +/** + * Declaration of annotation which can be used to select type of the graphics + * test suite. + * + * @author Pavel Tisnovsky + */ + at Retention(RetentionPolicy.RUNTIME) public @interface TestType { TestTypes value(); diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/TestTypes.java --- a/src/org/gfxtest/framework/annotations/TestTypes.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/TestTypes.java Mon Nov 28 15:17:35 2011 +0100 @@ -40,7 +40,21 @@ package org.gfxtest.framework.annotations; + + +/** + * Type of the graphics test suite. + * + * @author Pavel Tisnovsky + */ public enum TestTypes { + /** + * Rendering test, i.e. test which performs rendering onto raster image. + */ RENDER_TEST, + /** + * Printing test, i.e. test which performs rendering to a PostScript file. + */ + PRINT_TEST, } diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/Transformation.java --- a/src/org/gfxtest/framework/annotations/Transformation.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/Transformation.java Mon Nov 28 15:17:35 2011 +0100 @@ -40,6 +40,17 @@ package org.gfxtest.framework.annotations; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + + + +/** + * Transformation used for particular rendering test. + * + * @author Pavel Tisnovsky + */ + at Retention(RetentionPolicy.RUNTIME) public @interface Transformation { Transformations value(); diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/Transformations.java --- a/src/org/gfxtest/framework/annotations/Transformations.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/Transformations.java Mon Nov 28 15:17:35 2011 +0100 @@ -40,8 +40,21 @@ package org.gfxtest.framework.annotations; + + +/** + * Transformation used for particular rendering test. + * + * @author Pavel Tisnovsky + */ public enum Transformations { + /** + * None transformation is used (ie transformation is set to identify) + */ NONE, + /** + * Scale is used. + */ SCALE, } diff -r 7b3a6a308d48 -r 99792ac3c3e2 src/org/gfxtest/framework/annotations/Zoom.java --- a/src/org/gfxtest/framework/annotations/Zoom.java Mon Nov 28 10:34:25 2011 +0100 +++ b/src/org/gfxtest/framework/annotations/Zoom.java Mon Nov 28 15:17:35 2011 +0100 @@ -45,6 +45,14 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; + + +/** + * Zoom used to change the magnification of result image for particular test + * suite. It should be integer value greater or equal to 1. + * + * @author Pavel Tisnovsky + */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Zoom From bugzilla-daemon at icedtea.classpath.org Mon Nov 28 06:48:20 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 28 Nov 2011 14:48:20 +0000 Subject: [Bug 821] Deadlock in java.awt.EventQueue on OpenJDK7 In-Reply-To: <bug-821-30@http.icedtea.classpath.org/bugzilla/> References: <bug-821-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-821-30-881z4NEJsG@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=821 --- Comment #1 from Paolo Scarabelli <paolo at msw.it> 2011-11-28 14:48:20 UTC --- Created attachment 610 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=610 New stacktrace I just experienced a second deadlock, I attach the jstack output. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From jvanek at redhat.com Mon Nov 28 08:44:09 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 28 Nov 2011 17:44:09 +0100 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4ECA7ACB.1030207@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> <4ECA7ACB.1030207@redhat.com> Message-ID: <4ED3BA59.3050504@redhat.com> TYVM for review! I have fixed most of the issues you suggested. The one we talked about on IRC - touching files in prefix/bin . I still think its the best aproach. Test coverage should be run in "test run" prefix, and with configuration nearest to final one. I have found no better solution (copying prefix...) then this one to fulfil it more. Except fixes you have suggested, there are (inspired by your review) two mayor changes - final result is now in test.built instead of abs_top_build_dir and coverage targets have their own clean, instead of chaotic '-rm ' as it was before. On 11/21/2011 05:22 PM, Omair Majid wrote: > > Comments in-line below. > >> diff -r 22db4e09bbc7 Makefile.am >> --- a/Makefile.am Fri Nov 11 14:40:26 2011 +0100 >> +++ b/Makefile.am Sat Nov 19 00:07:45 2011 +0100 >> @@ -25,6 +25,8 @@ >> KEYSTORE_NAME=teststore.ks >> >> JUNIT_RUNNER_JAR=$(abs_top_builddir)/junit-runner.jar >> +UNIT_CLASS_NAMES = $(abs_top_builddir)/unit_class_names >> +REPRODUCERS_CLASS_NAMES = $(abs_top_builddir)/reproducers_class_names >> >> # Build directories >> >> @@ -539,7 +541,11 @@ >> mkdir -p stamps&& \ >> touch $@ >> >> -run-netx-dist-tests: all-local stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ >> +run-netx-dist-tests: stamps/run-netx-dist-tests >> + > > Files in the stamps dir have names that end with .stamp. Also, target aliases ($(foo): stamps/$(foo).stamp) are normally added to the end of the makefile. fixed, thanx! > >> +stamps/run-netx-dist-tests: stamps/netx-dist.stamp extra-lib/about.jar stamps/plugin.stamp launcher.build/$(javaws) \ >> + javaws.desktop stamps/docs.stamp launcher.build/$(itweb_settings) itweb-settings.desktop \ >> + stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ >> stamps/netx-dist-tests-compile.stamp stamps/netx-dist-tests-compile-testcases.stamp $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) >> cd $(JNLP_TESTS_ENGINE_DIR) ; \ >> class_names= ; \ >> @@ -548,7 +554,7 @@ >> class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ >> class_names="$$class_names $$class_name" ; \ >> done ; \ >> - echo $$class_names ; \ >> + echo $$class_names> $(REPRODUCERS_CLASS_NAMES) ; \ >> CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ >> $(BOOT_DIR)/bin/java -Dtest.server.dir=$(JNLP_TESTS_SERVER_DEPLOYDIR) -Djavaws.build.bin=$(DESTDIR)$(bindir)/javaws \ >> -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ >> @@ -556,6 +562,7 @@ >> cat stdout.log ; \ >> cat stderr.log>&2 >> -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml> $(TESTS_DIR)/index_reproducers.html >> + touch $@ >> >> netx-unit-tests-source-files.txt: >> find $(NETX_UNIT_TEST_SRCDIR) -name '*.java' | sort> $@ >> @@ -590,13 +597,167 @@ >> class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ >> class_names="$$class_names $$class_name" ; \ >> done ; \ >> - echo $$class_names ; \ >> + echo $$class_names> $(UNIT_CLASS_NAMES); \ > > Perhaps you should split this into a new target that generates $(UNIT_CLASS_NAMES), so this target and run-unit-test-code-coverage can depend on it? done > >> CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ >> $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ >> > stdout.log 2> stderr.log ; \ >> cat stdout.log ; \ >> - cat stderr.log>&2 >> + cat stderr.log>&2 ; >> -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(NETX_UNIT_TEST_DIR)/tests-output.xml> $(TESTS_DIR)/index_unit.html > > Hm... perhaps we should add a configure check for xsltproc? I will do it later in separate patch, ok? > >> + touch $@ >> + >> +$(NETX_UNIT_TEST_DIR)/coverage.es: run-unit-test-code-coverage >> + >> +run-unit-test-code-coverage: check > > Would it be possible to add more specific dependencies? Fixed. All tests and coverage "top targets" now have are now stamped and have their not-stamped aliases, so this one depends on stamped unit and reproducers coverage-runs now. > >> + if test "$(EMMA_AVAILABLE)" = "true"; then \ > > We tend to do a makefile 'if' instead of a shell 'if'. > > if WITH_EMMA > ... > endif > > As a bonus you will get rid of lots of "; \" :) done > >> + echo "warning, this can rewrite tests.build/netx/unit/tests-output.xml, but not coresponding html file"; \ >> + echo "xml results run from emma sandbox, however, can be wrong" ; \ > > Perhaps we should address this by either writing to another file rather than tests-output.xml or making sure the emma results are coorect? It was already done in previous version, I forgot to change hints. I'm backuping original xml file, then renaming new one to _withEmma and restoring previous one. I have fixed the hints, so this xhould be fixed. > >> + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma ; \ >> + cd $(NETX_UNIT_TEST_DIR) ; \ >> + class_names=`cat $(UNIT_CLASS_NAMES)` ; \ >> + $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) -cp $(EMMA_JAR) -Demma.report.html.out.encoding=UTF-8 emmarun \ >> + -Dreport.html.out.encoding=UTF-8 \ > > Are the properties duplicated on purpose? Yes. By some bug in emma, the first is setting encoding of output stream, and second is setting value of html tag encoding:-/ > >> + -raw \ >> + -sp $(NETX_SRCDIR) \ >> + -sp $(NETX_UNIT_TEST_SRCDIR) \ >> + -sp $(JUNIT_RUNNER_SRCDIR) \ >> + -r html \ >> + -r xml \ >> + -cp $(NETX_DIR)/lib/classes.jar \ >> + -cp $(JUNIT_JAR) \ >> + -cp $(JUNIT_RUNNER_JAR) \ >> + -cp $(BOOT_DIR)/jre/lib/rt.jar \ >> + -cp $(BOOT_DIR)/jre/lib/jsse.jar \ >> + -cp $(RHINO_RUNTIME) \ >> + -cp . \ >> + -ix "-org.junit.*" \ >> + -ix "-junit.*" \ >> + CommandLine $$class_names ; \ >> + echo "you can add -ix "-*Test*" -ix "-*test*" to ignore all test cases from statistics." ; \ > > I would rather avoid these echo commands telling a user how to modify the makefile. Perhaps a comment might be useful instead? Moved to Makefile.am comment > >> + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output_withEmma.xml ; \ >> + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma $(NETX_UNIT_TEST_DIR)/tests-output.xml ; \ >> + else \ >> + echo "Sorry, coverage report cant be run without emma installed. Try install emma or specify with-emma value" ; \ > > Perhaps you might want to invoke false here so "make run-unit-test-code-coverage" fails? I have added exit -5. Enough? > >> + fi >> + touch $@ >> + >> +$(JNLP_TESTS_ENGINE_DIR)/coverage.es: run-reproducers-test-code-coverage >> + >> +run-reproducers-test-code-coverage: stamps/run-netx-dist-tests >> + if test "$(EMMA_AVAILABLE)" = "true"; then \ >> + echo "warning, this can rewrite tests.build/netx/jnlp_testsengine/tests-output.xml, but not coresponding html file" ; \ >> + echo "xml results run from emma sandbox, however, can be wrong" ; \ >> + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml_noEmma ; \ >> + echo "backuping javaws and netx.jar in $(DESTDIR)" ; \ >> + netx_backup=$(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx_backup.jar ; \ >> + javaws_backup=$(DESTDIR)$(bindir)/javaws_backup ; \ >> + mv $(DESTDIR)$(bindir)/javaws $$javaws_backup ; \ >> + mv $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar $$netx_backup ; \ > > I dont think playing with files inside $(bindir) and/or $(datadir) is a good idea. The files may be read-only at this point if the user does something like this: According our discussion on IRC, I still think this is best idea. Any more ideas more then welcomed. > $ make > # make install > $ make run-reproducers-test-code-coverage > >> @@ -611,6 +772,9 @@ >> clean-netx-unit-tests: clean_tests_reports >> rm -f netx-unit-tests-source-files.txt >> rm -rf $(NETX_UNIT_TEST_DIR) >> + rm -f $(UNIT_CLASS_NAMES) >> + -rm -f run-unit-test-code-coverage >> + -rm -f run-netx-unit-tests > > Is the "-" in "-rm" required? -f means force so rm should not fail if the file is missing. Yes, it was required > >> rm -f stamps/netx-unit-tests-compile.stamp >> >> clean_tests_reports: >> @@ -629,7 +793,10 @@ >> rm -f stamps/netx-dist-tests-sign-some-reproducers.stamp >> rm -f junit-jnlp-dist-simple.txt >> rm -f junit-jnlp-dist-signed.txt >> + rm -f $(REPRODUCERS_CLASS_NAMES) >> rm -f $(abs_top_builddir)/$(KEYSTORE_NAME) >> + -rm -f run-reproducers-test-code-coverage >> + rm -f stamps/run-netx-dist-tests >> >> # plugin tests >> > > Cheers, > Omair Best regards, and TYVM for review , J -------------- next part -------------- A non-text attachment was scrubbed... Name: testCoverageUponHead3.diff Type: text/x-patch Size: 18397 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111128/10736391/testCoverageUponHead3.diff From jvanek at redhat.com Mon Nov 28 09:14:47 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 28 Nov 2011 18:14:47 +0100 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4ECA7ACB.1030207@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> <4ECA7ACB.1030207@redhat.com> Message-ID: <4ED3C187.7080903@redhat.com> 2011-11-28 Jiri Vanek <jvanek at redhat.com> Added code-coverage generation targets * configure.ac: added search for optional emma.jar * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables to store tests clases for reuse in emmarun. UNIT_CLASS_NAMES also moved to separate target (run-netx-unit-tests): made dependent on reused stamped version (run-netx-dist-tests): made dependent on reused stamped version (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests (run-unit-test-code-coverage) targets to generate report from unit-tests. Result binary and xml file and html report in tests.build/netx/unit (run-reproducers-test-code-coverage) targets to generate report from reproducers-test. Result binary file, xml and html report in tests.build/netx/jnlp_testsengine (run-test-code-coverage): merges binary results from unit and reproducers (clean-unit-test-code-coverage) conditionaly removes html,xml report and es and ec files from tests.build/netx/unit (clean-reproducers-test-code-coverage) condtionlay removes html and xml report and es file from tests.build/netx/jnlp_testsengine (clean-test-code-coverage) conditionlay removes merged html, xml es and em files from tests.build (clean-netx-tests) now depends also on clean-test-code-coverage forgotten changelog J. From omajid at redhat.com Mon Nov 28 10:25:52 2011 From: omajid at redhat.com (Omair Majid) Date: Mon, 28 Nov 2011 13:25:52 -0500 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4ED3BA59.3050504@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> <4ECA7ACB.1030207@redhat.com> <4ED3BA59.3050504@redhat.com> Message-ID: <4ED3D230.9000603@redhat.com> On 11/28/2011 11:44 AM, Jiri Vanek wrote: > TYVM for review! > > I have fixed most of the issues you suggested. > The one we talked about on IRC - touching files in prefix/bin . I still > think its the best aproach. Test coverage should be run in "test run" > prefix, and with configuration nearest to final one. I have found no > better solution (copying prefix...) then this one to fulfil it more. > > Except fixes you have suggested, there are (inspired by your review) > two mayor changes - final result is now in test.built instead of > abs_top_build_dir and coverage targets have their own clean, instead of > chaotic '-rm ' as it was before. > >>> CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. >>> \ >>> $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) CommandLine >>> $$class_names \ >>> > stdout.log 2> stderr.log ; \ >>> cat stdout.log ; \ >>> - cat stderr.log>&2 >>> + cat stderr.log>&2 ; >>> -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl >>> $(NETX_UNIT_TEST_DIR)/tests-output.xml> $(TESTS_DIR)/index_unit.html >> >> Hm... perhaps we should add a configure check for xsltproc? > I will do it later in separate patch, ok? Sure. >> >>> + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml >>> $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma ; \ >>> + cd $(NETX_UNIT_TEST_DIR) ; \ >>> + class_names=`cat $(UNIT_CLASS_NAMES)` ; \ >>> + $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) -cp $(EMMA_JAR) >>> -Demma.report.html.out.encoding=UTF-8 emmarun \ >>> + -Dreport.html.out.encoding=UTF-8 \ >> >> Are the properties duplicated on purpose? > Yes. By some bug in emma, the first is setting encoding of output > stream, and second is setting value of html tag encoding:-/ Wow, emma's documentation (http://emma.sourceforge.net/reference/ch03.html) is _very_ misleading then. >> >>> + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml >>> $(NETX_UNIT_TEST_DIR)/tests-output_withEmma.xml ; \ >>> + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma >>> $(NETX_UNIT_TEST_DIR)/tests-output.xml ; \ >>> + else \ >>> + echo "Sorry, coverage report cant be run without emma installed. >>> Try install emma or specify with-emma value" ; \ >> >> Perhaps you might want to invoke false here so "make >> run-unit-test-code-coverage" fails? > I have added exit -5. Enough? Exit codes are normally in the range [0,255]. >> >>> + fi >>> + touch $@ >>> + >>> +$(JNLP_TESTS_ENGINE_DIR)/coverage.es: >>> run-reproducers-test-code-coverage >>> + >>> +run-reproducers-test-code-coverage: stamps/run-netx-dist-tests >>> + if test "$(EMMA_AVAILABLE)" = "true"; then \ >>> + echo "warning, this can rewrite >>> tests.build/netx/jnlp_testsengine/tests-output.xml, but not >>> coresponding html file" ; \ >>> + echo "xml results run from emma sandbox, however, can be wrong" ; \ >>> + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml >>> $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml_noEmma ; \ >>> + echo "backuping javaws and netx.jar in $(DESTDIR)" ; \ >>> + netx_backup=$(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx_backup.jar ; \ >>> + javaws_backup=$(DESTDIR)$(bindir)/javaws_backup ; \ >>> + mv $(DESTDIR)$(bindir)/javaws $$javaws_backup ; \ >>> + mv $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar $$netx_backup ; \ >> >> I dont think playing with files inside $(bindir) and/or $(datadir) is >> a good idea. The files may be read-only at this point if the user does >> something like this: > > According our discussion on IRC, I still think this is best idea. > Any more ideas more then welcomed. Okay, I guess we can do this for now. >> $ make >> # make install >> $ make run-reproducers-test-code-coverage >> >>> @@ -611,6 +772,9 @@ >>> clean-netx-unit-tests: clean_tests_reports >>> rm -f netx-unit-tests-source-files.txt >>> rm -rf $(NETX_UNIT_TEST_DIR) >>> + rm -f $(UNIT_CLASS_NAMES) >>> + -rm -f run-unit-test-code-coverage >>> + -rm -f run-netx-unit-tests >> >> Is the "-" in "-rm" required? -f means force so rm should not fail if >> the file is missing. > Yes, it was required I am quite surprised. Do you have a way to reproduce this? >> >>> rm -f stamps/netx-unit-tests-compile.stamp >>> >>> clean_tests_reports: >>> @@ -629,7 +793,10 @@ >>> rm -f stamps/netx-dist-tests-sign-some-reproducers.stamp >>> rm -f junit-jnlp-dist-simple.txt >>> rm -f junit-jnlp-dist-signed.txt >>> + rm -f $(REPRODUCERS_CLASS_NAMES) >>> rm -f $(abs_top_builddir)/$(KEYSTORE_NAME) >>> + -rm -f run-reproducers-test-code-coverage >>> + rm -f stamps/run-netx-dist-tests >>> >>> # plugin tests >>> >> >> Cheers, >> Omair > > Best regards, and TYVM for review , J > > > testCoverageUponHead3.diff > > > diff -r 22db4e09bbc7 Makefile.am > --- a/Makefile.am Fri Nov 11 14:40:26 2011 +0100 > +++ b/Makefile.am Mon Nov 28 17:26:35 2011 +0100 > @@ -25,6 +25,8 @@ > KEYSTORE_NAME=teststore.ks > > JUNIT_RUNNER_JAR=$(abs_top_builddir)/junit-runner.jar > +UNIT_CLASS_NAMES = $(abs_top_builddir)/unit_class_names > +REPRODUCERS_CLASS_NAMES = $(abs_top_builddir)/reproducers_class_names > > # Build directories > > @@ -106,7 +108,7 @@ > endif > > if WITH_JUNIT > - JUNIT_TESTS=run-netx-unit-tests > + JUNIT_TESTS=stamps/run-netx-unit-tests.stamp > else > JUNIT_TESTS= > endif > @@ -146,7 +148,7 @@ > > .PHONY: clean-IcedTeaPlugin clean-add-netx clean-add-netx-debug clean-add-plugin clean-add-plugin-debug \ > clean-bootstrap-directory clean-native-ecj clean-desktop-files clean-netx-docs clean-docs clean-plugin-docs \ > - clean-tests check-local clean-launchers check-pac-functions run-netx-unit-tests clean-netx-tests \ > + clean-tests check-local clean-launchers check-pac-functions stamps/run-netx-unit-tests.stamp clean-netx-tests \ > clean-junit-runner clean-netx-unit-tests > > install-exec-local: > @@ -539,7 +541,10 @@ > mkdir -p stamps&& \ > touch $@ > > -run-netx-dist-tests: all-local stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ > + > +stamps/run-netx-dist-tests.stamp: stamps/netx-dist.stamp extra-lib/about.jar stamps/plugin.stamp launcher.build/$(javaws) \ > + javaws.desktop stamps/docs.stamp launcher.build/$(itweb_settings) itweb-settings.desktop \ > + stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ > stamps/netx-dist-tests-compile.stamp stamps/netx-dist-tests-compile-testcases.stamp $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) > cd $(JNLP_TESTS_ENGINE_DIR) ; \ > class_names= ; \ > @@ -548,7 +553,7 @@ > class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ > class_names="$$class_names $$class_name" ; \ > done ; \ > - echo $$class_names ; \ > + echo $$class_names> $(REPRODUCERS_CLASS_NAMES) ; \ Can we also make this a separate target? Cheers, Omair From andrew at icedtea.classpath.org Mon Nov 28 12:07:12 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 28 Nov 2011 20:07:12 +0000 Subject: /hg/icedtea6: 8 new changesets Message-ID: <hg.8bddd11809ac.1322510832.2873452341184383832@icedtea.classpath.org> changeset 8bddd11809ac in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8bddd11809ac author: Andrew John Hughes <ahughes at redhat.com> date: Fri Sep 09 00:03:53 2011 +0100 Drop 6578583; upstreamed. 2011-09-08 Andrew John Hughes <ahughes at redhat.com> * patches/openjdk/6578583-modality-broken-vista.patch: Removed. * Makefile.am: Drop above patch, upstreamed. changeset 57c656c119a0 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=57c656c119a0 author: Andrew John Hughes <ahughes at redhat.com> date: Wed Oct 19 07:14:21 2011 +0100 Merge changeset 673afdf27162 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=673afdf27162 author: Andrew John Hughes <ahughes at redhat.com> date: Fri Oct 21 15:08:51 2011 +0100 Merge changeset 50d0d5edf291 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=50d0d5edf291 author: Andrew John Hughes <ahughes at redhat.com> date: Fri Nov 18 20:25:16 2011 +0000 Merge changeset 8ab75c7a55b2 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8ab75c7a55b2 author: Andrew John Hughes <ahughes at redhat.com> date: Fri Nov 25 18:08:27 2011 +0000 Update to work with upstreamed security patches. 2011-11-24 Andrew John Hughes <ahughes at redhat.com> * patches/security/20111018/7000600.patch, * patches/security/20111018/7019773.patch, * patches/security/20111018/7023640.patch, * patches/security/20111018/7032417.patch, * patches/security/20111018/7046794.patch, * patches/security/20111018/7046823.patch, * patches/security/20111018/7055902.patch, * patches/security/20111018/7057857.patch, * patches/security/20111018/7064341.patch, * patches/security/20111018/7070134.patch, * patches/security/20111018/7077466.patch, * patches/security/20111018/7083012.patch, * patches/security/20111018/7096936.patch: Drop patches applied upstream. * Makefile.am: (JAXWS_DROP_ZIP): Updated. (JAXWS_DROP_SHA256SUM): Likewise. (SECURITY_PATCHES): Set empty (upstream). * patches/rhino.patch, * patches/xjc.patch: Rewritten to work with upstream security patches. changeset 7cf477a31057 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=7cf477a31057 author: Andrew John Hughes <ahughes at redhat.com> date: Mon Nov 28 19:57:17 2011 +0000 Bump to b24. 2011-11-25 Andrew John Hughes <ahughes at redhat.com> * Makefile.am: (OPENJDK_DATE): Bump to b24. (OPENJDK_SHA256SUM): Likewise. (OPENJDK_VERSION): Likewise. changeset a62e12e2bb79 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=a62e12e2bb79 author: Andrew John Hughes <ahughes at redhat.com> date: Mon Nov 28 20:06:01 2011 +0000 Update NEWS with b24 changes. 2011-11-28 Andrew John Hughes <ahughes at redhat.com> * NEWS: Add changes in b24. changeset 0a0072170876 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=0a0072170876 author: Andrew John Hughes <ahughes at redhat.com> date: Mon Nov 28 20:06:41 2011 +0000 Remove inaccurate NEWS line about ARM assembler being removed. 2011-11-28 Andrew John Hughes <ahughes at redhat.com> * NEWS: Remove inaccurate line about ARM assembler. diffstat: ChangeLog | 1491 + Makefile.am | 141 +- NEWS | 96 +- acinclude.m4 | 89 + arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp | 614 + arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def | 7696 ++++++++++ arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S | 6733 ++++++++ arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp | 7553 +++++++++ arm_port/hotspot/tools/mkbc.c | 607 + configure.ac | 4 + jtreg/JavaTest.cmdMgrs.lst | 34 + jtreg/JavaTest.toolMgrs.lst | 30 + jtreg/META-INF/MANIFEST.MF | 3 + jtreg/README | 33 + jtreg/com/sun/interview/AllFilesFileFilter.java | 60 + jtreg/com/sun/interview/Checklist.java | 124 + jtreg/com/sun/interview/ChoiceArrayQuestion.java | 385 + jtreg/com/sun/interview/ChoiceQuestion.java | 380 + jtreg/com/sun/interview/CompositeQuestion.java | 63 + jtreg/com/sun/interview/DirectoryFileFilter.java | 61 + jtreg/com/sun/interview/ErrorQuestion.java | 56 + jtreg/com/sun/interview/ExtensionFileFilter.java | 162 + jtreg/com/sun/interview/FileFilter.java | 53 + jtreg/com/sun/interview/FileListQuestion.java | 376 + jtreg/com/sun/interview/FileQuestion.java | 299 + jtreg/com/sun/interview/FilesAndDirectoriesFileFilter.java | 61 + jtreg/com/sun/interview/FinalQuestion.java | 63 + jtreg/com/sun/interview/FloatQuestion.java | 399 + jtreg/com/sun/interview/InetAddressQuestion.java | 408 + jtreg/com/sun/interview/IntQuestion.java | 376 + jtreg/com/sun/interview/Interview.java | 2397 +++ jtreg/com/sun/interview/InterviewQuestion.java | 126 + jtreg/com/sun/interview/InterviewSet.java | 262 + jtreg/com/sun/interview/ListQuestion.java | 637 + jtreg/com/sun/interview/NullQuestion.java | 174 + jtreg/com/sun/interview/Properties2.java | 346 + jtreg/com/sun/interview/PropertiesQuestion.java | 1420 + jtreg/com/sun/interview/Question.java | 513 + jtreg/com/sun/interview/StringListQuestion.java | 284 + jtreg/com/sun/interview/StringQuestion.java | 230 + jtreg/com/sun/interview/TreeQuestion.java | 388 + jtreg/com/sun/interview/WizEdit.java | 346 + jtreg/com/sun/interview/WizPrint.java | 1091 + jtreg/com/sun/interview/YesNoQuestion.java | 94 + jtreg/com/sun/interview/i18n.properties | 86 + jtreg/com/sun/interview/package.html | 142 + jtreg/com/sun/interview/wizard/ActionDocListener.java | 59 + jtreg/com/sun/interview/wizard/ActionListDataListener.java | 59 + jtreg/com/sun/interview/wizard/ChoiceArrayQuestionRenderer.java | 214 + jtreg/com/sun/interview/wizard/ChoiceQuestionRenderer.java | 246 + jtreg/com/sun/interview/wizard/EditableList.java | 368 + jtreg/com/sun/interview/wizard/Exporter.java | 74 + jtreg/com/sun/interview/wizard/FileList.java | 134 + jtreg/com/sun/interview/wizard/FileListQuestionRenderer.java | 113 + jtreg/com/sun/interview/wizard/FileQuestionRenderer.java | 163 + jtreg/com/sun/interview/wizard/FloatQuestionRenderer.java | 196 + jtreg/com/sun/interview/wizard/I18NResourceBundle.java | 185 + jtreg/com/sun/interview/wizard/InetAddressQuestionRenderer.java | 392 + jtreg/com/sun/interview/wizard/InfoPanel.java | 89 + jtreg/com/sun/interview/wizard/IntQuestionRenderer.java | 165 + jtreg/com/sun/interview/wizard/ListQuestionRenderer.java | 244 + jtreg/com/sun/interview/wizard/NullQuestionRenderer.java | 43 + jtreg/com/sun/interview/wizard/PathPanel.java | 1192 + jtreg/com/sun/interview/wizard/PropertiesQuestionRenderer.java | 341 + jtreg/com/sun/interview/wizard/QuestionPanel.java | 668 + jtreg/com/sun/interview/wizard/QuestionRenderer.java | 70 + jtreg/com/sun/interview/wizard/RenderingUtilities.java | 460 + jtreg/com/sun/interview/wizard/SearchDialog.java | 330 + jtreg/com/sun/interview/wizard/StringListQuestionRenderer.java | 78 + jtreg/com/sun/interview/wizard/StringQuestionRenderer.java | 104 + jtreg/com/sun/interview/wizard/SwingFileFilter.java | 61 + jtreg/com/sun/interview/wizard/TreeQuestionRenderer.java | 701 + jtreg/com/sun/interview/wizard/TypeInPanel.java | 159 + jtreg/com/sun/interview/wizard/WizPane.java | 517 + jtreg/com/sun/interview/wizard/Wizard.java | 1095 + jtreg/com/sun/interview/wizard/YesNoQuestionRenderer.java | 126 + jtreg/com/sun/interview/wizard/arrow.gif | 0 jtreg/com/sun/interview/wizard/back.gif | 0 jtreg/com/sun/interview/wizard/blank.gif | 0 jtreg/com/sun/interview/wizard/cancel.gif | 0 jtreg/com/sun/interview/wizard/check.gif | 0 jtreg/com/sun/interview/wizard/done.gif | 0 jtreg/com/sun/interview/wizard/find.gif | 0 jtreg/com/sun/interview/wizard/history.gif | 0 jtreg/com/sun/interview/wizard/i18n.properties | 294 + jtreg/com/sun/interview/wizard/info.gif | 0 jtreg/com/sun/interview/wizard/next.gif | 0 jtreg/com/sun/interview/wizard/package.html | 57 + jtreg/com/sun/javatest/AllTestsFilter.java | 52 + jtreg/com/sun/javatest/BasicParameters.java | 817 + jtreg/com/sun/javatest/Command.java | 72 + jtreg/com/sun/javatest/CompositeFilter.java | 234 + jtreg/com/sun/javatest/DefaultTestRunner.java | 254 + jtreg/com/sun/javatest/Deprecated.java | 45 + jtreg/com/sun/javatest/EditJTI.java | 713 + jtreg/com/sun/javatest/EditLinks.java | 564 + jtreg/com/sun/javatest/ExcludeList.java | 1212 + jtreg/com/sun/javatest/ExcludeListFilter.java | 81 + jtreg/com/sun/javatest/ExcludeListUpdateHandler.java | 167 + jtreg/com/sun/javatest/FileParameters.java | 571 + jtreg/com/sun/javatest/Harness.java | 964 + jtreg/com/sun/javatest/HarnessHttpHandler.java | 590 + jtreg/com/sun/javatest/InitialUrlFilter.java | 170 + jtreg/com/sun/javatest/InterviewParameters.java | 1676 ++ jtreg/com/sun/javatest/InterviewPropagator.java | 821 + jtreg/com/sun/javatest/JavaTestError.java | 224 + jtreg/com/sun/javatest/JavaTestSecurityManager.java | 204 + jtreg/com/sun/javatest/Keywords.java | 595 + jtreg/com/sun/javatest/KeywordsFilter.java | 80 + jtreg/com/sun/javatest/LastRunFilter.java | 145 + jtreg/com/sun/javatest/LastRunInfo.java | 176 + jtreg/com/sun/javatest/ObservableTestFilter.java | 82 + jtreg/com/sun/javatest/Parameters.java | 948 + jtreg/com/sun/javatest/ProductInfo.java | 200 + jtreg/com/sun/javatest/ResourceTable.java | 118 + jtreg/com/sun/javatest/Script.java | 1350 + jtreg/com/sun/javatest/Status.java | 361 + jtreg/com/sun/javatest/StatusFilter.java | 124 + jtreg/com/sun/javatest/TRT_HttpHandler.java | 210 + jtreg/com/sun/javatest/TRT_Iterator.java | 954 + jtreg/com/sun/javatest/TRT_TreeNode.java | 1749 ++ jtreg/com/sun/javatest/TemplateUtilities.java | 218 + jtreg/com/sun/javatest/Test.java | 64 + jtreg/com/sun/javatest/TestDescription.java | 576 + jtreg/com/sun/javatest/TestEnvContext.java | 356 + jtreg/com/sun/javatest/TestEnvironment.java | 692 + jtreg/com/sun/javatest/TestFilter.java | 139 + jtreg/com/sun/javatest/TestFinder.java | 738 + jtreg/com/sun/javatest/TestFinderQueue.java | 714 + jtreg/com/sun/javatest/TestResult.java | 2685 +++ jtreg/com/sun/javatest/TestResultCache.java | 815 + jtreg/com/sun/javatest/TestResultTable.java | 2938 +++ jtreg/com/sun/javatest/TestRunner.java | 227 + jtreg/com/sun/javatest/TestSuite.java | 1344 + jtreg/com/sun/javatest/Trace.java | 175 + jtreg/com/sun/javatest/WorkDirectory.java | 942 + jtreg/com/sun/javatest/agent/ActiveAgentCommand.java | 117 + jtreg/com/sun/javatest/agent/ActiveAgentPool.java | 647 + jtreg/com/sun/javatest/agent/ActiveConnectionFactory.java | 88 + jtreg/com/sun/javatest/agent/ActiveModeOptions.java | 79 + jtreg/com/sun/javatest/agent/Agent.java | 1162 + jtreg/com/sun/javatest/agent/AgentApplet.java | 304 + jtreg/com/sun/javatest/agent/AgentClassLoader.java | 88 + jtreg/com/sun/javatest/agent/AgentClassLoader2.java | 63 + jtreg/com/sun/javatest/agent/AgentFrame.java | 337 + jtreg/com/sun/javatest/agent/AgentMain.java | 556 + jtreg/com/sun/javatest/agent/AgentManager.java | 646 + jtreg/com/sun/javatest/agent/AgentMonitorCommandManager.java | 231 + jtreg/com/sun/javatest/agent/AgentMonitorTool.java | 516 + jtreg/com/sun/javatest/agent/AgentMonitorToolManager.java | 111 + jtreg/com/sun/javatest/agent/AgentPanel.java | 1048 + jtreg/com/sun/javatest/agent/BadValue.java | 65 + jtreg/com/sun/javatest/agent/Connection.java | 83 + jtreg/com/sun/javatest/agent/ConnectionFactory.java | 88 + jtreg/com/sun/javatest/agent/Deck.java | 96 + jtreg/com/sun/javatest/agent/Deprecated.java | 52 + jtreg/com/sun/javatest/agent/Folder.java | 343 + jtreg/com/sun/javatest/agent/Icon.java | 114 + jtreg/com/sun/javatest/agent/InterruptableSocketConnection.java | 134 + jtreg/com/sun/javatest/agent/Map.java | 197 + jtreg/com/sun/javatest/agent/ModeOptions.java | 56 + jtreg/com/sun/javatest/agent/PassiveAgentCommand.java | 135 + jtreg/com/sun/javatest/agent/PassiveConnectionFactory.java | 91 + jtreg/com/sun/javatest/agent/PassiveModeOptions.java | 73 + jtreg/com/sun/javatest/agent/SocketConnection.java | 169 + jtreg/com/sun/javatest/agent/i18n.properties | 95 + jtreg/com/sun/javatest/agent/jticon.gif | 0 jtreg/com/sun/javatest/agent/package.html | 60 + jtreg/com/sun/javatest/audit/Audit.java | 739 + jtreg/com/sun/javatest/audit/AuditCommandManager.java | 140 + jtreg/com/sun/javatest/audit/AuditPane.java | 82 + jtreg/com/sun/javatest/audit/AuditTool.java | 373 + jtreg/com/sun/javatest/audit/AuditToolManager.java | 105 + jtreg/com/sun/javatest/audit/BadChecksumPane.java | 47 + jtreg/com/sun/javatest/audit/BadTestCaseTestsPane.java | 48 + jtreg/com/sun/javatest/audit/BadTestDescriptionPane.java | 47 + jtreg/com/sun/javatest/audit/BadTestsPane.java | 47 + jtreg/com/sun/javatest/audit/ListPane.java | 100 + jtreg/com/sun/javatest/audit/OptionsDialog.java | 371 + jtreg/com/sun/javatest/audit/SummaryPane.java | 287 + jtreg/com/sun/javatest/audit/i18n.properties | 189 + jtreg/com/sun/javatest/audit/images/dotdotdot.gif | 0 jtreg/com/sun/javatest/audit/package.html | 44 + jtreg/com/sun/javatest/batch/BatchManager.java | 119 + jtreg/com/sun/javatest/batch/ObserverCommand.java | 182 + jtreg/com/sun/javatest/batch/RunTestsCommand.java | 416 + jtreg/com/sun/javatest/batch/i18n.properties | 75 + jtreg/com/sun/javatest/batch/package.html | 44 + jtreg/com/sun/javatest/cof/COF1_0.xsd | 548 + jtreg/com/sun/javatest/cof/COF2_0_2.xsd | 779 + jtreg/com/sun/javatest/cof/COFApplication.java | 102 + jtreg/com/sun/javatest/cof/COFApplications.java | 69 + jtreg/com/sun/javatest/cof/COFData.java | 94 + jtreg/com/sun/javatest/cof/COFEnvironment.java | 584 + jtreg/com/sun/javatest/cof/COFEnvironments.java | 124 + jtreg/com/sun/javatest/cof/COFItem.java | 170 + jtreg/com/sun/javatest/cof/COFOS.java | 178 + jtreg/com/sun/javatest/cof/COFReportAnnotation.java | 160 + jtreg/com/sun/javatest/cof/COFReportAnnotations.java | 114 + jtreg/com/sun/javatest/cof/COFSWEntities.java | 114 + jtreg/com/sun/javatest/cof/COFSWEntity.java | 248 + jtreg/com/sun/javatest/cof/COFStatus.java | 193 + jtreg/com/sun/javatest/cof/COFTest.java | 594 + jtreg/com/sun/javatest/cof/COFTestAttribute.java | 181 + jtreg/com/sun/javatest/cof/COFTestAttributes.java | 116 + jtreg/com/sun/javatest/cof/COFTestCase.java | 346 + jtreg/com/sun/javatest/cof/COFTestCases.java | 133 + jtreg/com/sun/javatest/cof/COFTestSuite.java | 143 + jtreg/com/sun/javatest/cof/COFTestSuites.java | 126 + jtreg/com/sun/javatest/cof/ID.java | 56 + jtreg/com/sun/javatest/cof/Main.java | 377 + jtreg/com/sun/javatest/cof/Report.java | 424 + jtreg/com/sun/javatest/cof/i18n.properties | 54 + jtreg/com/sun/javatest/diff/Diff.java | 161 + jtreg/com/sun/javatest/diff/DiffReader.java | 40 + jtreg/com/sun/javatest/diff/Fault.java | 40 + jtreg/com/sun/javatest/diff/HTMLReporter.java | 351 + jtreg/com/sun/javatest/diff/HTMLWriter.java | 558 + jtreg/com/sun/javatest/diff/Help.java | 445 + jtreg/com/sun/javatest/diff/Main.java | 219 + jtreg/com/sun/javatest/diff/MultiMap.java | 173 + jtreg/com/sun/javatest/diff/ReportReader.java | 126 + jtreg/com/sun/javatest/diff/Reporter.java | 76 + jtreg/com/sun/javatest/diff/SimpleReporter.java | 163 + jtreg/com/sun/javatest/diff/StandardDiff.java | 42 + jtreg/com/sun/javatest/diff/StatusComparator.java | 79 + jtreg/com/sun/javatest/diff/SuperDiff.java | 342 + jtreg/com/sun/javatest/diff/WorkDirectoryReader.java | 113 + jtreg/com/sun/javatest/diff/i18n.properties | 153 + jtreg/com/sun/javatest/exec/AbstractCellEditor.java | 87 + jtreg/com/sun/javatest/exec/AccessWrapper.java | 73 + jtreg/com/sun/javatest/exec/BP_BranchSubpanel.java | 96 + jtreg/com/sun/javatest/exec/BP_DocumentationSubpanel.java | 107 + jtreg/com/sun/javatest/exec/BP_FilteredOutSubpanel.java | 926 + jtreg/com/sun/javatest/exec/BP_Model.java | 78 + jtreg/com/sun/javatest/exec/BP_SummarySubpanel.java | 980 + jtreg/com/sun/javatest/exec/BP_TestListSubpanel.java | 1353 + jtreg/com/sun/javatest/exec/BasicCustomTestFilter.java | 1077 + jtreg/com/sun/javatest/exec/BranchPanel.java | 579 + jtreg/com/sun/javatest/exec/CE_EnvironmentPane.java | 276 + jtreg/com/sun/javatest/exec/CE_ExcludeListPane.java | 612 + jtreg/com/sun/javatest/exec/CE_ExecutionPane.java | 253 + jtreg/com/sun/javatest/exec/CE_FullView.java | 265 + jtreg/com/sun/javatest/exec/CE_KeywordsPane.java | 527 + jtreg/com/sun/javatest/exec/CE_PriorStatusPane.java | 203 + jtreg/com/sun/javatest/exec/CE_StdPane.java | 82 + jtreg/com/sun/javatest/exec/CE_StdView.java | 274 + jtreg/com/sun/javatest/exec/CE_TemplateDialog.java | 320 + jtreg/com/sun/javatest/exec/CE_TestsPane.java | 255 + jtreg/com/sun/javatest/exec/CE_View.java | 72 + jtreg/com/sun/javatest/exec/ChecklistBrowser.java | 296 + jtreg/com/sun/javatest/exec/ConfigEditor.java | 1401 + jtreg/com/sun/javatest/exec/ConfigHandler.java | 1198 + jtreg/com/sun/javatest/exec/ConfigurableTestFilter.java | 209 + jtreg/com/sun/javatest/exec/ContextManager.java | 583 + jtreg/com/sun/javatest/exec/CustomTestResultViewer.java | 104 + jtreg/com/sun/javatest/exec/DetailsBrowser.java | 154 + jtreg/com/sun/javatest/exec/ET_FilterHandler.java | 591 + jtreg/com/sun/javatest/exec/ElapsedTimeMonitor.java | 221 + jtreg/com/sun/javatest/exec/EnvironmentBrowser.java | 351 + jtreg/com/sun/javatest/exec/ExcludeListBrowser.java | 371 + jtreg/com/sun/javatest/exec/ExecModel.java | 93 + jtreg/com/sun/javatest/exec/ExecTool.java | 1471 + jtreg/com/sun/javatest/exec/ExecToolManager.java | 815 + jtreg/com/sun/javatest/exec/FeatureManager.java | 89 + jtreg/com/sun/javatest/exec/FileSystemTableModel.java | 245 + jtreg/com/sun/javatest/exec/FileTable.java | 99 + jtreg/com/sun/javatest/exec/FileType.java | 85 + jtreg/com/sun/javatest/exec/FilesPane.java | 134 + jtreg/com/sun/javatest/exec/FilterConfig.java | 858 + jtreg/com/sun/javatest/exec/FilterSelectionHandler.java | 425 + jtreg/com/sun/javatest/exec/JavaTestContextMenu.java | 134 + jtreg/com/sun/javatest/exec/JavaTestMenuManager.java | 133 + jtreg/com/sun/javatest/exec/JavaTestToolBar.java | 236 + jtreg/com/sun/javatest/exec/LogViewer.java | 1349 + jtreg/com/sun/javatest/exec/LogViewerTools.java | 191 + jtreg/com/sun/javatest/exec/MessageStrip.java | 383 + jtreg/com/sun/javatest/exec/Monitor.java | 60 + jtreg/com/sun/javatest/exec/MonitorState.java | 334 + jtreg/com/sun/javatest/exec/MultiFormatPane.java | 971 + jtreg/com/sun/javatest/exec/MultiSelectPanel.java | 177 + jtreg/com/sun/javatest/exec/NavigationPane.java | 365 + jtreg/com/sun/javatest/exec/NewReportDialog.java | 1428 + jtreg/com/sun/javatest/exec/ParameterFilter.java | 238 + jtreg/com/sun/javatest/exec/PrefsPane.java | 195 + jtreg/com/sun/javatest/exec/ProgressMeter.java | 343 + jtreg/com/sun/javatest/exec/ProgressMonitor.java | 632 + jtreg/com/sun/javatest/exec/PropertiesBrowser.java | 310 + jtreg/com/sun/javatest/exec/QuestionLogBrowser.java | 280 + jtreg/com/sun/javatest/exec/QuickStartWizard.java | 1263 + jtreg/com/sun/javatest/exec/RenderingUtilities.java | 185 + jtreg/com/sun/javatest/exec/ReportBrowser.java | 164 + jtreg/com/sun/javatest/exec/ReportHandler.java | 311 + jtreg/com/sun/javatest/exec/RunProgressMonitor.java | 160 + jtreg/com/sun/javatest/exec/RunTestsHandler.java | 527 + jtreg/com/sun/javatest/exec/TP_CustomSubpanel.java | 53 + jtreg/com/sun/javatest/exec/TP_DescSubpanel.java | 62 + jtreg/com/sun/javatest/exec/TP_DocumentationSubpanel.java | 86 + jtreg/com/sun/javatest/exec/TP_EnvSubpanel.java | 124 + jtreg/com/sun/javatest/exec/TP_FilesSubpanel.java | 84 + jtreg/com/sun/javatest/exec/TP_OutputSubpanel.java | 806 + jtreg/com/sun/javatest/exec/TP_PropertySubpanel.java | 415 + jtreg/com/sun/javatest/exec/TP_ResultsSubpanel.java | 138 + jtreg/com/sun/javatest/exec/TP_Subpanel.java | 78 + jtreg/com/sun/javatest/exec/TT_NodeCache.java | 871 + jtreg/com/sun/javatest/exec/TT_Renderer.java | 329 + jtreg/com/sun/javatest/exec/TU_ViewManager.java | 395 + jtreg/com/sun/javatest/exec/TemplateParameterFilter.java | 119 + jtreg/com/sun/javatest/exec/TestPanel.java | 423 + jtreg/com/sun/javatest/exec/TestSuiteErrorsDialog.java | 124 + jtreg/com/sun/javatest/exec/TestTree.java | 252 + jtreg/com/sun/javatest/exec/TestTreeModel.java | 1243 + jtreg/com/sun/javatest/exec/TestTreePanel.java | 1832 ++ jtreg/com/sun/javatest/exec/ToolBarManager.java | 259 + jtreg/com/sun/javatest/exec/ToolBarPanel.java | 162 + jtreg/com/sun/javatest/exec/TreePanelModel.java | 97 + jtreg/com/sun/javatest/exec/WorkDirChooseTool.java | 1088 + jtreg/com/sun/javatest/exec/i18n.properties | 1837 ++ jtreg/com/sun/javatest/exec/images/Back16.gif | 0 jtreg/com/sun/javatest/exec/images/Back24.gif | 0 jtreg/com/sun/javatest/exec/images/Dir.gif | 0 jtreg/com/sun/javatest/exec/images/Down16.gif | 0 jtreg/com/sun/javatest/exec/images/Down24.gif | 0 jtreg/com/sun/javatest/exec/images/Edit16.gif | 0 jtreg/com/sun/javatest/exec/images/Edit24.gif | 0 jtreg/com/sun/javatest/exec/images/FastForward16.gif | 0 jtreg/com/sun/javatest/exec/images/Find16.gif | 0 jtreg/com/sun/javatest/exec/images/Find24.gif | 0 jtreg/com/sun/javatest/exec/images/FindAgain16.gif | 0 jtreg/com/sun/javatest/exec/images/FindAgain24.gif | 0 jtreg/com/sun/javatest/exec/images/Forward16.gif | 0 jtreg/com/sun/javatest/exec/images/Forward24.gif | 0 jtreg/com/sun/javatest/exec/images/Help16.gif | 0 jtreg/com/sun/javatest/exec/images/Help24.gif | 0 jtreg/com/sun/javatest/exec/images/Home16.gif | 0 jtreg/com/sun/javatest/exec/images/Home24.gif | 0 jtreg/com/sun/javatest/exec/images/Last16.gif | 0 jtreg/com/sun/javatest/exec/images/Pause16.gif | 0 jtreg/com/sun/javatest/exec/images/Pause24.gif | 0 jtreg/com/sun/javatest/exec/images/Play16.gif | 0 jtreg/com/sun/javatest/exec/images/Play24.gif | 0 jtreg/com/sun/javatest/exec/images/Preferences16.gif | 0 jtreg/com/sun/javatest/exec/images/Preferences24.gif | 0 jtreg/com/sun/javatest/exec/images/Print16.gif | 0 jtreg/com/sun/javatest/exec/images/Print24.gif | 0 jtreg/com/sun/javatest/exec/images/Save16.gif | 0 jtreg/com/sun/javatest/exec/images/Save24.gif | 0 jtreg/com/sun/javatest/exec/images/SaveAs16.gif | 0 jtreg/com/sun/javatest/exec/images/SaveAs24.gif | 0 jtreg/com/sun/javatest/exec/images/Stop16.gif | 0 jtreg/com/sun/javatest/exec/images/Stop24.gif | 0 jtreg/com/sun/javatest/exec/images/Up16.gif | 0 jtreg/com/sun/javatest/exec/images/Up24.gif | 0 jtreg/com/sun/javatest/exec/images/UpDir.gif | 0 jtreg/com/sun/javatest/exec/images/drop-down.gif | 0 jtreg/com/sun/javatest/exec/images/fullView.gif | 0 jtreg/com/sun/javatest/exec/images/magnify.gif | 0 jtreg/com/sun/javatest/exec/images/question.gif | 0 jtreg/com/sun/javatest/exec/images/snooze.sm.gif | 0 jtreg/com/sun/javatest/exec/images/stdView.gif | 0 jtreg/com/sun/javatest/exec/images/stream.gif | 0 jtreg/com/sun/javatest/exec/package.html | 43 + jtreg/com/sun/javatest/finder/BinaryTestFinder.java | 547 + jtreg/com/sun/javatest/finder/BinaryTestWriter.java | 860 + jtreg/com/sun/javatest/finder/ChameleonTestFinder.java | 450 + jtreg/com/sun/javatest/finder/CommentStream.java | 85 + jtreg/com/sun/javatest/finder/ExpandTestFinder.java | 348 + jtreg/com/sun/javatest/finder/HTMLCommentStream.java | 84 + jtreg/com/sun/javatest/finder/HTMLTestFinder.java | 627 + jtreg/com/sun/javatest/finder/JavaCommentStream.java | 161 + jtreg/com/sun/javatest/finder/ReverseTestFinder.java | 121 + jtreg/com/sun/javatest/finder/ShScriptCommentStream.java | 83 + jtreg/com/sun/javatest/finder/ShowTests.java | 291 + jtreg/com/sun/javatest/finder/TagTestFinder.java | 388 + jtreg/com/sun/javatest/finder/i18n.properties | 69 + jtreg/com/sun/javatest/finder/package.html | 45 + jtreg/com/sun/javatest/httpd/HttpdServer.java | 194 + jtreg/com/sun/javatest/httpd/JThttpProvider.java | 148 + jtreg/com/sun/javatest/httpd/PageGenerator.java | 252 + jtreg/com/sun/javatest/httpd/ProviderRegistry.java | 494 + jtreg/com/sun/javatest/httpd/RequestHandler.java | 178 + jtreg/com/sun/javatest/httpd/RootRegistry.java | 136 + jtreg/com/sun/javatest/httpd/httpURL.java | 318 + jtreg/com/sun/javatest/httpd/i18n.properties | 45 + jtreg/com/sun/javatest/i18n.properties | 460 + jtreg/com/sun/javatest/interview/BasicInterviewParameters.java | 433 + jtreg/com/sun/javatest/interview/ConcurrencyInterview.java | 104 + jtreg/com/sun/javatest/interview/DefaultInterviewParameters.java | 63 + jtreg/com/sun/javatest/interview/EnvironmentInterview.java | 385 + jtreg/com/sun/javatest/interview/ExcludeListInterview.java | 605 + jtreg/com/sun/javatest/interview/KeywordsInterview.java | 304 + jtreg/com/sun/javatest/interview/LegacyParameters.java | 88 + jtreg/com/sun/javatest/interview/PriorStatusInterview.java | 225 + jtreg/com/sun/javatest/interview/SimpleInterviewParameters.java | 270 + jtreg/com/sun/javatest/interview/TestsInterview.java | 434 + jtreg/com/sun/javatest/interview/TimeoutFactorInterview.java | 106 + jtreg/com/sun/javatest/interview/i18n.properties | 176 + jtreg/com/sun/javatest/interview/package.html | 46 + jtreg/com/sun/javatest/lib/APIScript.java | 114 + jtreg/com/sun/javatest/lib/Deprecated.java | 52 + jtreg/com/sun/javatest/lib/ExecStdTestOtherJVMCmd.java | 77 + jtreg/com/sun/javatest/lib/ExecStdTestSameJVMCmd.java | 155 + jtreg/com/sun/javatest/lib/JavaCompileCommand.java | 317 + jtreg/com/sun/javatest/lib/KeywordScript.java | 235 + jtreg/com/sun/javatest/lib/MultiStatus.java | 246 + jtreg/com/sun/javatest/lib/MultiTest.java | 314 + jtreg/com/sun/javatest/lib/ProcessCommand.java | 462 + jtreg/com/sun/javatest/lib/ReportScript.java | 59 + jtreg/com/sun/javatest/lib/StdTestScript.java | 223 + jtreg/com/sun/javatest/lib/TestCases.java | 275 + jtreg/com/sun/javatest/logging/ErrorDialogHandler.java | 217 + jtreg/com/sun/javatest/logging/FileEvent.java | 51 + jtreg/com/sun/javatest/logging/FileListener.java | 34 + jtreg/com/sun/javatest/logging/FilteredLogModel.java | 392 + jtreg/com/sun/javatest/logging/JTFormatter.java | 104 + jtreg/com/sun/javatest/logging/LogModel.java | 502 + jtreg/com/sun/javatest/logging/LoggerFactory.java | 58 + jtreg/com/sun/javatest/logging/ObservedFile.java | 194 + jtreg/com/sun/javatest/logging/WorkDirLogHandler.java | 148 + jtreg/com/sun/javatest/logging/i18n.properties | 51 + jtreg/com/sun/javatest/mrep/BrowserPane.java | 585 + jtreg/com/sun/javatest/mrep/ConflictResolutionDialog.java | 263 + jtreg/com/sun/javatest/mrep/ConflictResolver.java | 38 + jtreg/com/sun/javatest/mrep/FilesPane.java | 472 + jtreg/com/sun/javatest/mrep/Merger.java | 127 + jtreg/com/sun/javatest/mrep/OptionsDialog.java | 204 + jtreg/com/sun/javatest/mrep/OptionsPane.java | 504 + jtreg/com/sun/javatest/mrep/ReportDirChooser.java | 298 + jtreg/com/sun/javatest/mrep/ReportTool.java | 697 + jtreg/com/sun/javatest/mrep/ReportToolManager.java | 91 + jtreg/com/sun/javatest/mrep/Scheme.java | 100 + jtreg/com/sun/javatest/mrep/TestResultDescr.java | 78 + jtreg/com/sun/javatest/mrep/XMLReportReader.java | 95 + jtreg/com/sun/javatest/mrep/XMLReportWriter.java | 279 + jtreg/com/sun/javatest/mrep/i18n.properties | 200 + jtreg/com/sun/javatest/mrep/images/Back16.gif | 0 jtreg/com/sun/javatest/mrep/images/Forward16.gif | 0 jtreg/com/sun/javatest/mrep/images/Home16.gif | 0 jtreg/com/sun/javatest/mrep/images/dotdotdot.gif | 0 jtreg/com/sun/javatest/package.html | 61 + jtreg/com/sun/javatest/regtest/Action.java | 550 + jtreg/com/sun/javatest/regtest/AntOptionDecoder.java | 93 + jtreg/com/sun/javatest/regtest/AppletAction.java | 631 + jtreg/com/sun/javatest/regtest/AppletWrapper.java | 650 + jtreg/com/sun/javatest/regtest/BadArgs.java | 38 + jtreg/com/sun/javatest/regtest/BuildAction.java | 226 + jtreg/com/sun/javatest/regtest/CheckFiles.java | 150 + jtreg/com/sun/javatest/regtest/CleanAction.java | 146 + jtreg/com/sun/javatest/regtest/CompileAction.java | 701 + jtreg/com/sun/javatest/regtest/GetSystemProperty.java | 40 + jtreg/com/sun/javatest/regtest/Help.java | 490 + jtreg/com/sun/javatest/regtest/IgnoreAction.java | 111 + jtreg/com/sun/javatest/regtest/IgnoreKind.java | 35 + jtreg/com/sun/javatest/regtest/JDK.java | 88 + jtreg/com/sun/javatest/regtest/Main.java | 1842 ++ jtreg/com/sun/javatest/regtest/MainAction.java | 730 + jtreg/com/sun/javatest/regtest/MainWrapper.java | 186 + jtreg/com/sun/javatest/regtest/Option.java | 97 + jtreg/com/sun/javatest/regtest/OptionDecoder.java | 184 + jtreg/com/sun/javatest/regtest/ParseException.java | 51 + jtreg/com/sun/javatest/regtest/Path.java | 164 + jtreg/com/sun/javatest/regtest/RegressionEnvironment.java | 49 + jtreg/com/sun/javatest/regtest/RegressionObserver.java | 327 + jtreg/com/sun/javatest/regtest/RegressionParameters.java | 619 + jtreg/com/sun/javatest/regtest/RegressionScript.java | 964 + jtreg/com/sun/javatest/regtest/RegressionSecurityManager.java | 149 + jtreg/com/sun/javatest/regtest/RegressionTestFinder.java | 569 + jtreg/com/sun/javatest/regtest/RegressionTestSuite.java | 180 + jtreg/com/sun/javatest/regtest/ShellAction.java | 282 + jtreg/com/sun/javatest/regtest/StringArray.java | 182 + jtreg/com/sun/javatest/regtest/StringUtils.java | 45 + jtreg/com/sun/javatest/regtest/TestRunException.java | 52 + jtreg/com/sun/javatest/regtest/Verbose.java | 130 + jtreg/com/sun/javatest/regtest/i18n.properties | 327 + jtreg/com/sun/javatest/report/ConfigSection.java | 510 + jtreg/com/sun/javatest/report/CustomReport.java | 390 + jtreg/com/sun/javatest/report/HTMLReport.java | 292 + jtreg/com/sun/javatest/report/HTMLSection.java | 92 + jtreg/com/sun/javatest/report/PlainTextReport.java | 112 + jtreg/com/sun/javatest/report/Report.java | 1096 + jtreg/com/sun/javatest/report/ReportDirChooser.java | 289 + jtreg/com/sun/javatest/report/ReportFormat.java | 45 + jtreg/com/sun/javatest/report/ReportManager.java | 265 + jtreg/com/sun/javatest/report/ReportModel.java | 34 + jtreg/com/sun/javatest/report/ReportWriter.java | 191 + jtreg/com/sun/javatest/report/ResultSection.java | 263 + jtreg/com/sun/javatest/report/StatisticsSection.java | 228 + jtreg/com/sun/javatest/report/StringArrayComparator.java | 55 + jtreg/com/sun/javatest/report/TestResultsByFileComparator.java | 73 + jtreg/com/sun/javatest/report/TestResultsByStatusAndTitleComparator.java | 58 + jtreg/com/sun/javatest/report/TestResultsByTitleComparator.java | 53 + jtreg/com/sun/javatest/report/XMLReport.java | 471 + jtreg/com/sun/javatest/report/XMLReportMaker.java | 609 + jtreg/com/sun/javatest/report/i18n.properties | 135 + jtreg/com/sun/javatest/report/package.html | 39 + jtreg/com/sun/javatest/stylesheet.css | 33 + jtreg/com/sun/javatest/tool/Command.java | 280 + jtreg/com/sun/javatest/tool/CommandContext.java | 1028 + jtreg/com/sun/javatest/tool/CommandManager.java | 107 + jtreg/com/sun/javatest/tool/CommandParser.java | 343 + jtreg/com/sun/javatest/tool/ConfigManager.java | 1435 + jtreg/com/sun/javatest/tool/CustomPropagationController.java | 113 + jtreg/com/sun/javatest/tool/Deck.java | 127 + jtreg/com/sun/javatest/tool/DeskView.java | 833 + jtreg/com/sun/javatest/tool/Desktop.java | 1507 + jtreg/com/sun/javatest/tool/DesktopManager.java | 88 + jtreg/com/sun/javatest/tool/DesktopPrefsPane.java | 404 + jtreg/com/sun/javatest/tool/EditableFileList.java | 146 + jtreg/com/sun/javatest/tool/EditableList.java | 466 + jtreg/com/sun/javatest/tool/EnvironmentManager.java | 145 + jtreg/com/sun/javatest/tool/FileChooser.java | 129 + jtreg/com/sun/javatest/tool/FileHistory.java | 398 + jtreg/com/sun/javatest/tool/FileOpener.java | 90 + jtreg/com/sun/javatest/tool/FocusMonitor.java | 711 + jtreg/com/sun/javatest/tool/HelpLink.java | 195 + jtreg/com/sun/javatest/tool/HelpLinkBeanInfo.java | 59 + jtreg/com/sun/javatest/tool/HelpManager.java | 278 + jtreg/com/sun/javatest/tool/HelpMenu.java | 306 + jtreg/com/sun/javatest/tool/HttpManager.java | 99 + jtreg/com/sun/javatest/tool/I18NUtils.java | 265 + jtreg/com/sun/javatest/tool/IconFactory.java | 770 + jtreg/com/sun/javatest/tool/IconLabel.java | 131 + jtreg/com/sun/javatest/tool/IconLabelBeanInfo.java | 57 + jtreg/com/sun/javatest/tool/LogManager.java | 112 + jtreg/com/sun/javatest/tool/MDIDeskView.java | 587 + jtreg/com/sun/javatest/tool/Main.java | 506 + jtreg/com/sun/javatest/tool/ManagerLoader.java | 148 + jtreg/com/sun/javatest/tool/PieChart.java | 231 + jtreg/com/sun/javatest/tool/Preferences.java | 770 + jtreg/com/sun/javatest/tool/SDIDeskView.java | 494 + jtreg/com/sun/javatest/tool/SelectedWorkDirApprover.java | 298 + jtreg/com/sun/javatest/tool/Startup.java | 207 + jtreg/com/sun/javatest/tool/TabDeskView.java | 528 + jtreg/com/sun/javatest/tool/TestSuiteChooser.java | 261 + jtreg/com/sun/javatest/tool/TestTreeSelectionPane.java | 125 + jtreg/com/sun/javatest/tool/Tool.java | 361 + jtreg/com/sun/javatest/tool/ToolAction.java | 243 + jtreg/com/sun/javatest/tool/ToolDialog.java | 719 + jtreg/com/sun/javatest/tool/ToolManager.java | 232 + jtreg/com/sun/javatest/tool/TreeSelectionPane.java | 995 + jtreg/com/sun/javatest/tool/UIFactory.java | 2972 +++ jtreg/com/sun/javatest/tool/VerboseCommand.java | 159 + jtreg/com/sun/javatest/tool/WDC_FileFilter.java | 48 + jtreg/com/sun/javatest/tool/WDC_FileView.java | 66 + jtreg/com/sun/javatest/tool/WorkDirChooser.java | 352 + jtreg/com/sun/javatest/tool/i18n.properties | 538 + jtreg/com/sun/javatest/tool/images/jticon.gif | 0 jtreg/com/sun/javatest/tool/images/jtlogo.gif | 0 jtreg/com/sun/javatest/tool/images/splash.gif | 0 jtreg/com/sun/javatest/tool/package.html | 49 + jtreg/com/sun/javatest/util/BackupPolicy.java | 262 + jtreg/com/sun/javatest/util/BackupUtil.java | 340 + jtreg/com/sun/javatest/util/Debug.java | 492 + jtreg/com/sun/javatest/util/DirectoryClassLoader.java | 226 + jtreg/com/sun/javatest/util/DynamicArray.java | 273 + jtreg/com/sun/javatest/util/ExitCount.java | 77 + jtreg/com/sun/javatest/util/Fifo.java | 144 + jtreg/com/sun/javatest/util/FileFilter.java | 43 + jtreg/com/sun/javatest/util/FileInfoCache.java | 134 + jtreg/com/sun/javatest/util/HTMLWriter.java | 558 + jtreg/com/sun/javatest/util/HelpTree.java | 510 + jtreg/com/sun/javatest/util/I18NResourceBundle.java | 171 + jtreg/com/sun/javatest/util/LineParser.java | 288 + jtreg/com/sun/javatest/util/LogFile.java | 172 + jtreg/com/sun/javatest/util/MainAppletContext.java | 133 + jtreg/com/sun/javatest/util/MainFrame.java | 251 + jtreg/com/sun/javatest/util/OrderedTwoWayTable.java | 135 + jtreg/com/sun/javatest/util/PathClassLoader.java | 208 + jtreg/com/sun/javatest/util/PrefixMap.java | 169 + jtreg/com/sun/javatest/util/Properties.java | 395 + jtreg/com/sun/javatest/util/PropertyArray.java | 723 + jtreg/com/sun/javatest/util/ReadAheadIterator.java | 350 + jtreg/com/sun/javatest/util/SortedProperties.java | 58 + jtreg/com/sun/javatest/util/StringArray.java | 203 + jtreg/com/sun/javatest/util/SysEnv.java | 176 + jtreg/com/sun/javatest/util/TextStream.java | 97 + jtreg/com/sun/javatest/util/TextWriter.java | 281 + jtreg/com/sun/javatest/util/Timer.java | 219 + jtreg/com/sun/javatest/util/WrapWriter.java | 191 + jtreg/com/sun/javatest/util/WriterStream.java | 159 + jtreg/com/sun/javatest/util/XMLWriter.java | 358 + jtreg/com/sun/javatest/util/i18n.properties | 32 + jtreg/com/sun/javatest/util/package.html | 39 + jtreg/excludelist.jdk.jtx | 29 + jtreg/legal/copyright.txt | 22 + jtreg/legal/license.txt | 347 + patches/arm-debug.patch | 46 + patches/arm.patch | 226 + patches/fonts-rhel.patch | 11 +- patches/jamvm/ignore-assertions-and-verify-options.patch | 19 - patches/jamvm/jmm_GetLongAttribute_201.patch | 21 - patches/jtreg-international-fonts.patch | 200 +- patches/openjdk/6578583-modality-broken-vista.patch | 1439 - patches/openjdk/683768-System-tray-icon.patch | 79 + patches/openjdk/7103224-glibc_name_collision.patch | 230 + patches/rhino.patch | 135 +- pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java | 2 +- pulseaudio/src/native/org_classpath_icedtea_pulseaudio_EventLoop.c | 2 +- pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c | 2 +- test/jtreg/JavaTest.cmdMgrs.lst | 34 - test/jtreg/JavaTest.toolMgrs.lst | 30 - test/jtreg/META-INF/MANIFEST.MF | 3 - test/jtreg/README | 32 - test/jtreg/com/sun/interview/AllFilesFileFilter.java | 60 - test/jtreg/com/sun/interview/Checklist.java | 124 - test/jtreg/com/sun/interview/ChoiceArrayQuestion.java | 385 - test/jtreg/com/sun/interview/ChoiceQuestion.java | 380 - test/jtreg/com/sun/interview/CompositeQuestion.java | 63 - test/jtreg/com/sun/interview/DirectoryFileFilter.java | 61 - test/jtreg/com/sun/interview/ErrorQuestion.java | 56 - test/jtreg/com/sun/interview/ExtensionFileFilter.java | 162 - test/jtreg/com/sun/interview/FileFilter.java | 53 - test/jtreg/com/sun/interview/FileListQuestion.java | 376 - test/jtreg/com/sun/interview/FileQuestion.java | 299 - test/jtreg/com/sun/interview/FilesAndDirectoriesFileFilter.java | 61 - test/jtreg/com/sun/interview/FinalQuestion.java | 63 - test/jtreg/com/sun/interview/FloatQuestion.java | 399 - test/jtreg/com/sun/interview/InetAddressQuestion.java | 408 - test/jtreg/com/sun/interview/IntQuestion.java | 376 - test/jtreg/com/sun/interview/Interview.java | 2397 --- test/jtreg/com/sun/interview/InterviewQuestion.java | 126 - test/jtreg/com/sun/interview/InterviewSet.java | 262 - test/jtreg/com/sun/interview/ListQuestion.java | 637 - test/jtreg/com/sun/interview/NullQuestion.java | 174 - test/jtreg/com/sun/interview/Properties2.java | 346 - test/jtreg/com/sun/interview/PropertiesQuestion.java | 1420 - test/jtreg/com/sun/interview/Question.java | 513 - test/jtreg/com/sun/interview/StringListQuestion.java | 284 - test/jtreg/com/sun/interview/StringQuestion.java | 230 - test/jtreg/com/sun/interview/TreeQuestion.java | 388 - test/jtreg/com/sun/interview/WizEdit.java | 346 - test/jtreg/com/sun/interview/WizPrint.java | 1091 - test/jtreg/com/sun/interview/YesNoQuestion.java | 94 - test/jtreg/com/sun/interview/i18n.properties | 86 - test/jtreg/com/sun/interview/package.html | 141 - test/jtreg/com/sun/interview/wizard/ActionDocListener.java | 59 - test/jtreg/com/sun/interview/wizard/ActionListDataListener.java | 59 - test/jtreg/com/sun/interview/wizard/ChoiceArrayQuestionRenderer.java | 214 - test/jtreg/com/sun/interview/wizard/ChoiceQuestionRenderer.java | 246 - test/jtreg/com/sun/interview/wizard/EditableList.java | 368 - test/jtreg/com/sun/interview/wizard/Exporter.java | 74 - test/jtreg/com/sun/interview/wizard/FileList.java | 134 - test/jtreg/com/sun/interview/wizard/FileListQuestionRenderer.java | 113 - test/jtreg/com/sun/interview/wizard/FileQuestionRenderer.java | 163 - test/jtreg/com/sun/interview/wizard/FloatQuestionRenderer.java | 196 - test/jtreg/com/sun/interview/wizard/I18NResourceBundle.java | 185 - test/jtreg/com/sun/interview/wizard/InetAddressQuestionRenderer.java | 392 - test/jtreg/com/sun/interview/wizard/InfoPanel.java | 89 - test/jtreg/com/sun/interview/wizard/IntQuestionRenderer.java | 165 - test/jtreg/com/sun/interview/wizard/ListQuestionRenderer.java | 244 - test/jtreg/com/sun/interview/wizard/NullQuestionRenderer.java | 43 - test/jtreg/com/sun/interview/wizard/PathPanel.java | 1192 - test/jtreg/com/sun/interview/wizard/PropertiesQuestionRenderer.java | 341 - test/jtreg/com/sun/interview/wizard/QuestionPanel.java | 668 - test/jtreg/com/sun/interview/wizard/QuestionRenderer.java | 70 - test/jtreg/com/sun/interview/wizard/RenderingUtilities.java | 460 - test/jtreg/com/sun/interview/wizard/SearchDialog.java | 330 - test/jtreg/com/sun/interview/wizard/StringListQuestionRenderer.java | 78 - test/jtreg/com/sun/interview/wizard/StringQuestionRenderer.java | 104 - test/jtreg/com/sun/interview/wizard/SwingFileFilter.java | 61 - test/jtreg/com/sun/interview/wizard/TreeQuestionRenderer.java | 701 - test/jtreg/com/sun/interview/wizard/TypeInPanel.java | 159 - test/jtreg/com/sun/interview/wizard/WizPane.java | 517 - test/jtreg/com/sun/interview/wizard/Wizard.java | 1095 - test/jtreg/com/sun/interview/wizard/YesNoQuestionRenderer.java | 126 - test/jtreg/com/sun/interview/wizard/arrow.gif | 0 test/jtreg/com/sun/interview/wizard/back.gif | 0 test/jtreg/com/sun/interview/wizard/blank.gif | 0 test/jtreg/com/sun/interview/wizard/cancel.gif | 0 test/jtreg/com/sun/interview/wizard/check.gif | 0 test/jtreg/com/sun/interview/wizard/done.gif | 0 test/jtreg/com/sun/interview/wizard/find.gif | 0 test/jtreg/com/sun/interview/wizard/history.gif | 0 test/jtreg/com/sun/interview/wizard/i18n.properties | 294 - test/jtreg/com/sun/interview/wizard/info.gif | 0 test/jtreg/com/sun/interview/wizard/next.gif | 0 test/jtreg/com/sun/interview/wizard/package.html | 56 - test/jtreg/com/sun/javatest/AllTestsFilter.java | 52 - test/jtreg/com/sun/javatest/BasicParameters.java | 817 - test/jtreg/com/sun/javatest/Command.java | 72 - test/jtreg/com/sun/javatest/CompositeFilter.java | 234 - test/jtreg/com/sun/javatest/DefaultTestRunner.java | 254 - test/jtreg/com/sun/javatest/Deprecated.java | 45 - test/jtreg/com/sun/javatest/EditJTI.java | 713 - test/jtreg/com/sun/javatest/EditLinks.java | 564 - test/jtreg/com/sun/javatest/ExcludeList.java | 1212 - test/jtreg/com/sun/javatest/ExcludeListFilter.java | 81 - test/jtreg/com/sun/javatest/ExcludeListUpdateHandler.java | 167 - test/jtreg/com/sun/javatest/FileParameters.java | 571 - test/jtreg/com/sun/javatest/Harness.java | 964 - test/jtreg/com/sun/javatest/HarnessHttpHandler.java | 590 - test/jtreg/com/sun/javatest/InitialUrlFilter.java | 170 - test/jtreg/com/sun/javatest/InterviewParameters.java | 1676 -- test/jtreg/com/sun/javatest/InterviewPropagator.java | 821 - test/jtreg/com/sun/javatest/JavaTestError.java | 224 - test/jtreg/com/sun/javatest/JavaTestSecurityManager.java | 204 - test/jtreg/com/sun/javatest/Keywords.java | 595 - test/jtreg/com/sun/javatest/KeywordsFilter.java | 80 - test/jtreg/com/sun/javatest/LastRunFilter.java | 145 - test/jtreg/com/sun/javatest/LastRunInfo.java | 176 - test/jtreg/com/sun/javatest/ObservableTestFilter.java | 82 - test/jtreg/com/sun/javatest/Parameters.java | 948 - test/jtreg/com/sun/javatest/ProductInfo.java | 200 - test/jtreg/com/sun/javatest/ResourceTable.java | 118 - test/jtreg/com/sun/javatest/Script.java | 1350 - test/jtreg/com/sun/javatest/Status.java | 361 - test/jtreg/com/sun/javatest/StatusFilter.java | 124 - test/jtreg/com/sun/javatest/TRT_HttpHandler.java | 210 - test/jtreg/com/sun/javatest/TRT_Iterator.java | 954 - test/jtreg/com/sun/javatest/TRT_TreeNode.java | 1749 -- test/jtreg/com/sun/javatest/TemplateUtilities.java | 218 - test/jtreg/com/sun/javatest/Test.java | 64 - test/jtreg/com/sun/javatest/TestDescription.java | 576 - test/jtreg/com/sun/javatest/TestEnvContext.java | 356 - test/jtreg/com/sun/javatest/TestEnvironment.java | 692 - test/jtreg/com/sun/javatest/TestFilter.java | 139 - test/jtreg/com/sun/javatest/TestFinder.java | 738 - test/jtreg/com/sun/javatest/TestFinderQueue.java | 714 - test/jtreg/com/sun/javatest/TestResult.java | 2685 --- test/jtreg/com/sun/javatest/TestResultCache.java | 815 - test/jtreg/com/sun/javatest/TestResultTable.java | 2938 --- test/jtreg/com/sun/javatest/TestRunner.java | 227 - test/jtreg/com/sun/javatest/TestSuite.java | 1344 - test/jtreg/com/sun/javatest/Trace.java | 175 - test/jtreg/com/sun/javatest/WorkDirectory.java | 942 - test/jtreg/com/sun/javatest/agent/ActiveAgentCommand.java | 117 - test/jtreg/com/sun/javatest/agent/ActiveAgentPool.java | 647 - test/jtreg/com/sun/javatest/agent/ActiveConnectionFactory.java | 88 - test/jtreg/com/sun/javatest/agent/ActiveModeOptions.java | 79 - test/jtreg/com/sun/javatest/agent/Agent.java | 1162 - test/jtreg/com/sun/javatest/agent/AgentApplet.java | 304 - test/jtreg/com/sun/javatest/agent/AgentClassLoader.java | 88 - test/jtreg/com/sun/javatest/agent/AgentClassLoader2.java | 63 - test/jtreg/com/sun/javatest/agent/AgentFrame.java | 337 - test/jtreg/com/sun/javatest/agent/AgentMain.java | 556 - test/jtreg/com/sun/javatest/agent/AgentManager.java | 646 - test/jtreg/com/sun/javatest/agent/AgentMonitorCommandManager.java | 231 - test/jtreg/com/sun/javatest/agent/AgentMonitorTool.java | 516 - test/jtreg/com/sun/javatest/agent/AgentMonitorToolManager.java | 111 - test/jtreg/com/sun/javatest/agent/AgentPanel.java | 1048 - test/jtreg/com/sun/javatest/agent/BadValue.java | 65 - test/jtreg/com/sun/javatest/agent/Connection.java | 83 - test/jtreg/com/sun/javatest/agent/ConnectionFactory.java | 88 - test/jtreg/com/sun/javatest/agent/Deck.java | 96 - test/jtreg/com/sun/javatest/agent/Deprecated.java | 52 - test/jtreg/com/sun/javatest/agent/Folder.java | 343 - test/jtreg/com/sun/javatest/agent/Icon.java | 114 - test/jtreg/com/sun/javatest/agent/InterruptableSocketConnection.java | 134 - test/jtreg/com/sun/javatest/agent/Map.java | 197 - test/jtreg/com/sun/javatest/agent/ModeOptions.java | 56 - test/jtreg/com/sun/javatest/agent/PassiveAgentCommand.java | 135 - test/jtreg/com/sun/javatest/agent/PassiveConnectionFactory.java | 91 - test/jtreg/com/sun/javatest/agent/PassiveModeOptions.java | 73 - test/jtreg/com/sun/javatest/agent/SocketConnection.java | 169 - test/jtreg/com/sun/javatest/agent/i18n.properties | 95 - test/jtreg/com/sun/javatest/agent/jticon.gif | 0 test/jtreg/com/sun/javatest/agent/package.html | 59 - test/jtreg/com/sun/javatest/audit/Audit.java | 739 - test/jtreg/com/sun/javatest/audit/AuditCommandManager.java | 140 - test/jtreg/com/sun/javatest/audit/AuditPane.java | 82 - test/jtreg/com/sun/javatest/audit/AuditTool.java | 373 - test/jtreg/com/sun/javatest/audit/AuditToolManager.java | 105 - test/jtreg/com/sun/javatest/audit/BadChecksumPane.java | 47 - test/jtreg/com/sun/javatest/audit/BadTestCaseTestsPane.java | 48 - test/jtreg/com/sun/javatest/audit/BadTestDescriptionPane.java | 47 - test/jtreg/com/sun/javatest/audit/BadTestsPane.java | 47 - test/jtreg/com/sun/javatest/audit/ListPane.java | 100 - test/jtreg/com/sun/javatest/audit/OptionsDialog.java | 371 - test/jtreg/com/sun/javatest/audit/SummaryPane.java | 287 - test/jtreg/com/sun/javatest/audit/i18n.properties | 189 - test/jtreg/com/sun/javatest/audit/images/dotdotdot.gif | 0 test/jtreg/com/sun/javatest/audit/package.html | 43 - test/jtreg/com/sun/javatest/batch/BatchManager.java | 119 - test/jtreg/com/sun/javatest/batch/ObserverCommand.java | 182 - test/jtreg/com/sun/javatest/batch/RunTestsCommand.java | 416 - test/jtreg/com/sun/javatest/batch/i18n.properties | 75 - test/jtreg/com/sun/javatest/batch/package.html | 43 - test/jtreg/com/sun/javatest/cof/COF1_0.xsd | 548 - test/jtreg/com/sun/javatest/cof/COF2_0_2.xsd | 779 - test/jtreg/com/sun/javatest/cof/COFApplication.java | 102 - test/jtreg/com/sun/javatest/cof/COFApplications.java | 69 - test/jtreg/com/sun/javatest/cof/COFData.java | 94 - test/jtreg/com/sun/javatest/cof/COFEnvironment.java | 584 - test/jtreg/com/sun/javatest/cof/COFEnvironments.java | 124 - test/jtreg/com/sun/javatest/cof/COFItem.java | 170 - test/jtreg/com/sun/javatest/cof/COFOS.java | 178 - test/jtreg/com/sun/javatest/cof/COFReportAnnotation.java | 160 - test/jtreg/com/sun/javatest/cof/COFReportAnnotations.java | 114 - test/jtreg/com/sun/javatest/cof/COFSWEntities.java | 114 - test/jtreg/com/sun/javatest/cof/COFSWEntity.java | 248 - test/jtreg/com/sun/javatest/cof/COFStatus.java | 193 - test/jtreg/com/sun/javatest/cof/COFTest.java | 594 - test/jtreg/com/sun/javatest/cof/COFTestAttribute.java | 181 - test/jtreg/com/sun/javatest/cof/COFTestAttributes.java | 116 - test/jtreg/com/sun/javatest/cof/COFTestCase.java | 346 - test/jtreg/com/sun/javatest/cof/COFTestCases.java | 133 - test/jtreg/com/sun/javatest/cof/COFTestSuite.java | 143 - test/jtreg/com/sun/javatest/cof/COFTestSuites.java | 126 - test/jtreg/com/sun/javatest/cof/ID.java | 56 - test/jtreg/com/sun/javatest/cof/Main.java | 377 - test/jtreg/com/sun/javatest/cof/Report.java | 424 - test/jtreg/com/sun/javatest/cof/i18n.properties | 54 - test/jtreg/com/sun/javatest/diff/Diff.java | 161 - test/jtreg/com/sun/javatest/diff/DiffReader.java | 40 - test/jtreg/com/sun/javatest/diff/Fault.java | 40 - test/jtreg/com/sun/javatest/diff/HTMLReporter.java | 351 - test/jtreg/com/sun/javatest/diff/HTMLWriter.java | 558 - test/jtreg/com/sun/javatest/diff/Help.java | 445 - test/jtreg/com/sun/javatest/diff/Main.java | 219 - test/jtreg/com/sun/javatest/diff/MultiMap.java | 173 - test/jtreg/com/sun/javatest/diff/ReportReader.java | 126 - test/jtreg/com/sun/javatest/diff/Reporter.java | 76 - test/jtreg/com/sun/javatest/diff/SimpleReporter.java | 163 - test/jtreg/com/sun/javatest/diff/StandardDiff.java | 42 - test/jtreg/com/sun/javatest/diff/StatusComparator.java | 79 - test/jtreg/com/sun/javatest/diff/SuperDiff.java | 342 - test/jtreg/com/sun/javatest/diff/WorkDirectoryReader.java | 113 - test/jtreg/com/sun/javatest/diff/i18n.properties | 153 - test/jtreg/com/sun/javatest/exec/AbstractCellEditor.java | 87 - test/jtreg/com/sun/javatest/exec/AccessWrapper.java | 73 - test/jtreg/com/sun/javatest/exec/BP_BranchSubpanel.java | 96 - test/jtreg/com/sun/javatest/exec/BP_DocumentationSubpanel.java | 107 - test/jtreg/com/sun/javatest/exec/BP_FilteredOutSubpanel.java | 926 - test/jtreg/com/sun/javatest/exec/BP_Model.java | 78 - test/jtreg/com/sun/javatest/exec/BP_SummarySubpanel.java | 980 - test/jtreg/com/sun/javatest/exec/BP_TestListSubpanel.java | 1353 - test/jtreg/com/sun/javatest/exec/BasicCustomTestFilter.java | 1077 - test/jtreg/com/sun/javatest/exec/BranchPanel.java | 579 - test/jtreg/com/sun/javatest/exec/CE_EnvironmentPane.java | 276 - test/jtreg/com/sun/javatest/exec/CE_ExcludeListPane.java | 612 - test/jtreg/com/sun/javatest/exec/CE_ExecutionPane.java | 253 - test/jtreg/com/sun/javatest/exec/CE_FullView.java | 265 - test/jtreg/com/sun/javatest/exec/CE_KeywordsPane.java | 527 - test/jtreg/com/sun/javatest/exec/CE_PriorStatusPane.java | 203 - test/jtreg/com/sun/javatest/exec/CE_StdPane.java | 82 - test/jtreg/com/sun/javatest/exec/CE_StdView.java | 274 - test/jtreg/com/sun/javatest/exec/CE_TemplateDialog.java | 320 - test/jtreg/com/sun/javatest/exec/CE_TestsPane.java | 255 - test/jtreg/com/sun/javatest/exec/CE_View.java | 72 - test/jtreg/com/sun/javatest/exec/ChecklistBrowser.java | 296 - test/jtreg/com/sun/javatest/exec/ConfigEditor.java | 1401 - test/jtreg/com/sun/javatest/exec/ConfigHandler.java | 1198 - test/jtreg/com/sun/javatest/exec/ConfigurableTestFilter.java | 209 - test/jtreg/com/sun/javatest/exec/ContextManager.java | 583 - test/jtreg/com/sun/javatest/exec/CustomTestResultViewer.java | 104 - test/jtreg/com/sun/javatest/exec/DetailsBrowser.java | 154 - test/jtreg/com/sun/javatest/exec/ET_FilterHandler.java | 591 - test/jtreg/com/sun/javatest/exec/ElapsedTimeMonitor.java | 221 - test/jtreg/com/sun/javatest/exec/EnvironmentBrowser.java | 351 - test/jtreg/com/sun/javatest/exec/ExcludeListBrowser.java | 371 - test/jtreg/com/sun/javatest/exec/ExecModel.java | 93 - test/jtreg/com/sun/javatest/exec/ExecTool.java | 1471 - test/jtreg/com/sun/javatest/exec/ExecToolManager.java | 815 - test/jtreg/com/sun/javatest/exec/FeatureManager.java | 89 - test/jtreg/com/sun/javatest/exec/FileSystemTableModel.java | 245 - test/jtreg/com/sun/javatest/exec/FileTable.java | 99 - test/jtreg/com/sun/javatest/exec/FileType.java | 85 - test/jtreg/com/sun/javatest/exec/FilesPane.java | 134 - test/jtreg/com/sun/javatest/exec/FilterConfig.java | 858 - test/jtreg/com/sun/javatest/exec/FilterSelectionHandler.java | 425 - test/jtreg/com/sun/javatest/exec/JavaTestContextMenu.java | 134 - test/jtreg/com/sun/javatest/exec/JavaTestMenuManager.java | 133 - test/jtreg/com/sun/javatest/exec/JavaTestToolBar.java | 236 - test/jtreg/com/sun/javatest/exec/LogViewer.java | 1349 - test/jtreg/com/sun/javatest/exec/LogViewerTools.java | 191 - test/jtreg/com/sun/javatest/exec/MessageStrip.java | 383 - test/jtreg/com/sun/javatest/exec/Monitor.java | 60 - test/jtreg/com/sun/javatest/exec/MonitorState.java | 334 - test/jtreg/com/sun/javatest/exec/MultiFormatPane.java | 971 - test/jtreg/com/sun/javatest/exec/MultiSelectPanel.java | 177 - test/jtreg/com/sun/javatest/exec/NavigationPane.java | 365 - test/jtreg/com/sun/javatest/exec/NewReportDialog.java | 1428 - test/jtreg/com/sun/javatest/exec/ParameterFilter.java | 238 - test/jtreg/com/sun/javatest/exec/PrefsPane.java | 195 - test/jtreg/com/sun/javatest/exec/ProgressMeter.java | 343 - test/jtreg/com/sun/javatest/exec/ProgressMonitor.java | 632 - test/jtreg/com/sun/javatest/exec/PropertiesBrowser.java | 310 - test/jtreg/com/sun/javatest/exec/QuestionLogBrowser.java | 280 - test/jtreg/com/sun/javatest/exec/QuickStartWizard.java | 1263 - test/jtreg/com/sun/javatest/exec/RenderingUtilities.java | 185 - test/jtreg/com/sun/javatest/exec/ReportBrowser.java | 164 - test/jtreg/com/sun/javatest/exec/ReportHandler.java | 311 - test/jtreg/com/sun/javatest/exec/RunProgressMonitor.java | 160 - test/jtreg/com/sun/javatest/exec/RunTestsHandler.java | 527 - test/jtreg/com/sun/javatest/exec/TP_CustomSubpanel.java | 53 - test/jtreg/com/sun/javatest/exec/TP_DescSubpanel.java | 62 - test/jtreg/com/sun/javatest/exec/TP_DocumentationSubpanel.java | 86 - test/jtreg/com/sun/javatest/exec/TP_EnvSubpanel.java | 124 - test/jtreg/com/sun/javatest/exec/TP_FilesSubpanel.java | 84 - test/jtreg/com/sun/javatest/exec/TP_OutputSubpanel.java | 806 - test/jtreg/com/sun/javatest/exec/TP_PropertySubpanel.java | 415 - test/jtreg/com/sun/javatest/exec/TP_ResultsSubpanel.java | 138 - test/jtreg/com/sun/javatest/exec/TP_Subpanel.java | 78 - test/jtreg/com/sun/javatest/exec/TT_NodeCache.java | 871 - test/jtreg/com/sun/javatest/exec/TT_Renderer.java | 329 - test/jtreg/com/sun/javatest/exec/TU_ViewManager.java | 395 - test/jtreg/com/sun/javatest/exec/TemplateParameterFilter.java | 119 - test/jtreg/com/sun/javatest/exec/TestPanel.java | 423 - test/jtreg/com/sun/javatest/exec/TestSuiteErrorsDialog.java | 124 - test/jtreg/com/sun/javatest/exec/TestTree.java | 252 - test/jtreg/com/sun/javatest/exec/TestTreeModel.java | 1243 - test/jtreg/com/sun/javatest/exec/TestTreePanel.java | 1832 -- test/jtreg/com/sun/javatest/exec/ToolBarManager.java | 259 - test/jtreg/com/sun/javatest/exec/ToolBarPanel.java | 162 - test/jtreg/com/sun/javatest/exec/TreePanelModel.java | 97 - test/jtreg/com/sun/javatest/exec/WorkDirChooseTool.java | 1088 - test/jtreg/com/sun/javatest/exec/i18n.properties | 1837 -- test/jtreg/com/sun/javatest/exec/images/Back16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Back24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Dir.gif | 0 test/jtreg/com/sun/javatest/exec/images/Down16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Down24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Edit16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Edit24.gif | 0 test/jtreg/com/sun/javatest/exec/images/FastForward16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Find16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Find24.gif | 0 test/jtreg/com/sun/javatest/exec/images/FindAgain16.gif | 0 test/jtreg/com/sun/javatest/exec/images/FindAgain24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Forward16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Forward24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Help16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Help24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Home16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Home24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Last16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Pause16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Pause24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Play16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Play24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Preferences16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Preferences24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Print16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Print24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Save16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Save24.gif | 0 test/jtreg/com/sun/javatest/exec/images/SaveAs16.gif | 0 test/jtreg/com/sun/javatest/exec/images/SaveAs24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Stop16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Stop24.gif | 0 test/jtreg/com/sun/javatest/exec/images/Up16.gif | 0 test/jtreg/com/sun/javatest/exec/images/Up24.gif | 0 test/jtreg/com/sun/javatest/exec/images/UpDir.gif | 0 test/jtreg/com/sun/javatest/exec/images/drop-down.gif | 0 test/jtreg/com/sun/javatest/exec/images/fullView.gif | 0 test/jtreg/com/sun/javatest/exec/images/magnify.gif | 0 test/jtreg/com/sun/javatest/exec/images/question.gif | 0 test/jtreg/com/sun/javatest/exec/images/snooze.sm.gif | 0 test/jtreg/com/sun/javatest/exec/images/stdView.gif | 0 test/jtreg/com/sun/javatest/exec/images/stream.gif | 0 test/jtreg/com/sun/javatest/exec/package.html | 42 - test/jtreg/com/sun/javatest/finder/BinaryTestFinder.java | 547 - test/jtreg/com/sun/javatest/finder/BinaryTestWriter.java | 860 - test/jtreg/com/sun/javatest/finder/ChameleonTestFinder.java | 450 - test/jtreg/com/sun/javatest/finder/CommentStream.java | 85 - test/jtreg/com/sun/javatest/finder/ExpandTestFinder.java | 348 - test/jtreg/com/sun/javatest/finder/HTMLCommentStream.java | 84 - test/jtreg/com/sun/javatest/finder/HTMLTestFinder.java | 627 - test/jtreg/com/sun/javatest/finder/JavaCommentStream.java | 161 - test/jtreg/com/sun/javatest/finder/ReverseTestFinder.java | 121 - test/jtreg/com/sun/javatest/finder/ShScriptCommentStream.java | 83 - test/jtreg/com/sun/javatest/finder/ShowTests.java | 291 - test/jtreg/com/sun/javatest/finder/TagTestFinder.java | 388 - test/jtreg/com/sun/javatest/finder/i18n.properties | 69 - test/jtreg/com/sun/javatest/finder/package.html | 44 - test/jtreg/com/sun/javatest/httpd/HttpdServer.java | 194 - test/jtreg/com/sun/javatest/httpd/JThttpProvider.java | 148 - test/jtreg/com/sun/javatest/httpd/PageGenerator.java | 252 - test/jtreg/com/sun/javatest/httpd/ProviderRegistry.java | 494 - test/jtreg/com/sun/javatest/httpd/RequestHandler.java | 178 - test/jtreg/com/sun/javatest/httpd/RootRegistry.java | 136 - test/jtreg/com/sun/javatest/httpd/httpURL.java | 318 - test/jtreg/com/sun/javatest/httpd/i18n.properties | 45 - test/jtreg/com/sun/javatest/i18n.properties | 460 - test/jtreg/com/sun/javatest/interview/BasicInterviewParameters.java | 433 - test/jtreg/com/sun/javatest/interview/ConcurrencyInterview.java | 104 - test/jtreg/com/sun/javatest/interview/DefaultInterviewParameters.java | 63 - test/jtreg/com/sun/javatest/interview/EnvironmentInterview.java | 385 - test/jtreg/com/sun/javatest/interview/ExcludeListInterview.java | 605 - test/jtreg/com/sun/javatest/interview/KeywordsInterview.java | 304 - test/jtreg/com/sun/javatest/interview/LegacyParameters.java | 88 - test/jtreg/com/sun/javatest/interview/PriorStatusInterview.java | 225 - test/jtreg/com/sun/javatest/interview/SimpleInterviewParameters.java | 270 - test/jtreg/com/sun/javatest/interview/TestsInterview.java | 434 - test/jtreg/com/sun/javatest/interview/TimeoutFactorInterview.java | 106 - test/jtreg/com/sun/javatest/interview/i18n.properties | 176 - test/jtreg/com/sun/javatest/interview/package.html | 45 - test/jtreg/com/sun/javatest/lib/APIScript.java | 114 - test/jtreg/com/sun/javatest/lib/Deprecated.java | 52 - test/jtreg/com/sun/javatest/lib/ExecStdTestOtherJVMCmd.java | 77 - test/jtreg/com/sun/javatest/lib/ExecStdTestSameJVMCmd.java | 155 - test/jtreg/com/sun/javatest/lib/JavaCompileCommand.java | 317 - test/jtreg/com/sun/javatest/lib/KeywordScript.java | 235 - test/jtreg/com/sun/javatest/lib/MultiStatus.java | 246 - test/jtreg/com/sun/javatest/lib/MultiTest.java | 314 - test/jtreg/com/sun/javatest/lib/ProcessCommand.java | 462 - test/jtreg/com/sun/javatest/lib/ReportScript.java | 59 - test/jtreg/com/sun/javatest/lib/StdTestScript.java | 223 - test/jtreg/com/sun/javatest/lib/TestCases.java | 275 - test/jtreg/com/sun/javatest/logging/ErrorDialogHandler.java | 217 - test/jtreg/com/sun/javatest/logging/FileEvent.java | 51 - test/jtreg/com/sun/javatest/logging/FileListener.java | 34 - test/jtreg/com/sun/javatest/logging/FilteredLogModel.java | 392 - test/jtreg/com/sun/javatest/logging/JTFormatter.java | 104 - test/jtreg/com/sun/javatest/logging/LogModel.java | 502 - test/jtreg/com/sun/javatest/logging/LoggerFactory.java | 58 - test/jtreg/com/sun/javatest/logging/ObservedFile.java | 194 - test/jtreg/com/sun/javatest/logging/WorkDirLogHandler.java | 148 - test/jtreg/com/sun/javatest/logging/i18n.properties | 51 - test/jtreg/com/sun/javatest/mrep/BrowserPane.java | 585 - test/jtreg/com/sun/javatest/mrep/ConflictResolutionDialog.java | 263 - test/jtreg/com/sun/javatest/mrep/ConflictResolver.java | 38 - test/jtreg/com/sun/javatest/mrep/FilesPane.java | 472 - test/jtreg/com/sun/javatest/mrep/Merger.java | 127 - test/jtreg/com/sun/javatest/mrep/OptionsDialog.java | 204 - test/jtreg/com/sun/javatest/mrep/OptionsPane.java | 504 - test/jtreg/com/sun/javatest/mrep/ReportDirChooser.java | 298 - test/jtreg/com/sun/javatest/mrep/ReportTool.java | 697 - test/jtreg/com/sun/javatest/mrep/ReportToolManager.java | 91 - test/jtreg/com/sun/javatest/mrep/Scheme.java | 100 - test/jtreg/com/sun/javatest/mrep/TestResultDescr.java | 78 - test/jtreg/com/sun/javatest/mrep/XMLReportReader.java | 95 - test/jtreg/com/sun/javatest/mrep/XMLReportWriter.java | 279 - test/jtreg/com/sun/javatest/mrep/i18n.properties | 200 - test/jtreg/com/sun/javatest/mrep/images/Back16.gif | 0 test/jtreg/com/sun/javatest/mrep/images/Forward16.gif | 0 test/jtreg/com/sun/javatest/mrep/images/Home16.gif | 0 test/jtreg/com/sun/javatest/mrep/images/dotdotdot.gif | 0 test/jtreg/com/sun/javatest/package.html | 60 - test/jtreg/com/sun/javatest/regtest/Action.java | 550 - test/jtreg/com/sun/javatest/regtest/AntOptionDecoder.java | 93 - test/jtreg/com/sun/javatest/regtest/AppletAction.java | 631 - test/jtreg/com/sun/javatest/regtest/AppletWrapper.java | 650 - test/jtreg/com/sun/javatest/regtest/BadArgs.java | 38 - test/jtreg/com/sun/javatest/regtest/BuildAction.java | 226 - test/jtreg/com/sun/javatest/regtest/CheckFiles.java | 150 - test/jtreg/com/sun/javatest/regtest/CleanAction.java | 146 - test/jtreg/com/sun/javatest/regtest/CompileAction.java | 701 - test/jtreg/com/sun/javatest/regtest/GetSystemProperty.java | 40 - test/jtreg/com/sun/javatest/regtest/Help.java | 490 - test/jtreg/com/sun/javatest/regtest/IgnoreAction.java | 111 - test/jtreg/com/sun/javatest/regtest/IgnoreKind.java | 35 - test/jtreg/com/sun/javatest/regtest/JDK.java | 88 - test/jtreg/com/sun/javatest/regtest/Main.java | 1842 -- test/jtreg/com/sun/javatest/regtest/MainAction.java | 730 - test/jtreg/com/sun/javatest/regtest/MainWrapper.java | 186 - test/jtreg/com/sun/javatest/regtest/Option.java | 97 - test/jtreg/com/sun/javatest/regtest/OptionDecoder.java | 184 - test/jtreg/com/sun/javatest/regtest/ParseException.java | 51 - test/jtreg/com/sun/javatest/regtest/Path.java | 164 - test/jtreg/com/sun/javatest/regtest/RegressionEnvironment.java | 49 - test/jtreg/com/sun/javatest/regtest/RegressionObserver.java | 327 - test/jtreg/com/sun/javatest/regtest/RegressionParameters.java | 619 - test/jtreg/com/sun/javatest/regtest/RegressionScript.java | 964 - test/jtreg/com/sun/javatest/regtest/RegressionSecurityManager.java | 149 - test/jtreg/com/sun/javatest/regtest/RegressionTestFinder.java | 569 - test/jtreg/com/sun/javatest/regtest/RegressionTestSuite.java | 180 - test/jtreg/com/sun/javatest/regtest/ShellAction.java | 282 - test/jtreg/com/sun/javatest/regtest/StringArray.java | 182 - test/jtreg/com/sun/javatest/regtest/StringUtils.java | 45 - test/jtreg/com/sun/javatest/regtest/TestRunException.java | 52 - test/jtreg/com/sun/javatest/regtest/Verbose.java | 130 - test/jtreg/com/sun/javatest/regtest/i18n.properties | 327 - test/jtreg/com/sun/javatest/report/ConfigSection.java | 510 - test/jtreg/com/sun/javatest/report/CustomReport.java | 390 - test/jtreg/com/sun/javatest/report/HTMLReport.java | 292 - test/jtreg/com/sun/javatest/report/HTMLSection.java | 92 - test/jtreg/com/sun/javatest/report/PlainTextReport.java | 112 - test/jtreg/com/sun/javatest/report/Report.java | 1096 - test/jtreg/com/sun/javatest/report/ReportDirChooser.java | 289 - test/jtreg/com/sun/javatest/report/ReportFormat.java | 45 - test/jtreg/com/sun/javatest/report/ReportManager.java | 265 - test/jtreg/com/sun/javatest/report/ReportModel.java | 34 - test/jtreg/com/sun/javatest/report/ReportWriter.java | 191 - test/jtreg/com/sun/javatest/report/ResultSection.java | 263 - test/jtreg/com/sun/javatest/report/StatisticsSection.java | 228 - test/jtreg/com/sun/javatest/report/StringArrayComparator.java | 55 - test/jtreg/com/sun/javatest/report/TestResultsByFileComparator.java | 73 - test/jtreg/com/sun/javatest/report/TestResultsByStatusAndTitleComparator.java | 58 - test/jtreg/com/sun/javatest/report/TestResultsByTitleComparator.java | 53 - test/jtreg/com/sun/javatest/report/XMLReport.java | 471 - test/jtreg/com/sun/javatest/report/XMLReportMaker.java | 609 - test/jtreg/com/sun/javatest/report/i18n.properties | 135 - test/jtreg/com/sun/javatest/report/package.html | 38 - test/jtreg/com/sun/javatest/stylesheet.css | 32 - test/jtreg/com/sun/javatest/tool/Command.java | 280 - test/jtreg/com/sun/javatest/tool/CommandContext.java | 1028 - test/jtreg/com/sun/javatest/tool/CommandManager.java | 107 - test/jtreg/com/sun/javatest/tool/CommandParser.java | 343 - test/jtreg/com/sun/javatest/tool/ConfigManager.java | 1435 - test/jtreg/com/sun/javatest/tool/CustomPropagationController.java | 113 - test/jtreg/com/sun/javatest/tool/Deck.java | 127 - test/jtreg/com/sun/javatest/tool/DeskView.java | 833 - test/jtreg/com/sun/javatest/tool/Desktop.java | 1507 - test/jtreg/com/sun/javatest/tool/DesktopManager.java | 88 - test/jtreg/com/sun/javatest/tool/DesktopPrefsPane.java | 404 - test/jtreg/com/sun/javatest/tool/EditableFileList.java | 146 - test/jtreg/com/sun/javatest/tool/EditableList.java | 466 - test/jtreg/com/sun/javatest/tool/EnvironmentManager.java | 145 - test/jtreg/com/sun/javatest/tool/FileChooser.java | 129 - test/jtreg/com/sun/javatest/tool/FileHistory.java | 398 - test/jtreg/com/sun/javatest/tool/FileOpener.java | 90 - test/jtreg/com/sun/javatest/tool/FocusMonitor.java | 711 - test/jtreg/com/sun/javatest/tool/HelpLink.java | 195 - test/jtreg/com/sun/javatest/tool/HelpLinkBeanInfo.java | 59 - test/jtreg/com/sun/javatest/tool/HelpManager.java | 278 - test/jtreg/com/sun/javatest/tool/HelpMenu.java | 306 - test/jtreg/com/sun/javatest/tool/HttpManager.java | 99 - test/jtreg/com/sun/javatest/tool/I18NUtils.java | 265 - test/jtreg/com/sun/javatest/tool/IconFactory.java | 770 - test/jtreg/com/sun/javatest/tool/IconLabel.java | 131 - test/jtreg/com/sun/javatest/tool/IconLabelBeanInfo.java | 57 - test/jtreg/com/sun/javatest/tool/LogManager.java | 112 - test/jtreg/com/sun/javatest/tool/MDIDeskView.java | 587 - test/jtreg/com/sun/javatest/tool/Main.java | 506 - test/jtreg/com/sun/javatest/tool/ManagerLoader.java | 148 - test/jtreg/com/sun/javatest/tool/PieChart.java | 231 - test/jtreg/com/sun/javatest/tool/Preferences.java | 770 - test/jtreg/com/sun/javatest/tool/SDIDeskView.java | 494 - test/jtreg/com/sun/javatest/tool/SelectedWorkDirApprover.java | 298 - test/jtreg/com/sun/javatest/tool/Startup.java | 207 - test/jtreg/com/sun/javatest/tool/TabDeskView.java | 528 - test/jtreg/com/sun/javatest/tool/TestSuiteChooser.java | 261 - test/jtreg/com/sun/javatest/tool/TestTreeSelectionPane.java | 125 - test/jtreg/com/sun/javatest/tool/Tool.java | 361 - test/jtreg/com/sun/javatest/tool/ToolAction.java | 243 - test/jtreg/com/sun/javatest/tool/ToolDialog.java | 719 - test/jtreg/com/sun/javatest/tool/ToolManager.java | 232 - test/jtreg/com/sun/javatest/tool/TreeSelectionPane.java | 995 - test/jtreg/com/sun/javatest/tool/UIFactory.java | 2972 --- test/jtreg/com/sun/javatest/tool/VerboseCommand.java | 159 - test/jtreg/com/sun/javatest/tool/WDC_FileFilter.java | 48 - test/jtreg/com/sun/javatest/tool/WDC_FileView.java | 66 - test/jtreg/com/sun/javatest/tool/WorkDirChooser.java | 352 - test/jtreg/com/sun/javatest/tool/i18n.properties | 538 - test/jtreg/com/sun/javatest/tool/images/jticon.gif | 0 test/jtreg/com/sun/javatest/tool/images/jtlogo.gif | 0 test/jtreg/com/sun/javatest/tool/images/splash.gif | 0 test/jtreg/com/sun/javatest/tool/package.html | 48 - test/jtreg/com/sun/javatest/util/BackupPolicy.java | 262 - test/jtreg/com/sun/javatest/util/BackupUtil.java | 340 - test/jtreg/com/sun/javatest/util/Debug.java | 492 - test/jtreg/com/sun/javatest/util/DirectoryClassLoader.java | 226 - test/jtreg/com/sun/javatest/util/DynamicArray.java | 273 - test/jtreg/com/sun/javatest/util/ExitCount.java | 77 - test/jtreg/com/sun/javatest/util/Fifo.java | 144 - test/jtreg/com/sun/javatest/util/FileFilter.java | 43 - test/jtreg/com/sun/javatest/util/FileInfoCache.java | 134 - test/jtreg/com/sun/javatest/util/HTMLWriter.java | 558 - test/jtreg/com/sun/javatest/util/HelpTree.java | 510 - test/jtreg/com/sun/javatest/util/I18NResourceBundle.java | 171 - test/jtreg/com/sun/javatest/util/LineParser.java | 288 - test/jtreg/com/sun/javatest/util/LogFile.java | 172 - test/jtreg/com/sun/javatest/util/MainAppletContext.java | 133 - test/jtreg/com/sun/javatest/util/MainFrame.java | 251 - test/jtreg/com/sun/javatest/util/OrderedTwoWayTable.java | 135 - test/jtreg/com/sun/javatest/util/PathClassLoader.java | 208 - test/jtreg/com/sun/javatest/util/PrefixMap.java | 169 - test/jtreg/com/sun/javatest/util/Properties.java | 395 - test/jtreg/com/sun/javatest/util/PropertyArray.java | 723 - test/jtreg/com/sun/javatest/util/ReadAheadIterator.java | 350 - test/jtreg/com/sun/javatest/util/SortedProperties.java | 58 - test/jtreg/com/sun/javatest/util/StringArray.java | 203 - test/jtreg/com/sun/javatest/util/SysEnv.java | 176 - test/jtreg/com/sun/javatest/util/TextStream.java | 97 - test/jtreg/com/sun/javatest/util/TextWriter.java | 281 - test/jtreg/com/sun/javatest/util/Timer.java | 219 - test/jtreg/com/sun/javatest/util/WrapWriter.java | 191 - test/jtreg/com/sun/javatest/util/WriterStream.java | 159 - test/jtreg/com/sun/javatest/util/XMLWriter.java | 358 - test/jtreg/com/sun/javatest/util/i18n.properties | 32 - test/jtreg/com/sun/javatest/util/package.html | 38 - test/jtreg/excludelist.jdk.jtx | 29 - test/jtreg/legal/copyright.txt | 22 - test/jtreg/legal/license.txt | 347 - 1175 files changed, 200074 insertions(+), 175890 deletions(-) diffs (truncated from 380939 to 500 lines): diff -r fb9bfc043a45 -r 0a0072170876 ChangeLog --- a/ChangeLog Thu Sep 08 18:10:28 2011 +0200 +++ b/ChangeLog Mon Nov 28 20:06:41 2011 +0000 @@ -1,3 +1,1494 @@ +2011-11-28 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: + Remove inaccurate line about ARM assembler. + +2011-11-28 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: + Add changes in b24. + +2011-11-25 Andrew John Hughes <ahughes at redhat.com> + + * Makefile.am: + (OPENJDK_DATE): Bump to b24. + (OPENJDK_SHA256SUM): Likewise. + (OPENJDK_VERSION): Likewise. + +2011-11-24 Andrew John Hughes <ahughes at redhat.com> + + * patches/security/20111018/7000600.patch, + * patches/security/20111018/7019773.patch, + * patches/security/20111018/7023640.patch, + * patches/security/20111018/7032417.patch, + * patches/security/20111018/7046794.patch, + * patches/security/20111018/7046823.patch, + * patches/security/20111018/7055902.patch, + * patches/security/20111018/7057857.patch, + * patches/security/20111018/7064341.patch, + * patches/security/20111018/7070134.patch, + * patches/security/20111018/7077466.patch, + * patches/security/20111018/7083012.patch, + * patches/security/20111018/7096936.patch: + Drop patches applied upstream. + * Makefile.am: + (JAXWS_DROP_ZIP): Updated. + (JAXWS_DROP_SHA256SUM): Likewise. + (SECURITY_PATCHES): Set empty (upstream). + * patches/rhino.patch, + * patches/xjc.patch: + Rewritten to work with upstream security patches. + +2011-11-11 Andrew John Hughes <ahughes at redhat.com> + + PR719: make distcheck work in IcedTea6 + * Makefile.am: + (distclean-local): Depend on clean-local. + (ports): Remove inapplicable conditionals from + reversion and ensure copied files have correct + permissions. + (clean-generated): Replace hardcoded name with + $(GENERATED_BUILD_DIR). + (clean-jtreg): Remove all empty directories. + * NEWS: List this fix. + +2011-11-15 Andrew Haley <aph at redhat.com> + + * patches/arm-debug.patch: Surround all code in #ifdef PRODUCT + in order to unbreak debug builds. + +2011-11-14 Danesh Dadachanji <ddadacha at redhat.com> + + * Makefile.am: + (ICEDTEA_PATCHES): Add patches/openjdk/683768-System-tray-icon.patch + * NEWS: Updated. + * patches/openjdk/683768-System-tray-icon.patch: New file. Sets XAtoms + _NET_WM_PID and WM_CLIENT_MACHINE for X windows. + +2011-11-07 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_iOp): Mask + shift counts with 31. + (Thumb2_codegen): Mask double shift counts with 63. + +2011-11-04 Xerxes R??nby <xerxes at zafena.se> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (ARMv4): Only define it when optimizing for armv4 and armv4t. + This will make the asm interpreter slightly faster when optimized + for armv5 and later. + +2011-11-03 Xerxes R??nby <xerxes at zafena.se> + + CACAO: + - Fix FindClass called from JNI_OnLoad. + - Implemented jni_GetDirectBufferCapacity. + * Makefile.am: + (CACAO_VERSION): Updated CACAO to 2011-11-02 revision. + (CACAO_SHA256SUM): Updated. + +2011-11-03 Xerxes R??nby <xerxes at zafena.se> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (cmpxchg_ptr): Designate function label as such; required for + thumb interworking. + (asm_generate_method_entry, asm_check_null_ptr, Thumb2_Install + Thumb2_stubs, Thumb2_idiv_stub, Thumb2_irem_stub, + Thumb2_invokeinterface_stub, Thumb2_invokevirtual_stub, + Thumb2_invokestatic_stub, Thumb2_invokespecial_stub, + Thumb2_getfield_word_stub, Thumb2_getfield_sh_stub, + Thumb2_getfield_h_stub, Thumb2_getfield_sb_stub, + Thumb2_getfield_dw_stub, Thumb2_putfield_word_stub, + Thumb2_putfield_h_stub, Thumb2_putfield_b_stub, + Thumb2_putfield_a_stub, Thumb2_putfield_dw_stub, + Thumb2_getstatic_word_stub, Thumb2_getstatic_h_stub, + Thumb2_getstatic_sh_stub, Thumb2_getstatic_sb_stub, + Thumb2_getstatic_dw_stub, Thumb2_putstatic_word_stub, + Thumb2_putstatic_h_stub, Thumb2_putstatic_b_stub, + Thumb2_putstatic_dw_stub, Thumb2_putstatic_a_stub, + Thumb2_stubs_end, Thumb2_DivZero_Handler, + Thumb2_Handle_Exception, Thumb2_Handle_Exception_NoRegs, + Thumb2_ArrayBounds_Handler, Thumb2_NullPtr_Handler, + Thumb2_Stack_Overflow, Thumb2_Exit_To_Interpreter, + Thumb2_Clear_Cache): Likewise. + +2011-11-02 Andrew Haley <aph at redhat.com> + + * openjdk-ecj/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_codegen): + Sign extend byte loads in accessors. + +2011-11-01 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Accessor): + Return 0, #deoptimized_frames. + +2011-10-31 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (accessor_sh): + Return 0, #deoptimized_frames. + (accessor{_h,_sb,_dw}): Likewise. + +2011-10-28 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (PUSHD0) + Use PUSH, not POP. + +2011-10-28 Andrew Haley <aph at redhat.com> + + * Makefile.am (ICEDTEA_PATCHES): Add patches/arm-debug.patch. + +2011-10-27 Andrew Haley <aph at redhat.com> + + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp (whole file): + Conditionalize on #ifdef __arm__. + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Likewise. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + * patches/arm.patch: Move %.S rule outside ARM conditional. + +2011-10-26 Andrew Haley <aph at redhat.com> + + * patches/arm.patch (CFLAGS): Enable the ARM assembler port. + + PR icedtea/484: + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (fast_empty_entry, normal_entry_synchronized, normal_entry): + Return 0, #deoptimized_frames. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Return): + Likewise. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def + (return_unsafe, ireturn_unsafe, lreturn_unsafe) + (ireturn,areturn,freturn): Return deoptimized_frames = 0. + + PR icedtea/323: + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Replace + all stores to THREAD_LAST_JAVA_SP with stores to + THREAD_LAST_JAVA_FP. Add stores to THREAD_LAST_JAVA_SP. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + + * Makefile.am (ICEDTEA_PATCHES): Add patches/arm-debug.patch. + (stamps/ports.stamp): Use cp -l to link the ARM interpreter + sources into the target dir rather than copying them. + (EXTRA_DIST): Add arm_port. + + Update to HS20: + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Replace all calls + to fatal1() (which no longer exists) with calls to fatal(). + (Thumb2_is_zombie, Thumb2_pass2): invoke* and {get,put}* now take + native, not Java, byte ordered indexes. + (Thumb2_disass, Thumb2_codegen, Thumb2_tablegen): + Bytecodes::special_length_at() takes different arguments from the + previous version; adjust suitably. + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Replace + call to report_fatal_vararg(char const*, int, char const*, ...) + (which no longer exists) with call to Helper_report_fatal. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def (new): + Renumber the fast bytecodes iload_0_iconst_N to iload_3_iload_N. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + * patches/arm.patch: Likewise. + Add *.S to the list of source files. + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp (All #includes) + : Move to new OpenJDK include file format. + (Helper_report_fatal): New assember helper. + (print_vm_offsets): Add THREAD_LAST_JAVA_FP. + + Hard FP port: + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (Thumb2_Initialize): + Add hard FP variants for the stubs that need it. + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (POPF0, POPF1, POPD0, POPD1,PUSHF0, PUSHD0): New macros. + (.eabi_attribute): Use real names. Add declaration for hard + FP ABI. + (.fast_native_return_double, .fast_native_return_float, + .fast_copy_double, .fast_copy_float): New. + (fast_native_entry): use SIZEOF_FFI_CIF, not 24. Add logic to + handle args in FP registers. + (FIND_LOWEST_BIT, FIND_LOWEST_BIT_PAIR, COPY_DOUBLE, COPY_FLOAT): + New macros. + (.copy_float_table, .copy_double_table): New. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def + (frem, drem, f2i, f2l, d2i, d2l): Add hardfp args. + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (REWRITE_PAIRS): New macro. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Use + REWRITE_PAIRS to prevent rewriting pairs of bytecodes in the + instruction stream. + + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (fast_native_entry): + Update ISTATE_SELF_LINK to get correct stack traces. + + * patches/arm-debug.patch: New file. + +2011-10-26 Andrew Haley <aph at redhat.com> + + Reinstate the ARM assembler port. Back out this patch: + + 2011-07-11 Xerxes R??nby <xerxes at zafena.se> + + Removal of the ARM assembler port, unbreaks Zero and Shark builds. + * Makefile.am: + (ICEDTEA_PATCHES): Remove patches/arm.patch. + (clean-ports): Removed. + (stamps/ports.stamp): Likewise. + (hotspot-ports): Likewise. + * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Removed. + * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Likewise. + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Likewise. + * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise. + * arm_port/hotspot/tools/mkbc.c: Likewise. + * patches/arm.patch: Likewise. + +2011-10-26 Omair Majid <omajid at redhat.com> + + S7103224: collision between __LEAF define in interfaceSupport.hpp and + /usr/include/sys/cdefs.h with gcc + * NEWS: Update with fix. + * patches/openjdk/7103224-glibc_name_collision.patch: New file. Export of + OpenJDK changeset. + * Makefile.am (ICEDTEA_PATCHES): Add the above. + +2011-10-21 Andrew John Hughes <ahughes at redhat.com> + + * patches/security/20111018/7083012.patch: + Remove testcases not in upstream version. + +2011-10-19 Andrew John Hughes <ahughes at redhat.com> + + * Makefile.am: Move jtregcheck from + clean-local to .PHONY where it's supposed + to be (bad patch program!) + +2011-10-14 Andrew John Hughes <ahughes at redhat.com> + + * Makefile.am: Add patches. + * patches/rhino.patch: Change after 7046823 is applied. + * patches/xjc.patch: Update against 7046794. + * patches/security/20111018/7000600.patch, + * patches/security/20111018/7019773.patch, + * patches/security/20111018/7023640.patch, + * patches/security/20111018/7032417.patch, + * patches/security/20111018/7046823.patch, + * patches/security/20111018/7055902.patch, + * patches/security/20111018/7057857.patch, + * patches/security/20111018/7064341.patch, + * patches/security/20111018/7070134.patch, + * patches/security/20111018/7083012.patch, + * patches/security/20111018/7096936.patch, + * patches/security/20111018/7046794.patch, + * patches/security/20111018/7077466.patch: + Security patches. + +2010-10-19 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: Add release notes for 1.8.10, + 1.9.10 and 1.10.4 security updates. + +2011-10-18 Xerxes R??nby <xerxes at zafena.se> + + CACAO + - ARM: Remove broken support for float argument passing in registers. + - ARM: Remove hack for return value in float registers. + - ARM: Fixed use of uninitialized variable. + - ARM: removed unused ICMD_GETSTATIC branch. + - ARM: Designate function labels as such; + required for thumb interworking. + * NEWS: Updated. + * Makefile.am: + (CACAO_VERSION): Updated CACAO to 2011-10-17 revision. + (CACAO_SHA256SUM): Updated. + +2011-10-14 Pavel Tisnovsky <ptisnovs at redhat.com> + + * Makefile.am: Third attempt to fix JTreg + make rules - added path to JTreg source where + black list of JDK JTreg tests is stored. + +2011-10-14 Pavel Tisnovsky <ptisnovs at redhat.com> + + * Makefile.am: Fixed path to excludelist.jdk.jtx + file containing black list of JDK Jtreg tests. + +2011-10-14 Pavel Tisnovsky <ptisnovs at redhat.com> + + * Makefile.am: Fixed ./configure error caused by + recursion during exansion of two rules. + +2011-10-10 Xerxes R??nby <xerxes at zafena.se> + + JamVM + - Implement classlibCheckIfOnLoad(). + - Make thread states JVMTI compatible. + - Add OpenBSD/sparc to list of recognised hosts. + - Handle 'g' when specifying memory + extra checks. + - Make command line compatibility options table-driven. + * NEWS: Updated. + * patches/jamvm/gb-memory-fix.patch: Replaced by upstream, + Handle 'g' when specifying memory + extra checks, + changeset 5b66309e20cfd9fe1119e0c9231060a9a583d846. + * patches/jamvm/ignore-assertions-and-verify-options.patch: + Replaced by upstream, Make command line compatibility options + table-driven, changeset d689b6527e26ef1098583ba39725d6e675f8b649. + * Makefile.am + (ICEDTEA_PATCHES): Remove upstreamed JamVM patches. + (JAMVM_VERSION): Updated JamVM to 2011-10-07 revision. + (JAMVM_SHA256SUM): Updated. + +2010-10-05 Andrew John Hughes <ahughes at redhat.com> + + Move jtreg sources to top-level to avoid + conflict between ${srcdir}/test and + ${builddir}/test. + * test/jtreg/JavaTest.cmdMgrs.lst, + * test/jtreg/JavaTest.toolMgrs.lst, + * test/jtreg/META-INF/MANIFEST.MF, + * test/jtreg/README, + * test/jtreg/com/sun/interview/AllFilesFileFilter.java, + * test/jtreg/com/sun/interview/Checklist.java, + * test/jtreg/com/sun/interview/ChoiceArrayQuestion.java, + * test/jtreg/com/sun/interview/ChoiceQuestion.java, + * test/jtreg/com/sun/interview/CompositeQuestion.java, + * test/jtreg/com/sun/interview/DirectoryFileFilter.java, + * test/jtreg/com/sun/interview/ErrorQuestion.java, + * test/jtreg/com/sun/interview/ExtensionFileFilter.java, + * test/jtreg/com/sun/interview/FileFilter.java, + * test/jtreg/com/sun/interview/FileListQuestion.java, + * test/jtreg/com/sun/interview/FileQuestion.java, + * test/jtreg/com/sun/interview/FilesAndDirectoriesFileFilter.java, + * test/jtreg/com/sun/interview/FinalQuestion.java, + * test/jtreg/com/sun/interview/FloatQuestion.java, + * test/jtreg/com/sun/interview/InetAddressQuestion.java, + * test/jtreg/com/sun/interview/IntQuestion.java, + * test/jtreg/com/sun/interview/Interview.java, + * test/jtreg/com/sun/interview/InterviewQuestion.java, + * test/jtreg/com/sun/interview/InterviewSet.java, + * test/jtreg/com/sun/interview/ListQuestion.java, + * test/jtreg/com/sun/interview/NullQuestion.java, + * test/jtreg/com/sun/interview/Properties2.java, + * test/jtreg/com/sun/interview/PropertiesQuestion.java, + * test/jtreg/com/sun/interview/Question.java, + * test/jtreg/com/sun/interview/StringListQuestion.java, + * test/jtreg/com/sun/interview/StringQuestion.java, + * test/jtreg/com/sun/interview/TreeQuestion.java, + * test/jtreg/com/sun/interview/WizEdit.java, + * test/jtreg/com/sun/interview/WizPrint.java, + * test/jtreg/com/sun/interview/YesNoQuestion.java, + * test/jtreg/com/sun/interview/i18n.properties, + * test/jtreg/com/sun/interview/package.html, + * test/jtreg/com/sun/interview/wizard/ActionDocListener.java, + * test/jtreg/com/sun/interview/wizard/ActionListDataListener.java, + * test/jtreg/com/sun/interview/wizard/ChoiceArrayQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/ChoiceQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/EditableList.java, + * test/jtreg/com/sun/interview/wizard/Exporter.java, + * test/jtreg/com/sun/interview/wizard/FileList.java, + * test/jtreg/com/sun/interview/wizard/FileListQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/FileQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/FloatQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/I18NResourceBundle.java, + * test/jtreg/com/sun/interview/wizard/InetAddressQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/InfoPanel.java, + * test/jtreg/com/sun/interview/wizard/IntQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/ListQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/NullQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/PathPanel.java, + * test/jtreg/com/sun/interview/wizard/PropertiesQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/QuestionPanel.java, + * test/jtreg/com/sun/interview/wizard/QuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/RenderingUtilities.java, + * test/jtreg/com/sun/interview/wizard/SearchDialog.java, + * test/jtreg/com/sun/interview/wizard/StringListQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/StringQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/SwingFileFilter.java, + * test/jtreg/com/sun/interview/wizard/TreeQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/TypeInPanel.java, + * test/jtreg/com/sun/interview/wizard/WizPane.java, + * test/jtreg/com/sun/interview/wizard/Wizard.java, + * test/jtreg/com/sun/interview/wizard/YesNoQuestionRenderer.java, + * test/jtreg/com/sun/interview/wizard/i18n.properties, + * test/jtreg/com/sun/interview/wizard/package.html, + * test/jtreg/com/sun/javatest/AllTestsFilter.java, + * test/jtreg/com/sun/javatest/BasicParameters.java, + * test/jtreg/com/sun/javatest/Command.java, + * test/jtreg/com/sun/javatest/CompositeFilter.java, + * test/jtreg/com/sun/javatest/DefaultTestRunner.java, + * test/jtreg/com/sun/javatest/Deprecated.java, + * test/jtreg/com/sun/javatest/EditJTI.java, + * test/jtreg/com/sun/javatest/EditLinks.java, + * test/jtreg/com/sun/javatest/ExcludeList.java, + * test/jtreg/com/sun/javatest/ExcludeListFilter.java, + * test/jtreg/com/sun/javatest/ExcludeListUpdateHandler.java, + * test/jtreg/com/sun/javatest/FileParameters.java, + * test/jtreg/com/sun/javatest/Harness.java, + * test/jtreg/com/sun/javatest/HarnessHttpHandler.java, + * test/jtreg/com/sun/javatest/InitialUrlFilter.java, + * test/jtreg/com/sun/javatest/InterviewParameters.java, + * test/jtreg/com/sun/javatest/InterviewPropagator.java, + * test/jtreg/com/sun/javatest/JavaTestError.java, + * test/jtreg/com/sun/javatest/JavaTestSecurityManager.java, + * test/jtreg/com/sun/javatest/Keywords.java, + * test/jtreg/com/sun/javatest/KeywordsFilter.java, + * test/jtreg/com/sun/javatest/LastRunFilter.java, + * test/jtreg/com/sun/javatest/LastRunInfo.java, + * test/jtreg/com/sun/javatest/ObservableTestFilter.java, + * test/jtreg/com/sun/javatest/Parameters.java, + * test/jtreg/com/sun/javatest/ProductInfo.java, + * test/jtreg/com/sun/javatest/ResourceTable.java, + * test/jtreg/com/sun/javatest/Script.java, + * test/jtreg/com/sun/javatest/Status.java, + * test/jtreg/com/sun/javatest/StatusFilter.java, + * test/jtreg/com/sun/javatest/TRT_HttpHandler.java, + * test/jtreg/com/sun/javatest/TRT_Iterator.java, + * test/jtreg/com/sun/javatest/TRT_TreeNode.java, + * test/jtreg/com/sun/javatest/TemplateUtilities.java, + * test/jtreg/com/sun/javatest/Test.java, + * test/jtreg/com/sun/javatest/TestDescription.java, + * test/jtreg/com/sun/javatest/TestEnvContext.java, + * test/jtreg/com/sun/javatest/TestEnvironment.java, + * test/jtreg/com/sun/javatest/TestFilter.java, + * test/jtreg/com/sun/javatest/TestFinder.java, + * test/jtreg/com/sun/javatest/TestFinderQueue.java, + * test/jtreg/com/sun/javatest/TestResult.java, + * test/jtreg/com/sun/javatest/TestResultCache.java, + * test/jtreg/com/sun/javatest/TestResultTable.java, + * test/jtreg/com/sun/javatest/TestRunner.java, + * test/jtreg/com/sun/javatest/TestSuite.java, + * test/jtreg/com/sun/javatest/Trace.java, + * test/jtreg/com/sun/javatest/WorkDirectory.java, + * test/jtreg/com/sun/javatest/agent/ActiveAgentCommand.java, + * test/jtreg/com/sun/javatest/agent/ActiveAgentPool.java, + * test/jtreg/com/sun/javatest/agent/ActiveConnectionFactory.java, + * test/jtreg/com/sun/javatest/agent/ActiveModeOptions.java, + * test/jtreg/com/sun/javatest/agent/Agent.java, + * test/jtreg/com/sun/javatest/agent/AgentApplet.java, + * test/jtreg/com/sun/javatest/agent/AgentClassLoader.java, + * test/jtreg/com/sun/javatest/agent/AgentClassLoader2.java, + * test/jtreg/com/sun/javatest/agent/AgentFrame.java, + * test/jtreg/com/sun/javatest/agent/AgentMain.java, + * test/jtreg/com/sun/javatest/agent/AgentManager.java, + * test/jtreg/com/sun/javatest/agent/AgentMonitorCommandManager.java, + * test/jtreg/com/sun/javatest/agent/AgentMonitorTool.java, + * test/jtreg/com/sun/javatest/agent/AgentMonitorToolManager.java, + * test/jtreg/com/sun/javatest/agent/AgentPanel.java, + * test/jtreg/com/sun/javatest/agent/BadValue.java, + * test/jtreg/com/sun/javatest/agent/Connection.java, + * test/jtreg/com/sun/javatest/agent/ConnectionFactory.java, + * test/jtreg/com/sun/javatest/agent/Deck.java, + * test/jtreg/com/sun/javatest/agent/Deprecated.java, + * test/jtreg/com/sun/javatest/agent/Folder.java, + * test/jtreg/com/sun/javatest/agent/Icon.java, + * test/jtreg/com/sun/javatest/agent/InterruptableSocketConnection.java, + * test/jtreg/com/sun/javatest/agent/Map.java, + * test/jtreg/com/sun/javatest/agent/ModeOptions.java, + * test/jtreg/com/sun/javatest/agent/PassiveAgentCommand.java, + * test/jtreg/com/sun/javatest/agent/PassiveConnectionFactory.java, + * test/jtreg/com/sun/javatest/agent/PassiveModeOptions.java, + * test/jtreg/com/sun/javatest/agent/SocketConnection.java, + * test/jtreg/com/sun/javatest/agent/i18n.properties, + * test/jtreg/com/sun/javatest/agent/package.html, + * test/jtreg/com/sun/javatest/audit/Audit.java, + * test/jtreg/com/sun/javatest/audit/AuditCommandManager.java, + * test/jtreg/com/sun/javatest/audit/AuditPane.java, + * test/jtreg/com/sun/javatest/audit/AuditTool.java, + * test/jtreg/com/sun/javatest/audit/AuditToolManager.java, + * test/jtreg/com/sun/javatest/audit/BadChecksumPane.java, + * test/jtreg/com/sun/javatest/audit/BadTestCaseTestsPane.java, + * test/jtreg/com/sun/javatest/audit/BadTestDescriptionPane.java, + * test/jtreg/com/sun/javatest/audit/BadTestsPane.java, From andrew at icedtea.classpath.org Mon Nov 28 12:07:51 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 28 Nov 2011 20:07:51 +0000 Subject: /hg/icedtea6-hg: 3 new changesets Message-ID: <hg.7cf477a31057.1322510871.-4802862771906329287@icedtea.classpath.org> changeset 7cf477a31057 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=7cf477a31057 author: Andrew John Hughes <ahughes at redhat.com> date: Mon Nov 28 19:57:17 2011 +0000 Bump to b24. 2011-11-25 Andrew John Hughes <ahughes at redhat.com> * Makefile.am: (OPENJDK_DATE): Bump to b24. (OPENJDK_SHA256SUM): Likewise. (OPENJDK_VERSION): Likewise. changeset a62e12e2bb79 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=a62e12e2bb79 author: Andrew John Hughes <ahughes at redhat.com> date: Mon Nov 28 20:06:01 2011 +0000 Update NEWS with b24 changes. 2011-11-28 Andrew John Hughes <ahughes at redhat.com> * NEWS: Add changes in b24. changeset 0a0072170876 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=0a0072170876 author: Andrew John Hughes <ahughes at redhat.com> date: Mon Nov 28 20:06:41 2011 +0000 Remove inaccurate NEWS line about ARM assembler being removed. 2011-11-28 Andrew John Hughes <ahughes at redhat.com> * NEWS: Remove inaccurate line about ARM assembler. diffstat: ChangeLog | 17 +++++++++++++++++ Makefile.am | 6 +++--- NEWS | 11 +++++++++-- 3 files changed, 29 insertions(+), 5 deletions(-) diffs (74 lines): diff -r 8ab75c7a55b2 -r 0a0072170876 ChangeLog --- a/ChangeLog Fri Nov 25 18:08:27 2011 +0000 +++ b/ChangeLog Mon Nov 28 20:06:41 2011 +0000 @@ -1,3 +1,20 @@ +2011-11-28 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: + Remove inaccurate line about ARM assembler. + +2011-11-28 Andrew John Hughes <ahughes at redhat.com> + + * NEWS: + Add changes in b24. + +2011-11-25 Andrew John Hughes <ahughes at redhat.com> + + * Makefile.am: + (OPENJDK_DATE): Bump to b24. + (OPENJDK_SHA256SUM): Likewise. + (OPENJDK_VERSION): Likewise. + 2011-11-24 Andrew John Hughes <ahughes at redhat.com> * patches/security/20111018/7000600.patch, diff -r 8ab75c7a55b2 -r 0a0072170876 Makefile.am --- a/Makefile.am Fri Nov 25 18:08:27 2011 +0000 +++ b/Makefile.am Mon Nov 28 20:06:41 2011 +0000 @@ -1,8 +1,8 @@ # Dependencies -OPENJDK_DATE = 05_jul_2011 -OPENJDK_SHA256SUM = f36198920e84053d7bfa3599ee32477c1e2b911dba38d75a669b79e9ae5393e5 -OPENJDK_VERSION = b23 +OPENJDK_DATE = 14_nov_2011 +OPENJDK_SHA256SUM = f84e7f0938f4939660ff8f9c2aa164d301faa8a519f2324ceb05ad34b2e09227 +OPENJDK_VERSION = b24 OPENJDK_URL = http://download.java.net/openjdk/jdk6/promoted/$(OPENJDK_VERSION)/ CACAO_VERSION = 2204b08fcae9 diff -r 8ab75c7a55b2 -r 0a0072170876 NEWS --- a/NEWS Fri Nov 25 18:08:27 2011 +0000 +++ b/NEWS Mon Nov 28 20:06:41 2011 +0000 @@ -13,7 +13,6 @@ New in release 1.11 (2011-XX-XX): * Use HotSpot 20 as the default virtual machine. -* ARM assembler port and Thumb2 JIT removed (broken and unmaintained). * Bug fixes - PR637: make check should exit with an error code if any regression test failed. - PR748: Icedtea6 fails to build with Linux 3.0. @@ -24,6 +23,15 @@ - LP862286: Fix exception on trying to start PulseAudio playback - RH683768: Add a workaround for Java applications using tray icon for Gnome Shell - PR719: make distcheck should work in IcedTea6 +* Import of OpenJDK6 b24 + - S7099148: increment build number of hs20.0 to b12 + - S7108221: Backport to jdk6 Hotspot defaults for AMD Bulldozer processor + - S7080038: (ann) Serializable types in sun.reflect.annotation do not declare serialVersionUIDs + - S6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards. + - S6815182: GSSAPI/SPNEGO does not work with server using MIT Kerberos library + - S6979329: CCacheInputStream fails to read ticket cache files from Kerberos 1.8.1 + - S7092186: adjust package access in rmiregistry + - S7110373: krb5 test in openjdk6 without test infrastructure * Import of OpenJDK6 b23 including upgrade to HotSpot 20 - S7023111: Add webrev script to make/scripts - S6909331: Add vsvars.sh to the jdk repository (handy cygwin way to get vcvars32.bat run) @@ -340,7 +348,6 @@ - S7018387: Xrender pipeline may leak GC's - S7036754: Stroked quads sometimes contain NaN - S6769607, PR677: Modal frame hangs for a while. - - S6578583: Modality is broken in windows vista home premium from jdk1.7 b02 onwards. - S6610244: modal dialog closes with fatal error if -Xcheck:jni is set - S7037283, RH712211: Null Pointer Exception in SwingUtilities2. - S7008106: com/sun/awt/Translucency/WindowOpacity.java test fails. From andrew at icedtea.classpath.org Mon Nov 28 12:08:50 2011 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 28 Nov 2011 20:08:50 +0000 Subject: /hg/icedtea6-hg: Bump to b25 (next version in hg). Message-ID: <hg.83369ea0f873.1322510930.-4802862771906329287@icedtea.classpath.org> changeset 83369ea0f873 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=83369ea0f873 author: Andrew John Hughes <ahughes at redhat.com> date: Mon Nov 28 20:08:41 2011 +0000 Bump to b25 (next version in hg). 2011-11-28 Andrew John Hughes <ahughes at redhat.com> * Makefile.am: Bump to b25 (next version in hg). diffstat: ChangeLog | 5 +++++ Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diffs (24 lines): diff -r 0a0072170876 -r 83369ea0f873 ChangeLog --- a/ChangeLog Mon Nov 28 20:06:41 2011 +0000 +++ b/ChangeLog Mon Nov 28 20:08:41 2011 +0000 @@ -1,3 +1,8 @@ +2011-11-28 Andrew John Hughes <ahughes at redhat.com> + + * Makefile.am: + Bump to b25 (next version in hg). + 2011-11-28 Andrew John Hughes <ahughes at redhat.com> * NEWS: diff -r 0a0072170876 -r 83369ea0f873 Makefile.am --- a/Makefile.am Mon Nov 28 20:06:41 2011 +0000 +++ b/Makefile.am Mon Nov 28 20:08:41 2011 +0000 @@ -2,7 +2,7 @@ OPENJDK_DATE = 14_nov_2011 OPENJDK_SHA256SUM = f84e7f0938f4939660ff8f9c2aa164d301faa8a519f2324ceb05ad34b2e09227 -OPENJDK_VERSION = b24 +OPENJDK_VERSION = b25 OPENJDK_URL = http://download.java.net/openjdk/jdk6/promoted/$(OPENJDK_VERSION)/ CACAO_VERSION = 2204b08fcae9 From bugzilla-daemon at icedtea.classpath.org Mon Nov 28 12:37:32 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 28 Nov 2011 20:37:32 +0000 Subject: [Bug 823] icedtea get crashed at random files during compiling/packaging In-Reply-To: <bug-823-30@http.icedtea.classpath.org/bugzilla/> References: <bug-823-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-823-30-sCsWLjK7UZ@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=823 --- Comment #3 from majaczek at gmail.com 2011-11-28 20:37:32 UTC --- no it's not run out of memory, because I made my swap partition 3.5 GB, so it's almost the 4GB together with ram (and all we know ARM has address space of 4GB) here i give latest error logs (the one with enchanced swap) [quote] # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_linux_zero.cpp:236), pid=2102, tid=1744712848 # Error: caught unhandled signal 4 # # JRE version: 6.0_18-b18 # Java VM: OpenJDK Zero VM (14.0-b16 mixed mode linux-arm ) # Derivative: IcedTea6 1.8.4 # Distribution: Debian GNU/Linux 6.0 (squeeze), package 6b18-1.8.4-1 # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # --------------- T H R E A D --------------- Current thread (0x0015ede0): JavaThread "Thread-3" daemon [_thread_in_Java, id=2164, stack(0x67e64000,0x67fe4000)] Stack: [0x67e64000,0x67fe4000], sp=0x67f22f4c, free space=763k Java frames: 0x67fe24b4: word[24] = 0x67fe2470 0x67fe24b8: word[23] = 0x00000002 0x67fe24bc: word[22] = 0x67fe2514 0x67fe24c0: word[21] = 0x00000039 0x67fe24c4: word[20] = 0x00000039 0x67fe24c8: word[19] = 0x00000000 0x67fe24cc: istate->_thread = 0x0015ede0 0x67fe24d0: istate->_bcp = 0x634d4d13 0x67fe24d4: istate->_locals = 0x67fe2550 0x67fe24d8: istate->_constants = 0x634d7f70 0x67fe24dc: istate->_method = 0x634d5010 0x67fe24e0: istate->_mdx = 0x00000039 0x67fe24e4: istate->_stack = 0x67fe24bc 0x67fe24e8: istate->_msg = 0x00000000 0x67fe24ec: istate->_result = 0x00000000 0x67fe24f0: (istate->_result) = 0x435e5bc8 0x67fe24f4: (istate->_result) = 0x00000039 0x67fe24f8: istate->_prev_link = 0x00000039 0x67fe24fc: istate->_oop_temp = 0x00000000 0x67fe2500: istate->_stack_base = 0x67fe24cc 0x67fe2504: istate->_stack_limit = 0x67fe24b0 0x67fe2508: istate->_monitor_base = 0x67fe24cc 0x67fe250c: istate->_self_link = 0x67fe2550 0x67fe2510: frame_type = INTERPRETER_FRAME 0x67fe2514: next_frame = 0x67fe259c 0x67fe2518: word[33] = 0x634eae68 0x67fe251c: word[32] = 0x43521620 0x67fe2520: word[31] = 0x00000000 0x67fe2524: word[30] = 0x00000000 0x67fe2528: word[29] = 0x67fe24d8 0x67fe252c: word[28] = 0x00000039 0x67fe2530: word[27] = 0x00000039 0x67fe2534: word[26] = 0x00000000 0x67fe2538: word[25] = 0x435e5bc8 0x67fe253c: word[24] = 0x00000039 0x67fe2540: word[23] = 0x00000000 0x67fe2544: word[22] = 0x43702048 0x67fe2548: word[21] = 0x435e5c78 0x67fe254c: word[20] = 0x435e5c48 0x67fe2550: word[19] = 0x435216a8 0x67fe2554: istate->_thread = 0x0015ede0 0x67fe2558: istate->_bcp = 0x634d5371 0x67fe255c: istate->_locals = 0x67fe25a8 0x67fe2560: istate->_constants = 0x634d7f70 0x67fe2564: istate->_method = 0x634d53b0 0x67fe2568: istate->_mdx = 0x0015ede0 0x67fe256c: istate->_stack = 0x67fe2544 0x67fe2570: istate->_msg = 0x00000000 0x67fe2574: istate->_result = 0x634ea620 0x67fe2578: (istate->_result) = 0x634e8630 0x67fe257c: (istate->_result) = 0x634cf1d8 0x67fe2580: istate->_prev_link = 0x67fe2550 0x67fe2584: istate->_oop_temp = 0x00000000 0x67fe2588: istate->_stack_base = 0x67fe2554 0x67fe258c: istate->_stack_limit = 0x67fe2544 0x67fe2590: istate->_monitor_base = 0x67fe2554 0x67fe2594: istate->_self_link = 0x67fe2558 0x67fe2598: frame_type = INTERPRETER_FRAME 0x67fe259c: next_frame = 0x67fe25f4 0x67fe25a0: word[21] = 0x435e5c78 0x67fe25a4: word[20] = 0x435e5c48 0x67fe25a8: word[19] = 0x435216a8 0x67fe25ac: istate->_thread = 0x0015ede0 0x67fe25b0: istate->_bcp = 0x634d6dd1 0x67fe25b4: istate->_locals = 0x67fe2610 0x67fe25b8: istate->_constants = 0x634d7bd0 0x67fe25bc: istate->_method = 0x634d6f50 0x67fe25c0: istate->_mdx = 0x435e5c78 0x67fe25c4: istate->_stack = 0x67fe259c 0x67fe25c8: istate->_msg = 0x00000000 0x67fe25cc: istate->_result = 0x67fe2610 0x67fe25d0: (istate->_result) = 0x634ea620 0x67fe25d4: (istate->_result) = 0x634e86d0 0x67fe25d8: istate->_prev_link = 0x67fe25b4 0x67fe25dc: istate->_oop_temp = 0x00000000 0x67fe25e0: istate->_stack_base = 0x67fe25ac 0x67fe25e4: istate->_stack_limit = 0x67fe259c 0x67fe25e8: istate->_monitor_base = 0x67fe25ac 0x67fe25ec: istate->_self_link = 0x67fe25b8 0x67fe25f0: frame_type = INTERPRETER_FRAME 0x67fe25f4: next_frame = 0x67fe265c 0x67fe25f8: word[25] = 0x00000000 0x67fe25fc: word[24] = 0x00000000 0x67fe2600: word[23] = 0x00000002 0x67fe2604: word[22] = 0x00000001 0x67fe2608: word[21] = 0x435e5c78 0x67fe260c: word[20] = 0x435e5c48 0x67fe2610: word[19] = 0x435216a8 0x67fe2614: istate->_thread = 0x0015ede0 0x67fe2618: istate->_bcp = 0x634d33ba 0x67fe261c: istate->_locals = 0x67fe2680 0x67fe2620: istate->_constants = 0x634d3788 0x67fe2624: istate->_method = 0x634d3498 0x67fe2628: istate->_mdx = 0x633faee0 0x67fe262c: istate->_stack = 0x67fe2600 0x67fe2630: istate->_msg = 0x00000000 0x67fe2634: istate->_result = 0x00000000 0x67fe2638: (istate->_result) = 0x67fe2680 0x67fe263c: (istate->_result) = 0x634d0008 0x67fe2640: istate->_prev_link = 0x634ceee0 0x67fe2644: istate->_oop_temp = 0x00000000 0x67fe2648: istate->_stack_base = 0x67fe2614 0x67fe264c: istate->_stack_limit = 0x67fe2600 0x67fe2650: istate->_monitor_base = 0x67fe2614 0x67fe2654: istate->_self_link = 0x67fe2618 0x67fe2658: frame_type = INTERPRETER_FRAME 0x67fe265c: next_frame = 0x67fe26cc 0x67fe2660: word[27] = 0x00000000 0x67fe2664: word[26] = 0x435e5c78 0x67fe2668: word[25] = 0x435e5c48 0x67fe266c: word[24] = 0x435e5bc8 0x67fe2670: word[23] = 0x00000039 0x67fe2674: word[22] = 0x00000039 0x67fe2678: word[21] = 0x00000000 0x67fe267c: word[20] = 0x43702048 0x67fe2680: word[19] = 0x43521690 0x67fe2684: istate->_thread = 0x0015ede0 0x67fe2688: istate->_bcp = 0x634cf48c 0x67fe268c: istate->_locals = 0x67fe26e8 0x67fe2690: istate->_constants = 0x634d0008 0x67fe2694: istate->_method = 0x634cf508 0x67fe2698: istate->_mdx = 0x67fe26e8 0x67fe269c: istate->_stack = 0x67fe2670 0x67fe26a0: istate->_msg = 0x00000000 0x67fe26a4: istate->_result = 0x436e0708 0x67fe26a8: (istate->_result) = 0x49ac3898 0x67fe26ac: (istate->_result) = 0x00000000 0x67fe26b0: istate->_prev_link = 0x63691cd5 0x67fe26b4: istate->_oop_temp = 0x00000000 0x67fe26b8: istate->_stack_base = 0x67fe2684 0x67fe26bc: istate->_stack_limit = 0x67fe266c 0x67fe26c0: istate->_monitor_base = 0x67fe2684 0x67fe26c4: istate->_self_link = 0x67fe2690 0x67fe26c8: frame_type = INTERPRETER_FRAME 0x67fe26cc: next_frame = 0x67fe2734 0x67fe26d0: word[25] = 0x00000000 0x67fe26d4: word[24] = 0x634cc1a0 0x67fe26d8: word[23] = 0x43521690 0x67fe26dc: word[22] = 0x00000039 0x67fe26e0: word[21] = 0x00000000 0x67fe26e4: word[20] = 0x43702048 0x67fe26e8: word[19] = 0x634cc1a0 0x67fe26ec: istate->_thread = 0x0015ede0 0x67fe26f0: istate->_bcp = 0x634cf6bb 0x67fe26f4: istate->_locals = 0x67fe2748 0x67fe26f8: istate->_constants = 0x634d0008 0x67fe26fc: istate->_method = 0x634cf748 0x67fe2700: istate->_mdx = 0x63474660 0x67fe2704: istate->_stack = 0x67fe26d8 0x67fe2708: istate->_msg = 0x00000000 0x67fe270c: istate->_result = 0x633f54c0 0x67fe2710: (istate->_result) = 0x405df138 0x67fe2714: (istate->_result) = 0x63654038 0x67fe2718: istate->_prev_link = 0x00000000 0x67fe271c: istate->_oop_temp = 0x00000000 0x67fe2720: istate->_stack_base = 0x67fe26ec 0x67fe2724: istate->_stack_limit = 0x67fe26d8 0x67fe2728: istate->_monitor_base = 0x67fe26ec 0x67fe272c: istate->_self_link = 0x67fe26e0 0x67fe2730: frame_type = INTERPRETER_FRAME 0x67fe2734: next_frame = 0x67fe2794 0x67fe2738: word[23] = 0x00000000 0x67fe273c: word[22] = 0x634cc1a0 0x67fe2740: word[21] = 0x00000039 0x67fe2744: word[20] = 0x00000000 0x67fe2748: word[19] = 0x43702048 0x67fe274c: istate->_thread = 0x0015ede0 0x67fe2750: istate->_bcp = 0x633f9f15 0x67fe2754: istate->_locals = 0x67fe27a8 0x67fe2758: istate->_constants = 0x63474660 0x67fe275c: istate->_method = 0x633f9f78 0x67fe2760: istate->_mdx = 0x0015ede0 0x67fe2764: istate->_stack = 0x67fe273c 0x67fe2768: istate->_msg = 0x00000000 0x67fe276c: istate->_result = 0x63c25a80 0x67fe2770: (istate->_result) = 0x413e8140 0x67fe2774: (istate->_result) = 0x00000000 0x67fe2778: istate->_prev_link = 0x67fe2750 0x67fe277c: istate->_oop_temp = 0x00000000 0x67fe2780: istate->_stack_base = 0x67fe274c 0x67fe2784: istate->_stack_limit = 0x67fe273c 0x67fe2788: istate->_monitor_base = 0x67fe274c 0x67fe278c: istate->_self_link = 0x00000000 0x67fe2790: frame_type = INTERPRETER_FRAME 0x67fe2794: next_frame = 0x67fe2800 0x67fe2798: local[5] = 0x00000000 0x67fe279c: local[4] = 0x00000039 0x67fe27a0: local[3] = 0x00000000 0x67fe27a4: local[2] = 0x43702048 0x67fe27a8: local[1] = 0x435e5bb0 0x67fe27ac: local[0] = 0x435e5bb0 0x67fe27b0: monitor[0]->_lock = 0x00000009 0x67fe27b4: monitor[0]->_obj = 0x436ff940 0x67fe27b8: istate->_thread = 0x0015ede0 0x67fe27bc: istate->_bcp = 0x635b0bc5 (bci 13) 0x67fe27c0: istate->_locals = 0x67fe2804 0x67fe27c4: istate->_constants = 0x635b1088 0x67fe27c8: istate->_method = java.io.ByteArrayOutputStream.toString()Ljava/lang/String; 0x67fe27cc: istate->_mdx = 0x00000000 0x67fe27d0: istate->_stack = 0x67fe2798 0x67fe27d4: istate->_msg = 0x00000000 0x67fe27d8: istate->_result = 0x00000000 0x67fe27dc: (istate->_result) = 0x413e8140 0x67fe27e0: (istate->_result) = 0x00000000 0x67fe27e4: istate->_prev_link = 0x00000000 0x67fe27e8: istate->_oop_temp = 0x00000000 0x67fe27ec: istate->_stack_base = 0x67fe27b0 0x67fe27f0: istate->_stack_limit = 0x67fe2798 0x67fe27f4: istate->_monitor_base = 0x67fe27b8 0x67fe27f8: istate->_self_link = 0x67fe27b8 0x67fe27fc: frame_type = INTERPRETER_FRAME 0x67fe2800: next_frame = 0x67fe2854 0x67fe2804: word[20] = 0x436ff940 0x67fe2808: word[19] = 0x436fd018 0x67fe280c: istate->_thread = 0x0015ede0 0x67fe2810: istate->_bcp = 0x63c0a1d5 0x67fe2814: istate->_locals = 0x67fe285c 0x67fe2818: istate->_constants = 0x63c259a0 0x67fe281c: istate->_method = 0x63c0a210 0x67fe2820: istate->_mdx = 0x67fe27ec 0x67fe2824: istate->_stack = 0x67fe2800 0x67fe2828: istate->_msg = 0x00000000 0x67fe282c: istate->_result = 0x67fe27f0 0x67fe2830: (istate->_result) = 0x413e8144 0x67fe2834: (istate->_result) = 0x49a73418 0x67fe2838: istate->_prev_link = 0x00000002 0x67fe283c: istate->_oop_temp = 0x00000000 0x67fe2840: istate->_stack_base = 0x67fe280c 0x67fe2844: istate->_stack_limit = 0x67fe2800 0x67fe2848: istate->_monitor_base = 0x67fe280c 0x67fe284c: istate->_self_link = 0x67fe28a0 0x67fe2850: frame_type = INTERPRETER_FRAME 0x67fe2854: next_frame = 0x67fe28a8 0x67fe2858: word[20] = 0x00000000 0x67fe285c: word[19] = 0x436fd018 0x67fe2860: istate->_thread = 0x0015ede0 0x67fe2864: istate->_bcp = 0x63c099e9 0x67fe2868: istate->_locals = 0x67fe28b0 0x67fe286c: istate->_constants = 0x63c25a80 0x67fe2870: istate->_method = 0x63c09a30 0x67fe2874: istate->_mdx = 0x634167a8 0x67fe2878: istate->_stack = 0x67fe2858 0x67fe287c: istate->_msg = 0x00000000 0x67fe2880: istate->_result = 0x67fe2844 0x67fe2884: (istate->_result) = 0x413e8140 0x67fe2888: (istate->_result) = 0x00000002 0x67fe288c: istate->_prev_link = 0x67fe28f4 0x67fe2890: istate->_oop_temp = 0x00000000 0x67fe2894: istate->_stack_base = 0x67fe2860 0x67fe2898: istate->_stack_limit = 0x67fe284c 0x67fe289c: istate->_monitor_base = 0x67fe2860 0x67fe28a0: istate->_self_link = 0x436ff940 0x67fe28a4: frame_type = INTERPRETER_FRAME 0x67fe28a8: next_frame = 0x67fe28fc 0x67fe28ac: word[20] = 0x00000000 0x67fe28b0: word[19] = 0x436fd018 0x67fe28b4: istate->_thread = 0x0015ede0 0x67fe28b8: istate->_bcp = 0x63c0a01f 0x67fe28bc: istate->_locals = 0x67fe2908 0x67fe28c0: istate->_constants = 0x63c259a0 0x67fe28c4: istate->_method = 0x63c0a078 0x67fe28c8: istate->_mdx = 0x00000000 0x67fe28cc: istate->_stack = 0x67fe28ac 0x67fe28d0: istate->_msg = 0x00000000 0x67fe28d4: istate->_result = 0x00000000 0x67fe28d8: (istate->_result) = 0x413e8140 0x67fe28dc: (istate->_result) = 0x00000000 0x67fe28e0: istate->_prev_link = 0x67fe28a4 0x67fe28e4: istate->_oop_temp = 0x00000000 0x67fe28e8: istate->_stack_base = 0x67fe28b4 0x67fe28ec: istate->_stack_limit = 0x67fe28a4 0x67fe28f0: istate->_monitor_base = 0x67fe28b4 0x67fe28f4: istate->_self_link = 0x67fe2954 0x67fe28f8: frame_type = INTERPRETER_FRAME 0x67fe28fc: next_frame = 0x67fe2954 0x67fe2900: word[21] = 0x0000000a 0x67fe2904: word[20] = 0x0000000a 0x67fe2908: word[19] = 0x436fd018 0x67fe290c: istate->_thread = 0x0015ede0 0x67fe2910: istate->_bcp = 0x63c0a42b 0x67fe2914: istate->_locals = 0x67fe2974 0x67fe2918: istate->_constants = 0x63c259a0 0x67fe291c: istate->_method = 0x63c0a4c0 0x67fe2920: istate->_mdx = 0x67fe2970 0x67fe2924: istate->_stack = 0x67fe2900 0x67fe2928: istate->_msg = 0x00000000 0x67fe292c: istate->_result = 0x63c269a1 0x67fe2930: (istate->_result) = 0x413e8140 0x67fe2934: (istate->_result) = 0x63c27930 0x67fe2938: istate->_prev_link = 0x63c269c0 0x67fe293c: istate->_oop_temp = 0x00000000 0x67fe2940: istate->_stack_base = 0x67fe290c 0x67fe2944: istate->_stack_limit = 0x67fe28f8 0x67fe2948: istate->_monitor_base = 0x67fe290c 0x67fe294c: istate->_self_link = 0x413e8144 0x67fe2950: frame_type = INTERPRETER_FRAME 0x67fe2954: next_frame = 0x67fe29c8 0x67fe2958: word[28] = 0x00000039 0x67fe295c: word[27] = 0x00000001 0x67fe2960: word[26] = 0x00000000 0x67fe2964: word[25] = 0x00000039 0x67fe2968: word[24] = 0x0000003a 0x67fe296c: word[23] = 0x00000000 0x67fe2970: word[22] = 0x43521560 0x67fe2974: word[21] = 0x436fd018 0x67fe2978: word[20] = 0x00000009 0x67fe297c: word[19] = 0x436f7be8 0x67fe2980: istate->_thread = 0x0015ede0 0x67fe2984: istate->_bcp = 0x63c273f9 0x67fe2988: istate->_locals = 0x67fe29e0 0x67fe298c: istate->_constants = 0x63c27a60 0x67fe2990: istate->_method = 0x63c27450 0x67fe2994: istate->_mdx = 0x00000000 0x67fe2998: istate->_stack = 0x67fe2964 0x67fe299c: istate->_msg = 0x00000000 0x67fe29a0: istate->_result = 0x67fe29e0 0x67fe29a4: (istate->_result) = 0x413e8140 0x67fe29a8: (istate->_result) = 0x634272a0 0x67fe29ac: istate->_prev_link = 0x00000000 0x67fe29b0: istate->_oop_temp = 0x00000000 0x67fe29b4: istate->_stack_base = 0x67fe2978 0x67fe29b8: istate->_stack_limit = 0x67fe2964 0x67fe29bc: istate->_monitor_base = 0x67fe2980 0x67fe29c0: istate->_self_link = 0x00000000 0x67fe29c4: frame_type = INTERPRETER_FRAME 0x67fe29c8: next_frame = 0x67fe2a34 0x67fe29cc: word[26] = 0x00000000 0x67fe29d0: word[25] = 0x436f7be8 0x67fe29d4: word[24] = 0x0000003a 0x67fe29d8: word[23] = 0x00000000 0x67fe29dc: word[22] = 0x43521560 0x67fe29e0: word[21] = 0x436ec1d0 0x67fe29e4: word[20] = 0x00000001 0x67fe29e8: word[19] = 0x00000000 0x67fe29ec: istate->_thread = 0x0015ede0 0x67fe29f0: istate->_bcp = 0x63c2a1f8 0x67fe29f4: istate->_locals = 0x67fe2a5c 0x67fe29f8: istate->_constants = 0x63c35fd8 0x67fe29fc: istate->_method = 0x63c2a2e8 0x67fe2a00: istate->_mdx = 0x67fe2a54 0x67fe2a04: istate->_stack = 0x67fe29d0 0x67fe2a08: istate->_msg = 0x00000000 0x67fe2a0c: istate->_result = 0x63415378 0x67fe2a10: (istate->_result) = 0x413e8140 0x67fe2a14: (istate->_result) = 0x00000000 0x67fe2a18: istate->_prev_link = 0x00000000 0x67fe2a1c: istate->_oop_temp = 0x00000000 0x67fe2a20: istate->_stack_base = 0x67fe29e4 0x67fe2a24: istate->_stack_limit = 0x67fe29d0 0x67fe2a28: istate->_monitor_base = 0x67fe29ec 0x67fe2a2c: istate->_self_link = 0x67fe29f8 0x67fe2a30: frame_type = INTERPRETER_FRAME 0x67fe2a34: next_frame = 0x67fe2aa8 0x67fe2a38: word[28] = 0x00000000 0x67fe2a3c: word[27] = 0x00000000 0x67fe2a40: word[26] = 0x00000000 0x67fe2a44: word[25] = 0x00000000 0x67fe2a48: word[24] = 0x00000000 0x67fe2a4c: word[23] = 0x00000000 0x67fe2a50: word[22] = 0x00000000 0x67fe2a54: word[21] = 0x0000003a 0x67fe2a58: word[20] = 0x43521560 0x67fe2a5c: word[19] = 0x43521178 0x67fe2a60: istate->_thread = 0x0015ede0 0x67fe2a64: istate->_bcp = 0x63426c43 0x67fe2a68: istate->_locals = 0x67fe2aac 0x67fe2a6c: istate->_constants = 0x63477ee0 0x67fe2a70: istate->_method = 0x63426c60 0x67fe2a74: istate->_mdx = 0x00000000 0x67fe2a78: istate->_stack = 0x67fe2a58 0x67fe2a7c: istate->_msg = 0x00000000 0x67fe2a80: istate->_result = 0x0001d7d0 0x67fe2a84: (istate->_result) = 0x413e8140 0x67fe2a88: (istate->_result) = 0x67fe2cb8 0x67fe2a8c: istate->_prev_link = 0x403cb7cc 0x67fe2a90: istate->_oop_temp = 0x00000000 0x67fe2a94: istate->_stack_base = 0x67fe2a60 0x67fe2a98: istate->_stack_limit = 0x67fe2a58 0x67fe2a9c: istate->_monitor_base = 0x67fe2a60 0x67fe2aa0: istate->_self_link = 0x002265e0 0x67fe2aa4: frame_type = INTERPRETER_FRAME 0x67fe2aa8: next_frame = 0x67fe2ab8 0x67fe2aac: local[0] = 0x43521108 0x67fe2ab0: call_wrapper = 0x67fe2b14 0x67fe2ab4: frame_type = ENTRY_FRAME 0x67fe2ab8: next_frame = 0x00000000 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x0015ede0 JavaThread "Thread-3" daemon [_thread_in_Java, id=2164, stack(0x67e64000,0x67fe4000)] 0x00175090 JavaThread "Thread-2" daemon [_thread_blocked, id=2163, stack(0x67fe4000,0x68164000)] 0x001700f0 JavaThread "process reaper" daemon [_thread_in_native, id=2161, stack(0x68164000,0x682e4000)] 0x00087e60 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2120, stack(0x67c03000,0x67d83000)] 0x000867d8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2119, stack(0x67a83000,0x67c03000)] 0x00071ae0 JavaThread "Finalizer" daemon [_thread_blocked, id=2114, stack(0x67703000,0x67883000)] 0x000707b8 JavaThread "Reference Handler" daemon [_thread_blocked, id=2113, stack(0x67583000,0x67703000)] 0x0001e7f0 JavaThread "main" [_thread_blocked, id=2111, stack(0x40dbf000,0x40f3e000)] Other Threads: 0x0006db48 VMThread [stack: 0x412b7000,0x41336000] [id=2112] 0x00089a60 WatcherThread [stack: 0x67d84000,0x67e03000] [id=2121] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 3328K, used 2152K [0x433f0000, 0x43780000, 0x49a50000) eden space 3008K, 66% used [0x433f0000, 0x435e5ca8, 0x436e0000) from space 320K, 45% used [0x436e0000, 0x437046e8, 0x43730000) to space 320K, 0% used [0x43730000, 0x43730000, 0x43780000) tenured generation total 14392K, used 13013K [0x49a50000, 0x4a85e000, 0x633f0000) the space 14392K, 90% used [0x49a50000, 0x4a705608, 0x4a705800, 0x4a85e000) compacting perm gen total 8704K, used 8475K [0x633f0000, 0x63c70000, 0x673f0000) the space 8704K, 97% used [0x633f0000, 0x63c36ec8, 0x63c37000, 0x63c70000) No shared spaces configured. Dynamic libraries: 00008000-00012000 r-xp 00000000 b3:02 125494 /opt/icedtea6/bin/java 00019000-0001a000 rw-p 00009000 b3:02 125494 /opt/icedtea6/bin/java 0001a000-00276000 rw-p 0001a000 00:00 0 [heap] 40000000-4001c000 r-xp 00000000 fe:01 358426 /lib/ld-2.5.so 4001c000-4001f000 rw-p 4001c000 00:00 0 4001f000-40020000 r--p 4001f000 00:00 0 40020000-40021000 rw-p 40020000 00:00 0 40021000-40023000 r--s 00002000 b3:02 167879 /opt/maemo/usr/share/ant/lib/ant-launcher.jar 40023000-40025000 rw-p 0001b000 fe:01 358426 /lib/ld-2.5.so 40025000-4002b000 r-xp 00000000 b3:02 125412 /opt/icedtea6/jre/lib/arm/native_threads/libhpi.so 4002b000-40033000 ---p 00006000 b3:02 125412 /opt/icedtea6/jre/lib/arm/native_threads/libhpi.so 40033000-40034000 rw-p 00006000 b3:02 125412 /opt/icedtea6/jre/lib/arm/native_threads/libhpi.so 40034000-40035000 r--s 00000000 b3:02 167867 /opt/maemo/usr/share/ant/lib/ant-apache-resolver.jar 40035000-4004a000 r-xp 00000000 fe:01 358428 /lib/libpthread-2.5.so 4004a000-40051000 ---p 00015000 fe:01 358428 /lib/libpthread-2.5.so 40051000-40052000 r--p 00014000 fe:01 358428 /lib/libpthread-2.5.so 40052000-40053000 rw-p 00015000 fe:01 358428 /lib/libpthread-2.5.so 40053000-40055000 rw-p 40053000 00:00 0 40055000-40058000 r-xp 00000000 b3:02 125398 /opt/icedtea6/jre/lib/arm/jli/libjli.so 40058000-4005f000 ---p 00003000 b3:02 125398 /opt/icedtea6/jre/lib/arm/jli/libjli.so 4005f000-40060000 rw-p 00002000 b3:02 125398 /opt/icedtea6/jre/lib/arm/jli/libjli.so 40060000-40062000 r-xp 00000000 fe:01 358425 /lib/libdl-2.5.so 40062000-40069000 ---p 00002000 fe:01 358425 /lib/libdl-2.5.so 40069000-4006a000 r--p 00001000 fe:01 358425 /lib/libdl-2.5.so 4006a000-4006b000 rw-p 00002000 fe:01 358425 /lib/libdl-2.5.so 4006b000-40182000 r-xp 00000000 fe:01 358436 /lib/libc-2.5.so 40182000-4018a000 ---p 00117000 fe:01 358436 /lib/libc-2.5.so 4018a000-4018b000 r--p 00117000 fe:01 358436 /lib/libc-2.5.so 4018b000-4018d000 rw-p 00118000 fe:01 358436 /lib/libc-2.5.so 4018d000-40190000 rw-p 4018d000 00:00 0 40190000-40502000 r-xp 00000000 b3:02 125417 /opt/icedtea6/jre/lib/arm/server/libjvm.so 40502000-40509000 ---p 00372000 b3:02 125417 /opt/icedtea6/jre/lib/arm/server/libjvm.so 40509000-40526000 rw-p 00371000 b3:02 125417 /opt/icedtea6/jre/lib/arm/server/libjvm.so 40526000-40548000 rw-p 40526000 00:00 0 40548000-405b5000 r-xp 00000000 fe:01 358423 /lib/libm-2.5.so 405b5000-405bc000 ---p 0006d000 fe:01 358423 /lib/libm-2.5.so 405bc000-405bd000 r--p 0006c000 fe:01 358423 /lib/libm-2.5.so 405bd000-405be000 rw-p 0006d000 fe:01 358423 /lib/libm-2.5.so 405be000-40dbe000 rwxp 405be000 00:00 0 40dbe000-40dc2000 ---p 40dbe000 00:00 0 40dc2000-40f3e000 rwxp 40dc2000 00:00 0 40f3e000-40f44000 r-xp 00000000 fe:01 358427 /lib/librt-2.5.so 40f44000-40f4b000 ---p 00006000 fe:01 358427 /lib/librt-2.5.so 40f4b000-40f4c000 r--p 00005000 fe:01 358427 /lib/librt-2.5.so 40f4c000-40f4d000 rw-p 00006000 fe:01 358427 /lib/librt-2.5.so 40f4d000-40f58000 r-xp 00000000 b3:02 125420 /opt/icedtea6/jre/lib/arm/libverify.so 40f58000-40f5f000 ---p 0000b000 b3:02 125420 /opt/icedtea6/jre/lib/arm/libverify.so 40f5f000-40f60000 rw-p 0000a000 b3:02 125420 /opt/icedtea6/jre/lib/arm/libverify.so 40f60000-40f8c000 r-xp 00000000 b3:02 125435 /opt/icedtea6/jre/lib/arm/libjava.so 40f8c000-40f94000 ---p 0002c000 b3:02 125435 /opt/icedtea6/jre/lib/arm/libjava.so 40f94000-40f96000 rw-p 0002c000 b3:02 125435 /opt/icedtea6/jre/lib/arm/libjava.so 40f96000-40fa7000 r-xp 00000000 fe:01 358440 /lib/libnsl-2.5.so 40fa7000-40fae000 ---p 00011000 fe:01 358440 /lib/libnsl-2.5.so 40fae000-40faf000 r--p 00010000 fe:01 358440 /lib/libnsl-2.5.so 40faf000-40fb0000 rw-p 00011000 fe:01 358440 /lib/libnsl-2.5.so 40fb0000-40fb2000 rw-p 40fb0000 00:00 0 40fb2000-40fbc000 r-xp 00000000 fe:01 359902 /lib/libgcc_s.so.1 40fbc000-40fc3000 ---p 0000a000 fe:01 359902 /lib/libgcc_s.so.1 40fc3000-40fc4000 rw-p 00009000 fe:01 359902 /lib/libgcc_s.so.1 40fc4000-40fcc000 rw-s 00000000 00:0c 30931 /tmp/hsperfdata_root/2102 40fcc000-40fcf000 r--s 0000f000 b3:02 125368 /opt/icedtea6/jre/lib/ext/pulse-java.jar 40fcf000-40fd3000 r--s 0007c000 b3:02 125372 /opt/icedtea6/jre/lib/jsse.jar 40fd3000-40fd4000 r--s 00003000 b3:02 167898 /opt/maemo/usr/share/ant/lib/ant-testutil.jar 40fd4000-40fdd000 r-xp 00000000 fe:01 358441 /lib/libnss_files-2.5.so 40fdd000-40fe4000 ---p 00009000 fe:01 358441 /lib/libnss_files-2.5.so 40fe4000-40fe5000 r--p 00008000 fe:01 358441 /lib/libnss_files-2.5.so 40fe5000-40fe6000 rw-p 00009000 fe:01 358441 /lib/libnss_files-2.5.so 40fe6000-40fec000 r-xp 00000000 b3:02 125400 /opt/icedtea6/jre/lib/arm/libzip.so 40fec000-40ff3000 ---p 00006000 b3:02 125400 /opt/icedtea6/jre/lib/arm/libzip.so 40ff3000-40ff4000 rw-p 00005000 b3:02 125400 /opt/icedtea6/jre/lib/arm/libzip.so 40ff4000-40ff5000 rwxp 40ff4000 00:00 0 40ff5000-41074000 rwxp 40ff5000 00:00 0 41074000-41076000 rwxp 41074000 00:00 0 41076000-410a7000 rwxp 41076000 00:00 0 410a7000-410af000 rwxp 410a7000 00:00 0 410af000-41174000 rwxp 410af000 00:00 0 41174000-41179000 rwxp 41174000 00:00 0 41179000-41194000 rwxp 41179000 00:00 0 41194000-4119d000 rwxp 41194000 00:00 0 4119d000-41262000 rwxp 4119d000 00:00 0 41262000-41267000 rwxp 41262000 00:00 0 41267000-41283000 rwxp 41267000 00:00 0 41283000-412b6000 rw-p 41283000 00:00 0 412b6000-412b7000 ---p 412b6000 00:00 0 412b7000-41336000 rwxp 412b7000 00:00 0 41336000-41352000 r--p 005b1000 b3:02 10084 /home/opt/lib/locale/locale-archive 41352000-41354000 r--s 00004000 b3:02 167871 /opt/maemo/usr/share/ant/lib/ant-jai.jar 41354000-41356000 r--s 00008000 b3:02 167891 /opt/maemo/usr/share/ant/lib/ant-apache-oro.jar 41356000-41357000 r--s 00001000 b3:02 167870 /opt/maemo/usr/share/ant/lib/ant-javamail.jar 41357000-41358000 r--s 00002000 b3:02 167894 /opt/maemo/usr/share/ant/lib/ant-netrexx.jar 41358000-41359000 r--s 00000000 b3:02 167862 /opt/maemo/usr/share/ant/lib/ant-apache-xalan2.jar 41359000-4135b000 r--s 00001000 b3:02 167868 /opt/maemo/usr/share/ant/lib/ant-apache-bcel.jar 4135b000-4135c000 r--s 00000000 b3:02 167876 /opt/maemo/usr/share/ant/lib/ant-commons-logging.jar 4135c000-4135d000 r--s 00001000 b3:02 167864 /opt/maemo/usr/share/ant/lib/ant-antlr.jar 4135d000-41364000 r--s 0005d000 b3:02 167899 /opt/maemo/usr/share/ant/lib/ant-nodeps.jar 41364000-41366000 r--s 00001000 b3:02 167903 /opt/maemo/usr/share/ant/lib/ant-jdepend.jar 41366000-41367000 r--s 00000000 b3:02 167860 /opt/maemo/usr/share/ant/lib/ant-apache-regexp.jar 41367000-41368000 r--s 00001000 b3:02 167875 /opt/maemo/usr/share/ant/lib/ant-jmf.jar 41368000-41369000 r--s 00000000 b3:02 167902 /opt/maemo/usr/share/ant/lib/ant-apache-log4j.jar 41369000-4136b000 r--s 00013000 b3:02 167880 /opt/maemo/usr/share/ant/lib/ant-commons-net.jar 4136b000-4136c000 r--s 00009000 b3:02 167878 /opt/maemo/usr/share/ant/lib/ant-jsch.jar 4136c000-4136e000 r--s 00016000 b3:02 167866 /opt/maemo/usr/share/ant/lib/ant-junit.jar 4136e000-4136f000 r--s 00001000 b3:02 167877 /opt/maemo/usr/share/ant/lib/ant-swing.jar 4136f000-41386000 r--s 0015b000 b3:02 167905 /opt/maemo/usr/share/ant/lib/ant.jar 41386000-41387000 r--s 00000000 b3:02 167895 /opt/maemo/usr/share/ant/lib/ant-apache-bsf.jar 41387000-41388000 r--s 00001000 b3:01 28162 /home/user/MyDocs/Compile/LWJGL/platform_build/Pack200Task.jar 413d0000-413e0000 r-xp 00000000 fe:01 17358 /usr/lib/libz.so.1.2.3 413e0000-413e7000 ---p 00010000 fe:01 17358 /usr/lib/libz.so.1.2.3 413e7000-413e8000 rw-p 0000f000 fe:01 17358 /usr/lib/libz.so.1.2.3 413e8000-41410000 rwxp 413e8000 00:00 0 41410000-433e8000 rwxp 41410000 00:00 0 433f0000-43780000 rwxp 433f0000 00:00 0 43780000-49a50000 rwxp 43780000 00:00 0 49a50000-4a85e000 rwxp 49a50000 00:00 0 4a85e000-633f0000 rwxp 4a85e000 00:00 0 633f0000-63c70000 rwxp 633f0000 00:00 0 63c70000-673f0000 rwxp 63c70000 00:00 0 673f0000-67583000 r--s 0392a000 b3:02 125446 /opt/icedtea6/jre/lib/rt.jar 67583000-67586000 ---p 67583000 00:00 0 67586000-67703000 rwxp 67586000 00:00 0 67703000-67706000 ---p 67703000 00:00 0 67706000-67883000 rwxp 67706000 00:00 0 67883000-67a83000 r--p 00000000 b3:02 10084 /home/opt/lib/locale/locale-archive 67a83000-67a86000 ---p 67a83000 00:00 0 67a86000-67c03000 rwxp 67a86000 00:00 0 67c03000-67c06000 ---p 67c03000 00:00 0 67c06000-67d83000 rwxp 67c06000 00:00 0 67d83000-67d84000 ---p 67d83000 00:00 0 67d84000-67e03000 rwxp 67d84000 00:00 0 67e03000-67e64000 r--s 00dbb000 b3:02 125213 /opt/icedtea6/lib/tools.jar 67e64000-67e67000 ---p 67e64000 00:00 0 67e67000-67fe4000 rwxp 67e67000 00:00 0 67fe4000-67fe7000 ---p 67fe4000 00:00 0 67fe7000-68164000 rwxp 67fe7000 00:00 0 68164000-68167000 ---p 68164000 00:00 0 68167000-682e4000 rwxp 68167000 00:00 0 beac3000-bead8000 rwxp befeb000 00:00 0 [stack] VM Arguments: jvm_args: -Dant.home=/opt/maemo/usr/share/ant -Dant.library.dir=/opt/maemo/usr/share/ant/lib java_command: org.apache.tools.ant.launch.Launcher -cp generate-all Launcher Type: SUN_STANDARD Environment Variables: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 LD_LIBRARY_PATH=/opt/icedtea6/jre/lib/arm/server:/opt/icedtea6/jre/lib/arm:/opt/icedtea6/jre/../lib/arm SHELL=/bin/sh DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x2f6908], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS: [libjvm.so+0x2f6908], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGFPE: [libjvm.so+0x254bb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGPIPE: [libjvm.so+0x254bb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ: [libjvm.so+0x254bb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x254bb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x257854], sa_mask[0]=0x00000000, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x2568e8], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: [libjvm.so+0x2568e8], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGTERM: [libjvm.so+0x2568e8], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x2568e8], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 --------------- S Y S T E M --------------- OS:testing/unstable uname:Linux 2.6.28.10-power49 #1 PREEMPT Fri Nov 18 23:59:53 EET 2011 armv7l libc:glibc 2.5 NPTL 2.5 rlimit: STACK 8192k, CORE infinity, NPROC 2048, NOFILE 1024, AS infinity load average:3.08 2.44 1.48 CPU:total 1 Memory: 4k page, physical 235260k(8420k free), swap 3670008k(3559348k free) vm_info: OpenJDK Zero VM (14.0-b16) for linux-arm JRE (1.6.0_18-b18), built on Jan 18 2011 17:44:02 by "buildd" with gcc 4.4.5 time: Mon Nov 28 21:28:10 2011 elapsed time: 168 seconds [/quote] -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Mon Nov 28 12:42:59 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 28 Nov 2011 20:42:59 +0000 Subject: [Bug 823] icedtea get crashed at random files during compiling/packaging In-Reply-To: <bug-823-30@http.icedtea.classpath.org/bugzilla/> References: <bug-823-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-823-30-ye4xHa985v@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=823 --- Comment #4 from majaczek at gmail.com 2011-11-28 20:42:59 UTC --- Created attachment 611 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=611 all the crash reports with old size of swap (1.5gb) here in this attachment are old crash reports, with old config of my ARM machine, as i promised to send, it's sad that there's more problem than just limited memory -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Mon Nov 28 12:47:12 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 28 Nov 2011 20:47:12 +0000 Subject: [Bug 823] icedtea get crashed at random files during compiling/packaging In-Reply-To: <bug-823-30@http.icedtea.classpath.org/bugzilla/> References: <bug-823-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-823-30-ukf5xrWTCP@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=823 majaczek at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |6-1.8.4 --- Comment #5 from majaczek at gmail.com 2011-11-28 20:47:12 UTC --- I checked the version of iced-tea and it's 1.8.4-2 depending on used repository. so it's not newest one but still repo has no update. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Mon Nov 28 13:19:29 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 28 Nov 2011 21:19:29 +0000 Subject: [Bug 823] icedtea get crashed at random files during compiling/packaging In-Reply-To: <bug-823-30@http.icedtea.classpath.org/bugzilla/> References: <bug-823-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-823-30-XZF3FTk64o@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=823 --- Comment #6 from majaczek at gmail.com 2011-11-28 21:19:29 UTC --- well my swappiness is 100, could be it the problem (the swap lag could be untolerable for iced-tea) my device haven't any mechanic storage, but i may test with another swappiness if there's need for it -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 02:39:13 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 10:39:13 +0000 Subject: [Bug 660] The VM crashes when running a play framework application In-Reply-To: <bug-660-30@http.icedtea.classpath.org/bugzilla/> References: <bug-660-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-660-30-Pvmpgc9TaP@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=660 Julien Balas <icedtead at krilin.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P2 CC| |icedtead at krilin.org --- Comment #3 from Julien Balas <icedtead at krilin.org> 2011-11-29 10:39:13 UTC --- VM crash when play 1.2.x is started in "prod" mode. Everything it ok is "dev" mode. console.log -> log from the console hs_err_pid3896.log -> log from the VM one of the difference between dev and prod is that play compile all classes at startup in "prod" mode and compile classes "when needed" in "dev" mode. occurs on debian 6.0 but also on ubuntu 11.04. SunJDK doesn't have the issue. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 02:40:05 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 10:40:05 +0000 Subject: [Bug 660] The VM crashes when running a play framework application In-Reply-To: <bug-660-30@http.icedtea.classpath.org/bugzilla/> References: <bug-660-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-660-30-3CvTJcYHMe@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=660 --- Comment #4 from Julien Balas <icedtead at krilin.org> 2011-11-29 10:40:05 UTC --- Created attachment 612 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=612 log from the shell when trying to launch play -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 02:40:57 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 10:40:57 +0000 Subject: [Bug 660] The VM crashes when running a play framework application In-Reply-To: <bug-660-30@http.icedtea.classpath.org/bugzilla/> References: <bug-660-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-660-30-xCh0i0nhRp@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=660 --- Comment #5 from Julien Balas <icedtead at krilin.org> 2011-11-29 10:40:57 UTC --- Created attachment 613 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=613 dump info when the crash occurs -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 03:34:04 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 11:34:04 +0000 Subject: [Bug 660] The VM crashes when running a play framework application In-Reply-To: <bug-660-30@http.icedtea.classpath.org/bugzilla/> References: <bug-660-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-660-30-WY44646IVn@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=660 Xerxes R?nby <xerxes at zafena.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerxes at zafena.se --- Comment #6 from Xerxes R?nby <xerxes at zafena.se> 2011-11-29 11:34:04 UTC --- Hi I have been trying to reproduce this bug but I need more information on how you use the play framework in order to trigger the crash. Can you upload the folder with your play application source? my testcase that fail to trigger this bug: #start by download the apache 2.0 licensed source from: wget http://download.playframework.org/releases/play-1.2.3.zip unzip play-1.2.3.zip cd play-1.2.3 ./play new helloworld ./play run helloworld firefox http://localhost:9000 # and then I did follow all steps in the # http://www.playframework.org/documentation/1.0/firstapp guide # on my system all play tests passes and no JVM errors seen. # tested using java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10) OpenJDK Server VM (build 20.0-b11, mixed mode) -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From jvanek at redhat.com Tue Nov 29 04:46:26 2011 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 29 Nov 2011 13:46:26 +0100 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4ED3D230.9000603@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> <4ECA7ACB.1030207@redhat.com> <4ED3BA59.3050504@redhat.com> <4ED3D230.9000603@redhat.com> Message-ID: <4ED4D422.9040802@redhat.com> On 11/28/2011 07:25 PM, Omair Majid wrote: > On 11/28/2011 11:44 AM, Jiri Vanek wrote: >> TYVM for review! >> >> I have added exit -5. Enough? > > Exit codes are normally in the range [0,255]. Changed to... positive, to... eg 5. ok? >>>> + rm -f $(UNIT_CLASS_NAMES) >>>> + -rm -f run-unit-test-code-coverage >>>> + -rm -f run-netx-unit-tests >>> >>> Is the "-" in "-rm" required? -f means force so rm should not fail if >>> the file is missing. >> Yes, it was required > > I am quite surprised. Do you have a way to reproduce this? I have not explained it enough - it was required because I wrote clean badly - it tried to remove coverage reports during each clean-tests, so it was failing if (mostly) coverage was not run. Now, when Each coverage have its conditional celan it is much cleaner and better. > >>> >>>> rm -f stamps/netx-unit-tests-compile.stamp >>>> >>>> clean_tests_reports: >>>> @@ -629,7 +793,10 @@ >>>> rm -f stamps/netx-dist-tests-sign-some-reproducers.stamp >>>> rm -f junit-jnlp-dist-simple.txt >>>> rm -f junit-jnlp-dist-signed.txt >>>> + rm -f $(REPRODUCERS_CLASS_NAMES) >>>> rm -f $(abs_top_builddir)/$(KEYSTORE_NAME) >>>> + -rm -f run-reproducers-test-code-coverage >>>> + rm -f stamps/run-netx-dist-tests >>>> .... >> cd $(JNLP_TESTS_ENGINE_DIR) ; \ >> class_names= ; \ >> @@ -548,7 +553,7 @@ >> class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ >> class_names="$$class_names $$class_name" ; \ >> done ; \ >> - echo $$class_names ; \ >> + echo $$class_names> $(REPRODUCERS_CLASS_NAMES) ; \ > > Can we also make this a separate target? Done. > > Cheers, > Omair 2011-11-28 Jiri Vanek <jvanek at redhat.com> Added code-coverage generation targets * configure.ac: added search for optional emma.jar * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables to store tests clases for reuse in emmarun. Both also moved to separate target (run-netx-unit-tests): made dependent on reused stamped version (run-netx-dist-tests): made dependent on reused stamped version (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests (run-unit-test-code-coverage) targets to generate report from unit-tests. Result binary and xml file and html report in tests.build/netx/unit (run-reproducers-test-code-coverage) targets to generate report from reproducers-test. Result binary file, xml and html report in tests.build/netx/jnlp_testsengine (run-test-code-coverage): merges binary results from unit and reproducers (clean-unit-test-code-coverage) conditionaly removes html,xml report and es and ec files from tests.build/netx/unit (clean-reproducers-test-code-coverage) condtionlay removes html and xml report and es file from tests.build/netx/jnlp_testsengine (clean-test-code-coverage) conditionlay removes merged html, xml es and em files from tests.build (clean-netx-tests) now depends also on clean-test-code-coverage -------------- next part -------------- A non-text attachment was scrubbed... Name: testCoverageUponHead4.diff Type: text/x-patch Size: 18742 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111129/769d1413/testCoverageUponHead4.diff From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 05:21:21 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 13:21:21 +0000 Subject: [Bug 660] The VM crashes when running a play framework application In-Reply-To: <bug-660-30@http.icedtea.classpath.org/bugzilla/> References: <bug-660-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-660-30-WhCjn9QQuv@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=660 --- Comment #7 from Julien Balas <icedtead at krilin.org> 2011-11-29 13:21:21 UTC --- i tried to create a new application and launch it in "prod" mode (config file in conf/application.conf) and it's working fine. i can't share the 128Mo website (nda with my customer) i'm going to narrow down to the module or the template causing the bug. as you said in my stacktrace and in julien's it seems related to jregex.Pretokenizer.next() Do you know the way to add the -X params or -XX params to the play command line ? Best regards. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 05:37:22 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 13:37:22 +0000 Subject: [Bug 660] The VM crashes when running a play framework application In-Reply-To: <bug-660-30@http.icedtea.classpath.org/bugzilla/> References: <bug-660-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-660-30-1deniX6ruh@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=660 --- Comment #8 from Xerxes R?nby <xerxes at zafena.se> 2011-11-29 13:37:22 UTC --- (In reply to comment #7) > Do you know the way to add the -X params or -XX params to the play command line > ? You can use JAVA_OPTS to pass the parameters OR you can edit the file framework/pym/play/application.py this work for me: JAVA_OPTS="-showversion -Xbatch" ./play run helloworld -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 06:00:09 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 14:00:09 +0000 Subject: [Bug 660] The VM crashes when running a play framework application In-Reply-To: <bug-660-30@http.icedtea.classpath.org/bugzilla/> References: <bug-660-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-660-30-yTz1Eo4AvR@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=660 --- Comment #9 from Julien Balas <icedtead at krilin.org> 2011-11-29 14:00:09 UTC --- i added the -XX:CompileCommand=exclude,jregex/Pretokenizer,next parameter to the JVM args at the veryy beginning of the application.conf file and my application is OK in "prod" mode. I need more/full testing, but at least it launch without errors ! thanks a lot -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From omajid at redhat.com Tue Nov 29 07:37:22 2011 From: omajid at redhat.com (Omair Majid) Date: Tue, 29 Nov 2011 10:37:22 -0500 Subject: [RFC][icedtea-web] emma and testcoveragefor testsuites In-Reply-To: <4ED4D422.9040802@redhat.com> References: <4EBBF614.9000601@redhat.com> <4EC10B10.5060903@redhat.com> <4EC6E587.3090500@redhat.com> <4ECA7ACB.1030207@redhat.com> <4ED3BA59.3050504@redhat.com> <4ED3D230.9000603@redhat.com> <4ED4D422.9040802@redhat.com> Message-ID: <4ED4FC32.7000406@redhat.com> On 11/29/2011 07:46 AM, Jiri Vanek wrote: > > 2011-11-28 Jiri Vanek <jvanek at redhat.com> > Added code-coverage generation targets > * configure.ac: added search for optional emma.jar > * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES > variables > to store tests clases for reuse in emmarun. Both also moved to > separate target > (run-netx-unit-tests): made dependent on reused stamped version > (run-netx-dist-tests): made dependent on reused stamped version > (stamps/run-netx-dist-tests): stamped rusable version of > run-netx-dist-tests > (run-unit-test-code-coverage) targets to generate report from > unit-tests. > Result binary and xml file and html report in tests.build/netx/unit > (run-reproducers-test-code-coverage) targets to generate report from > reproducers-test. Result binary file, xml and html report in > tests.build/netx/jnlp_testsengine > (run-test-code-coverage): merges binary results from unit and > reproducers > (clean-unit-test-code-coverage) conditionaly removes html,xml report > and es and ec files from tests.build/netx/unit > (clean-reproducers-test-code-coverage) condtionlay removes html and > xml > report and es file from tests.build/netx/jnlp_testsengine > (clean-test-code-coverage) conditionlay removes merged html, xml es > and em > files from tests.build > (clean-netx-tests) now depends also on clean-test-code-coverage > > > > testCoverageUponHead4.diff > > > diff -r 22db4e09bbc7 Makefile.am > --- a/Makefile.am Fri Nov 11 14:40:26 2011 +0100 > +++ b/Makefile.am Tue Nov 29 13:36:58 2011 +0100 > @@ -25,6 +25,8 @@ > KEYSTORE_NAME=teststore.ks > > JUNIT_RUNNER_JAR=$(abs_top_builddir)/junit-runner.jar > +UNIT_CLASS_NAMES = $(abs_top_builddir)/unit_class_names > +REPRODUCERS_CLASS_NAMES = $(abs_top_builddir)/reproducers_class_names > > # Build directories > > @@ -106,7 +108,7 @@ > endif > > if WITH_JUNIT > - JUNIT_TESTS=run-netx-unit-tests > + JUNIT_TESTS=stamps/run-netx-unit-tests.stamp Strictly speaking, this change should not be needed, since run-netx-unit-tests is an alias of stamps/run-netx-unit-tests.stamp. But it's not a big deal. > else > JUNIT_TESTS= > endif > @@ -146,7 +148,7 @@ > > .PHONY: clean-IcedTeaPlugin clean-add-netx clean-add-netx-debug clean-add-plugin clean-add-plugin-debug \ > clean-bootstrap-directory clean-native-ecj clean-desktop-files clean-netx-docs clean-docs clean-plugin-docs \ > - clean-tests check-local clean-launchers check-pac-functions run-netx-unit-tests clean-netx-tests \ > + clean-tests check-local clean-launchers check-pac-functions stamps/run-netx-unit-tests.stamp clean-netx-tests \ > clean-junit-runner clean-netx-unit-tests > > install-exec-local: > @@ -539,8 +541,7 @@ > mkdir -p stamps&& \ > touch $@ > > -run-netx-dist-tests: all-local stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ > - stamps/netx-dist-tests-compile.stamp stamps/netx-dist-tests-compile-testcases.stamp $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) > +$(REPRODUCERS_CLASS_NAMES): > cd $(JNLP_TESTS_ENGINE_DIR) ; \ > class_names= ; \ > for test in `find -type f` ; do \ > @@ -548,7 +549,15 @@ > class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ > class_names="$$class_names $$class_name" ; \ > done ; \ > - echo $$class_names ; \ > + echo $$class_names> $(REPRODUCERS_CLASS_NAMES) > + > +stamps/run-netx-dist-tests.stamp: stamps/netx-dist.stamp extra-lib/about.jar stamps/plugin.stamp launcher.build/$(javaws) \ > + javaws.desktop stamps/docs.stamp launcher.build/$(itweb_settings) itweb-settings.desktop \ > + stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ > + stamps/netx-dist-tests-compile.stamp stamps/netx-dist-tests-compile-testcases.stamp $(JUNIT_RUNNER_JAR) \ > + $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) $(REPRODUCERS_CLASS_NAMES) > + cd $(JNLP_TESTS_ENGINE_DIR) ; \ > + class_names=`cat $(REPRODUCERS_CLASS_NAMES)` ; \ > CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ > $(BOOT_DIR)/bin/java -Dtest.server.dir=$(JNLP_TESTS_SERVER_DEPLOYDIR) -Djavaws.build.bin=$(DESTDIR)$(bindir)/javaws \ > -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ > @@ -556,6 +565,7 @@ > cat stdout.log ; \ > cat stderr.log>&2 > -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml> $(TESTS_DIR)/index_reproducers.html > + touch $@ > > netx-unit-tests-source-files.txt: > find $(NETX_UNIT_TEST_SRCDIR) -name '*.java' | sort> $@ > @@ -575,8 +585,18 @@ > cp $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/*.css $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)/ > cp $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/*.js $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)/ > > -run-netx-unit-tests: stamps/netx-unit-tests-compile.stamp \ > - $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) > +$(UNIT_CLASS_NAMES): > + cd $(NETX_UNIT_TEST_DIR) ; \ > + class_names= ; \ > + for test in `find -type f` ; do \ > + class_name=`echo $$test | sed -e 's|\.class$$||' -e 's|^\./||'` ; \ > + class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ > + class_names="$$class_names $$class_name" ; \ > + done ; \ > + echo $$class_names> $(UNIT_CLASS_NAMES); > + > +stamps/run-netx-unit-tests.stamp: stamps/netx-unit-tests-compile.stamp $(JUNIT_RUNNER_JAR) \ > + $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) $(UNIT_CLASS_NAMES) > filename=" " ; \ > cd $(NETX_UNIT_TEST_SRCDIR) ; \ > for file in `find . -type f \! -iname "*.java"`; do\ > @@ -584,21 +604,170 @@ > cp --parents $$filename $(NETX_UNIT_TEST_DIR) ; \ > done ; \ > cd $(NETX_UNIT_TEST_DIR) ; \ > - class_names= ; \ > - for test in `find -type f` ; do \ > - class_name=`echo $$test | sed -e 's|\.class$$||' -e 's|^\./||'` ; \ > - class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ > - class_names="$$class_names $$class_name" ; \ > - done ; \ > - echo $$class_names ; \ > + class_names=`cat $(UNIT_CLASS_NAMES)` ; \ > CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ > $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ > > stdout.log 2> stderr.log ; \ > cat stdout.log ; \ > - cat stderr.log>&2 > + cat stderr.log>&2 ; > -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(NETX_UNIT_TEST_DIR)/tests-output.xml> $(TESTS_DIR)/index_unit.html > + touch $@ > > -clean-netx-tests: clean-netx-unit-tests clean-junit-runner clean-netx-dist-tests > +#you can add -ix "-*Test*" -ix "-*test*" to ignore all test cases from statistics > +stamps/run-unit-test-code-coverage.stamp: check $(UNIT_CLASS_NAMES); > +if WITH_EMMA > + echo "warning, during this target tests.build/netx/unit/tests-output.xml is backup and rewriten (but not coresponding html file)"; \ > + echo "xml results run from emma sandbox, however, can be wrong, co the new tests-output.xml is then renamed and orginal one restored" ; \ Can you remove these 'echo' commands? Perhaps they should be comments too? > + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma ; \ > + cd $(NETX_UNIT_TEST_DIR) ; \ > + class_names=`cat $(UNIT_CLASS_NAMES)` ; \ > + $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) -cp $(EMMA_JAR) -Demma.report.html.out.encoding=UTF-8 emmarun \ > + -Dreport.html.out.encoding=UTF-8 \ > + -raw \ > + -sp $(NETX_SRCDIR) \ > + -sp $(NETX_UNIT_TEST_SRCDIR) \ > + -sp $(JUNIT_RUNNER_SRCDIR) \ > + -r html \ > + -r xml \ > + -cp $(NETX_DIR)/lib/classes.jar \ > + -cp $(JUNIT_JAR) \ > + -cp $(JUNIT_RUNNER_JAR) \ > + -cp $(BOOT_DIR)/jre/lib/rt.jar \ > + -cp $(BOOT_DIR)/jre/lib/jsse.jar \ > + -cp $(RHINO_RUNTIME) \ > + -cp . \ > + -ix "-org.junit.*" \ > + -ix "-junit.*" \ > + CommandLine $$class_names ; \ > + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output_withEmma.xml ; \ > + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma $(NETX_UNIT_TEST_DIR)/tests-output.xml ; > +else > + echo "Sorry, coverage report cant be run without emma installed. Try install emma or specify with-emma value" ; > + exit 5 > +endif > + touch $@ > + > +stamps/run-reproducers-test-code-coverage.stamp: stamps/run-netx-dist-tests.stamp $(REPRODUCERS_CLASS_NAMES) > +if WITH_EMMA > + echo "warning, during this target tests.build/netx/jnlp_testsengine/tests-output.xml is backup and rewriten (but not coresponding html file)"; \ > + echo "xml results run from emma sandbox, however, can be wrong, co the new tests-output.xml is then renamed and orginal one restored" ; \ Likewise. > + cd $(TESTS_DIR) ; \ > + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml_noEmma ; \ > + echo "backuping javaws and netx.jar in $(DESTDIR)" ; \ > + netx_backup=$(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx_backup.jar ; \ > + javaws_backup=$(DESTDIR)$(bindir)/javaws_backup ; \ > + mv $(DESTDIR)$(bindir)/javaws $$javaws_backup ; \ > + mv $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar $$netx_backup ; \ > + nw_bootclasspath="$(LAUNCHER_BOOTCLASSPATH):$(EMMA_JAR):$$netx_backup" ; \ > + instructed_dir=$(TESTS_DIR)/instr ; \ > + echo "instrumenting netx.jar from $$netx_backup through $$instructed_dir" ; \ > + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) emma instr -d $$instructed_dir -ip $$netx_backup ; \ > + pushd $$instructed_dir ; \ > + $(BOOT_DIR)/bin/jar -cf $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar * ; \ > + popd ; \ > + rm -rf $$instructed_dir ; \ > + echo "patching javaws" ; \ > + cat $$javaws_backup | sed "s,$(LAUNCHER_BOOTCLASSPATH),$$nw_bootclasspath,"> $(DESTDIR)$(bindir)/javaws ; \ > + chmod 777 $(DESTDIR)$(bindir)/javaws ; \ > + testcases_srcs=( ) ; \ > + k=0 ; \ > + types=(simple signed); \ > + for which in "$${types[@]}" ; do \ > + . $(abs_top_builddir)/NEW_LINE_IFS ; \ > + simpleReproducers=(`cat $(abs_top_builddir)/junit-jnlp-dist-$$which.txt `); \ > + IFS="$$IFS_BACKUP" ; \ > + for dir in "$${simpleReproducers[@]}" ; do \ > + testcases_srcs[k]="-sp" ; \ > + k=$$((k+1)) ; \ > + testcases_srcs[k]="$(JNLP_TESTS_SRCDIR)/$$which/$$dir/testcases/" ; \ > + k=$$((k+1)) ; \ > + done ; \ > + done ; \ > + echo "$${testcases_srcs[@]}" ; \ I dont see how this echo is helping (except when debugging the make target, of course). Please remove it. > + cd $(JNLP_TESTS_ENGINE_DIR) ; \ > + class_names=`cat $(REPRODUCERS_CLASS_NAMES)` ; \ > + $(BOOT_DIR)/bin/java \ > + -Dtest.server.dir=$(JNLP_TESTS_SERVER_DEPLOYDIR) \ > + -Djavaws.build.bin=$(DESTDIR)$(bindir)/javaws \ > + -Xbootclasspath:$(RUNTIME) -cp $(EMMA_JAR) emmarun \ > + -raw \ > + -cp $(NETX_DIR)/lib/classes.jar \ > + -cp $(JUNIT_JAR) \ > + -cp $(JUNIT_RUNNER_JAR) \ > + -cp $(BOOT_DIR)/jre/lib/rt.jar \ > + -cp $(BOOT_DIR)/jre/lib/jsse.jar \ > + -cp $(RHINO_RUNTIME) \ > + -cp . \ > + -ix "-org.junit.*" \ > + -ix "-junit.*" \ > + CommandLine $$class_names ; \ > + mv $(JNLP_TESTS_ENGINE_DIR)/coverage.ec $(JNLP_TESTS_ENGINE_DIR)/coverageX.ec ; \ > + mv $(JNLP_TESTS_ENGINE_DIR)/coverage.es $(JNLP_TESTS_ENGINE_DIR)/coverageX.es ; \ > + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) emma merge \ > + -in $(TESTS_DIR)/coverage.em \ > + -in $(JNLP_TESTS_ENGINE_DIR)/coverageX.ec \ > + -in $(JNLP_TESTS_ENGINE_DIR)/coverageX.es ; \ > + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) -Demma.report.html.out.encoding=UTF-8 emma report \ > + -Dreport.html.out.encoding=UTF-8 \ > + -in $(JNLP_TESTS_ENGINE_DIR)/coverage.es \ > + -sp $(NETX_SRCDIR) \ > + -sp $(NETX_UNIT_TEST_SRCDIR) \ > + -sp $(JUNIT_RUNNER_SRCDIR) \ > + -sp $(JNLP_TESTS_ENGINE_SRCDIR) \ > + -r html \ > + -r xml \ > + "$${testcases_srcs[@]}" ; \ > + echo "restoring javaws and netx.jar in $(DESTDIR)" ; \ > + rm -f $(DESTDIR)$(bindir)/javaws $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar ; \ > + rm -f $(DESTDIR)$(bindir)/javaws; \ > + mv $$javaws_backup $(DESTDIR)$(bindir)/javaws; \ > + mv $$netx_backup $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar ; \ > + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml $(JNLP_TESTS_ENGINE_DIR)/tests-output_withEmma.xml ; \ > + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml_noEmma $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml ; \ > + rm $(JNLP_TESTS_ENGINE_DIR)/coverage.txt ; > +else > + echo "Sorry, coverage report cant be run without emma installed. Try install emma or specify with-emma value" ; > + exit 5 > +endif > + touch $@ > + > +run-test-code-coverage: run-unit-test-code-coverage run-reproducers-test-code-coverage > +if WITH_EMMA > + cd $(TESTS_DIR) ; \ > + k=0 ; \ > + types=(simple signed); \ > + for which in "$${types[@]}" ; do \ > + . $(abs_top_builddir)/NEW_LINE_IFS ; \ > + simpleReproducers=(`cat $(abs_top_builddir)/junit-jnlp-dist-$$which.txt `); \ > + IFS="$$IFS_BACKUP" ; \ > + for dir in "$${simpleReproducers[@]}" ; do \ > + testcases_srcs[k]="-sp" ; \ > + k=$$((k+1)) ; \ > + testcases_srcs[k]="$(JNLP_TESTS_SRCDIR)/$$which/$$dir/testcases/" ; \ > + k=$$((k+1)) ; \ > + done ; \ > + done ; \ > + echo "$${testcases_srcs[@]}" ; \ Likewise. I am fine with committing the patch without these extra 'echo' commands. Cheers, Omair From jvanek at icedtea.classpath.org Tue Nov 29 08:11:19 2011 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 29 Nov 2011 16:11:19 +0000 Subject: /hg/icedtea-web: Added targets to calcualte code coverage by tests Message-ID: <hg.71f338e881d2.1322583079.8643924302249223276@icedtea.classpath.org> changeset 71f338e881d2 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=71f338e881d2 author: Jiri Vanek <jvanek at redhat.com> date: Tue Nov 29 17:13:03 2011 +0100 Added targets to calcualte code coverage by tests diffstat: ChangeLog | 23 + Makefile.am | 240 +++++++++- configure.ac | 2 + tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java | 70 ++- 4 files changed, 316 insertions(+), 19 deletions(-) diffs (466 lines): diff -r 22db4e09bbc7 -r 71f338e881d2 ChangeLog --- a/ChangeLog Fri Nov 11 14:40:26 2011 +0100 +++ b/ChangeLog Tue Nov 29 17:13:03 2011 +0100 @@ -1,3 +1,26 @@ +2011-11-28 Jiri Vanek <jvanek at redhat.com> + + Added code-coverage generation targets + * configure.ac: added search for optional emma.jar + * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables + to store tests clases for reuse in emmarun. Both also moved to separate target + (run-netx-unit-tests): made dependent on reused stamped version + (run-netx-dist-tests): made dependent on reused stamped version + (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests + (run-unit-test-code-coverage) targets to generate report from unit-tests. + Result binary and xml file and html report in tests.build/netx/unit + (run-reproducers-test-code-coverage) targets to generate report from + reproducers-test. Result binary file, xml and html report in + tests.build/netx/jnlp_testsengine + (run-test-code-coverage): merges binary results from unit and reproducers + (clean-unit-test-code-coverage) conditionaly removes html,xml report + and es and ec files from tests.build/netx/unit + (clean-reproducers-test-code-coverage) condtionlay removes html and xml + report and es file from tests.build/netx/jnlp_testsengine + (clean-test-code-coverage) conditionlay removes merged html, xml es and em + files from tests.build + (clean-netx-tests) now depends also on clean-test-code-coverage + 2011-11-11 Jiri Vanek <jvanek at redhat.com> Added reproducer for PR804 and PR8011 diff -r 22db4e09bbc7 -r 71f338e881d2 Makefile.am --- a/Makefile.am Fri Nov 11 14:40:26 2011 +0100 +++ b/Makefile.am Tue Nov 29 17:13:03 2011 +0100 @@ -25,6 +25,8 @@ KEYSTORE_NAME=teststore.ks JUNIT_RUNNER_JAR=$(abs_top_builddir)/junit-runner.jar +UNIT_CLASS_NAMES = $(abs_top_builddir)/unit_class_names +REPRODUCERS_CLASS_NAMES = $(abs_top_builddir)/reproducers_class_names # Build directories @@ -106,7 +108,7 @@ endif if WITH_JUNIT - JUNIT_TESTS=run-netx-unit-tests + JUNIT_TESTS=stamps/run-netx-unit-tests.stamp else JUNIT_TESTS= endif @@ -146,7 +148,7 @@ .PHONY: clean-IcedTeaPlugin clean-add-netx clean-add-netx-debug clean-add-plugin clean-add-plugin-debug \ clean-bootstrap-directory clean-native-ecj clean-desktop-files clean-netx-docs clean-docs clean-plugin-docs \ - clean-tests check-local clean-launchers check-pac-functions run-netx-unit-tests clean-netx-tests \ + clean-tests check-local clean-launchers check-pac-functions stamps/run-netx-unit-tests.stamp clean-netx-tests \ clean-junit-runner clean-netx-unit-tests install-exec-local: @@ -539,8 +541,7 @@ mkdir -p stamps && \ touch $@ -run-netx-dist-tests: all-local stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ - stamps/netx-dist-tests-compile.stamp stamps/netx-dist-tests-compile-testcases.stamp $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) +$(REPRODUCERS_CLASS_NAMES): cd $(JNLP_TESTS_ENGINE_DIR) ; \ class_names= ; \ for test in `find -type f` ; do \ @@ -548,7 +549,15 @@ class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ class_names="$$class_names $$class_name" ; \ done ; \ - echo $$class_names ; \ + echo $$class_names > $(REPRODUCERS_CLASS_NAMES) + +stamps/run-netx-dist-tests.stamp: stamps/netx-dist.stamp extra-lib/about.jar stamps/plugin.stamp launcher.build/$(javaws) \ + javaws.desktop stamps/docs.stamp launcher.build/$(itweb_settings) itweb-settings.desktop \ + stamps/netx.stamp stamps/junit-jnlp-dist-dirs stamps/netx-dist-tests-sign-some-reproducers.stamp \ + stamps/netx-dist-tests-compile.stamp stamps/netx-dist-tests-compile-testcases.stamp $(JUNIT_RUNNER_JAR) \ + $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) $(REPRODUCERS_CLASS_NAMES) + cd $(JNLP_TESTS_ENGINE_DIR) ; \ + class_names=`cat $(REPRODUCERS_CLASS_NAMES)` ; \ CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ $(BOOT_DIR)/bin/java -Dtest.server.dir=$(JNLP_TESTS_SERVER_DEPLOYDIR) -Djavaws.build.bin=$(DESTDIR)$(bindir)/javaws \ -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ @@ -556,6 +565,7 @@ cat stdout.log ; \ cat stderr.log >&2 -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml > $(TESTS_DIR)/index_reproducers.html + touch $@ netx-unit-tests-source-files.txt: find $(NETX_UNIT_TEST_SRCDIR) -name '*.java' | sort > $@ @@ -575,8 +585,18 @@ cp $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/*.css $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)/ cp $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/*.js $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)/ -run-netx-unit-tests: stamps/netx-unit-tests-compile.stamp \ - $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) +$(UNIT_CLASS_NAMES): + cd $(NETX_UNIT_TEST_DIR) ; \ + class_names= ; \ + for test in `find -type f` ; do \ + class_name=`echo $$test | sed -e 's|\.class$$||' -e 's|^\./||'` ; \ + class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ + class_names="$$class_names $$class_name" ; \ + done ; \ + echo $$class_names > $(UNIT_CLASS_NAMES); + +stamps/run-netx-unit-tests.stamp: stamps/netx-unit-tests-compile.stamp $(JUNIT_RUNNER_JAR) \ + $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) $(UNIT_CLASS_NAMES) filename=" " ; \ cd $(NETX_UNIT_TEST_SRCDIR) ; \ for file in `find . -type f \! -iname "*.java"`; do\ @@ -584,21 +604,168 @@ cp --parents $$filename $(NETX_UNIT_TEST_DIR) ; \ done ; \ cd $(NETX_UNIT_TEST_DIR) ; \ - class_names= ; \ - for test in `find -type f` ; do \ - class_name=`echo $$test | sed -e 's|\.class$$||' -e 's|^\./||'` ; \ - class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ - class_names="$$class_names $$class_name" ; \ - done ; \ - echo $$class_names ; \ + class_names=`cat $(UNIT_CLASS_NAMES)` ; \ CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):. \ $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) CommandLine $$class_names \ > stdout.log 2> stderr.log ; \ cat stdout.log ; \ - cat stderr.log >&2 + cat stderr.log >&2 ; -xsltproc $(TESTS_SRCDIR)/$(REPORT_STYLES_DIRNAME)/jreport.xsl $(NETX_UNIT_TEST_DIR)/tests-output.xml > $(TESTS_DIR)/index_unit.html + touch $@ -clean-netx-tests: clean-netx-unit-tests clean-junit-runner clean-netx-dist-tests +#warning, during this target tests.build/netx/unit/tests-output.xml is backup and rewriten (but not coresponding html file) +#xml results run from emma sandbox, however, can be wrong, co the new tests-output.xml is then renamed and orginal one restored +#you can add -ix "-*Test*" -ix "-*test*" to ignore all test cases from statistics +stamps/run-unit-test-code-coverage.stamp: check $(UNIT_CLASS_NAMES); +if WITH_EMMA + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma ; \ + cd $(NETX_UNIT_TEST_DIR) ; \ + class_names=`cat $(UNIT_CLASS_NAMES)` ; \ + $(BOOT_DIR)/bin/java -Xbootclasspath:$(RUNTIME) -cp $(EMMA_JAR) -Demma.report.html.out.encoding=UTF-8 emmarun \ + -Dreport.html.out.encoding=UTF-8 \ + -raw \ + -sp $(NETX_SRCDIR) \ + -sp $(NETX_UNIT_TEST_SRCDIR) \ + -sp $(JUNIT_RUNNER_SRCDIR) \ + -r html \ + -r xml \ + -cp $(NETX_DIR)/lib/classes.jar \ + -cp $(JUNIT_JAR) \ + -cp $(JUNIT_RUNNER_JAR) \ + -cp $(BOOT_DIR)/jre/lib/rt.jar \ + -cp $(BOOT_DIR)/jre/lib/jsse.jar \ + -cp $(RHINO_RUNTIME) \ + -cp . \ + -ix "-org.junit.*" \ + -ix "-junit.*" \ + CommandLine $$class_names ; \ + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml $(NETX_UNIT_TEST_DIR)/tests-output_withEmma.xml ; \ + mv $(NETX_UNIT_TEST_DIR)/tests-output.xml_noEmma $(NETX_UNIT_TEST_DIR)/tests-output.xml ; +else + echo "Sorry, coverage report cant be run without emma installed. Try install emma or specify with-emma value" ; + exit 5 +endif + touch $@ + +#warning, during this target tests.build/netx/jnlp_testsengine/tests-output.xml is backup and rewriten (but not coresponding html file) +#xml results run from emma sandbox, however, can be wrong, co the new tests-output.xml is then renamed and orginal one restored +stamps/run-reproducers-test-code-coverage.stamp: stamps/run-netx-dist-tests.stamp $(REPRODUCERS_CLASS_NAMES) +if WITH_EMMA + cd $(TESTS_DIR) ; \ + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml_noEmma ; \ + echo "backuping javaws and netx.jar in $(DESTDIR)" ; \ + netx_backup=$(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx_backup.jar ; \ + javaws_backup=$(DESTDIR)$(bindir)/javaws_backup ; \ + mv $(DESTDIR)$(bindir)/javaws $$javaws_backup ; \ + mv $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar $$netx_backup ; \ + nw_bootclasspath="$(LAUNCHER_BOOTCLASSPATH):$(EMMA_JAR):$$netx_backup" ; \ + instructed_dir=$(TESTS_DIR)/instr ; \ + echo "instrumenting netx.jar from $$netx_backup through $$instructed_dir" ; \ + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) emma instr -d $$instructed_dir -ip $$netx_backup ; \ + pushd $$instructed_dir ; \ + $(BOOT_DIR)/bin/jar -cf $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar * ; \ + popd ; \ + rm -rf $$instructed_dir ; \ + echo "patching javaws" ; \ + cat $$javaws_backup | sed "s,$(LAUNCHER_BOOTCLASSPATH),$$nw_bootclasspath," > $(DESTDIR)$(bindir)/javaws ; \ + chmod 777 $(DESTDIR)$(bindir)/javaws ; \ + testcases_srcs=( ) ; \ + k=0 ; \ + types=(simple signed); \ + for which in "$${types[@]}" ; do \ + . $(abs_top_builddir)/NEW_LINE_IFS ; \ + simpleReproducers=(`cat $(abs_top_builddir)/junit-jnlp-dist-$$which.txt `); \ + IFS="$$IFS_BACKUP" ; \ + for dir in "$${simpleReproducers[@]}" ; do \ + testcases_srcs[k]="-sp" ; \ + k=$$((k+1)) ; \ + testcases_srcs[k]="$(JNLP_TESTS_SRCDIR)/$$which/$$dir/testcases/" ; \ + k=$$((k+1)) ; \ + done ; \ + done ; \ + cd $(JNLP_TESTS_ENGINE_DIR) ; \ + class_names=`cat $(REPRODUCERS_CLASS_NAMES)` ; \ + $(BOOT_DIR)/bin/java \ + -Dtest.server.dir=$(JNLP_TESTS_SERVER_DEPLOYDIR) \ + -Djavaws.build.bin=$(DESTDIR)$(bindir)/javaws \ + -Xbootclasspath:$(RUNTIME) -cp $(EMMA_JAR) emmarun \ + -raw \ + -cp $(NETX_DIR)/lib/classes.jar \ + -cp $(JUNIT_JAR) \ + -cp $(JUNIT_RUNNER_JAR) \ + -cp $(BOOT_DIR)/jre/lib/rt.jar \ + -cp $(BOOT_DIR)/jre/lib/jsse.jar \ + -cp $(RHINO_RUNTIME) \ + -cp . \ + -ix "-org.junit.*" \ + -ix "-junit.*" \ + CommandLine $$class_names ; \ + mv $(JNLP_TESTS_ENGINE_DIR)/coverage.ec $(JNLP_TESTS_ENGINE_DIR)/coverageX.ec ; \ + mv $(JNLP_TESTS_ENGINE_DIR)/coverage.es $(JNLP_TESTS_ENGINE_DIR)/coverageX.es ; \ + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) emma merge \ + -in $(TESTS_DIR)/coverage.em \ + -in $(JNLP_TESTS_ENGINE_DIR)/coverageX.ec \ + -in $(JNLP_TESTS_ENGINE_DIR)/coverageX.es ; \ + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) -Demma.report.html.out.encoding=UTF-8 emma report \ + -Dreport.html.out.encoding=UTF-8 \ + -in $(JNLP_TESTS_ENGINE_DIR)/coverage.es \ + -sp $(NETX_SRCDIR) \ + -sp $(NETX_UNIT_TEST_SRCDIR) \ + -sp $(JUNIT_RUNNER_SRCDIR) \ + -sp $(JNLP_TESTS_ENGINE_SRCDIR) \ + -r html \ + -r xml \ + "$${testcases_srcs[@]}" ; \ + echo "restoring javaws and netx.jar in $(DESTDIR)" ; \ + rm -f $(DESTDIR)$(bindir)/javaws $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar ; \ + rm -f $(DESTDIR)$(bindir)/javaws; \ + mv $$javaws_backup $(DESTDIR)$(bindir)/javaws; \ + mv $$netx_backup $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar ; \ + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml $(JNLP_TESTS_ENGINE_DIR)/tests-output_withEmma.xml ; \ + mv $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml_noEmma $(JNLP_TESTS_ENGINE_DIR)/tests-output.xml ; \ + rm $(JNLP_TESTS_ENGINE_DIR)/coverage.txt ; +else + echo "Sorry, coverage report cant be run without emma installed. Try install emma or specify with-emma value" ; + exit 5 +endif + touch $@ + +run-test-code-coverage: run-unit-test-code-coverage run-reproducers-test-code-coverage +if WITH_EMMA + cd $(TESTS_DIR) ; \ + k=0 ; \ + types=(simple signed); \ + for which in "$${types[@]}" ; do \ + . $(abs_top_builddir)/NEW_LINE_IFS ; \ + simpleReproducers=(`cat $(abs_top_builddir)/junit-jnlp-dist-$$which.txt `); \ + IFS="$$IFS_BACKUP" ; \ + for dir in "$${simpleReproducers[@]}" ; do \ + testcases_srcs[k]="-sp" ; \ + k=$$((k+1)) ; \ + testcases_srcs[k]="$(JNLP_TESTS_SRCDIR)/$$which/$$dir/testcases/" ; \ + k=$$((k+1)) ; \ + done ; \ + done ; \ + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) emma merge \ + -in $(NETX_UNIT_TEST_DIR)/coverage.es \ + -in $(JNLP_TESTS_ENGINE_DIR)/coverage.es ; \ + $(BOOT_DIR)/bin/java -cp $(EMMA_JAR) -Demma.report.html.out.encoding=UTF-8 emma report \ + -Dreport.html.out.encoding=UTF-8 \ + -in $(TESTS_DIR)/coverage.es \ + -in $(TESTS_DIR)/coverage.em \ + -sp $(NETX_SRCDIR) \ + -sp $(NETX_UNIT_TEST_SRCDIR) \ + -sp $(JUNIT_RUNNER_SRCDIR) \ + -sp $(JNLP_TESTS_ENGINE_SRCDIR) \ + "$${testcases_srcs[@]}" \ + -r html \ + -r xml ; +else + echo "Sorry, coverage report cant be run without emma installed. Try install emma or specify with-emma value" ; + exit 5 +endif + +clean-netx-tests: clean-netx-unit-tests clean-junit-runner clean-netx-dist-tests clean-test-code-coverage if [ -e $(TESTS_DIR)/netx ]; then \ rmdir $(TESTS_DIR)/netx ; \ fi @@ -611,6 +778,8 @@ clean-netx-unit-tests: clean_tests_reports rm -f netx-unit-tests-source-files.txt rm -rf $(NETX_UNIT_TEST_DIR) + rm -f $(UNIT_CLASS_NAMES) + rm -f stamps/run-netx-unit-tests.stamp rm -f stamps/netx-unit-tests-compile.stamp clean_tests_reports: @@ -629,7 +798,38 @@ rm -f stamps/netx-dist-tests-sign-some-reproducers.stamp rm -f junit-jnlp-dist-simple.txt rm -f junit-jnlp-dist-signed.txt + rm -f $(REPRODUCERS_CLASS_NAMES) rm -f $(abs_top_builddir)/$(KEYSTORE_NAME) + rm -f stamps/run-netx-dist-tests.stamp + +clean-unit-test-code-coverage: + if [ -e stamps/run-unit-test-code-coverage.stamp ]; then \ + rm -rf $(NETX_UNIT_TEST_DIR)/coverage ; \ + rm -f $(NETX_UNIT_TEST_DIR)/coverage.xml ; \ + rm -f $(NETX_UNIT_TEST_DIR)/coverageX.es ; \ + rm -f $(NETX_UNIT_TEST_DIR)/coverageX.ec ; \ + rm -f $(NETX_UNIT_TEST_DIR)/coverage.es ; \ + rm -f $(NETX_UNIT_TEST_DIR)/tests-output_withEmma.xml ; \ + rm -f stamps/run-unit-test-code-coverage.stamp ; \ + fi + +clean-reproducers-test-code-coverage: + if [ -e stamps/run-reproducers-test-code-coverage.stamp ]; then \ + rm -rf $(JNLP_TESTS_ENGINE_DIR)/coverage ; \ + rm -f $(JNLP_TESTS_ENGINE_DIR)/coverage.xml ; \ + rm -f $(JNLP_TESTS_ENGINE_DIR)/coverage.es ; \ + rm -f $(JNLP_TESTS_ENGINE_DIR)/tests-output_withEmma.xml ; \ + rm -f stamps/run-reproducers-test-code-coverage.stamp ; \ + fi + +clean-test-code-coverage: clean-unit-test-code-coverage clean-reproducers-test-code-coverage + if [ -e $(TESTS_DIR)/coverage.xml ]; then \ + rm -rf $(TESTS_DIR)/coverage ; \ + rm -f $(TESTS_DIR)/coverage.xml ; \ + rm -f $(TESTS_DIR)/coverage.es ; \ + rm -f $(TESTS_DIR)/coverage.em ; \ + fi + # plugin tests @@ -730,3 +930,11 @@ plugin: stamps/plugin.stamp plugin-tests: stamps/plugin-tests.stamp + +run-netx-unit-tests: stamps/run-netx-unit-tests.stamp + +run-netx-dist-tests: stamps/run-netx-dist-tests.stamp + +run-unit-test-code-coverage: stamps/run-unit-test-code-coverage.stamp + +run-reproducers-test-code-coverage: stamps/run-reproducers-test-code-coverage.stamp diff -r 22db4e09bbc7 -r 71f338e881d2 configure.ac --- a/configure.ac Fri Nov 11 14:40:26 2011 +0100 +++ b/configure.ac Tue Nov 29 17:13:03 2011 +0100 @@ -90,6 +90,8 @@ [/usr/share/java/js.jar /usr/share/rhino-1.6/lib/js.jar]) IT_FIND_OPTIONAL_JAR([junit], JUNIT, [/usr/share/java/junit4.jar /usr/share/junit-4/lib/junit.jar]) +IT_FIND_OPTIONAL_JAR([emma], EMMA, + [/usr/share/java/emma.jar]) AC_CONFIG_FILES([jrunscript], [chmod u+x jrunscript]) AC_CONFIG_FILES([build.properties]) diff -r 22db4e09bbc7 -r 71f338e881d2 tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java --- a/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java Fri Nov 11 14:40:26 2011 +0100 +++ b/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java Tue Nov 29 17:13:03 2011 +0100 @@ -208,6 +208,66 @@ } @Test + public void testsProcessResultFiltering() throws Exception { + ProcessResult pn = new ProcessResult(null, null, null, true, 0); + Assert.assertNull(pn.notFilteredStdout); + Assert.assertNull(pn.stdout); + Assert.assertNull(pn.stderr); + String fakeOut2 = + "EMMA: processing instrumentation path ...\n" + + "EMMA: package [net.sourceforge.filebrowser] contains classes [ArrayOfString] without full debug info\n" + + "EMMA: instrumentation path processed in 1407 ms\n" + + "test stage 1\n" + + "test stage 2\n" + + "EMMA: The intruder!\n" + + "test stage 3\n" + + "EMMA: [45 class(es) instrumented, 13 resource(s) copied]\n" + + "EMMA: metadata merged into [icedtea-web/inc] {in 105 ms}\n" + + "EMMA: processing instrumentation path ..."; + String filteredOut2 = + "test stage 1\n" + + "test stage 2\n" + + "test stage 3\n"; + ProcessResult p2 = new ProcessResult(fakeOut2, fakeOut2, null, true, 0); + Assert.assertEquals(p2.notFilteredStdout, fakeOut2); + Assert.assertEquals(p2.stdout, filteredOut2); + Assert.assertEquals(p2.stderr, fakeOut2); + fakeOut2+="\n"; + p2 = new ProcessResult(fakeOut2, fakeOut2, null, true, 0); + Assert.assertEquals(p2.notFilteredStdout, fakeOut2); + Assert.assertEquals(p2.stdout, filteredOut2); + Assert.assertEquals(p2.stderr, fakeOut2); + String fakeOut = + "test string\n" + + "EMMA: processing instrumentation path ...\n" + + "EMMA: package [net.sourceforge.filebrowser] contains classes [ArrayOfString] without full debug info\n" + + "EMMA: instrumentation path processed in 1407 ms\n" + + "test stage 1\n" + + "test stage 2\n" + + "test stage 3\n" + + "EMMA: [45 class(es) instrumented, 13 resource(s) copied]\n" + + "EMMA: metadata merged into [icedtea-web/inc] {in 105 ms}\n" + + "EMMA: processing instrumentation path ...\n" + + "test ends"; + String filteredOut = + "test string\n" + + "test stage 1\n" + + "test stage 2\n" + + "test stage 3\n" + + "test ends"; + ProcessResult p = new ProcessResult(fakeOut, fakeOut, null, true, 0); + Assert.assertEquals(p.notFilteredStdout, fakeOut); + Assert.assertEquals(p.stdout, filteredOut); + Assert.assertEquals(p.stderr, fakeOut); + fakeOut+="\n"; + filteredOut+="\n"; + p = new ProcessResult(fakeOut, fakeOut, null, true, 0); + Assert.assertEquals(p.notFilteredStdout, fakeOut); + Assert.assertEquals(p.stdout, filteredOut); + Assert.assertEquals(p.stderr, fakeOut); + } + + @Test public void ensureJavaws() throws Exception { String javawsValue = getJavawsLocation(); Assert.assertNotNull(javawsValue); @@ -215,8 +275,6 @@ File javawsFile = getJavawsFile(); Assert.assertTrue(javawsFile.exists()); Assert.assertFalse(javawsFile.isDirectory()); - - } @Test @@ -864,13 +922,19 @@ public static class ProcessResult { public final String stdout; + public final String notFilteredStdout; public final String stderr; public final Process process; public final Integer returnValue; public final boolean wasTerminated; public ProcessResult(String stdout, String stderr, Process process, boolean wasTerminated, Integer r) { - this.stdout = stdout; + this.notFilteredStdout = stdout; + if (stdout == null) { + this.stdout = null; + } else { + this.stdout = stdout.replaceAll("EMMA:.*\n?", ""); + } this.stderr = stderr; this.process = process; this.wasTerminated = wasTerminated; From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 13:24:02 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 21:24:02 +0000 Subject: [Bug 824] New: problems with memory allocation with -Xms option Message-ID: <bug-824-30@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=824 Bug #: 824 Summary: problems with memory allocation with -Xms option Classification: Unclassified Product: IcedTea Version: unspecified Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: IcedTea7 AssignedTo: ahughes at redhat.com ReportedBy: andrej.gelenberg at udo.edu CC: unassigned at icedtea.classpath.org Created attachment 614 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=614 stracelog $ java -Xms1024m Error occurred during initialization of VM Could not reserve enough space for object heap There 8 GB ram and about 10 GB swap, but it steel fail. Oracle JDK has the same problem. $ uname -a Linux ls12nb2 3.1.4+ #43 SMP Tue Nov 29 11:33:43 CET 2011 x86_64 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux System gentoo ~amd64 $ java -version java version "1.7.0_147-icedtea" OpenJDK Runtime Environment (IcedTea7 2.0) (Gentoo build 1.7.0_147-icedtea-b147) OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) strace log show 2 overlapping mmap calls width MAP_FIXED flag: ... [pid 29849] mmap(0x7d7200000, 358612992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|0x40000, -1, 0) = 0x7d7200000 ... [pid 29849] mmap(0x785800000, 717225984, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|0x40000, -1, 0) = -1 ENOMEM (Cannot allocate memory) ... stracelog generated with: $ strace -f java -Xms1024m &>stracelog -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 13:29:26 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 21:29:26 +0000 Subject: [Bug 824] problems with memory allocation with -Xms option In-Reply-To: <bug-824-30@http.icedtea.classpath.org/bugzilla/> References: <bug-824-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-824-30-BpB2l1tzM1@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=824 --- Comment #1 from Andrej Gelenberg <andrej.gelenberg at udo.edu> 2011-11-29 21:29:26 UTC --- Created attachment 615 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=615 mmapanalysis mmap syscals analysis: <start address> <end address> <size> [*] * - mean mmap syscall failed -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From bugzilla-daemon at icedtea.classpath.org Tue Nov 29 13:30:34 2011 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Nov 2011 21:30:34 +0000 Subject: [Bug 824] problems with memory allocation with -Xms option In-Reply-To: <bug-824-30@http.icedtea.classpath.org/bugzilla/> References: <bug-824-30@http.icedtea.classpath.org/bugzilla/> Message-ID: <bug-824-30-ryamBGi4VX@http.icedtea.classpath.org/bugzilla/> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=824 --- Comment #2 from Andrej Gelenberg <andrej.gelenberg at udo.edu> 2011-11-29 21:30:34 UTC --- may be related: https://bugs.gentoo.org/show_bug.cgi?id=389751 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From sumancse at gmail.com Tue Nov 29 20:54:17 2011 From: sumancse at gmail.com (Suman Mummaneni) Date: Wed, 30 Nov 2011 10:24:17 +0530 Subject: No subject Message-ID: <CAA8auxemZsjgUKybSHEH+vR78wGq8Dx2DxhZBX91XXcPL2WYaQ@mail.gmail.com> Hi I am new to IcedTea, I am trying to cross compile Open JDK 6 for SH4 platform. If any has more info on this could please share. I have found some links on how to cross compile IcedTea but it was not quire useful. Thanks in advance -- Regards Suman Mummaneni <http://sumancse.googlepages.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111130/0d867db3/attachment.html From sumancse at gmail.com Tue Nov 29 20:58:36 2011 From: sumancse at gmail.com (Suman Mummaneni) Date: Wed, 30 Nov 2011 10:28:36 +0530 Subject: How to cross compile open JDK for SH4 Message-ID: <CAA8auxdhr_sa-oP0tP-O-SeZBqvBJ_Re0ZesSbKNf04MyWObFw@mail.gmail.com> Adding Subject line. -- Regards Suman Mummaneni On Wed, Nov 30, 2011 at 10:24 AM, Suman Mummaneni <sumancse at gmail.com>wrote: > Hi > I am new to IcedTea, I am trying to cross compile Open JDK 6 for SH4 > platform. If any has more info on this could please share. I have found > some links on how to cross compile IcedTea but it was not quire useful. > Thanks in advance > > -- > Regards > Suman Mummaneni <http://sumancse.googlepages.com> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111130/643f91cf/attachment.html From ptisnovs at icedtea.classpath.org Wed Nov 30 02:01:04 2011 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 30 Nov 2011 10:01:04 +0000 Subject: /hg/gfx-test: 2011-11-30 Pavel Tisnovsky <ptisnovs@redhat.com> Message-ID: <hg.f81d252641cf.1322647264.-6248649288953172555@icedtea.classpath.org> changeset f81d252641cf in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=f81d252641cf author: Pavel Tisnovsky <ptisnovs at redhat.com> date: Wed Nov 30 11:03:18 2011 +0100 2011-11-30 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java: Refactoring and added 14 new tests to this test suite. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java | 349 ++++++++++- 2 files changed, 339 insertions(+), 15 deletions(-) diffs (401 lines): diff -r 99792ac3c3e2 -r f81d252641cf ChangeLog --- a/ChangeLog Mon Nov 28 15:17:35 2011 +0100 +++ b/ChangeLog Wed Nov 30 11:03:18 2011 +0100 @@ -1,3 +1,8 @@ +2011-11-30 Pavel Tisnovsky <ptisnovs at redhat.com> + + * src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java: + Refactoring and added 14 new tests to this test suite. + 2011-11-28 Pavel Tisnovsky <ptisnovs at redhat.com> * src/org/gfxtest/framework/annotations/GraphicsPrimitive.java: diff -r 99792ac3c3e2 -r f81d252641cf src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java --- a/src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java Mon Nov 28 15:17:35 2011 +0100 +++ b/src/org/gfxtest/testsuites/ClippingCircleByEllipseShape.java Wed Nov 30 11:03:18 2011 +0100 @@ -80,7 +80,7 @@ */ private static void basicSetupForRendering(TestImage image, Graphics2D graphics2d) { - // create clip area + // create clip area which is constructed from the ellipse shape CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); } @@ -119,6 +119,81 @@ } /** + * Draw circle clipped by an ellipse shape. Circle is drawn using alpha + * paint with red color and selected transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByEllipseShapeAlphaPaintRed(TestImage image, Graphics2D graphics2d, int transparency) + { + // render clip rectangle + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillRedColor(graphics2d, transparency); + // create clip area + CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Draw circle clipped by an ellipse shape. Circle is drawn using alpha + * paint with green color and selected transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByEllipseShapeAlphaPaintGreen(TestImage image, Graphics2D graphics2d, int transparency) + { + // render clip rectangle + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillGreenColor(graphics2d, transparency); + // create clip area + CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** + * Draw circle clipped by an ellipse shape. Circle is drawn using alpha + * paint with blue color and selected transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @param transparency + * selected transparency (0..100 percent) + */ + private void drawCircleClippedByEllipseShapeAlphaPaintBlue(TestImage image, Graphics2D graphics2d, int transparency) + { + // render clip rectangle + CommonClippingOperations.renderClipEllipse(image, graphics2d); + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTransparentFillBlueColor(graphics2d, transparency); + // create clip area + CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); + // fill the shape + CommonShapesRenderer.drawFilledCircle(image, graphics2d); + } + + /** * Check if circle shape could be clipped by an ellipse shape. Circle is * rendered using stroke paint. * @@ -200,9 +275,9 @@ CommonRenderingStyles.setStrokeColor(graphics2d); // set fill color CommonRenderingStyles.setFillColor(graphics2d); - // create clip area + // create clip shape CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); - // fill the area + // fill the shape CommonShapesRenderer.drawFilledCircle(image, graphics2d); // test result return TestResult.PASSED; @@ -210,7 +285,7 @@ /** * Check if circle shape could be clipped by an ellipse shape. Circle is - * rendered using alpha paint. + * rendered using alpha paint with red color at 0% transparency. * * @param image * work image @@ -218,18 +293,262 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testClipCircleByEllipseShapeAlphaPaintBlue25(TestImage image, Graphics2D graphics2d) + public TestResult testClipCircleByEllipseShapeAlphaPaintRed000(TestImage image, Graphics2D graphics2d) { - // render an ellipse which is used as a base for clip shape - CommonClippingOperations.renderClipEllipse(image, graphics2d); - // set stroke color - CommonRenderingStyles.setStrokeColor(graphics2d); - // set fill color - CommonRenderingStyles.setTransparentFillBlueColor(graphics2d, 25); - // create clip area - CommonClippingOperations.createClipUsingEllipseShape(image, graphics2d); - // fill the area - CommonShapesRenderer.drawFilledCircle(image, graphics2d); + // draw circle clipped by ellipse shape using alpha paint with 0% transparency + drawCircleClippedByEllipseShapeAlphaPaintRed(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with red color at 25% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintRed025(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 25% transparency + drawCircleClippedByEllipseShapeAlphaPaintRed(image, graphics2d, 25); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with red color at 50% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintRed050(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 50% transparency + drawCircleClippedByEllipseShapeAlphaPaintRed(image, graphics2d, 50); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with red color at 75% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintRed075(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 75% transparency + drawCircleClippedByEllipseShapeAlphaPaintRed(image, graphics2d, 75); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with red color at 100% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintRed100(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 100% transparency + drawCircleClippedByEllipseShapeAlphaPaintRed(image, graphics2d, 100); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with green color at 0% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintGreen000(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 0% transparency + drawCircleClippedByEllipseShapeAlphaPaintGreen(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with green color at 25% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintGreen025(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 25% transparency + drawCircleClippedByEllipseShapeAlphaPaintGreen(image, graphics2d, 25); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with green color at 50% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintGreen050(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 50% transparency + drawCircleClippedByEllipseShapeAlphaPaintGreen(image, graphics2d, 50); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with green color at 75% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintGreen075(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 75% transparency + drawCircleClippedByEllipseShapeAlphaPaintGreen(image, graphics2d, 75); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with green color at 100% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintGreen100(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 100% transparency + drawCircleClippedByEllipseShapeAlphaPaintGreen(image, graphics2d, 100); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with blue color at 0% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintBlue000(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 0% transparency + drawCircleClippedByEllipseShapeAlphaPaintBlue(image, graphics2d, 0); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with blue color at 25% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintBlue025(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 25% transparency + drawCircleClippedByEllipseShapeAlphaPaintBlue(image, graphics2d, 25); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with blue color at 50% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintBlue050(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 50% transparency + drawCircleClippedByEllipseShapeAlphaPaintBlue(image, graphics2d, 50); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with blue color at 75% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintBlue075(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 75% transparency + drawCircleClippedByEllipseShapeAlphaPaintBlue(image, graphics2d, 75); + // test result + return TestResult.PASSED; + } + + /** + * Check if circle shape could be clipped by an ellipse shape. Circle is + * rendered using alpha paint with blue color at 100% transparency. + * + * @param image + * work image + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testClipCircleByEllipseShapeAlphaPaintBlue100(TestImage image, Graphics2D graphics2d) + { + // draw circle clipped by ellipse shape using alpha paint with 100% transparency + drawCircleClippedByEllipseShapeAlphaPaintBlue(image, graphics2d, 100); // test result return TestResult.PASSED; }