From xranby at icedtea.classpath.org Thu Apr 1 04:32:44 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Thu, 01 Apr 2010 11:32:44 +0000 Subject: /hg/icedtea6: Add explicit success returncode to mkbc.c Message-ID: changeset 3e6dd786e038 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=3e6dd786e038 author: Xerxes R?nby date: Thu Apr 01 13:29:04 2010 +0200 Add explicit success returncode to mkbc.c 2010-04-01 Xerxes R?nby * ports/hotspot/tools/mkbc.c (main): Add success returncode. diffstat: 2 files changed, 7 insertions(+) ChangeLog | 5 +++++ ports/hotspot/tools/mkbc.c | 2 ++ diffs (22 lines): diff -r fe24088f1931 -r 3e6dd786e038 ChangeLog --- a/ChangeLog Wed Mar 31 16:33:56 2010 +0200 +++ b/ChangeLog Thu Apr 01 13:29:04 2010 +0200 @@ -1,3 +1,8 @@ 2010-03-31 Matthias Klose + + * ports/hotspot/tools/mkbc.c (main): + Add success returncode. + 2010-03-31 Matthias Klose * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_start_appletviewer): diff -r fe24088f1931 -r 3e6dd786e038 ports/hotspot/tools/mkbc.c --- a/ports/hotspot/tools/mkbc.c Wed Mar 31 16:33:56 2010 +0200 +++ b/ports/hotspot/tools/mkbc.c Thu Apr 01 13:29:04 2010 +0200 @@ -602,4 +602,6 @@ int main(int argc, char **argv) if (ferror(bci_f)) fatal("Error writing bci"); if (source_f != stdin) fclose(source_f); if (bci_f != stdout) fclose(bci_f); + + return 0; } From xerxes at zafena.se Thu Apr 1 04:36:46 2010 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Thu, 01 Apr 2010 13:36:46 +0200 Subject: FYI: add explicit success returncode to mkbc.c Message-ID: <4BB4854E.9080504@zafena.se> I have made a trivial change that makes mkbc.c explicitly return 0 on success. When using mkbc in cross compile setups then the tool could return a non zero return code value and break the build. By explicitly returning 0 fixes it. commited to: http://icedtea.classpath.org/hg/icedtea6/rev/3e6dd786e038 Cheers Xerxes From jon.vanalten at redhat.com Thu Apr 1 13:47:25 2010 From: jon.vanalten at redhat.com (jon.vanalten at redhat.com) Date: Thu, 1 Apr 2010 16:47:25 -0400 (EDT) Subject: [RFC Regression Fix] XWindowPeer override-redirect w/ metacity WM In-Reply-To: <534807653.237261270154412197.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: <51487129.237811270154845148.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Hi, It's been reported that applet windows that should be full-screen are being displayed *behind* desktop elements. See https://bugzilla.redhat.com/show_bug.cgi?id=577953 for one such report. I agree with Deepak that this is a problem not limited to applets, but within openjdk. Afaict this is since http://icedtea.classpath.org/hg/icedtea6/rev/83619682858e when patches/icedtea-override-redirect-metacity.patch was removed. Changeset indicates the patch has been upstreamed in b17. Closer inspection reveals that only the first hunk is upstream, the second part of the patch which actually addresses the metacity wm is not. I think this part of the patch needs to be restored. Building locally with that line back in XWindowPeer.java I see the correct behavior ie desktop elements hidden by java window. Diff attached. Does anyone see anything wrong with putting this back in? cheers, jon -------------- next part -------------- A non-text attachment was scrubbed... Name: fullscreen.diff Type: text/x-patch Size: 1253 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100401/c6f742fc/fullscreen.diff From bugzilla-daemon at icedtea.classpath.org Sat Apr 3 18:05:29 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 04 Apr 2010 01:05:29 +0000 Subject: [Bug 468] New: Eclipse Galileo CDT crashes for SIGSEGV after saving a c++ file on CentOS 5.4 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=468 Summary: Eclipse Galileo CDT crashes for SIGSEGV after saving a c++ file on CentOS 5.4 Product: IcedTea Version: unspecified Platform: all OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: g840529 at mail.ecc.u-tokyo.ac.jp Summery: Eclipse Galileo for C/C++ developers edition crashes after simultaneously open/edit/save multiple C++ header or source files in a relatively small (60-80 files) C++ project. STDOUT ouputs are bellow. # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00002adf8bd47821, pid=28436, tid=1107863872 # # Java VM: OpenJDK 64-Bit Server VM (1.6.0-b09 mixed mode linux-amd64) # Problematic frame: # V [libjvm.so+0x20a821] # # An error report file with more information is saved as: # /root/Desktop/hs_err_pid28436.log # # If you would like to submit a bug report, please visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # An error log is attached here. from here>--------------------------------- # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00002adf8bd47821, pid=28436, tid=1107863872 # # Java VM: OpenJDK 64-Bit Server VM (1.6.0-b09 mixed mode linux-amd64) # Problematic frame: # V [libjvm.so+0x20a821] # # If you would like to submit a bug report, please visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x000000001277f800): JavaThread "CompilerThread0" daemon [_thread_in_native, id=28444, stack(0x0000000041f8a000,0x000000004208b000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000 Registers: RAX=0x0000000000000000, RBX=0x00002aaadc396b00, RCX=0x00002aaadc90dfd0, RDX=0x00000000420886f8 RSP=0x0000000042086f00, RBP=0x0000000042086f70, RSI=0x00002aaadc385b90, RDI=0x00002aaadc90dfd0 R8 =0x0000000000000001, R9 =0x0000000000000000, R10=0x0000000000000002, R11=0x00002adf8c11d4c0 R12=0x0000000000000000, R13=0x00002aaadc396ac8, R14=0x0000000000000001, R15=0x00000000126f1e30 RIP=0x00002adf8bd47821, EFL=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004 TRAPNO=0x000000000000000e Top of Stack: (sp=0x0000000042086f00) 0x0000000042086f00: 00000000420870f0 00002aaadc28afd8 0x0000000042086f10: 0100000042087190 0000000042088670 0x0000000042086f20: 000000070001ce58 00002aaadc28afd0 0x0000000042086f30: 0000000242086f70 ffffffff00000001 0x0000000042086f40: 00002aaadc90dfd0 0000000042088670 0x0000000042086f50: 0000000042087190 00002adf8c4f81e0 0x0000000042086f60: 00002aaadc326960 0000000042086fd0 0x0000000042086f70: 0000000042087180 00002adf8bd494d3 0x0000000042086f80: 0000000000000000 0000000200000000 0x0000000042086f90: 0000000042086fa0 0000000042087130 0x0000000042086fa0: 0000000042087090 00000000420870f0 0x0000000042086fb0: 0000000042088738 00002aaadc3dacf0 0x0000000042086fc0: 00002aaadc326d48 00002aaadc326970 0x0000000042086fd0: 00002adf8c4bf710 000000000000000e 0x0000000042086fe0: 0000000042089490 0000000042088670 0x0000000042086ff0: 00002aaa000009c3 0000000042087030 0x0000000042087000: 00000000420870a0 00002adf8c117a06 0x0000000042087010: 0000000042087190 00002adf8c117957 0x0000000042087020: 0000000042087060 00002adf8c117a06 0x0000000042087030: 00000000420887d8 00002adf8c117957 0x0000000042087040: 0000000042087080 00002adf8bcf005b 0x0000000042087050: 00002aaadc737000 00000000420887d8 0x0000000042087060: 0000000042087080 0000000042088738 0x0000000042087070: 000000001277fe50 0000000000007fd8 0x0000000042087080: 00000000420870c0 00002adf8bcf0147 0x0000000042087090: 000000000000000c 0000000042089490 0x00000000420870a0: 00002aaadc0e9bc0 00002aaadc421fb0 0x00000000420870b0: 00002aaadc28ee80 00002aaadc28fab0 0x00000000420870c0: 00002aaadc431fc0 0000000042088790 0x00000000420870d0: 0000000042088738 0000000000000315 0x00000000420870e0: 0000000042087130 00002adf8bd4682f 0x00000000420870f0: 000000000000000d 0000000042089490 Instructions: (pc=0x00002adf8bd47821) 0x00002adf8bd47811: d0 48 8b 01 48 89 cf ff 90 80 00 00 00 49 89 c4 0x00002adf8bd47821: 8b 00 21 03 41 8b 44 24 04 21 43 04 48 89 df 41 Stack: [0x0000000041f8a000,0x000000004208b000], sp=0x0000000042086f00, free space=1011k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x20a821] V [libjvm.so+0x20c4d3] V [libjvm.so+0x25c31d] V [libjvm.so+0x25d878] V [libjvm.so+0x1f9028] V [libjvm.so+0x261681] V [libjvm.so+0x2623bb] V [libjvm.so+0x5d83ad] V [libjvm.so+0x4e1924] Current CompileTask: C2:922 org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith([Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;Lorg/eclipse/core/internal/dtree/IComparator;)[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode; (469 bytes) --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0000000012808400 JavaThread "Spawner Reaper" daemon [_thread_in_native, id=28543, stack(0x0000000042a95000,0x0000000042b96000)] 0x0000000012a81000 JavaThread "org.eclipse.cdt.internal.ui.text.CReconciler" daemon [_thread_blocked, id=28517, stack(0x000000004132a000,0x000000004142b000)] 0x000000001299c400 JavaThread "org.eclipse.cdt.internal.ui.text.CReconciler" daemon [_thread_blocked, id=28515, stack(0x0000000042b96000,0x0000000042c97000)] 0x000000001282d800 JavaThread "org.eclipse.cdt.internal.ui.text.CReconciler" daemon [_thread_blocked, id=28502, stack(0x0000000041577000,0x0000000041678000)] 0x0000000013707000 JavaThread "org.eclipse.cdt.internal.ui.text.CReconciler" daemon [_thread_blocked, id=28487, stack(0x0000000042994000,0x0000000042a95000)] 0x000000001438b800 JavaThread "org.eclipse.cdt.internal.ui.text.CReconciler" daemon [_thread_blocked, id=28483, stack(0x0000000040264000,0x0000000040365000)] 0x000000001281a800 JavaThread "org.eclipse.cdt.internal.ui.text.CReconciler" daemon [_thread_blocked, id=28482, stack(0x0000000042893000,0x0000000042994000)] 0x00000000143df800 JavaThread "org.eclipse.cdt.internal.ui.text.CReconciler" daemon [_thread_blocked, id=28480, stack(0x0000000040163000,0x0000000040264000)] 0x00000000134f7800 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=28477, stack(0x0000000041229000,0x000000004132a000)] 0x00002aaad5bdf800 JavaThread "Worker-7" [_thread_blocked, id=28464, stack(0x0000000041998000,0x0000000041a99000)] 0x00002aaad5be1800 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=28463, stack(0x0000000041128000,0x0000000041229000)] 0x00000000143c4800 JavaThread "Worker-6" [_thread_blocked, id=28462, stack(0x0000000041476000,0x0000000041577000)] 0x00000000143c5000 JavaThread "Worker-5" [_thread_blocked, id=28461, stack(0x0000000040f6c000,0x000000004106d000)] 0x000000001293c400 JavaThread "Worker-4" [_thread_blocked, id=28460, stack(0x0000000040547000,0x0000000040648000)] 0x00000000131ce800 JavaThread "Worker-3" [_thread_blocked, id=28459, stack(0x0000000040e6b000,0x0000000040f6c000)] 0x00000000131cf400 JavaThread "Worker-2" [_thread_blocked, id=28458, stack(0x0000000042691000,0x0000000042792000)] 0x00000000131cc000 JavaThread "Worker-1" [_thread_blocked, id=28457, stack(0x0000000040d6a000,0x0000000040e6b000)] 0x0000000012cf7800 JavaThread "Worker-0" [_thread_blocked, id=28453, stack(0x0000000040aff000,0x0000000040c00000)] 0x0000000012b5ec00 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=28452, stack(0x0000000042792000,0x0000000042893000)] 0x0000000012aa2000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=28450, stack(0x0000000042590000,0x0000000042691000)] 0x00002aaad4059800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=28449, stack(0x000000004248f000,0x0000000042590000)] 0x00002aaad4059000 JavaThread "State Data Manager" daemon [_thread_blocked, id=28448, stack(0x000000004238e000,0x000000004248f000)] 0x0000000012785800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=28446, stack(0x000000004218c000,0x000000004228d000)] 0x0000000012783400 JavaThread "CompilerThread1" daemon [_thread_in_native, id=28445, stack(0x000000004208b000,0x000000004218c000)] =>0x000000001277f800 JavaThread "CompilerThread0" daemon [_thread_in_native, id=28444, stack(0x0000000041f8a000,0x000000004208b000)] 0x000000001277e400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=28443, stack(0x0000000041e89000,0x0000000041f8a000)] 0x0000000012750400 JavaThread "Finalizer" daemon [_thread_blocked, id=28442, stack(0x0000000041cb2000,0x0000000041db3000)] 0x000000001274f000 JavaThread "Reference Handler" daemon [_thread_blocked, id=28441, stack(0x0000000041bb1000,0x0000000041cb2000)] 0x00000000126df000 JavaThread "main" [_thread_in_native, id=28437, stack(0x0000000040062000,0x0000000040163000)] Other Threads: 0x0000000012749c00 VMThread [stack: 0x0000000041ab0000,0x0000000041bb1000] [id=28440] 0x0000000012787400 WatcherThread [stack: 0x000000004228d000,0x000000004238e000] [id=28447] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 64448K, used 38834K [0x00002aaac90b0000, 0x00002aaace380000, 0x00002aaace600000) eden space 43264K, 71% used [0x00002aaac90b0000,0x00002aaacaecde28,0x00002aaacbaf0000) from space 21184K, 37% used [0x00002aaacced0000,0x00002aaacd69eb58,0x00002aaace380000) to space 20352K, 0% used [0x00002aaacbaf0000,0x00002aaacbaf0000,0x00002aaacced0000) PSOldGen total 78464K, used 56510K [0x00002aaabe600000, 0x00002aaac32a0000, 0x00002aaac90b0000) object space 78464K, 72% used [0x00002aaabe600000,0x00002aaac1d2f8a0,0x00002aaac32a0000) PSPermGen total 138176K, used 66561K [0x00002aaaae600000, 0x00002aaab6cf0000, 0x00002aaabe600000) object space 138176K, 48% used [0x00002aaaae600000,0x00002aaab2700600,0x00002aaab6cf0000) Dynamic libraries: 00400000-00409000 r-xp 00000000 fd:00 16516370 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java 00608000-0060a000 rw-p 00008000 fd:00 16516370 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java 126d6000-147df000 rw-p 126d6000 00:00 0 [heap] 40062000-40065000 ---p 40062000 00:00 0 40065000-40163000 rw-p 40065000 00:00 0 40163000-40166000 ---p 40163000 00:00 0 40166000-40264000 rw-p 40166000 00:00 0 40264000-40267000 ---p 40264000 00:00 0 40267000-40365000 rw-p 40267000 00:00 0 40547000-4054a000 ---p 40547000 00:00 0 4054a000-40648000 rw-p 4054a000 00:00 0 40648000-4064b000 rwxp 40648000 00:00 0 4064b000-40749000 rw-p 4064b000 00:00 0 409bc000-409bd000 ---p 409bc000 00:00 0 409bd000-40abd000 rw-p 409bd000 00:00 0 40aff000-40b02000 ---p 40aff000 00:00 0 40b02000-40c00000 rw-p 40b02000 00:00 0 40c69000-40c6a000 ---p 40c69000 00:00 0 40c6a000-40d6a000 rw-p 40c6a000 00:00 0 40d6a000-40d6d000 ---p 40d6a000 00:00 0 40d6d000-40e6b000 rw-p 40d6d000 00:00 0 40e6b000-40e6e000 ---p 40e6b000 00:00 0 40e6e000-40f6c000 rw-p 40e6e000 00:00 0 40f6c000-40f6f000 ---p 40f6c000 00:00 0 40f6f000-4106d000 rw-p 40f6f000 00:00 0 41128000-4112b000 ---p 41128000 00:00 0 4112b000-41229000 rw-p 4112b000 00:00 0 41229000-4122c000 ---p 41229000 00:00 0 4122c000-4132a000 rw-p 4122c000 00:00 0 4132a000-4132d000 ---p 4132a000 00:00 0 4132d000-4142b000 rw-p 4132d000 00:00 0 41476000-41479000 ---p 41476000 00:00 0 41479000-41577000 rw-p 41479000 00:00 0 41577000-4157a000 ---p 41577000 00:00 0 4157a000-41678000 rw-p 4157a000 00:00 0 41678000-4167b000 rwxp 41678000 00:00 0 4167b000-41779000 rw-p 4167b000 00:00 0 41998000-4199b000 ---p 41998000 00:00 0 4199b000-41a99000 rw-p 4199b000 00:00 0 41ab0000-41ab1000 ---p 41ab0000 00:00 0 41ab1000-41bb1000 rw-p 41ab1000 00:00 0 41bb1000-41bb4000 ---p 41bb1000 00:00 0 41bb4000-41cb2000 rw-p 41bb4000 00:00 0 41cb2000-41cb5000 ---p 41cb2000 00:00 0 41cb5000-41db3000 rw-p 41cb5000 00:00 0 41e89000-41e8c000 ---p 41e89000 00:00 0 41e8c000-41f8a000 rw-p 41e8c000 00:00 0 41f8a000-41f8d000 ---p 41f8a000 00:00 0 41f8d000-4208b000 rw-p 41f8d000 00:00 0 4208b000-4208e000 ---p 4208b000 00:00 0 4208e000-4218c000 rw-p 4208e000 00:00 0 4218c000-4218f000 ---p 4218c000 00:00 0 4218f000-4228d000 rw-p 4218f000 00:00 0 4228d000-4228e000 ---p 4228d000 00:00 0 4228e000-4238e000 rw-p 4228e000 00:00 0 4238e000-42391000 ---p 4238e000 00:00 0 42391000-4248f000 rw-p 42391000 00:00 0 4248f000-42492000 ---p 4248f000 00:00 0 42492000-42590000 rw-p 42492000 00:00 0 42590000-42593000 ---p 42590000 00:00 0 42593000-42691000 rw-p 42593000 00:00 0 42691000-42694000 ---p 42691000 00:00 0 42694000-42792000 rw-p 42694000 00:00 0 42792000-42795000 ---p 42792000 00:00 0 42795000-42893000 rw-p 42795000 00:00 0 42893000-42896000 ---p 42893000 00:00 0 42896000-42994000 rw-p 42896000 00:00 0 42994000-42997000 ---p 42994000 00:00 0 42997000-42a95000 rw-p 42997000 00:00 0 42a95000-42a98000 ---p 42a95000 00:00 0 42a98000-42b96000 rw-p 42a98000 00:00 0 42b96000-42b99000 ---p 42b96000 00:00 0 42b99000-42c97000 rw-p 42b99000 00:00 0 37d3800000-37d381c000 r-xp 00000000 fd:00 786771 /lib64/ld-2.5.so 37d3a1b000-37d3a1c000 r--p 0001b000 fd:00 786771 /lib64/ld-2.5.so 37d3a1c000-37d3a1d000 rw-p 0001c000 fd:00 786771 /lib64/ld-2.5.so 37d3c00000-37d3c04000 r-xp 00000000 fd:00 16516373 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 37d3c04000-37d3e03000 ---p 00004000 fd:00 16516373 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 37d3e03000-37d3e04000 rw-p 00003000 fd:00 16516373 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 37d4400000-37d4415000 r-xp 00000000 fd:00 786785 /lib64/libnsl-2.5.so 37d4415000-37d4614000 ---p 00015000 fd:00 786785 /lib64/libnsl-2.5.so 37d4614000-37d4615000 r--p 00014000 fd:00 786785 /lib64/libnsl-2.5.so 37d4615000-37d4616000 rw-p 00015000 fd:00 786785 /lib64/libnsl-2.5.so 37d4616000-37d4618000 rw-p 37d4616000 00:00 0 37d4800000-37d494d000 r-xp 00000000 fd:00 786772 /lib64/libc-2.5.so 37d494d000-37d4b4d000 ---p 0014d000 fd:00 786772 /lib64/libc-2.5.so 37d4b4d000-37d4b51000 r--p 0014d000 fd:00 786772 /lib64/libc-2.5.so 37d4b51000-37d4b52000 rw-p 00151000 fd:00 786772 /lib64/libc-2.5.so 37d4b52000-37d4b57000 rw-p 37d4b52000 00:00 0 37d4c00000-37d4c82000 r-xp 00000000 fd:00 786773 /lib64/libm-2.5.so 37d4c82000-37d4e81000 ---p 00082000 fd:00 786773 /lib64/libm-2.5.so 37d4e81000-37d4e82000 r--p 00081000 fd:00 786773 /lib64/libm-2.5.so 37d4e82000-37d4e83000 rw-p 00082000 fd:00 786773 /lib64/libm-2.5.so 37d5000000-37d5002000 r-xp 00000000 fd:00 786778 /lib64/libdl-2.5.so 37d5002000-37d5202000 ---p 00002000 fd:00 786778 /lib64/libdl-2.5.so 37d5202000-37d5203000 r--p 00002000 fd:00 786778 /lib64/libdl-2.5.so 37d5203000-37d5204000 rw-p 00003000 fd:00 786778 /lib64/libdl-2.5.so 37d5400000-37d5416000 r-xp 00000000 fd:00 786774 /lib64/libpthread-2.5.so 37d5416000-37d5615000 ---p 00016000 fd:00 786774 /lib64/libpthread-2.5.so 37d5615000-37d5616000 r--p 00015000 fd:00 786774 /lib64/libpthread-2.5.so 37d5616000-37d5617000 rw-p 00016000 fd:00 786774 /lib64/libpthread-2.5.so 37d5617000-37d561b000 rw-p 37d5617000 00:00 0 37d5800000-37d5814000 r-xp 00000000 fd:00 16211560 /usr/lib64/libz.so.1.2.3 37d5814000-37d5a13000 ---p 00014000 fd:00 16211560 /usr/lib64/libz.so.1.2.3 37d5a13000-37d5a14000 rw-p 00013000 fd:00 16211560 /usr/lib64/libz.so.1.2.3 37d5c00000-37d5c07000 r-xp 00000000 fd:00 786775 /lib64/librt-2.5.so 37d5c07000-37d5e07000 ---p 00007000 fd:00 786775 /lib64/librt-2.5.so 37d5e07000-37d5e08000 r--p 00007000 fd:00 786775 /lib64/librt-2.5.so 37d5e08000-37d5e09000 rw-p 00008000 fd:00 786775 /lib64/librt-2.5.so 37d6400000-37d6505000 r-xp 00000000 fd:00 16211566 /usr/lib64/libX11.so.6.2.0 37d6505000-37d6705000 ---p 00105000 fd:00 16211566 /usr/lib64/libX11.so.6.2.0 37d6705000-37d670c000 rw-p 00105000 fd:00 16211566 /usr/lib64/libX11.so.6.2.0 37d6c00000-37d6c05000 r-xp 00000000 fd:00 16211565 /usr/lib64/libXdmcp.so.6.0.0 37d6c05000-37d6e04000 ---p 00005000 fd:00 16211565 /usr/lib64/libXdmcp.so.6.0.0 37d6e04000-37d6e05000 rw-p 00004000 fd:00 16211565 /usr/lib64/libXdmcp.so.6.0.0 37d7000000-37d7002000 r-xp 00000000 fd:00 16211564 /usr/lib64/libXau.so.6.0.0 37d7002000-37d7201000 ---p 00002000 fd:00 16211564 /usr/lib64/libXau.so.6.0.0 37d7201000-37d7202000 rw-p 00001000 fd:00 16211564 /usr/lib64/libXau.so.6.0.0 37d7400000-37d7410000 r-xp 00000000 fd:00 16211571 /usr/lib64/libXext.so.6.4.0 37d7410000-37d7610000 ---p 00010000 fd:00 16211571 /usr/lib64/libXext.so.6.4.0 37d7610000-37d7611000 rw-p 00010000 fd:00 16211571 /usr/lib64/libXext.so.6.4.0 37d7c00000-37d7c7f000 r-xp 00000000 fd:00 16211561 /usr/lib64/libfreetype.so.6.3.10 37d7c7f000-37d7e7f000 ---p 0007f000 fd:00 16211561 /usr/lib64/libfreetype.so.6.3.10 37d7e7f000-37d7e84000 rw-p 0007f000 fd:00 16211561 /usr/lib64/libfreetype.so.6.3.10 37d8000000-37d8020000 r-xp 00000000 fd:00 786780 /lib64/libexpat.so.0.5.0 37d8020000-37d821f000 ---p 00020000 fd:00 786780 /lib64/libexpat.so.0.5.0 37d821f000-37d8222000 rw-p 0001f000 fd:00 786780 /lib64/libexpat.so.0.5.0 37d8400000-37d8429000 r-xp 00000000 fd:00 16211562 /usr/lib64/libfontconfig.so.1.1.0 37d8429000-37d8629000 ---p 00029000 fd:00 16211562 /usr/lib64/libfontconfig.so.1.1.0 37d8629000-37d8633000 rw-p 00029000 fd:00 16211562 /usr/lib64/libfontconfig.so.1.1.0 37d8633000-37d8634000 rw-p 37d8633000 00:00 0 37d8800000-37d8823000 r-xp 00000000 fd:00 16211563 /usr/lib64/libpng12.so.0.10.0 37d8823000-37d8a23000 ---p 00023000 fd:00 16211563 /usr/lib64/libpng12.so.0.10.0 37d8a23000-37d8a24000 rw-p 00023000 fd:00 16211563 /usr/lib64/libpng12.so.0.10.0 37d8c00000-37d8c09000 r-xp 00000000 fd:00 16211567 /usr/lib64/libXrender.so.1.3.0 37d8c09000-37d8e08000 ---p 00009000 fd:00 16211567 /usr/lib64/libXrender.so.1.3.0 37d8e08000-37d8e09000 rw-p 00008000 fd:00 16211567 /usr/lib64/libXrender.so.1.3.0 37d9000000-37d908f000 r-xp 00000000 fd:00 16211577 /usr/lib64/libgdk-x11-2.0.so.0.1000.4 37d908f000-37d928e000 ---p 0008f000 fd:00 16211577 /usr/lib64/libgdk-x11-2.0.so.0.1000.4 37d928e000-37d9293000 rw-p 0008e000 fd:00 16211577 /usr/lib64/libgdk-x11-2.0.so.0.1000.4 37d9400000-37d942d000 r-xp 00000000 fd:00 16211569 /usr/lib64/libpangoft2-1.0.so.0.1400.9 37d942d000-37d962d000 ---p 0002d000 fd:00 16211569 /usr/lib64/libpangoft2-1.0.so.0.1400.9 37d962d000-37d962e000 rw-p 0002d000 fd:00 16211569 /usr/lib64/libpangoft2-1.0.so.0.1400.9 37d9800000-37d9803000 r-xp 00000000 fd:00 16211574 /usr/lib64/libXrandr.so.2.0.0 37d9803000-37d9a02000 ---p 00003000 fd:00 16211574 /usr/lib64/libXrandr.so.2.0.0 37d9a02000-37d9a03000 rw-p 00002000 fd:00 16211574 /usr/lib64/libXrandr.so.2.0.0 37d9c00000-37d9c08000 r-xp 00000000 fd:00 16211573 /usr/lib64/libXi.so.6.0.0 37d9c08000-37d9e07000 ---p 00008000 fd:00 16211573 /usr/lib64/libXi.so.6.0.0 37d9e07000-37d9e08000 rw-p 00007000 fd:00 16211573 /usr/lib64/libXi.so.6.0.0 37da000000-37da008000 r-xp 00000000 fd:00 16211570 /usr/lib64/libpangocairo-1.0.so.0.1400.9 37da008000-37da208000 ---p 00008000 fd:00 16211570 /usr/lib64/libpangocairo-1.0.so.0.1400.9 37da208000-37da209000 rw-p 00008000 fd:00 16211570 /usr/lib64/libpangocairo-1.0.so.0.1400.9 37da400000-37da467000 r-xp 00000000 fd:00 16211568 /usr/lib64/libcairo.so.2.9.2 37da467000-37da666000 ---p 00067000 fd:00 16211568 /usr/lib64/libcairo.so.2.9.2 37da666000-37da669000 rw-p 00066000 fd:00 16211568 /usr/lib64/libcairo.so.2.9.2 37da800000-37da802000 r-xp 00000000 fd:00 16211572 /usr/lib64/libXinerama.so.1.0.0 37da802000-37daa01000 ---p 00002000 fd:00 16211572 /usr/lib64/libXinerama.so.1.0.0 37daa01000-37daa02000 rw-p 00001000 fd:00 16211572 /usr/lib64/libXinerama.so.1.0.0 37dac00000-37dac3e000 r-xp 00000000 fd:00 16211559 /usr/lib64/libpango-1.0.so.0.1400.9 37dac3e000-37dae3d000 ---p 0003e000 fd:00 16211559 /usr/lib64/libpango-1.0.so.0.1400.9 37dae3d000-37dae40000 rw-p 0003d000 fd:00 16211559 /usr/lib64/libpango-1.0.so.0.1400.9 37db000000-37db009000 r-xp 00000000 fd:00 16211576 /usr/lib64/libXcursor.so.1.0.2 37db009000-37db209000 ---p 00009000 fd:00 16211576 /usr/lib64/libXcursor.so.1.0.2 37db209000-37db20a000 rw-p 00009000 fd:00 16211576 /usr/lib64/libXcursor.so.1.0.2 37db400000-37db405000 r-xp 00000000 fd:00 16211575 /usr/lib64/libXfixes.so.3.1.0 37db405000-37db604000 ---p 00005000 fd:00 16211575 /usr/lib64/libXfixes.so.3.1.0 37db604000-37db605000 rw-p 00004000 fd:00 16211575 /usr/lib64/libXfixes.so.3.1.0 37db800000-37db817000 r-xp 00000000 fd:00 16199388 /usr/lib64/libgdk_pixbuf-2.0.so.0.1000.4 37db817000-37dba16000 ---p 00017000 fd:00 16199388 /usr/lib64/libgdk_pixbuf-2.0.so.0.1000.4 37dba16000-37dba17000 rw-p 00016000 fd:00 16199388 /usr/lib64/libgdk_pixbuf-2.0.so.0.1000.4 37dbc00000-37dbf74000 r-xp 00000000 fd:00 16211579 /usr/lib64/libgtk-x11-2.0.so.0.1000.4 37dbf74000-37dc173000 ---p 00374000 fd:00 16211579 /usr/lib64/libgtk-x11-2.0.so.0.1000.4 37dc173000-37dc17d000 rw-p 00373000 fd:00 16211579 /usr/lib64/libgtk-x11-2.0.so.0.1000.4 37dc17d000-37dc17f000 rw-p 37dc17d000 00:00 0 37dc200000-37dc21c000 r-xp 00000000 fd:00 16211578 /usr/lib64/libatk-1.0.so.0.1212.0 37dc21c000-37dc41c000 ---p 0001c000 fd:00 16211578 /usr/lib64/libatk-1.0.so.0.1212.0 37dc41c000-37dc41f000 rw-p 0001c000 fd:00 16211578 /usr/lib64/libatk-1.0.so.0.1212.0 37e6200000-37e6205000 r-xp 00000000 fd:00 16193568 /usr/lib64/libXtst.so.6.1.0 37e6205000-37e6404000 ---p 00005000 fd:00 16193568 /usr/lib64/libXtst.so.6.1.0 37e6404000-37e6405000 rw-p 00004000 fd:00 16193568 /usr/lib64/libXtst.so.6.1.0 2aaaaaaab000-2aaaaaaac000 r--s 0000a000 fd:00 17796554 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar 2aaaaaaac000-2aaaaaaad000 r--s 0000a000 fd:00 17796650 /usr/local/bin/eclipse/plugins/org.apache.commons.logging_1.0.4.v200904062259.jar 2aaaaaaae000-2aaaaaab1000 r--s 00016000 fd:00 17796557 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar 2aaaaaab1000-2aaaaaab3000 r--s 00005000 fd:00 17796486 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.commons.core_3.2.3.v20100217-0100-e3x.jar 2aaaaaab6000-2aaaaaab9000 r--s 0000e000 fd:00 17796594 /usr/local/bin/eclipse/plugins/org.eclipse.osgi.services_3.2.0.v20090520-1800.jar 2aaaaaab9000-2aaaaaabb000 r--s 00010000 fd:00 17796530 /usr/local/bin/eclipse/plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar 2aaaaaabb000-2aaaaaabf000 r--s 00027000 fd:00 17796508 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar 2aaaaaabf000-2aaaaaac0000 r--s 00002000 fd:00 17858563 /usr/local/bin/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800/runtime_registry_compatibility.jar 2aaaaaac0000-2aaaaaac2000 r--s 00027000 fd:00 17796639 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.ds_1.1.1.R35x_v20090806.jar 2aaaaaac2000-2aaaaaac3000 r--s 00006000 fd:00 17796563 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.directorywatcher_1.0.100.v20090525.jar 2aaaaaac3000-2aaaaaac4000 r--s 00009000 fd:00 17796451 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.reconciler.dropins_1.0.100.v20090520-1905.jar 2aaaaaac5000-2aaaaaac7000 r--s 0000c000 fd:00 17796631 /usr/local/bin/eclipse/plugins/org.eclipse.ui.ide.application_1.0.101.M20090826-0800.jar 2aaaaaac7000-2aaaaaac8000 ---p 2aaaaaac7000 00:00 0 2aaaaaac8000-2aaaaaac9000 rwxp 2aaaaaac8000 00:00 0 2aaaaaac9000-2aaaaaad1000 r-xp 00000000 fd:00 16516893 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaaad1000-2aaaaacd0000 ---p 00008000 fd:00 16516893 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacd0000-2aaaaacd1000 rw-p 00007000 fd:00 16516893 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacd1000-2aaaaacd2000 rw-p 2aaaaacd1000 00:00 0 2aaaaacd2000-2aaaaacda000 rw-s 00000000 fd:00 31883270 /tmp/hsperfdata_root/28436 2aaaaacda000-2aaaaace2000 r--s 00049000 fd:00 17796452 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.commons.ui_3.2.3.v20100217-0100-e3x.jar 2aaaaace2000-2aaaaace6000 r--s 0002a000 fd:00 17796580 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.bugzilla.core_3.2.3.v20100217-0100-e3x.jar 2aaaaace6000-2aaaaaceb000 r--s 00024000 fd:00 17796565 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.bugzilla.ui_3.2.3.v20100217-0100-e3x.jar 2aaaaaceb000-2aaaaaced000 r--s 0000a000 fd:00 17796654 /usr/local/bin/eclipse/plugins/org.eclipse.epp.usagedata.recording_1.1.1.R201001291118.jar 2aaaaaced000-2aaaaacf7000 r-xp 00000000 fd:00 786456 /lib64/libnss_files-2.5.so 2aaaaacf7000-2aaaaaef6000 ---p 0000a000 fd:00 786456 /lib64/libnss_files-2.5.so 2aaaaaef6000-2aaaaaef7000 r--p 00009000 fd:00 786456 /lib64/libnss_files-2.5.so 2aaaaaef7000-2aaaaaef8000 rw-p 0000a000 fd:00 786456 /lib64/libnss_files-2.5.so 2aaaaaef8000-2aaaaaf06000 r-xp 00000000 fd:00 16516891 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaaaf06000-2aaaab105000 ---p 0000e000 fd:00 16516891 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab105000-2aaaab107000 rw-p 0000d000 fd:00 16516891 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab107000-2aaaab133000 r-xp 00000000 fd:00 16516868 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab133000-2aaaab332000 ---p 0002c000 fd:00 16516868 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab332000-2aaaab336000 rw-p 0002b000 fd:00 16516868 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab336000-2aaaab33d000 r-xp 00000000 fd:00 16516892 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab33d000-2aaaab53c000 ---p 00007000 fd:00 16516892 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab53c000-2aaaab53d000 rw-p 00006000 fd:00 16516892 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab53d000-2aaaab96d000 rwxp 2aaaab53d000 00:00 0 2aaaab96d000-2aaaae53d000 rwxp 2aaaab96d000 00:00 0 2aaaae53d000-2aaaae54e000 rwxp 2aaaae53d000 00:00 0 2aaaae54e000-2aaaae5fd000 rwxp 2aaaae54e000 00:00 0 2aaaae5fd000-2aaaae600000 r--s 00013000 fd:00 17796497 /usr/local/bin/eclipse/plugins/org.eclipse.core.expressions_3.4.101.R35x_v20100209.jar 2aaaae600000-2aaab6cf0000 rwxp 2aaaae600000 00:00 0 2aaab6cf0000-2aaabe600000 rwxp 2aaab6cf0000 00:00 0 2aaabe600000-2aaac32a0000 rwxp 2aaabe600000 00:00 0 2aaac32a0000-2aaac90b0000 rwxp 2aaac32a0000 00:00 0 2aaac90b0000-2aaace380000 rwxp 2aaac90b0000 00:00 0 2aaace380000-2aaace600000 rwxp 2aaace380000 00:00 0 2aaace600000-2aaace644000 rwxp 2aaace600000 00:00 0 2aaace644000-2aaace680000 rwxp 2aaace644000 00:00 0 2aaace680000-2aaace6a7000 rwxp 2aaace680000 00:00 0 2aaace6a7000-2aaace6d5000 rwxp 2aaace6a7000 00:00 0 2aaace6d5000-2aaace6ff000 rwxp 2aaace6d5000 00:00 0 2aaace6ff000-2aaace700000 rwxp 2aaace6ff000 00:00 0 2aaace700000-2aaace728000 rwxp 2aaace700000 00:00 0 2aaace728000-2aaace757000 rwxp 2aaace728000 00:00 0 2aaace757000-2aaace79b000 rwxp 2aaace757000 00:00 0 2aaace79b000-2aaace7d7000 rwxp 2aaace79b000 00:00 0 2aaace7d7000-2aaace7ff000 rw-p 2aaace7d7000 00:00 0 2aaace7ff000-2aaace98c000 r--s 03385000 fd:00 16516924 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar 2aaace98c000-2aaacea21000 rw-p 2aaace98c000 00:00 0 2aaacea21000-2aaad1fec000 r--p 00000000 fd:00 16208089 /usr/lib/locale/locale-archive 2aaad1fec000-2aaad1ff4000 r--s 00061000 fd:00 16547853 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/gnome-java-bridge.jar 2aaad1ff4000-2aaad1ff8000 r--s 00079000 fd:00 16516913 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar 2aaad1ff8000-2aaad1fff000 r--s 000f8000 fd:00 16516923 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/resources.jar 2aaad1fff000-2aaad200d000 r-xp 00000000 fd:00 17826636 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so 2aaad200d000-2aaad210d000 ---p 0000e000 fd:00 17826636 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so 2aaad210d000-2aaad210e000 rw-p 0000e000 fd:00 17826636 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so 2aaad210e000-2aaad211f000 r--p 00000000 fd:00 16199208 /usr/share/locale/ja/LC_MESSAGES/gtk20.mo 2aaad211f000-2aaad2126000 r--s 00000000 fd:00 16318480 /usr/lib64/gconv/gconv-modules.cache 2aaad2126000-2aaad2128000 r--s 00013000 fd:00 17796585 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.app_1.2.1.R35x_v20091203.jar 2aaad2128000-2aaad2129000 r--s 00004000 fd:00 17796562 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.team.cvs_3.2.3.v20100217-0100-e3x.jar 2aaad2129000-2aaad2169000 r-xp 00000000 fd:00 16207824 /usr/local/lib/libgobject-2.0.so.0.2200.5 2aaad2169000-2aaad2369000 ---p 00040000 fd:00 16207824 /usr/local/lib/libgobject-2.0.so.0.2200.5 2aaad2369000-2aaad236b000 rw-p 00040000 fd:00 16207824 /usr/local/lib/libgobject-2.0.so.0.2200.5 2aaad236b000-2aaad2445000 r-xp 00000000 fd:00 16207810 /usr/local/lib/libglib-2.0.so.0.2200.5 2aaad2445000-2aaad2644000 ---p 000da000 fd:00 16207810 /usr/local/lib/libglib-2.0.so.0.2200.5 2aaad2644000-2aaad2646000 rw-p 000d9000 fd:00 16207810 /usr/local/lib/libglib-2.0.so.0.2200.5 2aaad2646000-2aaad2649000 r-xp 00000000 fd:00 16207815 /usr/local/lib/libgmodule-2.0.so.0.2200.5 2aaad2649000-2aaad2848000 ---p 00003000 fd:00 16207815 /usr/local/lib/libgmodule-2.0.so.0.2200.5 2aaad2848000-2aaad2849000 rw-p 00002000 fd:00 16207815 /usr/local/lib/libgmodule-2.0.so.0.2200.5 2aaad2849000-2aaad286d000 r--p 00000000 fd:00 16199207 /usr/share/locale/ja/LC_MESSAGES/gtk20-properties.mo 2aaad286d000-2aaad286e000 r-xp 00000000 fd:00 16318663 /usr/lib64/gconv/ISO8859-1.so 2aaad286e000-2aaad2a6e000 ---p 00001000 fd:00 16318663 /usr/lib64/gconv/ISO8859-1.so 2aaad2a6e000-2aaad2a70000 rw-p 00001000 fd:00 16318663 /usr/lib64/gconv/ISO8859-1.so 2aaad2a70000-2aaad2a81000 r-xp 00000000 fd:00 16647996 /usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so 2aaad2a81000-2aaad2c81000 ---p 00011000 fd:00 16647996 /usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so 2aaad2c81000-2aaad2c82000 rw-p 00011000 fd:00 16647996 /usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so 2aaad2c82000-2aaad2c9e000 r--p 00000000 fd:00 16190849 /usr/share/locale/ja/LC_MESSAGES/libc.mo 2aaad2c9e000-2aaad2c9f000 r--s 00003000 fd:00 17796498 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.updatechecker_1.1.0.v20090520-1905.jar 2aaad2c9f000-2aaad2ca2000 r-xp 00000000 fd:00 16647397 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so 2aaad2ca2000-2aaad2ea1000 ---p 00003000 fd:00 16647397 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so 2aaad2ea1000-2aaad2ea2000 rw-p 00002000 fd:00 16647397 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so 2aaad2ea2000-2aaad2f02000 rw-s 00000000 00:09 7634970 /SYSV00000000 (deleted) 2aaad2f02000-2aaad2f13000 r--s 00103000 fd:00 17796622 /usr/local/bin/eclipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar 2aaad2f13000-2aaad2f27000 r-xp 00000000 fd:00 16516884 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libnet.so 2aaad2f27000-2aaad3126000 ---p 00014000 fd:00 16516884 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libnet.so 2aaad3126000-2aaad3127000 rw-p 00013000 fd:00 16516884 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libnet.so 2aaad3127000-2aaad312e000 r-xp 00000000 fd:00 16516885 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libnio.so 2aaad312e000-2aaad332e000 ---p 00007000 fd:00 16516885 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libnio.so 2aaad332e000-2aaad332f000 rw-p 00007000 fd:00 16516885 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libnio.so 2aaad332f000-2aaad3332000 r-xp 00000000 fd:00 16318524 /usr/lib64/gconv/EUC-JP.so 2aaad3332000-2aaad3531000 ---p 00003000 fd:00 16318524 /usr/lib64/gconv/EUC-JP.so 2aaad3531000-2aaad3533000 rw-p 00002000 fd:00 16318524 /usr/lib64/gconv/EUC-JP.so 2aaad3533000-2aaad354b000 r-xp 00000000 fd:00 16318720 /usr/lib64/gconv/libJIS.so 2aaad354b000-2aaad374a000 ---p 00018000 fd:00 16318720 /usr/lib64/gconv/libJIS.so 2aaad374a000-2aaad374c000 rw-p 00017000 fd:00 16318720 /usr/lib64/gconv/libJIS.so 2aaad374c000-2aaad374e000 r--s 00012000 fd:00 17796476 /usr/local/bin/eclipse/plugins/org.eclipse.core.jobs_3.4.100.v20090429-1800.jar 2aaad374e000-2aaad3751000 r--s 00018000 fd:00 17796543 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.preferences_3.2.301.R35x_v20091117.jar 2aaad3751000-2aaad3753000 r--s 00007000 fd:00 17796484 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.monitor.core_3.2.3.v20100217-0100-e3x.jar 2aaad3753000-2aaad3757000 r--s 0001b000 fd:00 17796533 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.core_1.0.101.R35x_v20090819.jar 2aaad3757000-2aaad379d000 r--s 0039d000 fd:00 17796633 /usr/local/bin/eclipse/plugins/org.eclipse.ui.workbench_3.5.2.M20100113-0800.jar 2aaad379d000-2aaad379e000 r--s 00001000 fd:00 17826620 /usr/local/bin/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.0.I20090429-1800/compatibility.jar 2aaad379e000-2aaad37b2000 r--s 000ef000 fd:00 17796538 /usr/local/bin/eclipse/plugins/org.eclipse.jface_3.5.2.M20100120-0800.jar 2aaad37b2000-2aaad37b3000 r--s 00004000 fd:00 17796587 /usr/local/bin/eclipse/plugins/org.eclipse.swt_3.5.2.v3557f.jar 2aaad37b3000-2aaad37c6000 r--s 00211000 fd:00 17796493 /usr/local/bin/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_64_3.5.2.v3557f.jar 2aaad37c6000-2aaad37ca000 r--s 00032000 fd:00 17796535 /usr/local/bin/eclipse/plugins/org.eclipse.help_3.4.1.v20090805_35x.jar 2aaad37ca000-2aaad37cd000 r--s 00010000 fd:00 17796482 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.util_1.0.100.v20090520-1800.jar 2aaad37cd000-2aaad380d000 r-xp 00000000 fd:00 17858615 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-gtk-3557.so 2aaad380d000-2aaad390d000 ---p 00040000 fd:00 17858615 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-gtk-3557.so 2aaad390d000-2aaad3911000 rw-p 00040000 fd:00 17858615 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-gtk-3557.so 2aaad3911000-2aaad3912000 rw-p 2aaad3911000 00:00 0 2aaad3912000-2aaad397e000 r-xp 00000000 fd:00 17858616 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-pi-gtk-3557.so 2aaad397e000-2aaad3a7d000 ---p 0006c000 fd:00 17858616 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-pi-gtk-3557.so 2aaad3a7d000-2aaad3a81000 rw-p 0006b000 fd:00 17858616 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-pi-gtk-3557.so 2aaad3a81000-2aaad3a82000 rw-p 2aaad3a81000 00:00 0 2aaad3a82000-2aaad3a84000 r--s 00006000 fd:00 17796542 /usr/local/bin/eclipse/plugins/org.eclipse.update.scheduler_3.2.200.v20081127.jar 2aaad3a84000-2aaad3a87000 r--s 00016000 fd:00 17796475 /usr/local/bin/eclipse/plugins/org.eclipse.update.configurator_3.3.0.v20090312.jar 2aaad3a87000-2aaad3a8a000 r--s 0000b000 fd:00 17796628 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.monitor.ui_3.2.3.v20100217-0100-e3x.jar 2aaad3a8a000-2aaad3a8c000 r--s 00008000 fd:00 17796573 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v20090807-1100.jar 2aaad3a8c000-2aaad3a95000 r--s 0003d000 fd:00 17796664 /usr/local/bin/eclipse/plugins/org.eclipse.core.databinding.observable_1.2.0.M20090902-0800.jar 2aaad3a96000-2aaad3a99000 rw-s 00000000 00:09 7700508 /SYSV00000000 (deleted) 2aaad3a99000-2aaad3a9b000 r--s 00002000 fd:00 17796540 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.core.linux_5.1.0.201002161416.jar 2aaad3a9d000-2aaad3aa1000 r-xp 00000000 fd:00 16207820 /usr/local/lib/libgthread-2.0.so.0.2200.5 2aaad3aa1000-2aaad3ca0000 ---p 00004000 fd:00 16207820 /usr/local/lib/libgthread-2.0.so.0.2200.5 2aaad3ca0000-2aaad3ca1000 rw-p 00003000 fd:00 16207820 /usr/local/lib/libgthread-2.0.so.0.2200.5 2aaad3ca1000-2aaad3ca5000 r-xp 00000000 fd:00 16647402 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 2aaad3ca5000-2aaad3ea4000 ---p 00004000 fd:00 16647402 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 2aaad3ea4000-2aaad3ea5000 rw-p 00003000 fd:00 16647402 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 2aaad3ea5000-2aaad3f05000 rw-s 00000000 00:09 7667739 /SYSV00000000 (deleted) 2aaad3f05000-2aaad3f28000 r--s 001d6000 fd:00 17796491 /usr/local/bin/eclipse/plugins/org.eclipse.ui.ide_3.5.2.M20100113-0800.jar 2aaad3f28000-2aaad3f2a000 r--s 0000a000 fd:00 17796485 /usr/local/bin/eclipse/plugins/org.eclipse.core.filesystem_1.2.1.R35x_v20091203-1235.jar 2aaad3f2a000-2aaad3f2b000 r--s 00002000 fd:00 17796608 /usr/local/bin/eclipse/plugins/org.eclipse.core.filesystem.linux.x86_64_1.1.0.R35x_v20091203-1235.jar 2aaad3f2b000-2aaad3f35000 r--s 000a3000 fd:00 17796605 /usr/local/bin/eclipse/plugins/org.eclipse.core.resources_3.5.2.R35x_v20091203-1235.jar 2aaad3f35000-2aaad3f39000 r--s 00076000 fd:00 16547854 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/localedata.jar 2aaad3f39000-2aaad3f3c000 r--s 00018000 fd:00 17796489 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.context.core_3.2.3.v20100217-0100-e3x.jar 2aaad3f3c000-2aaad3f3f000 r--s 0001b000 fd:00 17796556 /usr/local/bin/eclipse/plugins/org.eclipse.core.resources.compatibility_3.4.1.R35x_v20100113-0530.jar 2aaad3f3f000-2aaad3f5c000 r--s 00568000 fd:00 17796648 /usr/local/bin/eclipse/plugins/com.ibm.icu_4.0.1.v20090822.jar 2aaad3f5c000-2aaad3f5e000 r--s 00004000 fd:00 17796487 /usr/local/bin/eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.100.v20090413.jar 2aaad3f65000-2aaad3fb3000 r--s 0043b000 fd:00 17796483 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.ui_5.1.2.201002161416.jar 2aaad3fb3000-2aaad3fbe000 r--s 0007d000 fd:00 17796627 /usr/local/bin/eclipse/plugins/org.eclipse.ui.editors_3.5.0.v20090527-2000.jar 2aaad3fbe000-2aaad3fc9000 r--s 0007f000 fd:00 17796659 /usr/local/bin/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.5.1.r352_v20100105.jar 2aaad3fc9000-2aaad3fce000 r--s 00037000 fd:00 17796609 /usr/local/bin/eclipse/plugins/org.eclipse.text_3.5.0.v20090513-2000.jar 2aaad3fce000-2aaad3fe1000 r--s 000db000 fd:00 17796614 /usr/local/bin/eclipse/plugins/org.eclipse.jface.text_3.5.2.r352_v20091118-0800.jar 2aaad3fe1000-2aaad3fe4000 r--s 00019000 fd:00 17796564 /usr/local/bin/eclipse/plugins/org.eclipse.core.filebuffers_3.5.0.v20090526-2000.jar 2aaad3fe7000-2aaad3fef000 r--s 00046000 fd:00 17796586 /usr/local/bin/eclipse/plugins/org.eclipse.ltk.core.refactoring_3.5.0.v20090513-2000.jar 2aaad3fef000-2aaad3ff8000 r--s 00068000 fd:00 17796645 /usr/local/bin/eclipse/plugins/org.eclipse.search_3.5.1.r351_v20090708-0800.jar 2aaad3ff8000-2aaad3ffc000 r--s 00021000 fd:00 17796612 /usr/local/bin/eclipse/plugins/org.eclipse.ui_3.5.2.M20100120-0800.jar 2aaad3ffc000-2aaad3fff000 r--s 00013000 fd:00 17796623 /usr/local/bin/eclipse/plugins/org.eclipse.ui.views_3.4.1.M20090826-0800.jar 2aaad4000000-2aaad7efa000 rw-p 2aaad4000000 00:00 0 2aaad7efa000-2aaad8000000 ---p 2aaad7efa000 00:00 0 2aaad8000000-2aaad8002000 r-xp 00000000 fd:00 17859996 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/52/1/.cp/os/linux/x86_64/liblocalfile_1_0_0.so 2aaad8002000-2aaad8101000 ---p 00002000 fd:00 17859996 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/52/1/.cp/os/linux/x86_64/liblocalfile_1_0_0.so 2aaad8101000-2aaad8102000 rw-p 00001000 fd:00 17859996 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/52/1/.cp/os/linux/x86_64/liblocalfile_1_0_0.so 2aaad8102000-2aaad8105000 r--s 00013000 fd:00 17796598 /usr/local/bin/eclipse/plugins/org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451.jar 2aaad8105000-2aaad8117000 r-xp 00000000 fd:00 16647946 /usr/lib64/gtk-2.0/immodules/im-scim-bridge.so 2aaad8117000-2aaad8317000 ---p 00012000 fd:00 16647946 /usr/lib64/gtk-2.0/immodules/im-scim-bridge.so 2aaad8317000-2aaad8318000 rw-p 00012000 fd:00 16647946 /usr/lib64/gtk-2.0/immodules/im-scim-bridge.so 2aaad8318000-2aaad831f000 r--s 00000000 fd:00 22020636 /var/cache/fontconfig/beeeeb3dfe132a8a0633a017c99ce0c0-x86-64.cache-2 2aaad831f000-2aaad8320000 r--s 00000000 fd:00 22020947 /var/cache/fontconfig/a65c362b3ac31d1038f3d79bb98bb98e-x86-64.cache-2 2aaad8320000-2aaad832b000 r--s 00000000 fd:00 22020501 /var/cache/fontconfig/e19de935dec46bbf3ed114ee4965548a-x86-64.cache-2 2aaad832b000-2aaad832e000 r--s 00000000 fd:00 22020198 /var/cache/fontconfig/e3ead4b767b8819993a6fa3ae306afa9-x86-64.cache-2 2aaad832e000-2aaad8335000 r--s 00000000 fd:00 22020607 /var/cache/fontconfig/7ddba6133ef499da58de5e8c586d3b75-x86-64.cache-2 2aaad8335000-2aaad8339000 r--s 00000000 fd:00 22020502 /var/cache/fontconfig/b67b32625a2bb51b023d3814a918f351-x86-64.cache-2 2aaad8339000-2aaad8341000 r--s 00000000 fd:00 22020612 /var/cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-x86-64.cache-2 2aaad8341000-2aaad8343000 r--s 00000000 fd:00 22020499 /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86-64.cache-2 2aaad8343000-2aaad8346000 r--s 00000000 fd:00 22021036 /var/cache/fontconfig/fdb4a018037c133ed2ff41d1378148d0-x86-64.cache-2 2aaad8346000-2aaad8349000 r--s 00000000 fd:00 22020634 /var/cache/fontconfig/ae30b330df83ba0e904b3d2eb05b9c75-x86-64.cache-2 2aaad8349000-2aaad835f000 r--s 00000000 fd:00 22020635 /var/cache/fontconfig/d066cc093611c74861a22d5ef60b042c-x86-64.cache-2 2aaad835f000-2aaad8a93000 r--p 00000000 fd:00 16842860 /usr/share/fonts/japanese/TrueType/sazanami-gothic.ttf 2aaad8a93000-2aaad8a95000 r-xp 00000000 fd:00 16550534 /usr/lib64/pango/1.5.0/modules/pango-basic-fc.so 2aaad8a95000-2aaad8c95000 ---p 00002000 fd:00 16550534 /usr/lib64/pango/1.5.0/modules/pango-basic-fc.so 2aaad8c95000-2aaad8c96000 rw-p 00002000 fd:00 16550534 /usr/lib64/pango/1.5.0/modules/pango-basic-fc.so 2aaad8c96000-2aaad8d03000 r--p 00000000 fd:00 16711886 /usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf 2aaad8d03000-2aaad8d06000 r--p 00000000 fd:00 16192920 /usr/share/locale/ja/LC_MESSAGES/atk10.mo 2aaad8d06000-2aaad8d0d000 r-xp 00000000 fd:00 17858651 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-atk-gtk-3557.so 2aaad8d0d000-2aaad8e0c000 ---p 00007000 fd:00 17858651 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-atk-gtk-3557.so 2aaad8e0c000-2aaad8e0d000 rw-p 00006000 fd:00 17858651 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-atk-gtk-3557.so 2aaad8e0d000-2aaad8e53000 r--s 003ac000 fd:00 17796636 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.core_5.1.2.201002161416.jar 2aaad8e53000-2aaad8e54000 r--s 00001000 fd:00 17858664 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/19/1/.cp/cdt_linux.jar 2aaad8e54000-2aaad8e55000 r--s 00003000 fd:00 17796644 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.core.linux.x86_64_5.1.0.201002161416.jar 2aaad8e55000-2aaad8e58000 r--s 00017000 fd:00 17796619 /usr/local/bin/eclipse/plugins/org.eclipse.core.commands_3.5.0.I20090525-2000.jar 2aaad8e58000-2aaad8e6d000 r--s 000cf000 fd:00 17796663 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.debug.ui_6.0.0.201002161416.jar 2aaad8e9a000-2aaad8ea3000 r--s 00056000 fd:00 17796672 /usr/local/bin/eclipse/plugins/org.eclipse.team.core_3.5.1.r35x_20100113-0800.jar 2aaad8ea3000-2aaad8eb3000 r--s 00107000 fd:00 17796502 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.managedbuilder.core_6.0.0.201002161416.jar 2aaad8eb3000-2aaad8ebb000 r--s 0005c000 fd:00 17796536 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.make.core_6.0.0.201002161416.jar 2aaad8ebb000-2aaad8ec1000 r--s 00043000 fd:00 17796575 /usr/local/bin/eclipse/plugins/org.eclipse.ui.forms_3.4.1.v20090714_35x.jar 2aaad8ec1000-2aaad8ec3000 r--s 0000d000 fd:00 17796635 /usr/local/bin/eclipse/plugins/org.eclipse.compare.core_3.5.0.I20090430-0408.jar 2aaad8ec3000-2aaad8ec7000 r--s 0001b000 fd:00 17796592 /usr/local/bin/eclipse/plugins/org.eclipse.ui.navigator.resources_3.4.1.M20090826-0800.jar 2aaad8ec7000-2aaad8ecb000 r--s 00023000 fd:00 17796544 /usr/local/bin/eclipse/plugins/org.eclipse.ui.console_3.4.0.v20090513.jar 2aaad8ecb000-2aaad8ed5000 r--s 00061000 fd:00 17796641 /usr/local/bin/eclipse/plugins/org.eclipse.cdt.make.ui_6.0.1.201002161416.jar 2aaad8eda000-2aaad8edb000 r--s 00002000 fd:00 17796551 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.compatibility_3.2.3.v20100217-0100-e3x.jar 2aaad8edb000-2aaad8edf000 r--s 00016000 fd:00 17796604 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.team.ui_3.2.3.v20100217-0100-e3x.jar 2aaad8edf000-2aaad8ee9000 r--s 00088000 fd:00 17796613 /usr/local/bin/eclipse/plugins/org.eclipse.update.core_3.2.300.v20090525.jar 2aaad8eef000-2aaad8ef4000 r-xp 00000000 fd:00 16647398 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so 2aaad8ef4000-2aaad90f4000 ---p 00005000 fd:00 16647398 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so 2aaad90f4000-2aaad90f5000 rw-p 00005000 fd:00 16647398 /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so 2aaad90f5000-2aaad912f000 r--p 00000000 fd:00 16711894 /usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf 2aaad912f000-2aaad914d000 r--s 00152000 fd:00 17796524 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.tasks.ui_3.2.3.v20100217-0100-e3x.jar 2aaad914d000-2aaad9156000 r--s 00050000 fd:00 17796506 /usr/local/bin/eclipse/plugins/org.eclipse.ui.navigator_3.4.2.M20100120-0800.jar 2aaad9156000-2aaad915c000 r--s 00033000 fd:00 17796652 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.context.ui_3.2.3.v20100217-0100-e3x.jar 2aaad9162000-2aaad9164000 r--s 0000e000 fd:00 17796581 /usr/local/bin/eclipse/plugins/org.eclipse.core.net_1.2.1.r35x_20090812-1200.jar 2aaad9164000-2aaad9167000 r--s 00017000 fd:00 17796507 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.security_1.0.100.v20090520-1800.jar 2aaad9167000-2aaad916a000 r--s 00014000 fd:00 16516911 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jce.jar 2aaad916a000-2aaad916c000 r--s 0000a000 fd:00 17796579 /usr/local/bin/eclipse/plugins/org.eclipse.ui.net_1.2.1.r35x_20090812-1200.jar 2aaad916c000-2aaad916e000 r--s 00008000 fd:00 17796671 /usr/local/bin/eclipse/plugins/org.eclipse.epp.usagedata.gathering_1.1.1.R201001291118.jar 2aaad916e000-2aaad9171000 r--s 0000d000 fd:00 17796621 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20090520-1905.jar 2aaad9171000-2aaad9173000 r--s 00001000 fd:00 17796495 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.exemplarysetup_1.0.100.v20090520-1905.jar 2aaad9173000-2aaad9176000 r--s 00024000 fd:00 17796584 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.engine_1.0.102.R35x_v20091117.jar 2aaad9176000-2aaad9178000 r--s 00014000 fd:00 17796552 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.director_1.0.101.R35x_v20100112.jar 2aaad9178000-2aaad917b000 r--s 00018000 fd:00 17796525 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.repository_1.0.1.R35x_v20100105.jar 2aaad917b000-2aaad917e000 r--s 0001c000 fd:00 17796665 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.metadata.repository_1.0.101.R35x_v20090812.jar 2aaad917e000-2aaad9180000 r--s 00004000 fd:00 17796514 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.p2.garbagecollector_1.0.100.v20090520-1905.jar 2aaad9180000-2aaad9182000 r--s 0000e000 fd:00 17796541 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.frameworkadmin.equinox_1.0.101.R35x_v20091214.jar 2aaad9182000-2aaad9184000 r--s 00007000 fd:00 17796607 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.frameworkadmin_1.0.100.v20090520-1905.jar 2aaad9184000-2aaad9186000 r--s 00004000 fd:00 17796500 /usr/local/bin/eclipse/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_1.0.101.R35x_v20100209.jar 2aaad9186000-2aaad9189000 r--s 0000e000 fd:00 17796668 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.commons.net_3.2.0.v20090617-0100-e3x.jar 2aaad918d000-2aaad9199000 r-xp 00000000 fd:00 17858656 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-cairo-gtk-3557.so 2aaad9199000-2aaad9299000 ---p 0000c000 fd:00 17858656 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-cairo-gtk-3557.so 2aaad9299000-2aaad929a000 rw-p 0000c000 fd:00 17858656 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/176/1/.cp/libswt-cairo-gtk-3557.so 2aaad929a000-2aaad9303000 r--p 00000000 fd:00 16711882 /usr/share/fonts/dejavu-lgc/DejaVuLGCSans-Bold.ttf 2aaad9303000-2aaad9320000 r--s 00178000 fd:00 17796626 /usr/local/bin/eclipse/plugins/org.eclipse.team.cvs.ui_3.3.202.r35x_20090930-0800.jar 2aaad9320000-2aaad9329000 r--s 00084000 fd:00 17796593 /usr/local/bin/eclipse/plugins/org.eclipse.team.cvs.core_3.3.200.I20090430-0408.jar 2aaad9329000-2aaad932c000 r--s 00009000 fd:00 17796630 /usr/local/bin/eclipse/plugins/org.eclipse.ecf.filetransfer_3.0.0.v20090831-1906.jar 2aaad932c000-2aaad932e000 r--s 0000c000 fd:00 17796661 /usr/local/bin/eclipse/plugins/org.eclipse.ecf.identity_3.0.0.v20090831-1906.jar 2aaad932e000-2aaad9335000 r--s 00048000 fd:00 17796674 /usr/local/bin/eclipse/plugins/org.eclipse.mylyn.tasks.core_3.2.3.v20100217-0100-e3x.jar 2aaad9335000-2aaad9337000 r--s 00007000 fd:00 17796676 /usr/local/bin/eclipse/plugins/org.eclipse.jsch.core_1.1.100.I20090430-0408.jar 2aaad9337000-2aaad933b000 r--s 00034000 fd:00 17796595 /usr/local/bin/eclipse/plugins/com.jcraft.jsch_0.1.41.v200903070017.jar 2aaad933b000-2aaad9341000 r--s 00049000 fd:00 17796499 /usr/local/bin/eclipse/plugins/org.apache.commons.httpclient_3.1.0.v20080605-1935.jar 2aaad9341000-2aaad935b000 r--s 0012c000 fd:00 17796490 /usr/local/bin/eclipse/plugins/org.eclipse.team.ui_3.5.0.I20090430-0408.jar 2aaad935b000-2aaad9394000 r--p 00000000 fd:00 16711891 /usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono-Bold.ttf 2aaad9394000-2aaad9398000 r-xp 00000000 fd:00 17860003 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/20/1/.cp/os/linux/x86_64/libspawner.so 2aaad9398000-2aaad9497000 ---p 00004000 fd:00 17860003 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/20/1/.cp/os/linux/x86_64/libspawner.so 2aaad9497000-2aaad9498000 rw-p 00003000 fd:00 17860003 /usr/local/bin/eclipse/configuration/org.eclipse.osgi/bundles/20/1/.cp/os/linux/x86_64/libspawner.so 2aaadc000000-2aaaddc75000 rw-p 2aaadc000000 00:00 0 2aaaddc75000-2aaae0000000 ---p 2aaaddc75000 00:00 0 2adf8bb1d000-2adf8bb1f000 rw-p 2adf8bb1d000 00:00 0 2adf8bb3a000-2adf8bb3d000 rw-p 2adf8bb3a000 00:00 0 2adf8bb3d000-2adf8c279000 r-xp 00000000 fd:00 16516896 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2adf8c279000-2adf8c479000 ---p 0073c000 fd:00 16516896 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2adf8c479000-2adf8c4f1000 rw-p 0073c000 fd:00 16516896 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2adf8c4f1000-2adf8c52a000 rw-p 2adf8c4f1000 00:00 0 7fff3271b000-7fff32750000 rw-p 7ffffffca000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] VM Arguments: jvm_args: -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx256m java_command: /usr/local/bin/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /usr/local/bin/eclipse/eclipse -name Eclipse --launcher.library /usr/local/bin/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so -startup /usr/local/bin/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -exitdata 740019 -product org.eclipse.epp.package.cpp.product -vm /usr/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx256m -jar /usr/local/bin/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar Launcher Type: SUN_STANDARD Environment Variables: PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/lib64/xulrunner-1.9 SHELL=/bin/bash DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x618c80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS: [libjvm.so+0x618c80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGFPE: [libjvm.so+0x4dcd80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGPIPE: [libjvm.so+0x4dcd80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ: [libjvm.so+0x4dcd80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x4dcd80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x4e02a0], sa_mask[0]=0x00000000, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x4de1b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: [libjvm.so+0x4de1b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGTERM: [libjvm.so+0x4de1b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x4de1b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 --------------- S Y S T E M --------------- OS:CentOS release 5.4 (Final) uname:Linux 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 libc:glibc 2.5 NPTL 2.5 rlimit: STACK 10240k, CORE 0k, NPROC 36352, NOFILE 1024, AS infinity load average:0.54 0.45 0.30 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 3984056k(37164k free), swap 6029304k(6029028k free) vm_info: OpenJDK 64-Bit Server VM (1.6.0-b09) for linux-amd64 JRE (1.6.0-b09), built on Nov 16 2009 11:22:06 by "mockbuild" with gcc 4.1.2 20080704 (Red Hat 4.1.2-46) time: Sun Apr 4 09:22:24 2010 elapsed time: 253 seconds --------------------------------------- changeset 617eb9a6b993 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=617eb9a6b993 author: doko at ubuntu.com date: Sun Apr 04 23:13:18 2010 +0200 Check for shared LLVM library. llvm-2.7 offers the option to build a shared LLVM library, unfortunately llvm-config --libs still returns the list of the static libraries. The function to check for is randomly choosen. Maybe there are better candidates, or check for functions for the required components. 2010-04-04 Matthias Klose * configure.ac: Check for shared LLVM library. diffstat: 2 files changed, 16 insertions(+), 1 deletion(-) ChangeLog | 4 ++++ configure.ac | 13 ++++++++++++- diffs (57 lines): diff -r 3e6dd786e038 -r 617eb9a6b993 ChangeLog --- a/ChangeLog Thu Apr 01 13:29:04 2010 +0200 +++ b/ChangeLog Sun Apr 04 23:13:18 2010 +0200 @@ -1,3 +1,7 @@ 2010-04-01 Xerxes R??nby + + * configure.ac: Check for shared LLVM library. + 2010-04-01 Xerxes R??nby * ports/hotspot/tools/mkbc.c (main): diff -r 3e6dd786e038 -r 617eb9a6b993 configure.ac --- a/configure.ac Thu Apr 01 13:29:04 2010 +0200 +++ b/configure.ac Sun Apr 04 23:13:18 2010 +0200 @@ -440,6 +440,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te if test "x${SHARK_BUILD_TRUE}" = x || test "x${ADD_SHARK_BUILD_TRUE}" = x; then FIND_TOOL([LLVM_CONFIG], [llvm-config]) llvm_components="jit engine nativecodegen" + LLVM_VERSION="`$LLVM_CONFIG --version | sed 's/svn.*//'`" dnl LLVM_CFLAGS LLVM_CFLAGS= for flag in $($LLVM_CONFIG --cxxflags $llvm_components); do @@ -452,6 +453,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te fi fi done + LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`echo $LLVM_VERSION | sed 's/\.//'`" dnl LLVM_LDFLAGS LLVM_LDFLAGS= for flag in $($LLVM_CONFIG --ldflags $llvm_components); do @@ -463,8 +465,17 @@ if test "x${SHARK_BUILD_TRUE}" = x || te fi done dnl LLVM_LIBS + LIBS_SAVED=$LIBS + LDFLAGS_SAVED=$LDFLAGS + LDFLAGS=$LLVM_LDFLAGS + AC_CHECK_LIB(LLVM-$LLVM_VERSION, LLVMGetNextInstruction,LLVM_SHARED_LIB=" -lLLVM-$LLVM_VERSION") + LIBS=$LIBS_SAVED + LDFLAGS=$LDFLAGS_SAVED LLVM_LIBS= for flag in $($LLVM_CONFIG --libs $llvm_components); do + if test "x$LLVM_SHARED_LIB" != x && echo "$flag" | grep -q '^-lLLVM'; then + continue + fi if echo "$flag" | grep -q '^-l'; then if test "x$LLVM_LIBS" != "x"; then LLVM_LIBS="$LLVM_LIBS " @@ -472,7 +483,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te LLVM_LIBS="$LLVM_LIBS$flag" fi done - LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/\.//;s/svn.*//'`" + LLVM_LIBS="$LLVM_LIBS$LLVM_SHARED_LIB" fi AC_SUBST(LLVM_CFLAGS) AC_SUBST(LLVM_LDFLAGS) From doko at icedtea.classpath.org Sun Apr 4 15:46:50 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Sun, 04 Apr 2010 22:46:50 +0000 Subject: /hg/icedtea6: Fix Hitachi SH settings Message-ID: changeset 8089180753c9 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8089180753c9 author: doko at ubuntu.com date: Mon Apr 05 00:21:56 2010 +0200 Fix Hitachi SH settings 2010-04-04 Nobuhiro Iwamatsu * acinclude.m4 (IT_SET_ARCH_SETTINGS): Fix Hitachi SH settings. diffstat: 2 files changed, 5 insertions(+), 1 deletion(-) ChangeLog | 4 ++++ acinclude.m4 | 2 +- diffs (23 lines): diff -r 617eb9a6b993 -r 8089180753c9 ChangeLog --- a/ChangeLog Sun Apr 04 23:13:18 2010 +0200 +++ b/ChangeLog Mon Apr 05 00:21:56 2010 +0200 @@ -1,3 +1,7 @@ 2010-04-04 Matthias Klose + + * acinclude.m4 (IT_SET_ARCH_SETTINGS): Fix Hitachi SH settings. + 2010-04-04 Matthias Klose * configure.ac: Check for shared LLVM library. diff -r 617eb9a6b993 -r 8089180753c9 acinclude.m4 --- a/acinclude.m4 Sun Apr 04 23:13:18 2010 +0200 +++ b/acinclude.m4 Mon Apr 05 00:21:56 2010 +0200 @@ -85,7 +85,7 @@ AC_DEFUN([IT_SET_ARCH_SETTINGS], CROSS_TARGET_ARCH=s390x ARCHFLAG="-m64" ;; - sh*-*-*) + sh*) BUILD_ARCH_DIR=sh INSTALL_ARCH_DIR=sh JRE_ARCH_DIR=sh From mail.twerner at googlemail.com Mon Apr 5 13:22:13 2010 From: mail.twerner at googlemail.com (Torsten Werner) Date: Mon, 5 Apr 2010 22:22:13 +0200 Subject: patch for IPv6 issue Message-ID: Hi, we got several bug report in Debian about an IPv6 issue in Sun's JDKs. The most import bug is . It has already been reporting to Sun years ago: without getting any useful response. I have developed a patch for Debian and Ubuntu which is available at . Please consider integrating it. Cheers, Torsten From bugzilla-daemon at icedtea.classpath.org Mon Apr 5 13:28:07 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Apr 2010 20:28:07 +0000 Subject: [Bug 370] IcedTea crashes starting Jakarta JMeter. libjpeg 7 compatibility issue? Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=370 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Platform|other |x86 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Apr 5 13:28:56 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Apr 2010 20:28:56 +0000 Subject: [Bug 374] SIGSEGV while visiting a website on Firefox 3.5, Archlinux 64bit Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=374 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|other |x86_64 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Apr 5 13:30:00 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Apr 2010 20:30:00 +0000 Subject: [Bug 377] TimeZone.getOffset() fails for some TZ Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=377 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|other |all -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Apr 5 13:30:43 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Apr 2010 20:30:43 +0000 Subject: [Bug 406] IcedTeaPlugin.so fails to load processing created applets. Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=406 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|IcedTea6 |Plugin Platform|other |x86 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Apr 5 13:31:09 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Apr 2010 20:31:09 +0000 Subject: [Bug 433] Failed tar extraction does not cause immediate build failure Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=433 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|other |all -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 6 10:06:06 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 06 Apr 2010 17:06:06 +0000 Subject: [Bug 469] New: PCKS11 security provider not working Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=469 Summary: PCKS11 security provider not working Product: IcedTea Version: 6-hg Platform: all URL: http://launchpad.net/ OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: doko at ubuntu.com should work when configured with --enable-nss, however the tests never did succeed. Seen this forever on every Debian/Ubuntu build. However keytool is able to import the certificate with SHA384withECDSA signatures (see bug #356). FAILED: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java FAILED: java/security/KeyPairGenerator/Failover.java FAILED: sun/security/pkcs11/ec/ReadCertificates.java FAILED: sun/security/pkcs11/ec/ReadPKCS12.java FAILED: sun/security/pkcs11/ec/TestCurves.java FAILED: sun/security/pkcs11/ec/TestECDH.java FAILED: sun/security/pkcs11/ec/TestECDSA.java FAILED: sun/security/pkcs11/ec/TestECGenSpec.java FAILED: sun/security/pkcs11/ec/TestKeyFactory.java FAILED: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java FAILED: sun/security/pkcs11/tls/TestPRF.java FAILED: sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/TestAllSuites.java FAILED: sun/security/ssl/sanity/ciphersuites/CheckCipherSuites.java FAILED: sun/security/ssl/sanity/interop/ClientJSSEServerJSSE.java just turning off security.provider.9 in java.security lets the sun/security/ssl/ tests succeed. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 6 10:06:51 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 06 Apr 2010 17:06:51 +0000 Subject: [Bug 469] PCKS11 security provider not working Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=469 doko at ubuntu.com changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://launchpad.net/ |http://launchpad.net/bugs/55 | |6549 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 6 10:19:18 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 06 Apr 2010 17:19:18 +0000 Subject: [Bug 469] PCKS11 security provider not working Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=469 ------- Comment #1 from doko at ubuntu.com 2010-04-06 17:19 ------- Created an attachment (id=325) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=325&action=view) jtr files -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From ahughes at redhat.com Tue Apr 6 10:29:18 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Tue, 6 Apr 2010 17:29:18 +0000 Subject: patch for IPv6 issue In-Reply-To: References: Message-ID: On 5 April 2010 20:22, Torsten Werner wrote: > Hi, > > we got several bug report in Debian about an IPv6 issue in Sun's JDKs. > The most import bug is > . It has > already been reporting to Sun years ago: > without > getting any useful response. I have developed a patch for Debian and > Ubuntu which is available at > . > Please consider integrating it. > > Cheers, > Torsten > Is there an SCA on file? -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Tue Apr 6 10:38:11 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Tue, 6 Apr 2010 17:38:11 +0000 Subject: [RFC Regression Fix] XWindowPeer override-redirect w/ metacity WM In-Reply-To: <51487129.237811270154845148.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> References: <534807653.237261270154412197.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> <51487129.237811270154845148.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: On 1 April 2010 20:47, wrote: > Hi, > > It's been reported that applet windows that should be full-screen are being displayed *behind* desktop elements. ?See https://bugzilla.redhat.com/show_bug.cgi?id=577953 for one such report. ?I agree with Deepak that this is a problem not limited to applets, but within openjdk. ?Afaict this is since http://icedtea.classpath.org/hg/icedtea6/rev/83619682858e when patches/icedtea-override-redirect-metacity.patch was removed. ?Changeset indicates the patch has been upstreamed in b17. ?Closer inspection reveals that only the first hunk is upstream, the second part of the patch which actually addresses the metacity wm is not. ?I think this part of the patch needs to be restored. ?Building locally with that line back in XWindowPeer.java I see the correct behavior ie desktop elements hidden by java window. ?Diff attached. ?Does anyone see anything wrong with putting this back in? > > cheers, > > jon See http://icedtea.classpath.org/wiki/IcedTea_JDK6_Patches 'The Metacity issue has been marked as not a bug in the JDK, but one in Metacity: see S6514512.' http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6514512 https://bugzilla.gnome.org/show_bug.cgi?id=405269 No progress since 2007. I think the better course of action would be to at least ping the GNOME developers and find out what's going on. I don't really want the patch back in IcedTea unless we have to, especially when upstream have specifically objected to it. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From dbhole at icedtea.classpath.org Tue Apr 6 11:17:11 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Tue, 06 Apr 2010 18:17:11 +0000 Subject: /hg/icedtea6: Profiled memory usage and implemented proper clean... Message-ID: changeset 601db47e5a01 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=601db47e5a01 author: Deepak Bhole date: Tue Apr 06 14:17:02 2010 -0400 Profiled memory usage and implemented proper cleanup for C++ side. diffstat: 7 files changed, 212 insertions(+), 151 deletions(-) ChangeLog | 42 ++++++ plugin/icedteanp/IcedTeaJavaRequestProcessor.cc | 97 +++++++-------- plugin/icedteanp/IcedTeaPluginRequestProcessor.cc | 135 +++++++++------------ plugin/icedteanp/IcedTeaPluginRequestProcessor.h | 16 +- plugin/icedteanp/IcedTeaPluginUtils.cc | 59 ++++++--- plugin/icedteanp/IcedTeaPluginUtils.h | 7 - plugin/icedteanp/IcedTeaScriptablePluginObject.cc | 7 - diffs (truncated from 865 to 500 lines): diff -r 8089180753c9 -r 601db47e5a01 ChangeLog --- a/ChangeLog Mon Apr 05 00:21:56 2010 +0200 +++ b/ChangeLog Tue Apr 06 14:17:02 2010 -0400 @@ -1,3 +1,45 @@ 2010-04-04 Nobuhiro Iwamatsu + + * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc + (newMessageOnBus): Update to used string pointer vector (form strSplit) + instead of a string vector. Correctly free memory. + * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Initialize + message_queue to be a string pointer vector vector instead of a string + vector vector. + (newMessageOnBus): Update to used string pointer vector (form strSplit) + instead of a string vector. Correctly free memory. + (sendWindow): Deal with string pointers instead of strings for message + parts. + (eval): Same. + (call): Same. + (sendString): Same. + (setMember): Same. + (sendMember): Same. + (finalize): Same. + (queue_processor): Same. Also, free message part memory after processing. + * plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Change method + signatures to deal with string pointer vectors instead of string vectors. + * plugin/icedteanp/IcedTeaPluginUtils.cc + (stringToJSID): Added another signature that receives a string pointer. + (strSplit): Return string pointer vector instead of string vector. + (getUTF8String): Change signature to receive string pointer vector instead + of string vector. Update function accordingly. + (getUTF16LEString): Same. + (subscribe): Make subscription atomic. + (unSubscribe): Make unsubscription atomic, bound to same lock as + subscribe(). + (post): Make list iteration and processing atomic, bound to same lock as + subscribe and unSubscribe. + * plugin/icedteanp/IcedTeaPluginUtils.h: Added new signature for + stringToJSID and updated signatures for strSplit, getUTF8String and + getUTF16LEString. + * plugin/icedteanp/IcedTeaScriptablePluginObject.cc + (IcedTeaScriptableJavaPackageObject::deAllocate): Implemented method. + (IcedTeaScriptableJavaPackageObject::invalidate): Same. + (IcedTeaScriptableJavaObject::deAllocate): Same. + (IcedTeaScriptableJavaObject::invalidate): Same. + + 2010-04-04 Nobuhiro Iwamatsu * acinclude.m4 (IT_SET_ARCH_SETTINGS): Fix Hitachi SH settings. diff -r 8089180753c9 -r 601db47e5a01 plugin/icedteanp/IcedTeaJavaRequestProcessor.cc --- a/plugin/icedteanp/IcedTeaJavaRequestProcessor.cc Mon Apr 05 00:21:56 2010 +0200 +++ b/plugin/icedteanp/IcedTeaJavaRequestProcessor.cc Tue Apr 06 14:17:02 2010 -0400 @@ -60,21 +60,21 @@ JavaRequestProcessor::newMessageOnBus(co { // Anything we are waiting for _MUST_ have and instance id and reference # - std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); + std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); - IcedTeaPluginUtilities::printStringVector("JavaRequest::newMessageOnBus:", message_parts); + IcedTeaPluginUtilities::printStringPtrVector("JavaRequest::newMessageOnBus:", message_parts); - if (message_parts->at(0) == "context" && message_parts->at(2) == "reference") - if (atoi(message_parts->at(1).c_str()) == this->instance && atoi(message_parts->at(3).c_str()) == this->reference) + if (*(message_parts->at(0)) == "context" && *(message_parts->at(2)) == "reference") + if (atoi(message_parts->at(1)->c_str()) == this->instance && atoi(message_parts->at(3)->c_str()) == this->reference) { // Gather the results // Let's get errors out of the way first - if (message_parts->at(4).find("Error") == 0) + if (!message_parts->at(4)->find("Error")) { for (int i=5; i < message_parts->size(); i++) { - result->error_msg->append(message_parts->at(i)); + result->error_msg->append(*(message_parts->at(i))); result->error_msg->append(" "); } @@ -83,78 +83,78 @@ JavaRequestProcessor::newMessageOnBus(co result->error_occurred = true; result_ready = true; } - else if (message_parts->at(4) == "GetStringUTFChars" || - message_parts->at(4) == "GetToStringValue") + else if (!message_parts->at(4)->find("GetStringUTFChars") || + !message_parts->at(4)->find("GetToStringValue")) { // first item is length, and it is radix 10 - int length = strtol(message_parts->at(5).c_str(), NULL, 10); + int length = strtol(message_parts->at(5)->c_str(), NULL, 10); IcedTeaPluginUtilities::getUTF8String(length, 6 /* start at */, message_parts, result->return_string); result_ready = true; } - else if (message_parts->at(4) == "GetStringChars") // GetStringChars (UTF-16LE/UCS-2) + else if (!message_parts->at(4)->find("GetStringChars")) // GetStringChars (UTF-16LE/UCS-2) { // first item is length, and it is radix 10 - int length = strtol(message_parts->at(5).c_str(), NULL, 10); + int length = strtol(message_parts->at(5)->c_str(), NULL, 10); IcedTeaPluginUtilities::getUTF16LEString(length, 6 /* start at */, message_parts, result->return_wstring); result_ready = true; - } else if ((message_parts->at(4) == "FindClass") || - (message_parts->at(4) == "GetClassName") || - (message_parts->at(4) == "GetClassID") || - (message_parts->at(4) == "GetMethodID") || - (message_parts->at(4) == "GetStaticMethodID") || - (message_parts->at(4) == "GetObjectClass") || - (message_parts->at(4) == "NewObject") || - (message_parts->at(4) == "NewStringUTF") || - (message_parts->at(4) == "HasPackage") || - (message_parts->at(4) == "HasMethod") || - (message_parts->at(4) == "HasField") || - (message_parts->at(4) == "GetStaticFieldID") || - (message_parts->at(4) == "GetFieldID") || - (message_parts->at(4) == "GetJavaObject") || - (message_parts->at(4) == "IsInstanceOf") || - (message_parts->at(4) == "NewArray")) + } else if (!message_parts->at(4)->find("FindClass") || + !message_parts->at(4)->find("GetClassName") || + !message_parts->at(4)->find("GetClassID") || + !message_parts->at(4)->find("GetMethodID") || + !message_parts->at(4)->find("GetStaticMethodID") || + !message_parts->at(4)->find("GetObjectClass") || + !message_parts->at(4)->find("NewObject") || + !message_parts->at(4)->find("NewStringUTF") || + !message_parts->at(4)->find("HasPackage") || + !message_parts->at(4)->find("HasMethod") || + !message_parts->at(4)->find("HasField") || + !message_parts->at(4)->find("GetStaticFieldID") || + !message_parts->at(4)->find("GetFieldID") || + !message_parts->at(4)->find("GetJavaObject") || + !message_parts->at(4)->find("IsInstanceOf") || + !message_parts->at(4)->find("NewArray")) { - result->return_identifier = atoi(message_parts->at(5).c_str()); - result->return_string->append(message_parts->at(5)); // store it as a string as well, for easy access + result->return_identifier = atoi(message_parts->at(5)->c_str()); + result->return_string->append(*(message_parts->at(5))); // store it as a string as well, for easy access result_ready = true; - } else if ((message_parts->at(4) == "DeleteLocalRef") || - (message_parts->at(4) == "NewGlobalRef")) + } else if (!message_parts->at(4)->find("DeleteLocalRef") || + !message_parts->at(4)->find("NewGlobalRef")) { result_ready = true; // nothing else to do - } else if ((message_parts->at(4) == "CallMethod") || - (message_parts->at(4) == "CallStaticMethod") || - (message_parts->at(4) == "GetField") || - (message_parts->at(4) == "GetStaticField") || - (message_parts->at(4) == "GetValue") || - (message_parts->at(4) == "GetObjectArrayElement")) + } else if (!message_parts->at(4)->find("CallMethod") || + !message_parts->at(4)->find("CallStaticMethod") || + !message_parts->at(4)->find("GetField") || + !message_parts->at(4)->find("GetStaticField") || + !message_parts->at(4)->find("GetValue") || + !message_parts->at(4)->find("GetObjectArrayElement")) { - if (message_parts->at(5) == "literalreturn") + if (!message_parts->at(5)->find("literalreturn")) { // literal returns don't have a corresponding jni id result->return_identifier = 0; - result->return_string->append(message_parts->at(5)); + result->return_string->append(*(message_parts->at(5))); result->return_string->append(" "); - result->return_string->append(message_parts->at(6)); + result->return_string->append(*(message_parts->at(6))); } else { // Else it is a complex object - result->return_identifier = atoi(message_parts->at(5).c_str()); - result->return_string->append(message_parts->at(5)); // store it as a string as well, for easy access + result->return_identifier = atoi(message_parts->at(5)->c_str()); + result->return_string->append(*(message_parts->at(5))); // store it as a string as well, for easy access } result_ready = true; - } else if ((message_parts->at(4) == "GetArrayLength")) + } else if (!message_parts->at(4)->find("GetArrayLength")) { result->return_identifier = 0; // length is not an "identifier" - result->return_string->append(message_parts->at(5)); + result->return_string->append(*(message_parts->at(5))); result_ready = true; - } else if ((message_parts->at(4) == "SetField") || - (message_parts->at(4) == "SetObjectArrayElement")) + } else if (!message_parts->at(4)->find("SetField") || + !message_parts->at(4)->find("SetObjectArrayElement")) { // nothing to do @@ -163,13 +163,12 @@ JavaRequestProcessor::newMessageOnBus(co result_ready = true; } - delete message_parts; + IcedTeaPluginUtilities::freeStringPtrVector(message_parts); return true; } - delete message_parts; + IcedTeaPluginUtilities::freeStringPtrVector(message_parts); return false; - } /** diff -r 8089180753c9 -r 601db47e5a01 plugin/icedteanp/IcedTeaPluginRequestProcessor.cc --- a/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc Mon Apr 05 00:21:56 2010 +0200 +++ b/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc Tue Apr 06 14:17:02 2010 -0400 @@ -50,7 +50,7 @@ exception statement from your version. * // Initialize static members used by the queue processing framework pthread_mutex_t message_queue_mutex = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t syn_write_mutex = PTHREAD_MUTEX_INITIALIZER; -std::vector< std::vector* >* message_queue = new std::vector< std::vector* >(); +std::vector< std::vector* >* message_queue = new std::vector< std::vector* >(); /** * PluginRequestProcessor constructor. @@ -91,36 +91,36 @@ PluginRequestProcessor::newMessageOnBus( { PLUGIN_DEBUG_1ARG("PluginRequestProcessor processing %s\n", message); - std::string type; - std::string command; + std::string* type; + std::string* command; int counter = 0; - std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); + std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); - std::vector::iterator the_iterator; + std::vector::iterator the_iterator; the_iterator = message_parts->begin(); - IcedTeaPluginUtilities::printStringVector("PluginRequestProcessor::newMessageOnBus:", message_parts); + IcedTeaPluginUtilities::printStringPtrVector("PluginRequestProcessor::newMessageOnBus:", message_parts); type = message_parts->at(0); command = message_parts->at(4); - if (type == "instance") + if (!type->find("instance")) { - if (command == "GetWindow") + if (!command->find("GetWindow")) { // Window can be queried from the main thread only. And this call // returns immediately, so we do it in the same thread. this->sendWindow(message_parts); return true; - } else if (command == "GetMember" || - command == "SetMember" || - command == "ToString" || - command == "Call" || - command == "GetSlot" || - command == "SetSlot" || - command == "Eval" || - command == "Finalize") + } else if (!command->find("GetMember") || + !command->find("SetMember") || + !command->find("ToString") || + !command->find("Call") || + !command->find("GetSlot") || + !command->find("SetSlot") || + !command->find("Eval") || + !command->find("Finalize")) { // Update queue synchronously @@ -136,7 +136,7 @@ PluginRequestProcessor::newMessageOnBus( } - delete message_parts; + IcedTeaPluginUtilities::freeStringPtrVector(message_parts); // If we got here, it means we couldn't process the message. Let the caller know. return false; @@ -149,10 +149,10 @@ PluginRequestProcessor::newMessageOnBus( */ void -PluginRequestProcessor::sendWindow(std::vector* message_parts) +PluginRequestProcessor::sendWindow(std::vector* message_parts) { - std::string type; - std::string command; + std::string* type; + std::string* command; int reference; std::string response = std::string(); std::string window_ptr_str = std::string(); @@ -161,8 +161,8 @@ PluginRequestProcessor::sendWindow(std:: int id; type = message_parts->at(0); - id = atoi(message_parts->at(1).c_str()); - reference = atoi(message_parts->at(3).c_str()); + id = atoi(message_parts->at(1)->c_str()); + reference = atoi(message_parts->at(3)->c_str()); command = message_parts->at(4); NPP instance; @@ -182,8 +182,6 @@ PluginRequestProcessor::sendWindow(std:: plugin_to_java_bus->post(response.c_str()); - delete message_parts; - // store the instance pointer for future reference IcedTeaPluginUtilities::storeInstanceID(variant, instance); } @@ -195,7 +193,7 @@ PluginRequestProcessor::sendWindow(std:: */ void -PluginRequestProcessor::eval(std::vector* message_parts) +PluginRequestProcessor::eval(std::vector* message_parts) { JavaRequestProcessor request_processor = JavaRequestProcessor(); JavaResultData* java_result; @@ -209,11 +207,11 @@ PluginRequestProcessor::eval(std::vector std::string return_type = std::string(); int id; - reference = atoi(message_parts->at(3).c_str()); + reference = atoi(message_parts->at(3)->c_str()); window_ptr = (NPVariant*) IcedTeaPluginUtilities::stringToJSID(message_parts->at(5)); instance = IcedTeaPluginUtilities::getInstanceFromMemberPtr(window_ptr); - java_result = request_processor.getString(message_parts->at(6)); + java_result = request_processor.getString(*(message_parts->at(6))); CHECK_JAVA_RESULT(java_result); script.append(*(java_result->return_string)); @@ -250,9 +248,6 @@ PluginRequestProcessor::eval(std::vector response += result_variant_jniid; plugin_to_java_bus->post(response.c_str()); - - delete message_parts; - } /** @@ -262,10 +257,10 @@ PluginRequestProcessor::eval(std::vector */ void -PluginRequestProcessor::call(std::vector* message_parts) +PluginRequestProcessor::call(std::vector* message_parts) { NPP instance; - std::string window_ptr_str; + std::string* window_ptr_str; NPVariant* window_ptr; int reference; std::string window_function_name; @@ -276,7 +271,7 @@ PluginRequestProcessor::call(std::vector JavaRequestProcessor java_request = JavaRequestProcessor(); JavaResultData* java_result; - reference = atoi(message_parts->at(3).c_str()); + reference = atoi(message_parts->at(3)->c_str()); // window window_ptr_str = message_parts->at(5); @@ -286,14 +281,14 @@ PluginRequestProcessor::call(std::vector instance = IcedTeaPluginUtilities::getInstanceFromMemberPtr(window_ptr); // function name - java_result = java_request.getString(message_parts->at(6)); + java_result = java_request.getString(*(message_parts->at(6))); CHECK_JAVA_RESULT(java_result); window_function_name.append(*(java_result->return_string)); // arguments for (int i=7; i < message_parts->size(); i++) { - arg_ids.push_back(message_parts->at(i)); + arg_ids.push_back(*(message_parts->at(i))); } // determine arguments @@ -366,7 +361,7 @@ PluginRequestProcessor::call(std::vector * @param message_parts The request message. */ void -PluginRequestProcessor::sendString(std::vector* message_parts) +PluginRequestProcessor::sendString(std::vector* message_parts) { std::string variant_ptr; NPVariant* variant; @@ -375,8 +370,8 @@ PluginRequestProcessor::sendString(std:: int reference; std::string response = std::string(); - reference = atoi(message_parts->at(3).c_str()); - variant_ptr = message_parts->at(5); + reference = atoi(message_parts->at(3)->c_str()); + variant_ptr = *(message_parts->at(5)); variant = (NPVariant*) IcedTeaPluginUtilities::stringToJSID(variant_ptr); AsyncCallThreadData thread_data = AsyncCallThreadData(); @@ -410,7 +405,6 @@ PluginRequestProcessor::sendString(std:: plugin_to_java_bus->post(response.c_str()); cleanup: - delete message_parts; pthread_mutex_lock(&tc_mutex); thread_count--; @@ -424,7 +418,7 @@ PluginRequestProcessor::sendString(std:: */ void -PluginRequestProcessor::setMember(std::vector* message_parts) +PluginRequestProcessor::setMember(std::vector* message_parts) { std::string propertyNameID; std::string value = std::string(); @@ -438,28 +432,28 @@ PluginRequestProcessor::setMember(std::v JavaRequestProcessor java_request = JavaRequestProcessor(); JavaResultData* java_result; - IcedTeaPluginUtilities::printStringVector("PluginRequestProcessor::_setMember - ", message_parts); + IcedTeaPluginUtilities::printStringPtrVector("PluginRequestProcessor::_setMember - ", message_parts); - reference = atoi(message_parts->at(3).c_str()); + reference = atoi(message_parts->at(3)->c_str()); - member = (NPVariant*) (IcedTeaPluginUtilities::stringToJSID(message_parts->at(5))); - propertyNameID = message_parts->at(6); + member = (NPVariant*) (IcedTeaPluginUtilities::stringToJSID(*(message_parts->at(5)))); + propertyNameID = *(message_parts->at(6)); - if (message_parts->at(7) == "literalreturn") + if (*(message_parts->at(7)) == "literalreturn") { - value.append(message_parts->at(7)); + value.append(*(message_parts->at(7))); value.append(" "); - value.append(message_parts->at(8)); + value.append(*(message_parts->at(8))); } else { - value.append(message_parts->at(7)); + value.append(*(message_parts->at(7))); } instance = IcedTeaPluginUtilities::getInstanceFromMemberPtr(member); - if (message_parts->at(4) == "SetSlot") + if (*(message_parts->at(4)) == "SetSlot") { - property_identifier = browser_functions.getintidentifier(atoi(message_parts->at(6).c_str())); + property_identifier = browser_functions.getintidentifier(atoi(message_parts->at(6)->c_str())); } else { java_result = java_request.getString(propertyNameID); @@ -504,7 +498,6 @@ PluginRequestProcessor::setMember(std::v plugin_to_java_bus->post(response.c_str()); cleanup: - delete message_parts; // property_name, type and value are deleted by _setMember pthread_mutex_lock(&tc_mutex); @@ -524,7 +517,7 @@ PluginRequestProcessor::setMember(std::v */ void -PluginRequestProcessor::sendMember(std::vector* message_parts) +PluginRequestProcessor::sendMember(std::vector* message_parts) { // member initialization std::vector args; @@ -545,17 +538,17 @@ PluginRequestProcessor::sendMember(std:: int reference; // debug printout of parent thread data - IcedTeaPluginUtilities::printStringVector("PluginRequestProcessor::getMember:", message_parts); + IcedTeaPluginUtilities::printStringPtrVector("PluginRequestProcessor::getMember:", message_parts); - reference = atoi(message_parts->at(3).c_str()); + reference = atoi(message_parts->at(3)->c_str()); // store info in local variables for easy access - instance_id = atoi(message_parts->at(1).c_str()); + instance_id = atoi(message_parts->at(1)->c_str()); From Dalibor.Topic at Sun.COM Tue Apr 6 11:51:18 2010 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Tue, 06 Apr 2010 20:51:18 +0200 Subject: patch for IPv6 issue In-Reply-To: References: Message-ID: <4BBB82A6.4050905@sun.com> Andrew John Hughes wrote: > On 5 April 2010 20:22, Torsten Werner wrote: >> Hi, >> >> we got several bug report in Debian about an IPv6 issue in Sun's JDKs. >> The most import bug is >> . It has >> already been reporting to Sun years ago: >> without >> getting any useful response. I have developed a patch for Debian and >> Ubuntu which is available at >> . >> Please consider integrating it. >> >> Cheers, >> Torsten >> > > Is there an SCA on file? I don't see it on https://sca.dev.java.net/CA_signatories.htm. Torsten, please see section 0 of http://openjdk.java.net/contribute/ on the SCA procedure. cheers, dalibor topic -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: J?rgen Kunz From mail.twerner at googlemail.com Tue Apr 6 12:47:11 2010 From: mail.twerner at googlemail.com (Torsten Werner) Date: Tue, 6 Apr 2010 21:47:11 +0200 Subject: patch for IPv6 issue In-Reply-To: <4BBB82A6.4050905@sun.com> References: <4BBB82A6.4050905@sun.com> Message-ID: Hi, On Tue, Apr 6, 2010 at 8:51 PM, Dalibor Topic wrote: > Torsten, please see section 0 of http://openjdk.java.net/contribute/ > on the SCA procedure. I've sent the form now. I am attaching a test case. The output on my system is: $ sudo sysctl -w net.ipv6.bindv6only=0 net.ipv6.bindv6only = 0 $ /usr/lib/jvm/java-6-sun/bin/java FullTest 192.168.1.101 Test #1... passed. Test #2... passed. $ /usr/lib/jvm/java-6-openjdk/bin/java FullTest 192.168.1.101 Test #1... passed. Test #2... passed. $ sudo sysctl -w net.ipv6.bindv6only=1 net.ipv6.bindv6only = 1 $ /usr/lib/jvm/java-6-sun/bin/java FullTest 192.168.1.101 Test #1... failed. Test #2... failed. $ /usr/lib/jvm/java-6-openjdk/bin/java FullTest 192.168.1.101 Test #1... passed. Test #2... passed. Please replace 192.168.1.101 by a local IPv4 address of your system. /usr/lib/jvm/java-6-openjdk/bin/java is the current version of OpenJDK in Debian that got my patch applied. Cheers, Torsten -------------- next part -------------- A non-text attachment was scrubbed... Name: FullTest.java Type: text/x-java Size: 1295 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100406/c5548b6e/FullTest.java From mail.twerner at googlemail.com Tue Apr 6 12:51:59 2010 From: mail.twerner at googlemail.com (Torsten Werner) Date: Tue, 6 Apr 2010 21:51:59 +0200 Subject: patch for IPv6 issue In-Reply-To: References: <4BBB82A6.4050905@sun.com> Message-ID: On Tue, Apr 6, 2010 at 9:47 PM, Torsten Werner wrote: > I am attaching a test case. Sorry, I forgot 1 test. The new source is attached. Cheers, Torsten -------------- next part -------------- A non-text attachment was scrubbed... Name: FullTest.java Type: text/x-java Size: 1511 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100406/f9476143/FullTest.java From bugzilla-daemon at icedtea.classpath.org Tue Apr 6 13:15:25 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 06 Apr 2010 20:15:25 +0000 Subject: [Bug 469] PCKS11 security provider not working Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=469 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at icedtea.classpath|gnu_andrew at member.fsf.org |.org | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee. From doko at ubuntu.com Tue Apr 6 18:44:55 2010 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 07 Apr 2010 03:44:55 +0200 Subject: NSS configuration & plugin interaction Message-ID: <4BBBE397.5000603@ubuntu.com> this is about 461 and 469; when icedtea is configured with --enable-nss, just an additional security provider is added in java.security, the code currently in icedtea isn't changed, so the behaviour should be reproducible on systems which have the required nss available. visiting the page mentioned in 461 with the security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg enabled in java.policy, I get the stack trace in [1] after closing the page, the java process icedteanp-appletviewer-to-plugin sleeps (ignoring the Unimplemented messages at the end). with security.provider.9 commented out, I see the stacktrace in [2]. closing the page with the applet lets the icedteanp-appletviewer-to-plugin process sleep. with security.provider.9 commented out and the nss.cfg file missing (that is the default when configuring without NSS, and running on a system having NSS) you see the stacktrace as in [2], but the icedteanp-appletviewer-to-plugin process now uses 100% cpu and doesn't terminate even after closing the page with the applet. As a minimum patch, we should always install the nss.cfg file, or revert the (upstream?) NSS patch when not configuring with --enable-nss. Would like to hear if this behaviour can be reproduced. Matthias [1] $ firefox 2>&1 | tee firefox.log2 Looking for 0xb0cf570c 0xab6effb0 0xb5bdcbcc (document) java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) OpenJDK Server VM (build 16.0-b13, mixed mode) java.security.ProviderException: Could not initialize NSS at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:201) at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:103) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:262) at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:244) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:224) at sun.security.jca.ProviderList.getProvider(ProviderList.java:232) at sun.security.jca.ProviderList.getService(ProviderList.java:330) at sun.security.jca.GetInstance.getInstance(GetInstance.java:157) at java.security.Security.getImpl(Security.java:696) at java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:130) at sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:121) at sun.security.x509.AlgorithmId.(AlgorithmId.java:114) at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381) at sun.security.x509.X509Key.parse(X509Key.java:168) at sun.security.x509.CertificateX509Key.(CertificateX509Key.java:75) at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705) at sun.security.x509.X509CertInfo.(X509CertInfo.java:169) at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1747) at sun.security.x509.X509CertImpl.(X509CertImpl.java:196) at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:107) at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322) at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:763) at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55) at java.security.KeyStore.load(KeyStore.java:1201) at sun.security.ssl.TrustManagerFactoryImpl.getCacertsKeyStore(TrustManagerFactoryImpl.java:221) at sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:51) at javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:247) at net.sourceforge.jnlp.security.VariableX509TrustManager.(VariableX509TrustManager.java:100) at net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:282) at sun.applet.PluginMain.init(PluginMain.java:217) at sun.applet.PluginMain.(PluginMain.java:147) at sun.applet.PluginMain.main(PluginMain.java:116) Caused by: java.io.IOException: An incompatible version of NSS is already loaded, 3.7 or later required at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) ... 37 more java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:747) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) java.lang.ArrayIndexOutOfBoundsException: 5 at sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) at sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) at sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) Download error: /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar (No such file or directory) Download error: jarFile not found: 1 java.lang.ArrayIndexOutOfBoundsException: 5 at sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) at sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) at sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) Exception in thread "Thread-12" java.lang.NoClassDefFoundError: geogebra/e/m at geogebra.GeoGebraApplet.a(Unknown Source) at geogebra.GeoGebraApplet.a(Unknown Source) at geogebra.GeoGebraApplet.a(Unknown Source) at geogebra.f.run(Unknown Source) ** Unimplemented: IcedTeaScriptableJavaObject::invalidate 0xa7779fe0 ** Unimplemented: IcedTeaScriptableJavaObject::deAllocate 0xa7779fe0 [2] $ firefox 2>&1 | tee firefox.log3 Looking for 0xa73b348c 0xa6fd09e0 0xb5adcbcc (document) java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) OpenJDK Server VM (build 16.0-b13, mixed mode) java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:735) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) java.lang.ArrayIndexOutOfBoundsException: 5 at sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) at sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) at sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) Download error: /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar (No such file or directory) Download error: jarFile not found: 1 java.lang.ArrayIndexOutOfBoundsException: 5 at sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) at sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) at sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) Exception in thread "Thread-12" java.lang.NoClassDefFoundError: geogebra/e/m at geogebra.GeoGebraApplet.a(Unknown Source) at geogebra.GeoGebraApplet.a(Unknown Source) at geogebra.GeoGebraApplet.a(Unknown Source) at geogebra.f.run(Unknown Source) From mail.twerner at googlemail.com Tue Apr 6 22:18:32 2010 From: mail.twerner at googlemail.com (Torsten Werner) Date: Wed, 7 Apr 2010 07:18:32 +0200 Subject: patch for IPv6 issue In-Reply-To: References: Message-ID: Hi, On Tue, Apr 6, 2010 at 7:29 PM, Andrew John Hughes wrote: > Is there an SCA on file? I am now listed at . Cheers, Torsten From xranby at icedtea.classpath.org Wed Apr 7 05:54:20 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Wed, 07 Apr 2010 12:54:20 +0000 Subject: /hg/icedtea6: Updated check for shared LLVM library to include svn. Message-ID: changeset b5f6ca242b9f in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b5f6ca242b9f author: Xerxes R?nby date: Wed Apr 07 14:50:34 2010 +0200 Updated check for shared LLVM library to include svn. 2010-04-07 Xerxes R?nby * configure.ac: Updated check for shared LLVM library to include svn. diffstat: 2 files changed, 6 insertions(+), 2 deletions(-) ChangeLog | 4 ++++ configure.ac | 4 ++-- diffs (32 lines): diff -r 601db47e5a01 -r b5f6ca242b9f ChangeLog --- a/ChangeLog Tue Apr 06 14:17:02 2010 -0400 +++ b/ChangeLog Wed Apr 07 14:50:34 2010 +0200 @@ -1,3 +1,7 @@ 2010-04-06 Deepak Bhole + + * configure.ac: Updated check for shared LLVM library to include svn. + 2010-04-06 Deepak Bhole * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc diff -r 601db47e5a01 -r b5f6ca242b9f configure.ac --- a/configure.ac Tue Apr 06 14:17:02 2010 -0400 +++ b/configure.ac Wed Apr 07 14:50:34 2010 +0200 @@ -440,7 +440,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te if test "x${SHARK_BUILD_TRUE}" = x || test "x${ADD_SHARK_BUILD_TRUE}" = x; then FIND_TOOL([LLVM_CONFIG], [llvm-config]) llvm_components="jit engine nativecodegen" - LLVM_VERSION="`$LLVM_CONFIG --version | sed 's/svn.*//'`" + LLVM_VERSION="`$LLVM_CONFIG --version`" dnl LLVM_CFLAGS LLVM_CFLAGS= for flag in $($LLVM_CONFIG --cxxflags $llvm_components); do @@ -453,7 +453,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te fi fi done - LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`echo $LLVM_VERSION | sed 's/\.//'`" + LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`echo $LLVM_VERSION | sed 's/\.//;s/svn.*//'`" dnl LLVM_LDFLAGS LLVM_LDFLAGS= for flag in $($LLVM_CONFIG --ldflags $llvm_components); do From xerxes at zafena.se Wed Apr 7 05:58:08 2010 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Wed, 07 Apr 2010 14:58:08 +0200 Subject: FYI: Updated check for shared LLVM library to include svn. Message-ID: <4BBC8160.8070509@zafena.se> I have pushed a change to improve the check for shared LLVM library to also find shared LLVM librarys built from LLVM svn trunk. http://icedtea.classpath.org/hg/icedtea6/rev/b5f6ca242b9f When LLVM are built from svn then the library name have a svn suffix. Cheers Xerxes From mvyskocil at suse.cz Wed Apr 7 07:30:24 2010 From: mvyskocil at suse.cz (Michal Vyskocil) Date: Wed, 7 Apr 2010 16:30:24 +0200 Subject: IcedTea/OpenJDK bootstrapping issue In-Reply-To: <87pr3farln.fsf@gnu.org> References: <878wbrwpli.fsf@gnu.org> <17c6771e1001210718y179d75feufe060fcfd99d2821@mail.gmail.com> <87pr3farln.fsf@gnu.org> Message-ID: <201004071630.30325.mvyskocil@suse.cz> On Monday 08 March 2010 02:08:20 pm Ludovic Court?s wrote: > Hi, > > Andrew John Hughes writes: > > 2010/1/21 Ludovic Court?s : > >> Andrew John Hughes writes: > [...] > > >>> Does ant work for you with other builds? > >> > >> Yes. This version of Ant was built with GCJ. It was then used to > >> compile things like Xalan, Xerces, and Rhino. > > > > It seems something is broken with regard to Ant. The fact it's > > looking for tools.jar in your gcj home directory rather than > > bootstrap/jdk1.6.0 suggests it's ignoring the setting of > > bootstrap.java.home. Have you checked that bootstrap/jd1.6.0 has a > > valid jar file in jre/lib/rt.jar? I would guess it does as the > > earlier stages have worked, but Ant is reverting to your system > > install. > > Perhaps I should have started with this: how did you build the Ant > that?s used to build IcedTea? > > I built it with GCJ, but Ant?s manual says it isn?t supported [0]. > I patched ?build.properties? to set ?build.compiler? to ?gcj? [1]. In > addition I have gross hacks to make gcj/gij available as javac/java > while building Ant itself [2]. The easiest way is simulate the Sun layout - see http://sources.redhat.com/rhug/java-gcj-compat.html ftp://sources.redhat.com/pub/rhug/java-gcj-compat It create a structure similar to Sun's layout, so you don't need patch anything, just use java-gcj-compat-devel as a build dependency. Not sure if the gcj 4.4 layout support Andrew mentioned does not obsolete it. Regards Michal Vyskocil -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100407/613bd4d3/attachment.bin From ahughes at redhat.com Wed Apr 7 07:32:37 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Wed, 7 Apr 2010 14:32:37 +0000 Subject: NSS configuration & plugin interaction In-Reply-To: <4BBBE397.5000603@ubuntu.com> References: <4BBBE397.5000603@ubuntu.com> Message-ID: On 7 April 2010 01:44, Matthias Klose wrote: > this is about 461 and 469; when icedtea is configured with --enable-nss, > just an additional security provider is added in java.security, the code > currently in icedtea isn't changed, so the behaviour should be reproducible > on systems which have the required nss available. > > visiting the page mentioned in 461 with the > security.provider.9=sun.security.pkcs11.SunPKCS11 > ${java.home}/lib/security/nss.cfg enabled in java.policy, I get the stack > trace in [1] after closing the page, the java process > icedteanp-appletviewer-to-plugin sleeps (ignoring the Unimplemented messages > at the end). > This isn't the same failure as 469. Also, the output looks like two separate threads throwing exceptions. > with security.provider.9 commented out, I see the stacktrace in [2]. closing > the page with the applet lets the icedteanp-appletviewer-to-plugin process > sleep. Looks like the same as the first one, but the other thread no longer crashes due to the NSS issue. I suspect there are two bugs here. What makes you think the plugin crash is related to NSS? The stack trace shows a parsing error: java.lang.ArrayIndexOutOfBoundsException: 5 at sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) > > with security.provider.9 commented out and the nss.cfg file missing (that is > the default when configuring without NSS, and running on a system having > NSS) you see the stacktrace as in [2], but the > icedteanp-appletviewer-to-plugin process now uses 100% cpu and doesn't > terminate even after closing the page with the applet. > > As a minimum patch, we should always install the nss.cfg file, or revert the > (upstream?) NSS patch when not configuring with --enable-nss. We can always install nss.cfg. It really makes no difference if the provider line is not added. > > Would like to hear if this behaviour can be reproduced. > Is there a URL I can give to appletviewer? > ?Matthias > > > [1] > $ firefox 2>&1 | tee firefox.log2 > Looking for 0xb0cf570c 0xab6effb0 0xb5bdcbcc (document) > java version "1.6.0_18" > OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) > OpenJDK Server VM (build 16.0-b13, mixed mode) > java.security.ProviderException: Could not initialize NSS > ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:201) > ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:103) > ? ? ? ?at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > ? ? ? ?at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > ? ? ? ?at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > ? ? ? ?at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > ? ? ? ?at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:262) > ? ? ? ?at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244) > ? ? ? ?at java.security.AccessController.doPrivileged(Native Method) > ? ? ? ?at > sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:244) > ? ? ? ?at > sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:224) > ? ? ? ?at sun.security.jca.ProviderList.getProvider(ProviderList.java:232) > ? ? ? ?at sun.security.jca.ProviderList.getService(ProviderList.java:330) > ? ? ? ?at sun.security.jca.GetInstance.getInstance(GetInstance.java:157) > ? ? ? ?at java.security.Security.getImpl(Security.java:696) > ? ? ? ?at > java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:130) > ? ? ? ?at sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:121) > ? ? ? ?at sun.security.x509.AlgorithmId.(AlgorithmId.java:114) > ? ? ? ?at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381) > ? ? ? ?at sun.security.x509.X509Key.parse(X509Key.java:168) > ? ? ? ?at > sun.security.x509.CertificateX509Key.(CertificateX509Key.java:75) > ? ? ? ?at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705) > ? ? ? ?at sun.security.x509.X509CertInfo.(X509CertInfo.java:169) > ? ? ? ?at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1747) > ? ? ? ?at sun.security.x509.X509CertImpl.(X509CertImpl.java:196) > ? ? ? ?at > sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:107) > ? ? ? ?at > java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322) > ? ? ? ?at > sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:763) > ? ? ? ?at > sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55) > ? ? ? ?at java.security.KeyStore.load(KeyStore.java:1201) > ? ? ? ?at > sun.security.ssl.TrustManagerFactoryImpl.getCacertsKeyStore(TrustManagerFactoryImpl.java:221) > ? ? ? ?at > sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:51) > ? ? ? ?at > javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:247) > ? ? ? ?at > net.sourceforge.jnlp.security.VariableX509TrustManager.(VariableX509TrustManager.java:100) > ? ? ? ?at > net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:282) > ? ? ? ?at sun.applet.PluginMain.init(PluginMain.java:217) > ? ? ? ?at sun.applet.PluginMain.(PluginMain.java:147) > ? ? ? ?at sun.applet.PluginMain.main(PluginMain.java:116) > Caused by: java.io.IOException: An incompatible version of NSS is already > loaded, 3.7 or later required > ? ? ? ?at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) > ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) > ? ? ? ?... 37 more > java.lang.InterruptedException: sleep interrupted > ? ? ? ?at java.lang.Thread.sleep(Native Method) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > java.lang.InterruptedException: sleep interrupted > ? ? ? ?at java.lang.Thread.sleep(Native Method) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > java.lang.InterruptedException: sleep interrupted > ? ? ? ?at java.lang.Thread.sleep(Native Method) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:747) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > java.lang.ArrayIndexOutOfBoundsException: 5 > ? ? ? ?at > sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) > ? ? ? ?at > sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) > ? ? ? ?at > sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > Download error: > /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar > (No such file or directory) > Download error: jarFile not found: 1 > java.lang.ArrayIndexOutOfBoundsException: 5 > ? ? ? ?at > sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) > ? ? ? ?at > sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) > ? ? ? ?at > sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > Exception in thread "Thread-12" java.lang.NoClassDefFoundError: geogebra/e/m > ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) > ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) > ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) > ? ? ? ?at geogebra.f.run(Unknown Source) > ** Unimplemented: IcedTeaScriptableJavaObject::invalidate 0xa7779fe0 > ** Unimplemented: IcedTeaScriptableJavaObject::deAllocate 0xa7779fe0 > > > [2] > $ firefox 2>&1 | tee firefox.log3 > Looking for 0xa73b348c 0xa6fd09e0 0xb5adcbcc (document) > java version "1.6.0_18" > OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) > OpenJDK Server VM (build 16.0-b13, mixed mode) > java.lang.InterruptedException: sleep interrupted > ? ? ? ?at java.lang.Thread.sleep(Native Method) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:735) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > java.lang.InterruptedException: sleep interrupted > ? ? ? ?at java.lang.Thread.sleep(Native Method) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > java.lang.InterruptedException: sleep interrupted > ? ? ? ?at java.lang.Thread.sleep(Native Method) > ? ? ? ?at > sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > java.lang.ArrayIndexOutOfBoundsException: 5 > ? ? ? ?at > sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) > ? ? ? ?at > sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) > ? ? ? ?at > sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > Download error: > /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar > (No such file or directory) > Download error: jarFile not found: 1 > java.lang.ArrayIndexOutOfBoundsException: 5 > ? ? ? ?at > sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) > ? ? ? ?at > sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) > ? ? ? ?at > sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) > ? ? ? ?at > sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) > ? ? ? ?at > sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) > Exception in thread "Thread-12" java.lang.NoClassDefFoundError: geogebra/e/m > ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) > ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) > ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) > ? ? ? ?at geogebra.f.run(Unknown Source) > > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Wed Apr 7 08:34:22 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Wed, 7 Apr 2010 15:34:22 +0000 Subject: IcedTea/OpenJDK bootstrapping issue In-Reply-To: <201004071630.30325.mvyskocil@suse.cz> References: <878wbrwpli.fsf@gnu.org> <17c6771e1001210718y179d75feufe060fcfd99d2821@mail.gmail.com> <87pr3farln.fsf@gnu.org> <201004071630.30325.mvyskocil@suse.cz> Message-ID: On 7 April 2010 14:30, Michal Vyskocil wrote: > On Monday 08 March 2010 02:08:20 pm Ludovic Court?s wrote: >> Hi, >> >> Andrew John Hughes writes: >> > 2010/1/21 Ludovic Court?s : >> >> Andrew John Hughes writes: >> [...] >> >> >>> Does ant work for you with other builds? >> >> >> >> Yes. ?This version of Ant was built with GCJ. ?It was then used to >> >> compile things like Xalan, Xerces, and Rhino. >> > >> > It seems something is broken with regard to Ant. ?The fact it's >> > looking for tools.jar in your gcj home directory rather than >> > bootstrap/jdk1.6.0 suggests it's ignoring the setting of >> > bootstrap.java.home. ?Have you checked that bootstrap/jd1.6.0 has a >> > valid jar file in jre/lib/rt.jar? ?I would guess it does as the >> > earlier stages have worked, but Ant is reverting to your system >> > install. >> >> Perhaps I should have started with this: how did you build the Ant >> that?s used to build IcedTea? >> >> I built it with GCJ, but Ant?s manual says it isn?t supported [0]. >> I patched ?build.properties? to set ?build.compiler? to ?gcj? [1]. ?In >> addition I have gross hacks to make gcj/gij available as javac/java >> while building Ant itself [2]. > > The easiest way is simulate the Sun layout - see > > http://sources.redhat.com/rhug/java-gcj-compat.html > ftp://sources.redhat.com/pub/rhug/java-gcj-compat > > It create a structure similar to Sun's layout, so you don't need patch > anything, just use java-gcj-compat-devel as a build dependency. Not sure if > the gcj 4.4 layout support Andrew mentioned does not obsolete it. > The gcj 4.4 support _is_ java-gcj-compat integrated into gcc. ./configure --prefix=/home/andrew/build/gcj --enable-java-home --with-jvm-root-dir=/home/andrew/build/gcj/jdk --with-jvm-jar-dir=/home/andrew/build/gcj/jvm-exports > Regards > Michal Vyskocil > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From doko at ubuntu.com Wed Apr 7 08:54:52 2010 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 07 Apr 2010 17:54:52 +0200 Subject: IcedTea/OpenJDK bootstrapping issue In-Reply-To: References: <878wbrwpli.fsf@gnu.org> <17c6771e1001210718y179d75feufe060fcfd99d2821@mail.gmail.com> <87pr3farln.fsf@gnu.org> <201004071630.30325.mvyskocil@suse.cz> Message-ID: <4BBCAACC.90909@ubuntu.com> On 07.04.2010 17:34, Andrew John Hughes wrote: > On 7 April 2010 14:30, Michal Vyskocil wrote: >> On Monday 08 March 2010 02:08:20 pm Ludovic Court?s wrote: >>> Hi, >>> >>> Andrew John Hughes writes: >>>> 2010/1/21 Ludovic Court?s: >>>>> Andrew John Hughes writes: >>> [...] >>> >>>>>> Does ant work for you with other builds? >>>>> >>>>> Yes. This version of Ant was built with GCJ. It was then used to >>>>> compile things like Xalan, Xerces, and Rhino. >>>> >>>> It seems something is broken with regard to Ant. The fact it's >>>> looking for tools.jar in your gcj home directory rather than >>>> bootstrap/jdk1.6.0 suggests it's ignoring the setting of >>>> bootstrap.java.home. Have you checked that bootstrap/jd1.6.0 has a >>>> valid jar file in jre/lib/rt.jar? I would guess it does as the >>>> earlier stages have worked, but Ant is reverting to your system >>>> install. >>> >>> Perhaps I should have started with this: how did you build the Ant >>> that?s used to build IcedTea? >>> >>> I built it with GCJ, but Ant?s manual says it isn?t supported [0]. >>> I patched ?build.properties? to set ?build.compiler? to ?gcj? [1]. In >>> addition I have gross hacks to make gcj/gij available as javac/java >>> while building Ant itself [2]. >> >> The easiest way is simulate the Sun layout - see >> >> http://sources.redhat.com/rhug/java-gcj-compat.html >> ftp://sources.redhat.com/pub/rhug/java-gcj-compat >> >> It create a structure similar to Sun's layout, so you don't need patch >> anything, just use java-gcj-compat-devel as a build dependency. Not sure if >> the gcj 4.4 layout support Andrew mentioned does not obsolete it. >> > > The gcj 4.4 support _is_ java-gcj-compat integrated into gcc. > > ./configure --prefix=/home/andrew/build/gcj --enable-java-home > --with-jvm-root-dir=/home/andrew/build/gcj/jdk > --with-jvm-jar-dir=/home/andrew/build/gcj/jvm-exports you forgot --with-java-home=/home/andrew/build/gcj/jdk/jre From ahughes at redhat.com Wed Apr 7 09:17:35 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Wed, 7 Apr 2010 16:17:35 +0000 Subject: IcedTea/OpenJDK bootstrapping issue In-Reply-To: <4BBCAACC.90909@ubuntu.com> References: <878wbrwpli.fsf@gnu.org> <17c6771e1001210718y179d75feufe060fcfd99d2821@mail.gmail.com> <87pr3farln.fsf@gnu.org> <201004071630.30325.mvyskocil@suse.cz> <4BBCAACC.90909@ubuntu.com> Message-ID: On 7 April 2010 15:54, Matthias Klose wrote: > On 07.04.2010 17:34, Andrew John Hughes wrote: >> >> On 7 April 2010 14:30, Michal Vyskocil ?wrote: >>> >>> On Monday 08 March 2010 02:08:20 pm Ludovic Court?s wrote: >>>> >>>> Hi, >>>> >>>> Andrew John Hughes ?writes: >>>>> >>>>> 2010/1/21 Ludovic Court?s: >>>>>> >>>>>> Andrew John Hughes ?writes: >>>> >>>> [...] >>>> >>>>>>> Does ant work for you with other builds? >>>>>> >>>>>> Yes. ?This version of Ant was built with GCJ. ?It was then used to >>>>>> compile things like Xalan, Xerces, and Rhino. >>>>> >>>>> It seems something is broken with regard to Ant. ?The fact it's >>>>> looking for tools.jar in your gcj home directory rather than >>>>> bootstrap/jdk1.6.0 suggests it's ignoring the setting of >>>>> bootstrap.java.home. ?Have you checked that bootstrap/jd1.6.0 has a >>>>> valid jar file in jre/lib/rt.jar? ?I would guess it does as the >>>>> earlier stages have worked, but Ant is reverting to your system >>>>> install. >>>> >>>> Perhaps I should have started with this: how did you build the Ant >>>> that?s used to build IcedTea? >>>> >>>> I built it with GCJ, but Ant?s manual says it isn?t supported [0]. >>>> I patched ?build.properties? to set ?build.compiler? to ?gcj? [1]. ?In >>>> addition I have gross hacks to make gcj/gij available as javac/java >>>> while building Ant itself [2]. >>> >>> The easiest way is simulate the Sun layout - see >>> >>> http://sources.redhat.com/rhug/java-gcj-compat.html >>> ftp://sources.redhat.com/pub/rhug/java-gcj-compat >>> >>> It create a structure similar to Sun's layout, so you don't need patch >>> anything, just use java-gcj-compat-devel as a build dependency. Not sure >>> if >>> the gcj 4.4 layout support Andrew mentioned does not obsolete it. >>> >> >> The gcj 4.4 support _is_ java-gcj-compat integrated into gcc. >> >> ./configure --prefix=/home/andrew/build/gcj --enable-java-home >> --with-jvm-root-dir=/home/andrew/build/gcj/jdk >> --with-jvm-jar-dir=/home/andrew/build/gcj/jvm-exports > > you forgot --with-java-home=/home/andrew/build/gcj/jdk/jre > > Is that necessary? Works here without it. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From dbhole at icedtea.classpath.org Wed Apr 7 11:49:16 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Wed, 07 Apr 2010 18:49:16 +0000 Subject: /hg/icedtea6: Update debug output string and function/structure ... Message-ID: changeset 0d59690fbffc in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=0d59690fbffc author: Deepak Bhole date: Wed Apr 07 14:49:04 2010 -0400 Update debug output string and function/structure names to change 'GCJ' references to ITNP/IcedTea NP Plugin Remove unnecessary trace print from proxy related code on Java side diffstat: 6 files changed, 122 insertions(+), 109 deletions(-) ChangeLog | 11 plugin/icedteanp/IcedTeaNPPlugin.cc | 200 +++++----- plugin/icedteanp/IcedTeaNPPlugin.h | 4 plugin/icedteanp/IcedTeaPluginUtils.cc | 2 plugin/icedteanp/IcedTeaPluginUtils.h | 12 plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java | 2 diffs (truncated from 655 to 500 lines): diff -r b5f6ca242b9f -r 0d59690fbffc ChangeLog --- a/ChangeLog Wed Apr 07 14:50:34 2010 +0200 +++ b/ChangeLog Wed Apr 07 14:49:04 2010 -0400 @@ -1,3 +1,14 @@ 2010-04-07 Xerxes R??nby + + * plugin/icedteanp/IcedTeaNPPlugin.cc: ReplaceAll "GCJ" with "ITNP", and + change other strings to remove reference to GCJ. + * plugin/icedteanp/IcedTeaNPPlugin.h : Renamed GCJPluginData to + ITNPPluginData. + * plugin/icedteanp/IcedTeaPluginUtils.h: Changed debug output to be + prefixed with "ICEDTEA NP PLUGIN" instead of "GCJ PLUGIN". + * plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java: Don't + print ArrayIndexOutOfBounds traces. Continue to print any others. + 2010-04-07 Xerxes R??nby * configure.ac: Updated check for shared LLVM library to include svn. diff -r b5f6ca242b9f -r 0d59690fbffc plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Wed Apr 07 14:50:34 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Wed Apr 07 14:49:04 2010 -0400 @@ -131,7 +131,7 @@ exception statement from your version. * #define PLUGIN_FILE_EXTS "class,jar,zip" #define PLUGIN_MIME_COUNT 1 -#define FAILURE_MESSAGE "gcjwebplugin error: Failed to run %s." \ +#define FAILURE_MESSAGE "icedteanp plugin error: Failed to run %s." \ " For more detail rerun \"firefox -g\" in a terminal window." #if MOZILLA_VERSION_COLLAPSED < 1090100 @@ -194,8 +194,8 @@ typedef union #endif // Static instance helper functions. -// Have the browser allocate a new GCJPluginData structure. -static void plugin_data_new (GCJPluginData** data); +// Have the browser allocate a new ITNPPluginData structure. +static void plugin_data_new (ITNPPluginData** data); // Retrieve the current document's documentbase. static gchar* plugin_get_documentbase (NPP instance); // Notify the user that the appletviewer is not installed correctly. @@ -208,11 +208,11 @@ static gboolean plugin_out_pipe_callback static gboolean plugin_out_pipe_callback (GIOChannel* source, GIOCondition condition, gpointer plugin_data); -static NPError plugin_start_appletviewer (GCJPluginData* data); +static NPError plugin_start_appletviewer (ITNPPluginData* data); static gchar* plugin_create_applet_tag (int16_t argc, char* argn[], char* argv[]); static void plugin_stop_appletviewer (); -// Uninitialize GCJPluginData structure +// Uninitialize ITNPPluginData structure static void plugin_data_destroy (NPP instance); NPError get_cookie_info(const char* siteAddr, char** cookieString, uint32_t* len); @@ -238,8 +238,8 @@ int plugin_debug = getenv ("ICEDTEAPLUGI pthread_cond_t cond_message_available = PTHREAD_COND_INITIALIZER; -// Functions prefixed by GCJ_ are instance functions. They are called -// by the browser and operate on instances of GCJPluginData. +// Functions prefixed by ITNP_ are instance functions. They are called +// by the browser and operate on instances of ITNPPluginData. // Functions prefixed by plugin_ are static helper functions. // Functions prefixed by NP_ are factory functions. They are called // by the browser and provide functionality needed to create plugin @@ -247,22 +247,22 @@ pthread_cond_t cond_message_available = // INSTANCE FUNCTIONS -// Creates a new gcjwebplugin instance. This function creates a -// GCJPluginData* and stores it in instance->pdata. The following -// GCJPluginData fiels are initialized: instance_string, in_pipe_name, +// Creates a new icedtea np plugin instance. This function creates a +// ITNPPluginData* and stores it in instance->pdata. The following +// ITNPPluginData fiels are initialized: instance_string, in_pipe_name, // in_from_appletviewer, in_watch_source, out_pipe_name, // out_to_appletviewer, out_watch_source, appletviewer_mutex, owner, // appletviewer_alive. In addition two pipe files are created. All // of those fields must be properly destroyed, and the pipes deleted, -// by GCJ_Destroy. If an error occurs during initialization then this +// by ITNP_Destroy. If an error occurs during initialization then this // function will free anything that's been allocated so far, set // instance->pdata to NULL and return an error code. NPError -GCJ_New (NPMIMEType pluginType, NPP instance, uint16_t mode, +ITNP_New (NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved) { - PLUGIN_DEBUG_0ARG("GCJ_New\n"); + PLUGIN_DEBUG_0ARG("ITNP_New\n"); static NPObject *window_ptr; NPIdentifier identifier; @@ -280,7 +280,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst NPError np_error = NPERR_NO_ERROR; - GCJPluginData* data = NULL; + ITNPPluginData* data = NULL; gchar* documentbase = NULL; gchar* read_message = NULL; @@ -401,7 +401,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst g_hash_table_insert(id_to_instance_map, GINT_TO_POINTER(instance_counter), instance); instance_counter++; - PLUGIN_DEBUG_0ARG ("GCJ_New return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_New return\n"); return np_error; } @@ -428,7 +428,7 @@ void start_jvm_if_needed() PLUGIN_DEBUG_0ARG("No JVM is running. Attempting to start one...\n"); NPError np_error = NPERR_NO_ERROR; - GCJPluginData* data = NULL; + ITNPPluginData* data = NULL; // Create appletviewer-to-plugin pipe which we refer to as the input // pipe. @@ -448,14 +448,14 @@ void start_jvm_if_needed() // clean up any older pip unlink (in_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: creating input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: creating input fifo: %s\n", in_pipe_name); if (mkfifo (in_pipe_name, 0600) == -1 && errno != EEXIST) { PLUGIN_ERROR_TWO ("Failed to create input pipe", strerror (errno)); np_error = NPERR_GENERIC_ERROR; goto cleanup_in_pipe_name; } - PLUGIN_DEBUG_1ARG ("GCJ_New: created input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: created input fifo: %s\n", in_pipe_name); // Create plugin-to-appletviewer pipe which we refer to as the // output pipe. @@ -474,14 +474,14 @@ void start_jvm_if_needed() // clean up any older pip unlink (out_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: creating output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: creating output fifo: %s\n", out_pipe_name); if (mkfifo (out_pipe_name, 0600) == -1 && errno != EEXIST) { PLUGIN_ERROR_TWO ("Failed to create output pipe", strerror (errno)); np_error = NPERR_GENERIC_ERROR; goto cleanup_out_pipe_name; } - PLUGIN_DEBUG_1ARG ("GCJ_New: created output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: created output fifo: %s\n", out_pipe_name); // Start a separate appletviewer process for each applet, even if // there are multiple applets in the same page. We may need to @@ -572,9 +572,9 @@ void start_jvm_if_needed() // cleanup_out_pipe: // Delete output pipe. - PLUGIN_DEBUG_1ARG ("GCJ_New: deleting input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleting input fifo: %s\n", in_pipe_name); unlink (out_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: deleted input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleted input fifo: %s\n", in_pipe_name); cleanup_out_pipe_name: g_free (out_pipe_name); @@ -582,9 +582,9 @@ void start_jvm_if_needed() // cleanup_in_pipe: // Delete input pipe. - PLUGIN_DEBUG_1ARG ("GCJ_New: deleting output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleting output fifo: %s\n", out_pipe_name); unlink (in_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: deleted output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleted output fifo: %s\n", out_pipe_name); cleanup_in_pipe_name: g_free (in_pipe_name); @@ -598,9 +598,9 @@ void start_jvm_if_needed() } NPError -GCJ_GetValue (NPP instance, NPPVariable variable, void* value) +ITNP_GetValue (NPP instance, NPPVariable variable, void* value) { - PLUGIN_DEBUG_0ARG ("GCJ_GetValue\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue\n"); NPError np_error = NPERR_NO_ERROR; @@ -609,7 +609,7 @@ GCJ_GetValue (NPP instance, NPPVariable // This plugin needs XEmbed support. case NPPVpluginNeedsXEmbed: { - PLUGIN_DEBUG_0ARG ("GCJ_GetValue: returning TRUE for NeedsXEmbed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue: returning TRUE for NeedsXEmbed.\n"); bool* bool_value = (bool*) value; *bool_value = true; } @@ -625,17 +625,17 @@ GCJ_GetValue (NPP instance, NPPVariable break; } - PLUGIN_DEBUG_0ARG ("GCJ_GetValue return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue return\n"); return np_error; } NPError -GCJ_Destroy (NPP instance, NPSavedData** save) +ITNP_Destroy (NPP instance, NPSavedData** save) { - PLUGIN_DEBUG_1ARG ("GCJ_Destroy %p\n", instance); + PLUGIN_DEBUG_1ARG ("ITNP_Destroy %p\n", instance); - GCJPluginData* data = (GCJPluginData*) instance->pdata; + ITNPPluginData* data = (ITNPPluginData*) instance->pdata; if (data) { @@ -650,15 +650,15 @@ GCJ_Destroy (NPP instance, NPSavedData** IcedTeaPluginUtilities::invalidateInstance(instance); - PLUGIN_DEBUG_0ARG ("GCJ_Destroy return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Destroy return\n"); return NPERR_NO_ERROR; } NPError -GCJ_SetWindow (NPP instance, NPWindow* window) +ITNP_SetWindow (NPP instance, NPWindow* window) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow\n"); if (instance == NULL) { @@ -675,12 +675,12 @@ GCJ_SetWindow (NPP instance, NPWindow* w id = GPOINTER_TO_INT(id_ptr); } - GCJPluginData* data = (GCJPluginData*) instance->pdata; + ITNPPluginData* data = (ITNPPluginData*) instance->pdata; // Simply return if we receive a NULL window. if ((window == NULL) || (window->window == NULL)) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: got NULL window.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: got NULL window.\n"); return NPERR_NO_ERROR; } @@ -691,7 +691,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w if (data->window_handle == window->window) { // The parent window is the same as in previous calls. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window already exists.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window already exists.\n"); // Critical region. Read data->appletviewer_mutex and send // a message to the appletviewer. @@ -705,7 +705,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w // SetWindow call. if (window->width != data->window_width) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window width changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window width changed.\n"); // The width of the plugin window has changed. // Store the new width. @@ -715,7 +715,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w if (window->height != data->window_height) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window height changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window height changed.\n"); // The height of the plugin window has changed. // Store the new height. @@ -737,7 +737,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w else { // The appletviewer is not running. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: appletviewer is not running.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: appletviewer is not running.\n"); } g_mutex_unlock (data->appletviewer_mutex); @@ -746,12 +746,12 @@ GCJ_SetWindow (NPP instance, NPWindow* w { // The parent window has changed. This branch does run but // doing nothing in response seems to be sufficient. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: parent window changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: parent window changed.\n"); } } else { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: setting window.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: setting window.\n"); // Critical region. Send messages to appletviewer. g_mutex_lock (data->appletviewer_mutex); @@ -775,86 +775,86 @@ GCJ_SetWindow (NPP instance, NPWindow* w data->window_handle = window->window; } - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow return\n"); return NPERR_NO_ERROR; } NPError -GCJ_NewStream (NPP instance, NPMIMEType type, NPStream* stream, +ITNP_NewStream (NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype) { - PLUGIN_DEBUG_0ARG ("GCJ_NewStream\n"); + PLUGIN_DEBUG_0ARG ("ITNP_NewStream\n"); - PLUGIN_DEBUG_0ARG ("GCJ_NewStream return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_NewStream return\n"); return NPERR_NO_ERROR; } void -GCJ_StreamAsFile (NPP instance, NPStream* stream, const char* filename) +ITNP_StreamAsFile (NPP instance, NPStream* stream, const char* filename) { - PLUGIN_DEBUG_0ARG ("GCJ_StreamAsFile\n"); + PLUGIN_DEBUG_0ARG ("ITNP_StreamAsFile\n"); - PLUGIN_DEBUG_0ARG ("GCJ_StreamAsFile return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_StreamAsFile return\n"); } NPError -GCJ_DestroyStream (NPP instance, NPStream* stream, NPReason reason) +ITNP_DestroyStream (NPP instance, NPStream* stream, NPReason reason) { - PLUGIN_DEBUG_0ARG ("GCJ_DestroyStream\n"); + PLUGIN_DEBUG_0ARG ("ITNP_DestroyStream\n"); - PLUGIN_DEBUG_0ARG ("GCJ_DestroyStream return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_DestroyStream return\n"); return NPERR_NO_ERROR; } int32_t -GCJ_WriteReady (NPP instance, NPStream* stream) +ITNP_WriteReady (NPP instance, NPStream* stream) { - PLUGIN_DEBUG_0ARG ("GCJ_WriteReady\n"); + PLUGIN_DEBUG_0ARG ("ITNP_WriteReady\n"); - PLUGIN_DEBUG_0ARG ("GCJ_WriteReady return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_WriteReady return\n"); return 0; } int32_t -GCJ_Write (NPP instance, NPStream* stream, int32_t offset, int32_t len, +ITNP_Write (NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer) { - PLUGIN_DEBUG_0ARG ("GCJ_Write\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Write\n"); - PLUGIN_DEBUG_0ARG ("GCJ_Write return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Write return\n"); return 0; } void -GCJ_Print (NPP instance, NPPrint* platformPrint) +ITNP_Print (NPP instance, NPPrint* platformPrint) { - PLUGIN_DEBUG_0ARG ("GCJ_Print\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Print\n"); - PLUGIN_DEBUG_0ARG ("GCJ_Print return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Print return\n"); } int16_t -GCJ_HandleEvent (NPP instance, void* event) +ITNP_HandleEvent (NPP instance, void* event) { - PLUGIN_DEBUG_0ARG ("GCJ_HandleEvent\n"); + PLUGIN_DEBUG_0ARG ("ITNP_HandleEvent\n"); - PLUGIN_DEBUG_0ARG ("GCJ_HandleEvent return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_HandleEvent return\n"); return 0; } void -GCJ_URLNotify (NPP instance, const char* url, NPReason reason, +ITNP_URLNotify (NPP instance, const char* url, NPReason reason, void* notifyData) { - PLUGIN_DEBUG_0ARG ("GCJ_URLNotify\n"); + PLUGIN_DEBUG_0ARG ("ITNP_URLNotify\n"); - PLUGIN_DEBUG_0ARG ("GCJ_URLNotify return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_URLNotify return\n"); } NPError @@ -923,16 +923,16 @@ get_cookie_info(const char* siteAddr, ch // HELPER FUNCTIONS static void -plugin_data_new (GCJPluginData** data) +plugin_data_new (ITNPPluginData** data) { PLUGIN_DEBUG_0ARG ("plugin_data_new\n"); - *data = (GCJPluginData*) - (*browser_functions.memalloc) (sizeof (struct GCJPluginData)); + *data = (ITNPPluginData*) + (*browser_functions.memalloc) (sizeof (struct ITNPPluginData)); // appletviewer_alive is false until the applet viewer is spawned. if (*data) - memset (*data, 0, sizeof (struct GCJPluginData)); + memset (*data, 0, sizeof (struct ITNPPluginData)); PLUGIN_DEBUG_0ARG ("plugin_data_new return\n"); } @@ -1147,7 +1147,7 @@ void consume_message(gchar* message) { if (g_str_has_prefix (message, "instance")) { - GCJPluginData* data; + ITNPPluginData* data; gchar** parts = g_strsplit (message, " ", -1); guint parts_sz = g_strv_length (parts); @@ -1162,7 +1162,7 @@ void consume_message(gchar* message) { } else if (instance) { - data = (GCJPluginData*) instance->pdata; + data = (ITNPPluginData*) instance->pdata; } if (g_str_has_prefix (parts[2], "url")) @@ -1403,7 +1403,7 @@ plugin_out_pipe_callback (GIOChannel* so { PLUGIN_DEBUG_0ARG ("plugin_out_pipe_callback\n"); - GCJPluginData* data = (GCJPluginData*) plugin_data; + ITNPPluginData* data = (ITNPPluginData*) plugin_data; PLUGIN_DEBUG_0ARG ("plugin_out_pipe_callback: appletviewer has stopped.\n"); @@ -1452,7 +1452,7 @@ plugin_test_appletviewer () } static NPError -plugin_start_appletviewer (GCJPluginData* data) +plugin_start_appletviewer (ITNPPluginData* data) { PLUGIN_DEBUG_0ARG ("plugin_start_appletviewer\n"); NPError error = NPERR_NO_ERROR; @@ -1799,7 +1799,7 @@ plugin_data_destroy (NPP instance) { PLUGIN_DEBUG_0ARG ("plugin_data_destroy\n"); - GCJPluginData* tofree = (GCJPluginData*) instance->pdata; + ITNPPluginData* tofree = (ITNPPluginData*) instance->pdata; // Remove instance from map gpointer id_ptr = g_hash_table_lookup(instance_to_id_map, instance); @@ -1940,29 +1940,29 @@ NP_Initialize (NPNetscapeFuncs* browserT pluginTable->size = sizeof (NPPluginFuncs); #if MOZILLA_VERSION_COLLAPSED < 1090100 - pluginTable->newp = NewNPP_NewProc (GCJ_New); - pluginTable->destroy = NewNPP_DestroyProc (GCJ_Destroy); - pluginTable->setwindow = NewNPP_SetWindowProc (GCJ_SetWindow); - pluginTable->newstream = NewNPP_NewStreamProc (GCJ_NewStream); - pluginTable->destroystream = NewNPP_DestroyStreamProc (GCJ_DestroyStream); - pluginTable->asfile = NewNPP_StreamAsFileProc (GCJ_StreamAsFile); - pluginTable->writeready = NewNPP_WriteReadyProc (GCJ_WriteReady); - pluginTable->write = NewNPP_WriteProc (GCJ_Write); - pluginTable->print = NewNPP_PrintProc (GCJ_Print); - pluginTable->urlnotify = NewNPP_URLNotifyProc (GCJ_URLNotify); From andrew at icedtea.classpath.org Thu Apr 8 06:08:52 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 08 Apr 2010 13:08:52 +0000 Subject: /hg/release/icedtea6-1.8: Remove remaining references to rt sour... Message-ID: changeset 692a47719141 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=692a47719141 author: Andrew John Hughes date: Thu Apr 08 11:59:38 2010 +0100 Remove remaining references to rt source directory. 2010-04-08 Andrew John Hughes * Makefile.am: Remove remaining references to rt source directory. diffstat: 2 files changed, 6 insertions(+), 2 deletions(-) ChangeLog | 5 +++++ Makefile.am | 3 +-- diffs (32 lines): diff -r 6189f67c458a -r 692a47719141 ChangeLog --- a/ChangeLog Wed Mar 31 22:53:13 2010 +0100 +++ b/ChangeLog Thu Apr 08 11:59:38 2010 +0100 @@ -1,3 +1,8 @@ 2010-03-31 Andrew John Hughes + + * Makefile.am: Remove remaining references to + rt source directory. + 2010-03-31 Andrew John Hughes * Makefile.am: Add Ant patch. diff -r 6189f67c458a -r 692a47719141 Makefile.am --- a/Makefile.am Wed Mar 31 22:53:13 2010 +0100 +++ b/Makefile.am Thu Apr 08 11:59:38 2010 +0100 @@ -539,7 +539,7 @@ ICEDTEA_ENV_ECJ = $(ICEDTEA_ENV) \ # FIXME (distclean): Add jtreg sources # FIXME (distclean): Add pulseaudio sources -EXTRA_DIST = rt generated \ +EXTRA_DIST = generated \ $(abs_top_srcdir)/patches/* \ contrib ports \ extra overlays \ @@ -576,7 +576,6 @@ distclean-local: clean-copy clean-jtreg rm -rf extra-lib rm -rf openjdk-ecj rm -rf openjdk - rm -rf rt/netscape rm -rf visualvm rm -rf netbeans From andrew at icedtea.classpath.org Thu Apr 8 06:25:31 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 08 Apr 2010 13:25:31 +0000 Subject: /hg/icedtea6: 2 new changesets Message-ID: changeset 316937971e3d in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=316937971e3d author: Andrew John Hughes date: Thu Apr 08 11:59:38 2010 +0100 Remove remaining references to rt source directory. 2010-04-08 Andrew John Hughes * Makefile.am: Remove remaining references to rt source directory. changeset 918671af194a in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=918671af194a author: Andrew John Hughes date: Thu Apr 08 14:25:13 2010 +0100 Merge diffstat: 7 files changed, 128 insertions(+), 111 deletions(-) ChangeLog | 16 Makefile.am | 3 plugin/icedteanp/IcedTeaNPPlugin.cc | 200 +++++----- plugin/icedteanp/IcedTeaNPPlugin.h | 4 plugin/icedteanp/IcedTeaPluginUtils.cc | 2 plugin/icedteanp/IcedTeaPluginUtils.h | 12 plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java | 2 diffs (truncated from 680 to 500 lines): diff -r b5f6ca242b9f -r 918671af194a ChangeLog --- a/ChangeLog Wed Apr 07 14:50:34 2010 +0200 +++ b/ChangeLog Thu Apr 08 14:25:13 2010 +0100 @@ -1,3 +1,19 @@ 2010-04-07 Xerxes R??nby + + * Makefile.am: Remove remaining references to + rt source directory. + +2010-04-07 Deepak Bhole + + * plugin/icedteanp/IcedTeaNPPlugin.cc: ReplaceAll "GCJ" with "ITNP", and + change other strings to remove reference to GCJ. + * plugin/icedteanp/IcedTeaNPPlugin.h : Renamed GCJPluginData to + ITNPPluginData. + * plugin/icedteanp/IcedTeaPluginUtils.h: Changed debug output to be + prefixed with "ICEDTEA NP PLUGIN" instead of "GCJ PLUGIN". + * plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java: Don't + print ArrayIndexOutOfBounds traces. Continue to print any others. + 2010-04-07 Xerxes R??nby * configure.ac: Updated check for shared LLVM library to include svn. diff -r b5f6ca242b9f -r 918671af194a Makefile.am --- a/Makefile.am Wed Apr 07 14:50:34 2010 +0200 +++ b/Makefile.am Thu Apr 08 14:25:13 2010 +0100 @@ -550,7 +550,7 @@ ICEDTEA_ENV_ECJ = $(ICEDTEA_ENV) \ # FIXME (distclean): Add jtreg sources # FIXME (distclean): Add pulseaudio sources -EXTRA_DIST = rt generated \ +EXTRA_DIST = generated \ $(abs_top_srcdir)/patches/* \ contrib ports \ extra overlays \ @@ -587,7 +587,6 @@ distclean-local: clean-copy clean-jtreg rm -rf extra-lib rm -rf openjdk-ecj rm -rf openjdk - rm -rf rt/netscape rm -rf visualvm rm -rf netbeans diff -r b5f6ca242b9f -r 918671af194a plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Wed Apr 07 14:50:34 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Thu Apr 08 14:25:13 2010 +0100 @@ -131,7 +131,7 @@ exception statement from your version. * #define PLUGIN_FILE_EXTS "class,jar,zip" #define PLUGIN_MIME_COUNT 1 -#define FAILURE_MESSAGE "gcjwebplugin error: Failed to run %s." \ +#define FAILURE_MESSAGE "icedteanp plugin error: Failed to run %s." \ " For more detail rerun \"firefox -g\" in a terminal window." #if MOZILLA_VERSION_COLLAPSED < 1090100 @@ -194,8 +194,8 @@ typedef union #endif // Static instance helper functions. -// Have the browser allocate a new GCJPluginData structure. -static void plugin_data_new (GCJPluginData** data); +// Have the browser allocate a new ITNPPluginData structure. +static void plugin_data_new (ITNPPluginData** data); // Retrieve the current document's documentbase. static gchar* plugin_get_documentbase (NPP instance); // Notify the user that the appletviewer is not installed correctly. @@ -208,11 +208,11 @@ static gboolean plugin_out_pipe_callback static gboolean plugin_out_pipe_callback (GIOChannel* source, GIOCondition condition, gpointer plugin_data); -static NPError plugin_start_appletviewer (GCJPluginData* data); +static NPError plugin_start_appletviewer (ITNPPluginData* data); static gchar* plugin_create_applet_tag (int16_t argc, char* argn[], char* argv[]); static void plugin_stop_appletviewer (); -// Uninitialize GCJPluginData structure +// Uninitialize ITNPPluginData structure static void plugin_data_destroy (NPP instance); NPError get_cookie_info(const char* siteAddr, char** cookieString, uint32_t* len); @@ -238,8 +238,8 @@ int plugin_debug = getenv ("ICEDTEAPLUGI pthread_cond_t cond_message_available = PTHREAD_COND_INITIALIZER; -// Functions prefixed by GCJ_ are instance functions. They are called -// by the browser and operate on instances of GCJPluginData. +// Functions prefixed by ITNP_ are instance functions. They are called +// by the browser and operate on instances of ITNPPluginData. // Functions prefixed by plugin_ are static helper functions. // Functions prefixed by NP_ are factory functions. They are called // by the browser and provide functionality needed to create plugin @@ -247,22 +247,22 @@ pthread_cond_t cond_message_available = // INSTANCE FUNCTIONS -// Creates a new gcjwebplugin instance. This function creates a -// GCJPluginData* and stores it in instance->pdata. The following -// GCJPluginData fiels are initialized: instance_string, in_pipe_name, +// Creates a new icedtea np plugin instance. This function creates a +// ITNPPluginData* and stores it in instance->pdata. The following +// ITNPPluginData fiels are initialized: instance_string, in_pipe_name, // in_from_appletviewer, in_watch_source, out_pipe_name, // out_to_appletviewer, out_watch_source, appletviewer_mutex, owner, // appletviewer_alive. In addition two pipe files are created. All // of those fields must be properly destroyed, and the pipes deleted, -// by GCJ_Destroy. If an error occurs during initialization then this +// by ITNP_Destroy. If an error occurs during initialization then this // function will free anything that's been allocated so far, set // instance->pdata to NULL and return an error code. NPError -GCJ_New (NPMIMEType pluginType, NPP instance, uint16_t mode, +ITNP_New (NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved) { - PLUGIN_DEBUG_0ARG("GCJ_New\n"); + PLUGIN_DEBUG_0ARG("ITNP_New\n"); static NPObject *window_ptr; NPIdentifier identifier; @@ -280,7 +280,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst NPError np_error = NPERR_NO_ERROR; - GCJPluginData* data = NULL; + ITNPPluginData* data = NULL; gchar* documentbase = NULL; gchar* read_message = NULL; @@ -401,7 +401,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst g_hash_table_insert(id_to_instance_map, GINT_TO_POINTER(instance_counter), instance); instance_counter++; - PLUGIN_DEBUG_0ARG ("GCJ_New return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_New return\n"); return np_error; } @@ -428,7 +428,7 @@ void start_jvm_if_needed() PLUGIN_DEBUG_0ARG("No JVM is running. Attempting to start one...\n"); NPError np_error = NPERR_NO_ERROR; - GCJPluginData* data = NULL; + ITNPPluginData* data = NULL; // Create appletviewer-to-plugin pipe which we refer to as the input // pipe. @@ -448,14 +448,14 @@ void start_jvm_if_needed() // clean up any older pip unlink (in_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: creating input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: creating input fifo: %s\n", in_pipe_name); if (mkfifo (in_pipe_name, 0600) == -1 && errno != EEXIST) { PLUGIN_ERROR_TWO ("Failed to create input pipe", strerror (errno)); np_error = NPERR_GENERIC_ERROR; goto cleanup_in_pipe_name; } - PLUGIN_DEBUG_1ARG ("GCJ_New: created input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: created input fifo: %s\n", in_pipe_name); // Create plugin-to-appletviewer pipe which we refer to as the // output pipe. @@ -474,14 +474,14 @@ void start_jvm_if_needed() // clean up any older pip unlink (out_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: creating output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: creating output fifo: %s\n", out_pipe_name); if (mkfifo (out_pipe_name, 0600) == -1 && errno != EEXIST) { PLUGIN_ERROR_TWO ("Failed to create output pipe", strerror (errno)); np_error = NPERR_GENERIC_ERROR; goto cleanup_out_pipe_name; } - PLUGIN_DEBUG_1ARG ("GCJ_New: created output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: created output fifo: %s\n", out_pipe_name); // Start a separate appletviewer process for each applet, even if // there are multiple applets in the same page. We may need to @@ -572,9 +572,9 @@ void start_jvm_if_needed() // cleanup_out_pipe: // Delete output pipe. - PLUGIN_DEBUG_1ARG ("GCJ_New: deleting input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleting input fifo: %s\n", in_pipe_name); unlink (out_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: deleted input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleted input fifo: %s\n", in_pipe_name); cleanup_out_pipe_name: g_free (out_pipe_name); @@ -582,9 +582,9 @@ void start_jvm_if_needed() // cleanup_in_pipe: // Delete input pipe. - PLUGIN_DEBUG_1ARG ("GCJ_New: deleting output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleting output fifo: %s\n", out_pipe_name); unlink (in_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: deleted output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleted output fifo: %s\n", out_pipe_name); cleanup_in_pipe_name: g_free (in_pipe_name); @@ -598,9 +598,9 @@ void start_jvm_if_needed() } NPError -GCJ_GetValue (NPP instance, NPPVariable variable, void* value) +ITNP_GetValue (NPP instance, NPPVariable variable, void* value) { - PLUGIN_DEBUG_0ARG ("GCJ_GetValue\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue\n"); NPError np_error = NPERR_NO_ERROR; @@ -609,7 +609,7 @@ GCJ_GetValue (NPP instance, NPPVariable // This plugin needs XEmbed support. case NPPVpluginNeedsXEmbed: { - PLUGIN_DEBUG_0ARG ("GCJ_GetValue: returning TRUE for NeedsXEmbed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue: returning TRUE for NeedsXEmbed.\n"); bool* bool_value = (bool*) value; *bool_value = true; } @@ -625,17 +625,17 @@ GCJ_GetValue (NPP instance, NPPVariable break; } - PLUGIN_DEBUG_0ARG ("GCJ_GetValue return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue return\n"); return np_error; } NPError -GCJ_Destroy (NPP instance, NPSavedData** save) +ITNP_Destroy (NPP instance, NPSavedData** save) { - PLUGIN_DEBUG_1ARG ("GCJ_Destroy %p\n", instance); + PLUGIN_DEBUG_1ARG ("ITNP_Destroy %p\n", instance); - GCJPluginData* data = (GCJPluginData*) instance->pdata; + ITNPPluginData* data = (ITNPPluginData*) instance->pdata; if (data) { @@ -650,15 +650,15 @@ GCJ_Destroy (NPP instance, NPSavedData** IcedTeaPluginUtilities::invalidateInstance(instance); - PLUGIN_DEBUG_0ARG ("GCJ_Destroy return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Destroy return\n"); return NPERR_NO_ERROR; } NPError -GCJ_SetWindow (NPP instance, NPWindow* window) +ITNP_SetWindow (NPP instance, NPWindow* window) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow\n"); if (instance == NULL) { @@ -675,12 +675,12 @@ GCJ_SetWindow (NPP instance, NPWindow* w id = GPOINTER_TO_INT(id_ptr); } - GCJPluginData* data = (GCJPluginData*) instance->pdata; + ITNPPluginData* data = (ITNPPluginData*) instance->pdata; // Simply return if we receive a NULL window. if ((window == NULL) || (window->window == NULL)) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: got NULL window.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: got NULL window.\n"); return NPERR_NO_ERROR; } @@ -691,7 +691,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w if (data->window_handle == window->window) { // The parent window is the same as in previous calls. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window already exists.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window already exists.\n"); // Critical region. Read data->appletviewer_mutex and send // a message to the appletviewer. @@ -705,7 +705,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w // SetWindow call. if (window->width != data->window_width) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window width changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window width changed.\n"); // The width of the plugin window has changed. // Store the new width. @@ -715,7 +715,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w if (window->height != data->window_height) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window height changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window height changed.\n"); // The height of the plugin window has changed. // Store the new height. @@ -737,7 +737,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w else { // The appletviewer is not running. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: appletviewer is not running.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: appletviewer is not running.\n"); } g_mutex_unlock (data->appletviewer_mutex); @@ -746,12 +746,12 @@ GCJ_SetWindow (NPP instance, NPWindow* w { // The parent window has changed. This branch does run but // doing nothing in response seems to be sufficient. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: parent window changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: parent window changed.\n"); } } else { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: setting window.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: setting window.\n"); // Critical region. Send messages to appletviewer. g_mutex_lock (data->appletviewer_mutex); @@ -775,86 +775,86 @@ GCJ_SetWindow (NPP instance, NPWindow* w data->window_handle = window->window; } - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow return\n"); return NPERR_NO_ERROR; } NPError -GCJ_NewStream (NPP instance, NPMIMEType type, NPStream* stream, +ITNP_NewStream (NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype) { - PLUGIN_DEBUG_0ARG ("GCJ_NewStream\n"); + PLUGIN_DEBUG_0ARG ("ITNP_NewStream\n"); - PLUGIN_DEBUG_0ARG ("GCJ_NewStream return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_NewStream return\n"); return NPERR_NO_ERROR; } void -GCJ_StreamAsFile (NPP instance, NPStream* stream, const char* filename) +ITNP_StreamAsFile (NPP instance, NPStream* stream, const char* filename) { - PLUGIN_DEBUG_0ARG ("GCJ_StreamAsFile\n"); + PLUGIN_DEBUG_0ARG ("ITNP_StreamAsFile\n"); - PLUGIN_DEBUG_0ARG ("GCJ_StreamAsFile return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_StreamAsFile return\n"); } NPError -GCJ_DestroyStream (NPP instance, NPStream* stream, NPReason reason) +ITNP_DestroyStream (NPP instance, NPStream* stream, NPReason reason) { - PLUGIN_DEBUG_0ARG ("GCJ_DestroyStream\n"); + PLUGIN_DEBUG_0ARG ("ITNP_DestroyStream\n"); - PLUGIN_DEBUG_0ARG ("GCJ_DestroyStream return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_DestroyStream return\n"); return NPERR_NO_ERROR; } int32_t -GCJ_WriteReady (NPP instance, NPStream* stream) +ITNP_WriteReady (NPP instance, NPStream* stream) { - PLUGIN_DEBUG_0ARG ("GCJ_WriteReady\n"); + PLUGIN_DEBUG_0ARG ("ITNP_WriteReady\n"); - PLUGIN_DEBUG_0ARG ("GCJ_WriteReady return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_WriteReady return\n"); return 0; } int32_t -GCJ_Write (NPP instance, NPStream* stream, int32_t offset, int32_t len, +ITNP_Write (NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer) { - PLUGIN_DEBUG_0ARG ("GCJ_Write\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Write\n"); - PLUGIN_DEBUG_0ARG ("GCJ_Write return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Write return\n"); return 0; } void -GCJ_Print (NPP instance, NPPrint* platformPrint) +ITNP_Print (NPP instance, NPPrint* platformPrint) { - PLUGIN_DEBUG_0ARG ("GCJ_Print\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Print\n"); - PLUGIN_DEBUG_0ARG ("GCJ_Print return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Print return\n"); } int16_t -GCJ_HandleEvent (NPP instance, void* event) +ITNP_HandleEvent (NPP instance, void* event) { - PLUGIN_DEBUG_0ARG ("GCJ_HandleEvent\n"); + PLUGIN_DEBUG_0ARG ("ITNP_HandleEvent\n"); - PLUGIN_DEBUG_0ARG ("GCJ_HandleEvent return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_HandleEvent return\n"); return 0; } void -GCJ_URLNotify (NPP instance, const char* url, NPReason reason, +ITNP_URLNotify (NPP instance, const char* url, NPReason reason, void* notifyData) { - PLUGIN_DEBUG_0ARG ("GCJ_URLNotify\n"); + PLUGIN_DEBUG_0ARG ("ITNP_URLNotify\n"); - PLUGIN_DEBUG_0ARG ("GCJ_URLNotify return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_URLNotify return\n"); } NPError @@ -923,16 +923,16 @@ get_cookie_info(const char* siteAddr, ch // HELPER FUNCTIONS static void -plugin_data_new (GCJPluginData** data) +plugin_data_new (ITNPPluginData** data) { PLUGIN_DEBUG_0ARG ("plugin_data_new\n"); - *data = (GCJPluginData*) - (*browser_functions.memalloc) (sizeof (struct GCJPluginData)); + *data = (ITNPPluginData*) + (*browser_functions.memalloc) (sizeof (struct ITNPPluginData)); // appletviewer_alive is false until the applet viewer is spawned. if (*data) - memset (*data, 0, sizeof (struct GCJPluginData)); + memset (*data, 0, sizeof (struct ITNPPluginData)); PLUGIN_DEBUG_0ARG ("plugin_data_new return\n"); } @@ -1147,7 +1147,7 @@ void consume_message(gchar* message) { if (g_str_has_prefix (message, "instance")) { - GCJPluginData* data; + ITNPPluginData* data; gchar** parts = g_strsplit (message, " ", -1); guint parts_sz = g_strv_length (parts); @@ -1162,7 +1162,7 @@ void consume_message(gchar* message) { } else if (instance) { - data = (GCJPluginData*) instance->pdata; + data = (ITNPPluginData*) instance->pdata; } if (g_str_has_prefix (parts[2], "url")) @@ -1403,7 +1403,7 @@ plugin_out_pipe_callback (GIOChannel* so { PLUGIN_DEBUG_0ARG ("plugin_out_pipe_callback\n"); - GCJPluginData* data = (GCJPluginData*) plugin_data; + ITNPPluginData* data = (ITNPPluginData*) plugin_data; PLUGIN_DEBUG_0ARG ("plugin_out_pipe_callback: appletviewer has stopped.\n"); @@ -1452,7 +1452,7 @@ plugin_test_appletviewer () } static NPError -plugin_start_appletviewer (GCJPluginData* data) +plugin_start_appletviewer (ITNPPluginData* data) { From doko at icedtea.classpath.org Thu Apr 8 08:26:02 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Thu, 08 Apr 2010 15:26:02 +0000 Subject: /hg/release/icedtea6-1.8: Check for shared LLVM library. Message-ID: changeset 5a890a745e14 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=5a890a745e14 author: doko at ubuntu.com date: Thu Apr 08 17:00:19 2010 +0200 Check for shared LLVM library. 2010-04-07 Xerxes R?nby * configure.ac: Updated check for shared LLVM library to include svn. 2010-04-04 Matthias Klose * configure.ac: Check for shared LLVM library. diffstat: 2 files changed, 20 insertions(+), 1 deletion(-) ChangeLog | 8 ++++++++ configure.ac | 13 ++++++++++++- diffs (61 lines): diff -r 692a47719141 -r 5a890a745e14 ChangeLog --- a/ChangeLog Thu Apr 08 11:59:38 2010 +0100 +++ b/ChangeLog Thu Apr 08 17:00:19 2010 +0200 @@ -1,3 +1,11 @@ 2010-04-08 Andrew John Hughes + + * configure.ac: Updated check for shared LLVM library to include svn. + +2010-04-04 Matthias Klose + + * configure.ac: Check for shared LLVM library. + 2010-04-08 Andrew John Hughes * Makefile.am: Remove remaining references to diff -r 692a47719141 -r 5a890a745e14 configure.ac --- a/configure.ac Thu Apr 08 11:59:38 2010 +0100 +++ b/configure.ac Thu Apr 08 17:00:19 2010 +0200 @@ -440,6 +440,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te if test "x${SHARK_BUILD_TRUE}" = x || test "x${ADD_SHARK_BUILD_TRUE}" = x; then FIND_TOOL([LLVM_CONFIG], [llvm-config]) llvm_components="jit engine nativecodegen" + LLVM_VERSION="`$LLVM_CONFIG --version`" dnl LLVM_CFLAGS LLVM_CFLAGS= for flag in $($LLVM_CONFIG --cxxflags $llvm_components); do @@ -452,6 +453,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te fi fi done + LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`echo $LLVM_VERSION | sed 's/\.//;s/svn.*//'`" dnl LLVM_LDFLAGS LLVM_LDFLAGS= for flag in $($LLVM_CONFIG --ldflags $llvm_components); do @@ -463,8 +465,17 @@ if test "x${SHARK_BUILD_TRUE}" = x || te fi done dnl LLVM_LIBS + LIBS_SAVED=$LIBS + LDFLAGS_SAVED=$LDFLAGS + LDFLAGS=$LLVM_LDFLAGS + AC_CHECK_LIB(LLVM-$LLVM_VERSION, LLVMGetNextInstruction,LLVM_SHARED_LIB=" -lLLVM-$LLVM_VERSION") + LIBS=$LIBS_SAVED + LDFLAGS=$LDFLAGS_SAVED LLVM_LIBS= for flag in $($LLVM_CONFIG --libs $llvm_components); do + if test "x$LLVM_SHARED_LIB" != x && echo "$flag" | grep -q '^-lLLVM'; then + continue + fi if echo "$flag" | grep -q '^-l'; then if test "x$LLVM_LIBS" != "x"; then LLVM_LIBS="$LLVM_LIBS " @@ -472,7 +483,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || te LLVM_LIBS="$LLVM_LIBS$flag" fi done - LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/\.//;s/svn.*//'`" + LLVM_LIBS="$LLVM_LIBS$LLVM_SHARED_LIB" fi AC_SUBST(LLVM_CFLAGS) AC_SUBST(LLVM_LDFLAGS) From doko at ubuntu.com Thu Apr 8 09:54:37 2010 From: doko at ubuntu.com (Matthias Klose) Date: Thu, 08 Apr 2010 18:54:37 +0200 Subject: NSS configuration & plugin interaction In-Reply-To: References: <4BBBE397.5000603@ubuntu.com> Message-ID: <4BBE0A4D.3090800@ubuntu.com> On 07.04.2010 16:32, Andrew John Hughes wrote: > On 7 April 2010 01:44, Matthias Klose wrote: >> this is about 461 and 469; when icedtea is configured with --enable-nss, >> just an additional security provider is added in java.security, the code >> currently in icedtea isn't changed, so the behaviour should be reproducible >> on systems which have the required nss available. >> >> visiting the page mentioned in 461 with the >> security.provider.9=sun.security.pkcs11.SunPKCS11 >> ${java.home}/lib/security/nss.cfg enabled in java.policy, I get the stack >> trace in [1] after closing the page, the java process >> icedteanp-appletviewer-to-plugin sleeps (ignoring the Unimplemented messages >> at the end). >> > > This isn't the same failure as 469. I didn't say this. > Also, the output looks like two > separate threads throwing exceptions. > >> with security.provider.9 commented out, I see the stacktrace in [2]. closing >> the page with the applet lets the icedteanp-appletviewer-to-plugin process >> sleep. > > Looks like the same as the first one, but the other thread no longer > crashes due to the NSS issue. > I suspect there are two bugs here. What makes you think the plugin > crash is related to NSS? the ssl test failures in the jtreg testsuite are related to enabling NSS. > The stack trace shows a parsing error: > > java.lang.ArrayIndexOutOfBoundsException: 5 > at sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) > >> >> with security.provider.9 commented out and the nss.cfg file missing (that is >> the default when configuring without NSS, and running on a system having >> NSS) you see the stacktrace as in [2], but the >> icedteanp-appletviewer-to-plugin process now uses 100% cpu and doesn't >> terminate even after closing the page with the applet. >> >> As a minimum patch, we should always install the nss.cfg file, or revert the >> (upstream?) NSS patch when not configuring with --enable-nss. > > We can always install nss.cfg. It really makes no difference if the > provider line is not added. I'm applying a patch to the trunk, setting the libdir in nss.cfg to the system libdir when configuring without --enable-nss. It should do the right thing, but plesae check on Fedora that it gets the lib/lib64 right. > >> >> Would like to hear if this behaviour can be reproduced. >> > > Is there a URL I can give to appletviewer? it's in the bug report: http://www.slu.edu/classes/maymk/GeoGebra/SecantToTangent.html > >> Matthias >> >> >> [1] >> $ firefox 2>&1 | tee firefox.log2 >> Looking for 0xb0cf570c 0xab6effb0 0xb5bdcbcc (document) >> java version "1.6.0_18" >> OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) >> OpenJDK Server VM (build 16.0-b13, mixed mode) >> java.security.ProviderException: Could not initialize NSS >> at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:201) >> at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:103) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> at >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >> at java.lang.reflect.Constructor.newInstance(Constructor.java:532) >> at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:262) >> at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:244) >> at >> sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:224) >> at sun.security.jca.ProviderList.getProvider(ProviderList.java:232) >> at sun.security.jca.ProviderList.getService(ProviderList.java:330) >> at sun.security.jca.GetInstance.getInstance(GetInstance.java:157) >> at java.security.Security.getImpl(Security.java:696) >> at >> java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:130) >> at sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:121) >> at sun.security.x509.AlgorithmId.(AlgorithmId.java:114) >> at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381) >> at sun.security.x509.X509Key.parse(X509Key.java:168) >> at >> sun.security.x509.CertificateX509Key.(CertificateX509Key.java:75) >> at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705) >> at sun.security.x509.X509CertInfo.(X509CertInfo.java:169) >> at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1747) >> at sun.security.x509.X509CertImpl.(X509CertImpl.java:196) >> at >> sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:107) >> at >> java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322) >> at >> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:763) >> at >> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55) >> at java.security.KeyStore.load(KeyStore.java:1201) >> at >> sun.security.ssl.TrustManagerFactoryImpl.getCacertsKeyStore(TrustManagerFactoryImpl.java:221) >> at >> sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:51) >> at >> javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:247) >> at >> net.sourceforge.jnlp.security.VariableX509TrustManager.(VariableX509TrustManager.java:100) >> at >> net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:282) >> at sun.applet.PluginMain.init(PluginMain.java:217) >> at sun.applet.PluginMain.(PluginMain.java:147) >> at sun.applet.PluginMain.main(PluginMain.java:116) >> Caused by: java.io.IOException: An incompatible version of NSS is already >> loaded, 3.7 or later required >> at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >> at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >> ... 37 more >> java.lang.InterruptedException: sleep interrupted >> at java.lang.Thread.sleep(Native Method) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> java.lang.InterruptedException: sleep interrupted >> at java.lang.Thread.sleep(Native Method) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> java.lang.InterruptedException: sleep interrupted >> at java.lang.Thread.sleep(Native Method) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:747) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> java.lang.ArrayIndexOutOfBoundsException: 5 >> at >> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >> at >> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >> at >> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> Download error: >> /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar >> (No such file or directory) >> Download error: jarFile not found: 1 >> java.lang.ArrayIndexOutOfBoundsException: 5 >> at >> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >> at >> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >> at >> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> Exception in thread "Thread-12" java.lang.NoClassDefFoundError: geogebra/e/m >> at geogebra.GeoGebraApplet.a(Unknown Source) >> at geogebra.GeoGebraApplet.a(Unknown Source) >> at geogebra.GeoGebraApplet.a(Unknown Source) >> at geogebra.f.run(Unknown Source) >> ** Unimplemented: IcedTeaScriptableJavaObject::invalidate 0xa7779fe0 >> ** Unimplemented: IcedTeaScriptableJavaObject::deAllocate 0xa7779fe0 >> >> >> [2] >> $ firefox 2>&1 | tee firefox.log3 >> Looking for 0xa73b348c 0xa6fd09e0 0xb5adcbcc (document) >> java version "1.6.0_18" >> OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) >> OpenJDK Server VM (build 16.0-b13, mixed mode) >> java.lang.InterruptedException: sleep interrupted >> at java.lang.Thread.sleep(Native Method) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:735) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> java.lang.InterruptedException: sleep interrupted >> at java.lang.Thread.sleep(Native Method) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> java.lang.InterruptedException: sleep interrupted >> at java.lang.Thread.sleep(Native Method) >> at >> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> java.lang.ArrayIndexOutOfBoundsException: 5 >> at >> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >> at >> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >> at >> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> Download error: >> /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar >> (No such file or directory) >> Download error: jarFile not found: 1 >> java.lang.ArrayIndexOutOfBoundsException: 5 >> at >> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >> at >> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >> at >> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >> at >> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >> at >> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >> Exception in thread "Thread-12" java.lang.NoClassDefFoundError: geogebra/e/m >> at geogebra.GeoGebraApplet.a(Unknown Source) >> at geogebra.GeoGebraApplet.a(Unknown Source) >> at geogebra.GeoGebraApplet.a(Unknown Source) >> at geogebra.f.run(Unknown Source) >> >> > > > From doko at icedtea.classpath.org Thu Apr 8 10:01:28 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Thu, 08 Apr 2010 17:01:28 +0000 Subject: /hg/icedtea6: 2010-04-08 Matthias Klose Message-ID: changeset a3cfc302306d in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=a3cfc302306d author: doko at ubuntu.com date: Thu Apr 08 18:35:34 2010 +0200 2010-04-08 Matthias Klose * Makefile.am (stamps/icedtea.stamp, stamps/icedtea- debug.stamp): Always install nss.cfg. * configure.ac: Always make nss.cfg a config file, always substitute NSS_LIBDIR. diffstat: 3 files changed, 24 insertions(+), 6 deletions(-) ChangeLog | 7 +++++++ Makefile.am | 4 ---- configure.ac | 19 +++++++++++++++++-- diffs (76 lines): diff -r 918671af194a -r a3cfc302306d ChangeLog --- a/ChangeLog Thu Apr 08 14:25:13 2010 +0100 +++ b/ChangeLog Thu Apr 08 18:35:34 2010 +0200 @@ -1,3 +1,10 @@ 2010-04-08 Andrew John Hughes + + * Makefile.am (stamps/icedtea.stamp, stamps/icedtea-debug.stamp): + Always install nss.cfg. + * configure.ac: Always make nss.cfg a config file, always + substitute NSS_LIBDIR. + 2010-04-08 Andrew John Hughes * Makefile.am: Remove remaining references to diff -r 918671af194a -r a3cfc302306d Makefile.am --- a/Makefile.am Thu Apr 08 14:25:13 2010 +0100 +++ b/Makefile.am Thu Apr 08 18:35:34 2010 +0200 @@ -1345,10 +1345,8 @@ if ENABLE_SYSTEMTAP cp $(abs_top_builddir)/tapset/jstack.stp \ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp endif -if ENABLE_NSS cp $(abs_top_builddir)/nss.cfg \ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; -endif if WITH_TZDATA_DIR cp $(abs_top_builddir)/tz.properties \ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; @@ -1437,10 +1435,8 @@ if ENABLE_SYSTEMTAP cp $(abs_top_builddir)/tapset/jstack.stp \ $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/tapset/jstack.stp endif -if ENABLE_NSS cp $(abs_top_builddir)/nss.cfg \ $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/jre/lib/security; -endif if WITH_TZDATA_DIR cp $(abs_top_builddir)/tz.properties \ $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/jre/lib; diff -r 918671af194a -r a3cfc302306d configure.ac --- a/configure.ac Thu Apr 08 14:25:13 2010 +0100 +++ b/configure.ac Thu Apr 08 18:35:34 2010 +0200 @@ -37,6 +37,7 @@ if test "x$FASTJAR" = x; then AC_MSG_ERROR([Can't find fastjar or jar]) fi AC_SUBST([FASTJAR]) +AC_CHECK_TOOL([LDD], [ldd]) dnl OpenJDK's README-builds.html lists gawk as a build dependency so we dnl check for it explicitly rather than using AC_PROG_AWK. FIND_TOOL([GAWK], [gawk]) @@ -415,9 +416,23 @@ then AC_MSG_ERROR([Could not find NSS. Either install it or configure using --disable-nss.]) fi NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` - AC_SUBST(NSS_LIBDIR) - AC_CONFIG_FILES([nss.cfg]) +else + dnl set it to the system library directory + if test "x$LDD" = x; then + NSS_LIBDIR=/usr/lib + else + AC_LANG_CONFTEST([AC_LANG_PROGRAM([[]], [[]])]) + $CC conftest.c + syslibdir=`$LDD a.out | sed -n '/libc\.so./s,.*=> */\(@<:@^/@:>@*\)/.*,\1,p'` + rm -f a.out + case x${syslibdir} in + xlib|xlib64|xlib32|xlibn32) NSS_LIBDIR=/usr/${syslibdir};; + *) NSS_LIBDIR=/usr/lib + esac + fi fi +AC_SUBST(NSS_LIBDIR) +AC_CONFIG_FILES([nss.cfg]) if test "x${ZERO_BUILD_TRUE}" = x || test "x${ADD_ZERO_BUILD_TRUE}" = x; then dnl Check for libffi headers and libraries. From ahughes at redhat.com Thu Apr 8 11:24:00 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Thu, 8 Apr 2010 19:24:00 +0100 Subject: NSS configuration & plugin interaction In-Reply-To: <4BBE0A4D.3090800@ubuntu.com> References: <4BBBE397.5000603@ubuntu.com> <4BBE0A4D.3090800@ubuntu.com> Message-ID: On 8 April 2010 17:54, Matthias Klose wrote: > On 07.04.2010 16:32, Andrew John Hughes wrote: >> >> On 7 April 2010 01:44, Matthias Klose ?wrote: >>> >>> this is about 461 and 469; when icedtea is configured with --enable-nss, >>> just an additional security provider is added in java.security, the code >>> currently in icedtea isn't changed, so the behaviour should be >>> reproducible >>> on systems which have the required nss available. >>> >>> visiting the page mentioned in 461 with the >>> security.provider.9=sun.security.pkcs11.SunPKCS11 >>> ${java.home}/lib/security/nss.cfg enabled in java.policy, I get the stack >>> trace in [1] after closing the page, the java process >>> icedteanp-appletviewer-to-plugin sleeps (ignoring the Unimplemented >>> messages >>> at the end). >>> >> >> This isn't the same failure as 469. > > I didn't say this. > Then how is 469 related? True they both concern NSS but they are different failures which may have different causes. The NSS issue reported in relation to the plugin is some kind of loading error, whereas the other occurs during certificate creation. >> Also, the output looks like two >> separate threads throwing exceptions. >> >>> with security.provider.9 commented out, I see the stacktrace in [2]. >>> closing >>> the page with the applet lets the icedteanp-appletviewer-to-plugin >>> process >>> sleep. >> >> Looks like the same as the first one, but the other thread no longer >> crashes due to the NSS issue. >> I suspect there are two bugs here. ?What makes you think the plugin >> crash is related to NSS? > > the ssl test failures in the jtreg testsuite are related to enabling NSS. > They are, but completely different failures and not relevant to this plugin issue. The NSS error here is: >>> Caused by: java.io.IOException: An incompatible version of NSS is already >>> loaded, 3.7 or later required >>> at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >>> at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >>> ... 37 more which suggests some form of loading issue in the plugin. >> The stack trace shows a parsing error: >> >> java.lang.ArrayIndexOutOfBoundsException: 5 >> ? ? ? ?at >> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >> >>> >>> with security.provider.9 commented out and the nss.cfg file missing (that >>> is >>> the default when configuring without NSS, and running on a system having >>> NSS) you see the stacktrace as in [2], but the >>> icedteanp-appletviewer-to-plugin process now uses 100% cpu and doesn't >>> terminate even after closing the page with the applet. >>> >>> As a minimum patch, we should always install the nss.cfg file, or revert >>> the >>> (upstream?) NSS patch when not configuring with --enable-nss. >> >> We can always install nss.cfg. ?It really makes no difference if the >> provider line is not added. > > I'm applying a patch to the trunk, setting the libdir in nss.cfg to the > system libdir when configuring without --enable-nss. It should do the right > thing, but plesae check on Fedora that it gets the lib/lib64 right. > This is the wrong thing to do. I'd suggest the following instead: * Always check for NSS but only fail if it's not found and ENABLE_NSS is set: if test "x${ENABLE_NSS}" = "xyes" then PKG_CHECK_MODULES(NSS, nss, [NSS_FOUND=yes], [NSS_FOUND=no]) if test "x${NSS_FOUND}" = xno then AC_MSG_ERROR([Could not find NSS. Either install it or configure using --disable-nss.]) fi NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` AC_SUBST(NSS_LIBDIR) AC_CONFIG_FILES([nss.cfg]) fi becomes something like: PKG_CHECK_MODULES(NSS, nss, [NSS_FOUND=yes], [NSS_FOUND=no]) if test "x${NSS_FOUND}" = xno then if test "x${ENABLE_NSS}" = "xyes" then AC_MSG_ERROR([Could not find NSS. Either install it or configure using --disable-nss.]) else AC_MSG_WARN([Could not find NSS; not installing nss.cfg]) fi else NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` AC_CONFIG_FILES([nss.cfg]) fi AC_SUBST(NSS_LIBDIR) You can check if nss.cfg was generated using an -e test in Makefile.am's icedtea and icedtea-debug targets instead of the current ENABLE_NSS block. > >> >>> >>> Would like to hear if this behaviour can be reproduced. >>> >> >> Is there a URL I can give to appletviewer? > > it's in the bug report: > http://www.slu.edu/classes/maymk/GeoGebra/SecantToTangent.html > >> >>> ?Matthias >>> >>> >>> [1] >>> $ firefox 2>&1 | tee firefox.log2 >>> Looking for 0xb0cf570c 0xab6effb0 0xb5bdcbcc (document) >>> java version "1.6.0_18" >>> OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) >>> OpenJDK Server VM (build 16.0-b13, mixed mode) >>> java.security.ProviderException: Could not initialize NSS >>> ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:201) >>> ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:103) >>> ? ? ? ?at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >>> Method) >>> ? ? ? ?at >>> >>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) >>> ? ? ? ?at >>> >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> ? ? ? ?at java.lang.reflect.Constructor.newInstance(Constructor.java:532) >>> ? ? ? ?at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:262) >>> ? ? ? ?at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244) >>> ? ? ? ?at java.security.AccessController.doPrivileged(Native Method) >>> ? ? ? ?at >>> sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:244) >>> ? ? ? ?at >>> sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:224) >>> ? ? ? ?at >>> sun.security.jca.ProviderList.getProvider(ProviderList.java:232) >>> ? ? ? ?at sun.security.jca.ProviderList.getService(ProviderList.java:330) >>> ? ? ? ?at sun.security.jca.GetInstance.getInstance(GetInstance.java:157) >>> ? ? ? ?at java.security.Security.getImpl(Security.java:696) >>> ? ? ? ?at >>> >>> java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:130) >>> ? ? ? ?at >>> sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:121) >>> ? ? ? ?at sun.security.x509.AlgorithmId.(AlgorithmId.java:114) >>> ? ? ? ?at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381) >>> ? ? ? ?at sun.security.x509.X509Key.parse(X509Key.java:168) >>> ? ? ? ?at >>> sun.security.x509.CertificateX509Key.(CertificateX509Key.java:75) >>> ? ? ? ?at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705) >>> ? ? ? ?at sun.security.x509.X509CertInfo.(X509CertInfo.java:169) >>> ? ? ? ?at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1747) >>> ? ? ? ?at sun.security.x509.X509CertImpl.(X509CertImpl.java:196) >>> ? ? ? ?at >>> >>> sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:107) >>> ? ? ? ?at >>> >>> java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322) >>> ? ? ? ?at >>> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:763) >>> ? ? ? ?at >>> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55) >>> ? ? ? ?at java.security.KeyStore.load(KeyStore.java:1201) >>> ? ? ? ?at >>> >>> sun.security.ssl.TrustManagerFactoryImpl.getCacertsKeyStore(TrustManagerFactoryImpl.java:221) >>> ? ? ? ?at >>> >>> sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:51) >>> ? ? ? ?at >>> javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:247) >>> ? ? ? ?at >>> >>> net.sourceforge.jnlp.security.VariableX509TrustManager.(VariableX509TrustManager.java:100) >>> ? ? ? ?at >>> >>> net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:282) >>> ? ? ? ?at sun.applet.PluginMain.init(PluginMain.java:217) >>> ? ? ? ?at sun.applet.PluginMain.(PluginMain.java:147) >>> ? ? ? ?at sun.applet.PluginMain.main(PluginMain.java:116) >>> Caused by: java.io.IOException: An incompatible version of NSS is already >>> loaded, 3.7 or later required >>> ? ? ? ?at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >>> ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >>> ? ? ? ?... 37 more >>> java.lang.InterruptedException: sleep interrupted >>> ? ? ? ?at java.lang.Thread.sleep(Native Method) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> java.lang.InterruptedException: sleep interrupted >>> ? ? ? ?at java.lang.Thread.sleep(Native Method) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> java.lang.InterruptedException: sleep interrupted >>> ? ? ? ?at java.lang.Thread.sleep(Native Method) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:747) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> java.lang.ArrayIndexOutOfBoundsException: 5 >>> ? ? ? ?at >>> >>> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> Download error: >>> >>> /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar >>> (No such file or directory) >>> Download error: jarFile not found: 1 >>> java.lang.ArrayIndexOutOfBoundsException: 5 >>> ? ? ? ?at >>> >>> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> Exception in thread "Thread-12" java.lang.NoClassDefFoundError: >>> geogebra/e/m >>> ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) >>> ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) >>> ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) >>> ? ? ? ?at geogebra.f.run(Unknown Source) >>> ** Unimplemented: IcedTeaScriptableJavaObject::invalidate 0xa7779fe0 >>> ** Unimplemented: IcedTeaScriptableJavaObject::deAllocate 0xa7779fe0 >>> >>> >>> [2] >>> $ firefox 2>&1 | tee firefox.log3 >>> Looking for 0xa73b348c 0xa6fd09e0 0xb5adcbcc (document) >>> java version "1.6.0_18" >>> OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu3) >>> OpenJDK Server VM (build 16.0-b13, mixed mode) >>> java.lang.InterruptedException: sleep interrupted >>> ? ? ? ?at java.lang.Thread.sleep(Native Method) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:735) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> java.lang.InterruptedException: sleep interrupted >>> ? ? ? ?at java.lang.Thread.sleep(Native Method) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:674) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> java.lang.InterruptedException: sleep interrupted >>> ? ? ? ?at java.lang.Thread.sleep(Native Method) >>> ? ? ? ?at >>> sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:629) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> java.lang.ArrayIndexOutOfBoundsException: 5 >>> ? ? ? ?at >>> >>> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> Download error: >>> >>> /home/doko/.icedteaplugin/cache/http/www.slu.edu/classes/maymk/GeoGebra/geogebra_main.jar >>> (No such file or directory) >>> Download error: jarFile not found: 1 >>> java.lang.ArrayIndexOutOfBoundsException: 5 >>> ? ? ? ?at >>> >>> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.finishCallRequest(PluginStreamHandler.java:338) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handlePluginMessage(PluginStreamHandler.java:287) >>> ? ? ? ?at >>> >>> sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:208) >>> ? ? ? ?at >>> >>> sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82) >>> Exception in thread "Thread-12" java.lang.NoClassDefFoundError: >>> geogebra/e/m >>> ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) >>> ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) >>> ? ? ? ?at geogebra.GeoGebraApplet.a(Unknown Source) >>> ? ? ? ?at geogebra.f.run(Unknown Source) >>> >>> >> >> >> > > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Thu Apr 8 11:27:44 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Thu, 8 Apr 2010 19:27:44 +0100 Subject: /hg/icedtea6: 2010-04-08 Matthias Klose In-Reply-To: References: Message-ID: On 8 April 2010 18:01, wrote: > changeset a3cfc302306d in /hg/icedtea6 > details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=a3cfc302306d > author: doko at ubuntu.com > date: Thu Apr 08 18:35:34 2010 +0200 > > ? ? ? ?2010-04-08 Matthias Klose > > ? ? ? ? * Makefile.am (stamps/icedtea.stamp, stamps/icedtea- > ? ? ? ?debug.stamp): Always install nss.cfg. > ? ? ? ? ? ? ? ?* configure.ac: Always make nss.cfg a config file, always > ? ? ? ?substitute NSS_LIBDIR. > > > diffstat: > > 3 files changed, 24 insertions(+), 6 deletions(-) > ChangeLog ? ?| ? ?7 +++++++ > Makefile.am ?| ? ?4 ---- > configure.ac | ? 19 +++++++++++++++++-- > > diffs (76 lines): > > diff -r 918671af194a -r a3cfc302306d ChangeLog > --- a/ChangeLog Thu Apr 08 14:25:13 2010 +0100 > +++ b/ChangeLog Thu Apr 08 18:35:34 2010 +0200 > @@ -1,3 +1,10 @@ 2010-04-08 ?Andrew John Hughes ? +2010-04-08 ?Matthias Klose ? > + > + ? ? ? * Makefile.am (stamps/icedtea.stamp, stamps/icedtea-debug.stamp): > + ? ? ? Always install nss.cfg. > + ? ? ? * configure.ac: Always make nss.cfg a config file, always > + ? ? ? substitute NSS_LIBDIR. > + > ?2010-04-08 ?Andrew John Hughes ? > > ? ? ? ?* Makefile.am: Remove remaining references to > diff -r 918671af194a -r a3cfc302306d Makefile.am > --- a/Makefile.am ? ? ? Thu Apr 08 14:25:13 2010 +0100 > +++ b/Makefile.am ? ? ? Thu Apr 08 18:35:34 2010 +0200 > @@ -1345,10 +1345,8 @@ if ENABLE_SYSTEMTAP > ? ? ? ?cp $(abs_top_builddir)/tapset/jstack.stp \ > ? ? ? ? ?$(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp > ?endif > -if ENABLE_NSS > ? ? ? ?cp $(abs_top_builddir)/nss.cfg \ > ? ? ? ? ?$(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; > -endif > ?if WITH_TZDATA_DIR > ? ? ? ?cp $(abs_top_builddir)/tz.properties \ > ? ? ? ? ?$(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; > @@ -1437,10 +1435,8 @@ if ENABLE_SYSTEMTAP > ? ? ? ?cp $(abs_top_builddir)/tapset/jstack.stp \ > ? ? ? ? ?$(BUILD_OUTPUT_DIR)-debug/j2sdk-image/tapset/jstack.stp > ?endif > -if ENABLE_NSS > ? ? ? ?cp $(abs_top_builddir)/nss.cfg \ > ? ? ? ? ?$(BUILD_OUTPUT_DIR)-debug/j2sdk-image/jre/lib/security; > -endif > ?if WITH_TZDATA_DIR > ? ? ? ?cp $(abs_top_builddir)/tz.properties \ > ? ? ? ? ?$(BUILD_OUTPUT_DIR)-debug/j2sdk-image/jre/lib; > diff -r 918671af194a -r a3cfc302306d configure.ac > --- a/configure.ac ? ? ?Thu Apr 08 14:25:13 2010 +0100 > +++ b/configure.ac ? ? ?Thu Apr 08 18:35:34 2010 +0200 > @@ -37,6 +37,7 @@ if test "x$FASTJAR" = x; then > ? ? ? ?AC_MSG_ERROR([Can't find fastjar or jar]) > ?fi > ?AC_SUBST([FASTJAR]) > +AC_CHECK_TOOL([LDD], [ldd]) > ?dnl OpenJDK's README-builds.html lists gawk as a build dependency so we > ?dnl check for it explicitly rather than using AC_PROG_AWK. > ?FIND_TOOL([GAWK], [gawk]) > @@ -415,9 +416,23 @@ then > ? ? AC_MSG_ERROR([Could not find NSS. ?Either install it or configure using --disable-nss.]) > ? fi > ? NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` > - ?AC_SUBST(NSS_LIBDIR) > - ?AC_CONFIG_FILES([nss.cfg]) > +else > + ?dnl set it to the system library directory > + ?if test "x$LDD" = x; then > + ? ?NSS_LIBDIR=/usr/lib > + ?else > + ? ?AC_LANG_CONFTEST([AC_LANG_PROGRAM([[]], [[]])]) > + ? ?$CC conftest.c > + ? ?syslibdir=`$LDD a.out | sed -n '/libc\.so./s,.*=> */\(@<:@^/@:>@*\)/.*,\1,p'` > + ? ?rm -f a.out > + ? ?case x${syslibdir} in > + ? ? ?xlib|xlib64|xlib32|xlibn32) NSS_LIBDIR=/usr/${syslibdir};; > + ? ? ?*) NSS_LIBDIR=/usr/lib > + ? ?esac > + ?fi > ?fi > +AC_SUBST(NSS_LIBDIR) > +AC_CONFIG_FILES([nss.cfg]) > > ?if test "x${ZERO_BUILD_TRUE}" = x || test "x${ADD_ZERO_BUILD_TRUE}" = x; then > ? dnl Check for libffi headers and libraries. > Why have you committed this without first reading my reply??? -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Thu Apr 8 12:49:08 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Thu, 8 Apr 2010 20:49:08 +0100 Subject: porting OpenJDK In-Reply-To: <4BBE2B4C.3000000@sun.com> References: <4BBE2B4C.3000000@sun.com> Message-ID: On 8 April 2010 20:15, Dalibor Topic wrote: > Wallace Araujo wrote: >> I am intending to create a port of OpenJDK 6 to run on a playstation 2 >> (see PS2SDK and MIPS assembly). > > If you're porting to a Linux distribution on the PS2, I'd suggest > starting with the Zero interpreter backend. If you're porting to something > else running on the PS2, I'd still suggesting starting with the Zero backend, > and porting whatever is necessary along with it (libffi comes to mind). > Either way, it may be worth starting with a port of OpenJDK + Zero on > PS2-Linux first. > > Please join the zero-dev mailing list - Gery Benson should be able to > give you more specific advice there. > > cheers, > dalibor topic > -- > ******************************************************************* > Dalibor Topic ? ? ? ? ? ? ? ? ? Tel: (+49 40) 23 646 738 > Java F/OSS Ambassador ? ? ? ? ? AIM: robiladonaim > Sun Microsystems GmbH ? ? ? ? ? Mobile: (+49 177) 2664 192 > Nagelsweg 55 ? ? ? ? ? ? ? ? ? ?http://openjdk.java.net > D-20097 Hamburg ? ? ? ? ? ? ? ? mailto:Dalibor.Topic at sun.com > Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten > Amtsgericht M?nchen: HRB 161028 > Gesch?ftsf?hrer: J?rgen Kunz > > > CCing zero-dev and distro-pkg-dev (IcedTea); I'm not sure if zero has been built on MIPS before or not; if it has, it's likely to be in Debian packages so Matthias Klose (doko) may be able to advise. Zero is upstream in OpenJDK7 b76 on and will be in OpenJDK6 b19. Note that Zero is only an interpreter. It's enough to get a Java environment running, but for decent performance, you'll need to look at a JIT either via Shark (an LLVM-based JIT started by Gary Benson) or your own MIPS-specific solution. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From springer at reservoir.com Thu Apr 8 13:30:32 2010 From: springer at reservoir.com (Jonathan Springer) Date: Thu, 08 Apr 2010 15:30:32 -0500 Subject: porting OpenJDK In-Reply-To: References: <4BBE2B4C.3000000@sun.com> Message-ID: <4BBE3CE8.8050608@reservoir.com> Andrew John Hughes wrote: [trim] > Zero is upstream in OpenJDK7 b76 on and will be in OpenJDK6 b19. Note > that Zero is only an interpreter. It's enough to get a Java > environment running, but for decent performance, you'll need to look > at a JIT either via Shark (an LLVM-based JIT started by Gary Benson) > or your own MIPS-specific solution. If you do care about performance, or just feel like hacking asm, there also exists a Linux MIPS port of the OpenJDK template interpreter. It's mipsel, as I believe the PS2 is, although it was written to MIPS64, so there might be some instructions used that are not in MIPS III/IV. It is available at https://www.reservoir.com/ultraviolet -Jonathan -- Jonathan Springer | Reservoir Labs, Inc. Managing Engineer | http://www.reservoir.com/ From doko at ubuntu.com Thu Apr 8 14:35:50 2010 From: doko at ubuntu.com (Matthias Klose) Date: Thu, 08 Apr 2010 23:35:50 +0200 Subject: porting OpenJDK In-Reply-To: <4BBE3CE8.8050608@reservoir.com> References: <4BBE2B4C.3000000@sun.com> <4BBE3CE8.8050608@reservoir.com> Message-ID: <4BBE4C36.6000903@ubuntu.com> On 08.04.2010 22:30, Jonathan Springer wrote: > Andrew John Hughes wrote: > [trim] >> Zero is upstream in OpenJDK7 b76 on and will be in OpenJDK6 b19. Note >> that Zero is only an interpreter. It's enough to get a Java >> environment running, but for decent performance, you'll need to look >> at a JIT either via Shark (an LLVM-based JIT started by Gary Benson) >> or your own MIPS-specific solution. any mips patches are in the icedtea6 repositories. I didn't track openjdk or icedtea. > If you do care about performance, or just feel like hacking asm, there > also exists a Linux MIPS port of the OpenJDK template interpreter. > It's mipsel, as I believe the PS2 is, although it was written to > MIPS64, so there might be some instructions used that are not in MIPS > III/IV. It is available at https://www.reservoir.com/ultraviolet this is great news. debian-mips, any volunteer to bring this into icedtea6? Matthias From doko at ubuntu.com Thu Apr 8 14:48:16 2010 From: doko at ubuntu.com (Matthias Klose) Date: Thu, 08 Apr 2010 23:48:16 +0200 Subject: /hg/icedtea6: 2010-04-08 Matthias Klose In-Reply-To: References: Message-ID: <4BBE4F20.7090008@ubuntu.com> On 08.04.2010 20:27, Andrew John Hughes wrote: > Why have you committed this without first reading my reply??? You are implying that I did get the reply before applying the patch. Please don't post your assumptions to the ML. From doko at ubuntu.com Thu Apr 8 15:25:35 2010 From: doko at ubuntu.com (Matthias Klose) Date: Fri, 09 Apr 2010 00:25:35 +0200 Subject: NSS configuration & plugin interaction In-Reply-To: References: <4BBBE397.5000603@ubuntu.com> <4BBE0A4D.3090800@ubuntu.com> Message-ID: <4BBE57DF.2060009@ubuntu.com> On 08.04.2010 20:24, Andrew John Hughes wrote: > On 8 April 2010 17:54, Matthias Klose wrote: >> On 07.04.2010 16:32, Andrew John Hughes wrote: >>> >>> On 7 April 2010 01:44, Matthias Klose wrote: >>>> >>>> this is about 461 and 469; when icedtea is configured with --enable-nss, >>>> just an additional security provider is added in java.security, the code >>>> currently in icedtea isn't changed, so the behaviour should be >>>> reproducible >>>> on systems which have the required nss available. >>>> >>>> visiting the page mentioned in 461 with the >>>> security.provider.9=sun.security.pkcs11.SunPKCS11 >>>> ${java.home}/lib/security/nss.cfg enabled in java.policy, I get the stack >>>> trace in [1] after closing the page, the java process >>>> icedteanp-appletviewer-to-plugin sleeps (ignoring the Unimplemented >>>> messages >>>> at the end). >>>> >>> >>> This isn't the same failure as 469. >> >> I didn't say this. >> > > Then how is 469 related? True they both concern NSS but they are > different failures which may have different causes. The NSS issue > reported in relation to the plugin is some kind of loading error, > whereas the other occurs during certificate creation. > >>> Also, the output looks like two >>> separate threads throwing exceptions. >>> >>>> with security.provider.9 commented out, I see the stacktrace in [2]. >>>> closing >>>> the page with the applet lets the icedteanp-appletviewer-to-plugin >>>> process >>>> sleep. >>> >>> Looks like the same as the first one, but the other thread no longer >>> crashes due to the NSS issue. >>> I suspect there are two bugs here. What makes you think the plugin >>> crash is related to NSS? >> >> the ssl test failures in the jtreg testsuite are related to enabling NSS. >> > > They are, but completely different failures and not relevant to this > plugin issue. > > The NSS error here is: > >>>> Caused by: java.io.IOException: An incompatible version of NSS is already >>>> loaded, 3.7 or later required >>>> at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >>>> at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >>>> ... 37 more > > which suggests some form of loading issue in the plugin. > >>> The stack trace shows a parsing error: >>> >>> java.lang.ArrayIndexOutOfBoundsException: 5 >>> at >>> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >>> >>>> >>>> with security.provider.9 commented out and the nss.cfg file missing (that >>>> is >>>> the default when configuring without NSS, and running on a system having >>>> NSS) you see the stacktrace as in [2], but the >>>> icedteanp-appletviewer-to-plugin process now uses 100% cpu and doesn't >>>> terminate even after closing the page with the applet. >>>> >>>> As a minimum patch, we should always install the nss.cfg file, or revert >>>> the >>>> (upstream?) NSS patch when not configuring with --enable-nss. >>> >>> We can always install nss.cfg. It really makes no difference if the >>> provider line is not added. >> >> I'm applying a patch to the trunk, setting the libdir in nss.cfg to the >> system libdir when configuring without --enable-nss. It should do the right >> thing, but plesae check on Fedora that it gets the lib/lib64 right. >> > > This is the wrong thing to do. I'd suggest the following instead: > > * Always check for NSS but only fail if it's not found and ENABLE_NSS is set: No, for me this looks wrong. You claim that the whole nss enablement is only in effect if the additional provider is enabled in java.policy. Based on this reasoning the installation of the nss.cfg file is the right thing to do, so that the nss stuff can be enabled locally by editing the config files. java.policy should be patched as well for configurations where nss cannot be found, with the nss provider commented out and a comment that the nss.cfg may need editing as well, but better other commenting should be added to this file as well. Matthias From ahughes at redhat.com Thu Apr 8 15:51:04 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Thu, 8 Apr 2010 23:51:04 +0100 Subject: NSS configuration & plugin interaction In-Reply-To: <4BBE57DF.2060009@ubuntu.com> References: <4BBBE397.5000603@ubuntu.com> <4BBE0A4D.3090800@ubuntu.com> <4BBE57DF.2060009@ubuntu.com> Message-ID: On 8 April 2010 23:25, Matthias Klose wrote: > On 08.04.2010 20:24, Andrew John Hughes wrote: >> >> On 8 April 2010 17:54, Matthias Klose ?wrote: >>> >>> On 07.04.2010 16:32, Andrew John Hughes wrote: >>>> >>>> On 7 April 2010 01:44, Matthias Klose ? ?wrote: >>>>> >>>>> this is about 461 and 469; when icedtea is configured with >>>>> --enable-nss, >>>>> just an additional security provider is added in java.security, the >>>>> code >>>>> currently in icedtea isn't changed, so the behaviour should be >>>>> reproducible >>>>> on systems which have the required nss available. >>>>> >>>>> visiting the page mentioned in 461 with the >>>>> security.provider.9=sun.security.pkcs11.SunPKCS11 >>>>> ${java.home}/lib/security/nss.cfg enabled in java.policy, I get the >>>>> stack >>>>> trace in [1] after closing the page, the java process >>>>> icedteanp-appletviewer-to-plugin sleeps (ignoring the Unimplemented >>>>> messages >>>>> at the end). >>>>> >>>> >>>> This isn't the same failure as 469. >>> >>> I didn't say this. >>> >> >> Then how is 469 related? ?True they both concern NSS but they are >> different failures which may have different causes. ?The NSS issue >> reported in relation to the plugin is some kind of loading error, >> whereas the other occurs during certificate creation. >> >>>> Also, the output looks like two >>>> separate threads throwing exceptions. >>>> >>>>> with security.provider.9 commented out, I see the stacktrace in [2]. >>>>> closing >>>>> the page with the applet lets the icedteanp-appletviewer-to-plugin >>>>> process >>>>> sleep. >>>> >>>> Looks like the same as the first one, but the other thread no longer >>>> crashes due to the NSS issue. >>>> I suspect there are two bugs here. ?What makes you think the plugin >>>> crash is related to NSS? >>> >>> the ssl test failures in the jtreg testsuite are related to enabling NSS. >>> >> >> They are, but completely different failures and not relevant to this >> plugin issue. >> >> The NSS error here is: >> >>>>> Caused by: java.io.IOException: An incompatible version of NSS is >>>>> already >>>>> loaded, 3.7 or later required >>>>> ? ? ? ?at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >>>>> ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >>>>> ? ? ? ?... 37 more >> >> which suggests some form of loading issue in the plugin. >> >>>> The stack trace shows a parsing error: >>>> >>>> java.lang.ArrayIndexOutOfBoundsException: 5 >>>> ? ? ? ?at >>>> >>>> sun.applet.PluginProxyInfoRequest.parseReturn(PluginProxyInfoRequest.java:65) >>>> >>>>> >>>>> with security.provider.9 commented out and the nss.cfg file missing >>>>> (that >>>>> is >>>>> the default when configuring without NSS, and running on a system >>>>> having >>>>> NSS) you see the stacktrace as in [2], but the >>>>> icedteanp-appletviewer-to-plugin process now uses 100% cpu and doesn't >>>>> terminate even after closing the page with the applet. >>>>> >>>>> As a minimum patch, we should always install the nss.cfg file, or >>>>> revert >>>>> the >>>>> (upstream?) NSS patch when not configuring with --enable-nss. >>>> >>>> We can always install nss.cfg. ?It really makes no difference if the >>>> provider line is not added. >>> >>> I'm applying a patch to the trunk, setting the libdir in nss.cfg to the >>> system libdir when configuring without --enable-nss. It should do the >>> right >>> thing, but plesae check on Fedora that it gets the lib/lib64 right. >>> >> >> This is the wrong thing to do. ?I'd suggest the following instead: >> >> * Always check for NSS but only fail if it's not found and ENABLE_NSS is >> set: > > No, for me this looks wrong. You claim that the whole nss enablement is only > in effect if the additional provider is enabled in java.policy. Based on > this reasoning the installation of the nss.cfg file is the right thing to > do, so that the nss stuff can be enabled locally by editing the config > files. j Yes, my patch does that too; even if --enable-nss is not set, NSS is still checked for but does not cause the build to fail. What I guess you want is to have a value for libdir even when NSS is not present, so I'll add your hack as a further fallback. As you've admitted may not work on all distros, we should try detecting NSS properly first. > java.policy should be patched as well for configurations where nss > cannot be found, with the nss provider commented out and a comment that the > nss.cfg may need editing as well, but better other commenting should be > added to this file as well. I didn't see a patch for this in your changeset. > > ?Matthias > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From andrew at icedtea.classpath.org Thu Apr 8 17:26:51 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 09 Apr 2010 00:26:51 +0000 Subject: /hg/icedtea6: Always attempt pkgconfig detection of NSS, only re... Message-ID: changeset 8bb5b3df3dc2 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8bb5b3df3dc2 author: Andrew John Hughes date: Fri Apr 09 01:26:42 2010 +0100 Always attempt pkgconfig detection of NSS, only resulting to the system library directory hack when necessary. 2010-04-08 Andrew John Hughes * configure.ac: Move NSS detection to macros in acinclude.m4. * acinclude.m4: (IT_OBTAIN_DEFAULT_LIBDIR): Attempts to discover the system library directory (e.g /usr/lib64) (IT_LOCATE_NSS): Always try and detect NSS and only resort to using the system library directory detection if NSS is not detected. diffstat: 3 files changed, 52 insertions(+), 25 deletions(-) ChangeLog | 11 +++++++++++ acinclude.m4 | 40 ++++++++++++++++++++++++++++++++++++++++ configure.ac | 26 +------------------------- diffs (101 lines): diff -r a3cfc302306d -r 8bb5b3df3dc2 ChangeLog --- a/ChangeLog Thu Apr 08 18:35:34 2010 +0200 +++ b/ChangeLog Fri Apr 09 01:26:42 2010 +0100 @@ -1,3 +1,14 @@ 2010-04-08 Matthias Klose + + * configure.ac: Move NSS detection to macros + in acinclude.m4. + * acinclude.m4: + (IT_OBTAIN_DEFAULT_LIBDIR): Attempts to discover the + system library directory (e.g /usr/lib64) + (IT_LOCATE_NSS): Always try and detect NSS + and only resort to using the system library directory + detection if NSS is not detected. + 2010-04-08 Matthias Klose * Makefile.am (stamps/icedtea.stamp, stamps/icedtea-debug.stamp): diff -r a3cfc302306d -r 8bb5b3df3dc2 acinclude.m4 --- a/acinclude.m4 Thu Apr 08 18:35:34 2010 +0200 +++ b/acinclude.m4 Fri Apr 09 01:26:42 2010 +0100 @@ -1533,3 +1533,43 @@ fi fi ]) +AC_DEFUN_ONCE([IT_OBTAIN_DEFAULT_LIBDIR], +[ +dnl find the system library directory +AC_CACHE_CHECK([for system library directory], [it_cv_default_libdir], +[ +if test "x$LDD" = x; then + it_cv_default_libdir=/usr/lib +else + AC_LANG_CONFTEST([AC_LANG_PROGRAM([[]], [[]])]) + $CC conftest.c + syslibdir=`$LDD a.out | sed -n '/libc\.so./s,.*=> */\(@<:@^/@:>@*\)/.*,\1,p'` + rm -f a.out + case x${syslibdir} in + xlib|xlib64|xlib32|xlibn32) NSS_LIBDIR=/usr/${syslibdir};; + *) it_cv_default_libdir=/usr/lib + esac +fi +]) +AC_SUBST([DEFAULT_LIBDIR], $it_cv_default_libdir) +]) + +AC_DEFUN_ONCE([IT_LOCATE_NSS], +[ +AC_REQUIRE([IT_OBTAIN_DEFAULT_LIBDIR]) +PKG_CHECK_MODULES(NSS, nss, [NSS_FOUND=yes], [NSS_FOUND=no]) +if test "x${NSS_FOUND}" = xno +then + if test "x${ENABLE_NSS}" = "xyes" + then + AC_MSG_ERROR([Could not find NSS. Either install it or configure using --disable-nss.]) + else + AC_MSG_WARN([Could not find NSS; using $DEFAULT_LIBDIR as its location.]) + NSS_LIBDIR=$DEFAULT_LIBDIR + fi +else + NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` +fi +AC_SUBST(NSS_LIBDIR) +AC_CONFIG_FILES([nss.cfg]) +]) diff -r a3cfc302306d -r 8bb5b3df3dc2 configure.ac --- a/configure.ac Thu Apr 08 18:35:34 2010 +0200 +++ b/configure.ac Fri Apr 09 01:26:42 2010 +0100 @@ -408,31 +408,7 @@ then AC_SUBST(LIBPULSE_LIBS) fi -if test "x${ENABLE_NSS}" = "xyes" -then - PKG_CHECK_MODULES(NSS, nss, [NSS_FOUND=yes], [NSS_FOUND=no]) - if test "x${NSS_FOUND}" = xno - then - AC_MSG_ERROR([Could not find NSS. Either install it or configure using --disable-nss.]) - fi - NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` -else - dnl set it to the system library directory - if test "x$LDD" = x; then - NSS_LIBDIR=/usr/lib - else - AC_LANG_CONFTEST([AC_LANG_PROGRAM([[]], [[]])]) - $CC conftest.c - syslibdir=`$LDD a.out | sed -n '/libc\.so./s,.*=> */\(@<:@^/@:>@*\)/.*,\1,p'` - rm -f a.out - case x${syslibdir} in - xlib|xlib64|xlib32|xlibn32) NSS_LIBDIR=/usr/${syslibdir};; - *) NSS_LIBDIR=/usr/lib - esac - fi -fi -AC_SUBST(NSS_LIBDIR) -AC_CONFIG_FILES([nss.cfg]) +IT_LOCATE_NSS if test "x${ZERO_BUILD_TRUE}" = x || test "x${ADD_ZERO_BUILD_TRUE}" = x; then dnl Check for libffi headers and libraries. From xranby at icedtea.classpath.org Fri Apr 9 03:58:27 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Fri, 09 Apr 2010 10:58:27 +0000 Subject: /hg/icedtea6: 2010-04-09 Xerxes R?nby Message-ID: changeset 1af407faae6d in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=1af407faae6d author: Xerxes R?nby date: Fri Apr 09 12:54:33 2010 +0200 2010-04-09 Xerxes R?nby * Makefile.am (ICEDTEA_PATCHES): Replaced cppInterpreter-fast-bytecodes.patch with 6939845.patch from OpenJDK upstream. The new patch are conditionalized for ZERO builds. * patches/zero/6939845.patch: added from upstream. * patches/zero/cppInterpreter-fast-bytecodes.patch: removed. diffstat: 4 files changed, 30 insertions(+), 16 deletions(-) ChangeLog | 9 +++++++++ Makefile.am | 2 +- patches/zero/6939845.patch | 20 ++++++++++++++++++++ patches/zero/cppInterpreter-fast-bytecodes.patch | 15 --------------- diffs (71 lines): diff -r 8bb5b3df3dc2 -r 1af407faae6d ChangeLog --- a/ChangeLog Fri Apr 09 01:26:42 2010 +0100 +++ b/ChangeLog Fri Apr 09 12:54:33 2010 +0200 @@ -1,3 +1,12 @@ 2010-04-08 Andrew John Hughes + + * Makefile.am (ICEDTEA_PATCHES): + Replaced cppInterpreter-fast-bytecodes.patch with + 6939845.patch from OpenJDK upstream. + The new patch are conditionalized for ZERO builds. + * patches/zero/6939845.patch: added from upstream. + * patches/zero/cppInterpreter-fast-bytecodes.patch: removed. + 2010-04-08 Andrew John Hughes * configure.ac: Move NSS detection to macros diff -r 8bb5b3df3dc2 -r 1af407faae6d Makefile.am --- a/Makefile.am Fri Apr 09 01:26:42 2010 +0100 +++ b/Makefile.am Fri Apr 09 12:54:33 2010 +0200 @@ -231,7 +231,7 @@ ICEDTEA_PATCHES = \ patches/zero/6909153.patch \ patches/zero/6913869.patch \ patches/zero/6914622.patch \ - patches/zero/cppInterpreter-fast-bytecodes.patch \ + patches/zero/6939845.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ patches/icedtea-lucene-crash.patch \ diff -r 8bb5b3df3dc2 -r 1af407faae6d patches/zero/6939845.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/zero/6939845.patch Fri Apr 09 12:54:33 2010 +0200 @@ -0,0 +1,20 @@ +--- openjdk.old/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Wed Mar 31 11:55:22 2010 ++++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Wed Mar 31 11:55:22 2010 +@@ -2328,6 +2328,17 @@ + } + + DEFAULT: ++#ifdef ZERO ++ // Some zero configurations use the C++ interpreter as a ++ // fallback interpreter and have support for platform ++ // specific fast bytecodes which aren't supported here, so ++ // redispatch to the equivalent non-fast bytecode when they ++ // are encountered. ++ if (Bytecodes::is_defined((Bytecodes::Code)opcode)) { ++ opcode = (jubyte)Bytecodes::java_code((Bytecodes::Code)opcode); ++ goto opcode_switch; ++ } ++#endif + fatal2("\t*** Unimplemented opcode: %d = %s\n", + opcode, Bytecodes::name((Bytecodes::Code)opcode)); + goto finish; diff -r 8bb5b3df3dc2 -r 1af407faae6d patches/zero/cppInterpreter-fast-bytecodes.patch --- a/patches/zero/cppInterpreter-fast-bytecodes.patch Fri Apr 09 01:26:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -Index: openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp -=================================================================== ---- openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 2010-03-19 10:35:14.000000000 +0100 -+++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 2010-03-19 10:39:01.000000000 +0100 -@@ -2328,6 +2328,10 @@ - } - - DEFAULT: -+ if (Bytecodes::is_defined((Bytecodes::Code)opcode)) { -+ opcode = (jubyte)Bytecodes::java_code((Bytecodes::Code)opcode); -+ goto opcode_switch; -+ } - fatal2("\t*** Unimplemented opcode: %d = %s\n", - opcode, Bytecodes::name((Bytecodes::Code)opcode)); - goto finish; From xranby at icedtea.classpath.org Fri Apr 9 04:20:34 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Fri, 09 Apr 2010 11:20:34 +0000 Subject: /hg/release/icedtea6-1.8: 2010-04-09 Xerxes R?nby changeset 0ab7c62a1882 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=0ab7c62a1882 author: Xerxes R?nby date: Fri Apr 09 12:54:33 2010 +0200 2010-04-09 Xerxes R?nby * Makefile.am (ICEDTEA_PATCHES): Replaced cppInterpreter-fast-bytecodes.patch with 6939845.patch from OpenJDK upstream. The new patch are conditionalized for ZERO builds. * patches/zero/6939845.patch: added from upstream. * patches/zero/cppInterpreter-fast-bytecodes.patch: removed. diffstat: 4 files changed, 30 insertions(+), 16 deletions(-) ChangeLog | 9 +++++++++ Makefile.am | 2 +- patches/zero/6939845.patch | 20 ++++++++++++++++++++ patches/zero/cppInterpreter-fast-bytecodes.patch | 15 --------------- diffs (71 lines): diff -r 5a890a745e14 -r 0ab7c62a1882 ChangeLog --- a/ChangeLog Thu Apr 08 17:00:19 2010 +0200 +++ b/ChangeLog Fri Apr 09 12:54:33 2010 +0200 @@ -1,3 +1,12 @@ 2010-04-07 Xerxes R??nby + + * Makefile.am (ICEDTEA_PATCHES): + Replaced cppInterpreter-fast-bytecodes.patch with + 6939845.patch from OpenJDK upstream. + The new patch are conditionalized for ZERO builds. + * patches/zero/6939845.patch: added from upstream. + * patches/zero/cppInterpreter-fast-bytecodes.patch: removed. + 2010-04-07 Xerxes R??nby * configure.ac: Updated check for shared LLVM library to include svn. diff -r 5a890a745e14 -r 0ab7c62a1882 Makefile.am --- a/Makefile.am Thu Apr 08 17:00:19 2010 +0200 +++ b/Makefile.am Fri Apr 09 12:54:33 2010 +0200 @@ -220,7 +220,7 @@ ICEDTEA_PATCHES = \ patches/zero/6909153.patch \ patches/zero/6913869.patch \ patches/zero/6914622.patch \ - patches/zero/cppInterpreter-fast-bytecodes.patch \ + patches/zero/6939845.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ patches/icedtea-lucene-crash.patch \ diff -r 5a890a745e14 -r 0ab7c62a1882 patches/zero/6939845.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/zero/6939845.patch Fri Apr 09 12:54:33 2010 +0200 @@ -0,0 +1,20 @@ +--- openjdk.old/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Wed Mar 31 11:55:22 2010 ++++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Wed Mar 31 11:55:22 2010 +@@ -2328,6 +2328,17 @@ + } + + DEFAULT: ++#ifdef ZERO ++ // Some zero configurations use the C++ interpreter as a ++ // fallback interpreter and have support for platform ++ // specific fast bytecodes which aren't supported here, so ++ // redispatch to the equivalent non-fast bytecode when they ++ // are encountered. ++ if (Bytecodes::is_defined((Bytecodes::Code)opcode)) { ++ opcode = (jubyte)Bytecodes::java_code((Bytecodes::Code)opcode); ++ goto opcode_switch; ++ } ++#endif + fatal2("\t*** Unimplemented opcode: %d = %s\n", + opcode, Bytecodes::name((Bytecodes::Code)opcode)); + goto finish; diff -r 5a890a745e14 -r 0ab7c62a1882 patches/zero/cppInterpreter-fast-bytecodes.patch --- a/patches/zero/cppInterpreter-fast-bytecodes.patch Thu Apr 08 17:00:19 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -Index: openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp -=================================================================== ---- openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 2010-03-19 10:35:14.000000000 +0100 -+++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 2010-03-19 10:39:01.000000000 +0100 -@@ -2328,6 +2328,10 @@ - } - - DEFAULT: -+ if (Bytecodes::is_defined((Bytecodes::Code)opcode)) { -+ opcode = (jubyte)Bytecodes::java_code((Bytecodes::Code)opcode); -+ goto opcode_switch; -+ } - fatal2("\t*** Unimplemented opcode: %d = %s\n", - opcode, Bytecodes::name((Bytecodes::Code)opcode)); - goto finish; From xerxes at zafena.se Fri Apr 9 04:34:19 2010 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Fri, 09 Apr 2010 13:34:19 +0200 Subject: FYI: zero/cppInterpreter-fast-bytecodes.patch replaced by zero/6939845.patch from OpenJDK upsteam. Message-ID: <4BBF10BB.9030103@zafena.se> Hi all I have pushed a change to Icedtea6 head and release branch to make zero more in sync with OpenJDK upstream now after Ed's improvement, "a fallback path in the C++ interpreter for platform dependent fast bytecodes", got upstreamed into OpenJDK. 6939845: zero needs fallback path in C++ interpreter for platform dependent fast bytecodes Reviewed-by: never Contributed-by: ed at camswl.com http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/f61d795ce6de These changes got pushed pushed to: http://icedtea.classpath.org/hg/release/icedtea6-1.8/rev/0ab7c62a1882 and http://icedtea.classpath.org/hg/icedtea6/rev/1af407faae6d after review by doko on IRC. Cheers Xerxes From ahughes at redhat.com Fri Apr 9 07:49:09 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Fri, 9 Apr 2010 15:49:09 +0100 Subject: FYI: zero/cppInterpreter-fast-bytecodes.patch replaced by zero/6939845.patch from OpenJDK upsteam. In-Reply-To: <4BBF10BB.9030103@zafena.se> References: <4BBF10BB.9030103@zafena.se> Message-ID: On 9 April 2010 12:34, Xerxes R?nby wrote: > Hi all > > I have pushed a change to Icedtea6 head and release branch to make zero > more in sync with OpenJDK upstream > now after Ed's improvement, "a fallback path in the C++ interpreter for > platform dependent fast bytecodes", > got upstreamed into OpenJDK. > > 6939845: zero needs fallback path in C++ interpreter for platform > dependent fast bytecodes > Reviewed-by: never > Contributed-by: ed at camswl.com > http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/f61d795ce6de > > These changes got pushed pushed to: > http://icedtea.classpath.org/hg/release/icedtea6-1.8/rev/0ab7c62a1882 and > http://icedtea.classpath.org/hg/icedtea6/rev/1af407faae6d > after review by doko on IRC. > > Cheers > Xerxes > Thanks for doing this. I've posted it for inclusion in OpenJDK6 too: http://mail.openjdk.java.net/pipermail/jdk6-dev/2010-April/001471.html -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From dbhole at icedtea.classpath.org Fri Apr 9 08:41:27 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Fri, 09 Apr 2010 15:41:27 +0000 Subject: /hg/release/icedtea6-1.8: 2 new changesets Message-ID: changeset 552e0fcc1a97 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=552e0fcc1a97 author: Deepak Bhole date: Fri Apr 09 11:30:13 2010 -0400 Merge from main-line. - Profiled memory usage and implemented proper cleanup for C++ side. changeset f3ab17045f3a in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=f3ab17045f3a author: Deepak Bhole date: Fri Apr 09 11:36:00 2010 -0400 Merge from main-line. Update debug output string and function/structure names to remove references to 'GCJ' diffstat: 10 files changed, 333 insertions(+), 260 deletions(-) ChangeLog | 52 ++ plugin/icedteanp/IcedTeaJavaRequestProcessor.cc | 97 ++-- plugin/icedteanp/IcedTeaNPPlugin.cc | 200 +++++----- plugin/icedteanp/IcedTeaNPPlugin.h | 4 plugin/icedteanp/IcedTeaPluginRequestProcessor.cc | 135 +++--- plugin/icedteanp/IcedTeaPluginRequestProcessor.h | 16 plugin/icedteanp/IcedTeaPluginUtils.cc | 61 ++- plugin/icedteanp/IcedTeaPluginUtils.h | 19 plugin/icedteanp/IcedTeaScriptablePluginObject.cc | 7 plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java | 2 diffs (truncated from 1506 to 500 lines): diff -r 0ab7c62a1882 -r f3ab17045f3a ChangeLog --- a/ChangeLog Fri Apr 09 12:54:33 2010 +0200 +++ b/ChangeLog Fri Apr 09 11:36:00 2010 -0400 @@ -1,3 +1,55 @@ 2010-04-09 Xerxes R??nby + + * plugin/icedteanp/IcedTeaNPPlugin.cc: ReplaceAll "GCJ" with "ITNP", and + change other strings to remove reference to GCJ. + * plugin/icedteanp/IcedTeaNPPlugin.h : Renamed GCJPluginData to + ITNPPluginData. + * plugin/icedteanp/IcedTeaPluginUtils.h: Changed debug output to be + prefixed with "ICEDTEA NP PLUGIN" instead of "GCJ PLUGIN". + * plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java: Don't + print ArrayIndexOutOfBounds traces. Continue to print any others. + +2010-04-09 Deepak Bhole + + * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc + (newMessageOnBus): Update to used string pointer vector (form strSplit) + instead of a string vector. Correctly free memory. + * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Initialize + message_queue to be a string pointer vector vector instead of a string + vector vector. + (newMessageOnBus): Update to used string pointer vector (form strSplit) + instead of a string vector. Correctly free memory. + (sendWindow): Deal with string pointers instead of strings for message + parts. + (eval): Same. + (call): Same. + (sendString): Same. + (setMember): Same. + (sendMember): Same. + (finalize): Same. + (queue_processor): Same. Also, free message part memory after processing. + * plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Change method + signatures to deal with string pointer vectors instead of string vectors. + * plugin/icedteanp/IcedTeaPluginUtils.cc + (stringToJSID): Added another signature that receives a string pointer. + (strSplit): Return string pointer vector instead of string vector. + (getUTF8String): Change signature to receive string pointer vector instead + of string vector. Update function accordingly. + (getUTF16LEString): Same. + (subscribe): Make subscription atomic. + (unSubscribe): Make unsubscription atomic, bound to same lock as + subscribe(). + (post): Make list iteration and processing atomic, bound to same lock as + subscribe and unSubscribe. + * plugin/icedteanp/IcedTeaPluginUtils.h: Added new signature for + stringToJSID and updated signatures for strSplit, getUTF8String and + getUTF16LEString. + * plugin/icedteanp/IcedTeaScriptablePluginObject.cc + (IcedTeaScriptableJavaPackageObject::deAllocate): Implemented method. + (IcedTeaScriptableJavaPackageObject::invalidate): Same. + (IcedTeaScriptableJavaObject::deAllocate): Same. + (IcedTeaScriptableJavaObject::invalidate): Same. + 2010-04-09 Xerxes R??nby * Makefile.am (ICEDTEA_PATCHES): diff -r 0ab7c62a1882 -r f3ab17045f3a plugin/icedteanp/IcedTeaJavaRequestProcessor.cc --- a/plugin/icedteanp/IcedTeaJavaRequestProcessor.cc Fri Apr 09 12:54:33 2010 +0200 +++ b/plugin/icedteanp/IcedTeaJavaRequestProcessor.cc Fri Apr 09 11:36:00 2010 -0400 @@ -60,21 +60,21 @@ JavaRequestProcessor::newMessageOnBus(co { // Anything we are waiting for _MUST_ have and instance id and reference # - std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); + std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); - IcedTeaPluginUtilities::printStringVector("JavaRequest::newMessageOnBus:", message_parts); + IcedTeaPluginUtilities::printStringPtrVector("JavaRequest::newMessageOnBus:", message_parts); - if (message_parts->at(0) == "context" && message_parts->at(2) == "reference") - if (atoi(message_parts->at(1).c_str()) == this->instance && atoi(message_parts->at(3).c_str()) == this->reference) + if (*(message_parts->at(0)) == "context" && *(message_parts->at(2)) == "reference") + if (atoi(message_parts->at(1)->c_str()) == this->instance && atoi(message_parts->at(3)->c_str()) == this->reference) { // Gather the results // Let's get errors out of the way first - if (message_parts->at(4).find("Error") == 0) + if (!message_parts->at(4)->find("Error")) { for (int i=5; i < message_parts->size(); i++) { - result->error_msg->append(message_parts->at(i)); + result->error_msg->append(*(message_parts->at(i))); result->error_msg->append(" "); } @@ -83,78 +83,78 @@ JavaRequestProcessor::newMessageOnBus(co result->error_occurred = true; result_ready = true; } - else if (message_parts->at(4) == "GetStringUTFChars" || - message_parts->at(4) == "GetToStringValue") + else if (!message_parts->at(4)->find("GetStringUTFChars") || + !message_parts->at(4)->find("GetToStringValue")) { // first item is length, and it is radix 10 - int length = strtol(message_parts->at(5).c_str(), NULL, 10); + int length = strtol(message_parts->at(5)->c_str(), NULL, 10); IcedTeaPluginUtilities::getUTF8String(length, 6 /* start at */, message_parts, result->return_string); result_ready = true; } - else if (message_parts->at(4) == "GetStringChars") // GetStringChars (UTF-16LE/UCS-2) + else if (!message_parts->at(4)->find("GetStringChars")) // GetStringChars (UTF-16LE/UCS-2) { // first item is length, and it is radix 10 - int length = strtol(message_parts->at(5).c_str(), NULL, 10); + int length = strtol(message_parts->at(5)->c_str(), NULL, 10); IcedTeaPluginUtilities::getUTF16LEString(length, 6 /* start at */, message_parts, result->return_wstring); result_ready = true; - } else if ((message_parts->at(4) == "FindClass") || - (message_parts->at(4) == "GetClassName") || - (message_parts->at(4) == "GetClassID") || - (message_parts->at(4) == "GetMethodID") || - (message_parts->at(4) == "GetStaticMethodID") || - (message_parts->at(4) == "GetObjectClass") || - (message_parts->at(4) == "NewObject") || - (message_parts->at(4) == "NewStringUTF") || - (message_parts->at(4) == "HasPackage") || - (message_parts->at(4) == "HasMethod") || - (message_parts->at(4) == "HasField") || - (message_parts->at(4) == "GetStaticFieldID") || - (message_parts->at(4) == "GetFieldID") || - (message_parts->at(4) == "GetJavaObject") || - (message_parts->at(4) == "IsInstanceOf") || - (message_parts->at(4) == "NewArray")) + } else if (!message_parts->at(4)->find("FindClass") || + !message_parts->at(4)->find("GetClassName") || + !message_parts->at(4)->find("GetClassID") || + !message_parts->at(4)->find("GetMethodID") || + !message_parts->at(4)->find("GetStaticMethodID") || + !message_parts->at(4)->find("GetObjectClass") || + !message_parts->at(4)->find("NewObject") || + !message_parts->at(4)->find("NewStringUTF") || + !message_parts->at(4)->find("HasPackage") || + !message_parts->at(4)->find("HasMethod") || + !message_parts->at(4)->find("HasField") || + !message_parts->at(4)->find("GetStaticFieldID") || + !message_parts->at(4)->find("GetFieldID") || + !message_parts->at(4)->find("GetJavaObject") || + !message_parts->at(4)->find("IsInstanceOf") || + !message_parts->at(4)->find("NewArray")) { - result->return_identifier = atoi(message_parts->at(5).c_str()); - result->return_string->append(message_parts->at(5)); // store it as a string as well, for easy access + result->return_identifier = atoi(message_parts->at(5)->c_str()); + result->return_string->append(*(message_parts->at(5))); // store it as a string as well, for easy access result_ready = true; - } else if ((message_parts->at(4) == "DeleteLocalRef") || - (message_parts->at(4) == "NewGlobalRef")) + } else if (!message_parts->at(4)->find("DeleteLocalRef") || + !message_parts->at(4)->find("NewGlobalRef")) { result_ready = true; // nothing else to do - } else if ((message_parts->at(4) == "CallMethod") || - (message_parts->at(4) == "CallStaticMethod") || - (message_parts->at(4) == "GetField") || - (message_parts->at(4) == "GetStaticField") || - (message_parts->at(4) == "GetValue") || - (message_parts->at(4) == "GetObjectArrayElement")) + } else if (!message_parts->at(4)->find("CallMethod") || + !message_parts->at(4)->find("CallStaticMethod") || + !message_parts->at(4)->find("GetField") || + !message_parts->at(4)->find("GetStaticField") || + !message_parts->at(4)->find("GetValue") || + !message_parts->at(4)->find("GetObjectArrayElement")) { - if (message_parts->at(5) == "literalreturn") + if (!message_parts->at(5)->find("literalreturn")) { // literal returns don't have a corresponding jni id result->return_identifier = 0; - result->return_string->append(message_parts->at(5)); + result->return_string->append(*(message_parts->at(5))); result->return_string->append(" "); - result->return_string->append(message_parts->at(6)); + result->return_string->append(*(message_parts->at(6))); } else { // Else it is a complex object - result->return_identifier = atoi(message_parts->at(5).c_str()); - result->return_string->append(message_parts->at(5)); // store it as a string as well, for easy access + result->return_identifier = atoi(message_parts->at(5)->c_str()); + result->return_string->append(*(message_parts->at(5))); // store it as a string as well, for easy access } result_ready = true; - } else if ((message_parts->at(4) == "GetArrayLength")) + } else if (!message_parts->at(4)->find("GetArrayLength")) { result->return_identifier = 0; // length is not an "identifier" - result->return_string->append(message_parts->at(5)); + result->return_string->append(*(message_parts->at(5))); result_ready = true; - } else if ((message_parts->at(4) == "SetField") || - (message_parts->at(4) == "SetObjectArrayElement")) + } else if (!message_parts->at(4)->find("SetField") || + !message_parts->at(4)->find("SetObjectArrayElement")) { // nothing to do @@ -163,13 +163,12 @@ JavaRequestProcessor::newMessageOnBus(co result_ready = true; } - delete message_parts; + IcedTeaPluginUtilities::freeStringPtrVector(message_parts); return true; } - delete message_parts; + IcedTeaPluginUtilities::freeStringPtrVector(message_parts); return false; - } /** diff -r 0ab7c62a1882 -r f3ab17045f3a plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Fri Apr 09 12:54:33 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Fri Apr 09 11:36:00 2010 -0400 @@ -131,7 +131,7 @@ exception statement from your version. * #define PLUGIN_FILE_EXTS "class,jar,zip" #define PLUGIN_MIME_COUNT 1 -#define FAILURE_MESSAGE "gcjwebplugin error: Failed to run %s." \ +#define FAILURE_MESSAGE "icedteanp plugin error: Failed to run %s." \ " For more detail rerun \"firefox -g\" in a terminal window." #if MOZILLA_VERSION_COLLAPSED < 1090100 @@ -194,8 +194,8 @@ typedef union #endif // Static instance helper functions. -// Have the browser allocate a new GCJPluginData structure. -static void plugin_data_new (GCJPluginData** data); +// Have the browser allocate a new ITNPPluginData structure. +static void plugin_data_new (ITNPPluginData** data); // Retrieve the current document's documentbase. static gchar* plugin_get_documentbase (NPP instance); // Notify the user that the appletviewer is not installed correctly. @@ -208,11 +208,11 @@ static gboolean plugin_out_pipe_callback static gboolean plugin_out_pipe_callback (GIOChannel* source, GIOCondition condition, gpointer plugin_data); -static NPError plugin_start_appletviewer (GCJPluginData* data); +static NPError plugin_start_appletviewer (ITNPPluginData* data); static gchar* plugin_create_applet_tag (int16_t argc, char* argn[], char* argv[]); static void plugin_stop_appletviewer (); -// Uninitialize GCJPluginData structure +// Uninitialize ITNPPluginData structure static void plugin_data_destroy (NPP instance); NPError get_cookie_info(const char* siteAddr, char** cookieString, uint32_t* len); @@ -238,8 +238,8 @@ int plugin_debug = getenv ("ICEDTEAPLUGI pthread_cond_t cond_message_available = PTHREAD_COND_INITIALIZER; -// Functions prefixed by GCJ_ are instance functions. They are called -// by the browser and operate on instances of GCJPluginData. +// Functions prefixed by ITNP_ are instance functions. They are called +// by the browser and operate on instances of ITNPPluginData. // Functions prefixed by plugin_ are static helper functions. // Functions prefixed by NP_ are factory functions. They are called // by the browser and provide functionality needed to create plugin @@ -247,22 +247,22 @@ pthread_cond_t cond_message_available = // INSTANCE FUNCTIONS -// Creates a new gcjwebplugin instance. This function creates a -// GCJPluginData* and stores it in instance->pdata. The following -// GCJPluginData fiels are initialized: instance_string, in_pipe_name, +// Creates a new icedtea np plugin instance. This function creates a +// ITNPPluginData* and stores it in instance->pdata. The following +// ITNPPluginData fiels are initialized: instance_string, in_pipe_name, // in_from_appletviewer, in_watch_source, out_pipe_name, // out_to_appletviewer, out_watch_source, appletviewer_mutex, owner, // appletviewer_alive. In addition two pipe files are created. All // of those fields must be properly destroyed, and the pipes deleted, -// by GCJ_Destroy. If an error occurs during initialization then this +// by ITNP_Destroy. If an error occurs during initialization then this // function will free anything that's been allocated so far, set // instance->pdata to NULL and return an error code. NPError -GCJ_New (NPMIMEType pluginType, NPP instance, uint16_t mode, +ITNP_New (NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved) { - PLUGIN_DEBUG_0ARG("GCJ_New\n"); + PLUGIN_DEBUG_0ARG("ITNP_New\n"); static NPObject *window_ptr; NPIdentifier identifier; @@ -280,7 +280,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst NPError np_error = NPERR_NO_ERROR; - GCJPluginData* data = NULL; + ITNPPluginData* data = NULL; gchar* documentbase = NULL; gchar* read_message = NULL; @@ -401,7 +401,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst g_hash_table_insert(id_to_instance_map, GINT_TO_POINTER(instance_counter), instance); instance_counter++; - PLUGIN_DEBUG_0ARG ("GCJ_New return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_New return\n"); return np_error; } @@ -428,7 +428,7 @@ void start_jvm_if_needed() PLUGIN_DEBUG_0ARG("No JVM is running. Attempting to start one...\n"); NPError np_error = NPERR_NO_ERROR; - GCJPluginData* data = NULL; + ITNPPluginData* data = NULL; // Create appletviewer-to-plugin pipe which we refer to as the input // pipe. @@ -448,14 +448,14 @@ void start_jvm_if_needed() // clean up any older pip unlink (in_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: creating input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: creating input fifo: %s\n", in_pipe_name); if (mkfifo (in_pipe_name, 0600) == -1 && errno != EEXIST) { PLUGIN_ERROR_TWO ("Failed to create input pipe", strerror (errno)); np_error = NPERR_GENERIC_ERROR; goto cleanup_in_pipe_name; } - PLUGIN_DEBUG_1ARG ("GCJ_New: created input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: created input fifo: %s\n", in_pipe_name); // Create plugin-to-appletviewer pipe which we refer to as the // output pipe. @@ -474,14 +474,14 @@ void start_jvm_if_needed() // clean up any older pip unlink (out_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: creating output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: creating output fifo: %s\n", out_pipe_name); if (mkfifo (out_pipe_name, 0600) == -1 && errno != EEXIST) { PLUGIN_ERROR_TWO ("Failed to create output pipe", strerror (errno)); np_error = NPERR_GENERIC_ERROR; goto cleanup_out_pipe_name; } - PLUGIN_DEBUG_1ARG ("GCJ_New: created output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: created output fifo: %s\n", out_pipe_name); // Start a separate appletviewer process for each applet, even if // there are multiple applets in the same page. We may need to @@ -572,9 +572,9 @@ void start_jvm_if_needed() // cleanup_out_pipe: // Delete output pipe. - PLUGIN_DEBUG_1ARG ("GCJ_New: deleting input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleting input fifo: %s\n", in_pipe_name); unlink (out_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: deleted input fifo: %s\n", in_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleted input fifo: %s\n", in_pipe_name); cleanup_out_pipe_name: g_free (out_pipe_name); @@ -582,9 +582,9 @@ void start_jvm_if_needed() // cleanup_in_pipe: // Delete input pipe. - PLUGIN_DEBUG_1ARG ("GCJ_New: deleting output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleting output fifo: %s\n", out_pipe_name); unlink (in_pipe_name); - PLUGIN_DEBUG_1ARG ("GCJ_New: deleted output fifo: %s\n", out_pipe_name); + PLUGIN_DEBUG_1ARG ("ITNP_New: deleted output fifo: %s\n", out_pipe_name); cleanup_in_pipe_name: g_free (in_pipe_name); @@ -598,9 +598,9 @@ void start_jvm_if_needed() } NPError -GCJ_GetValue (NPP instance, NPPVariable variable, void* value) +ITNP_GetValue (NPP instance, NPPVariable variable, void* value) { - PLUGIN_DEBUG_0ARG ("GCJ_GetValue\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue\n"); NPError np_error = NPERR_NO_ERROR; @@ -609,7 +609,7 @@ GCJ_GetValue (NPP instance, NPPVariable // This plugin needs XEmbed support. case NPPVpluginNeedsXEmbed: { - PLUGIN_DEBUG_0ARG ("GCJ_GetValue: returning TRUE for NeedsXEmbed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue: returning TRUE for NeedsXEmbed.\n"); bool* bool_value = (bool*) value; *bool_value = true; } @@ -625,17 +625,17 @@ GCJ_GetValue (NPP instance, NPPVariable break; } - PLUGIN_DEBUG_0ARG ("GCJ_GetValue return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_GetValue return\n"); return np_error; } NPError -GCJ_Destroy (NPP instance, NPSavedData** save) +ITNP_Destroy (NPP instance, NPSavedData** save) { - PLUGIN_DEBUG_1ARG ("GCJ_Destroy %p\n", instance); + PLUGIN_DEBUG_1ARG ("ITNP_Destroy %p\n", instance); - GCJPluginData* data = (GCJPluginData*) instance->pdata; + ITNPPluginData* data = (ITNPPluginData*) instance->pdata; if (data) { @@ -650,15 +650,15 @@ GCJ_Destroy (NPP instance, NPSavedData** IcedTeaPluginUtilities::invalidateInstance(instance); - PLUGIN_DEBUG_0ARG ("GCJ_Destroy return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_Destroy return\n"); return NPERR_NO_ERROR; } NPError -GCJ_SetWindow (NPP instance, NPWindow* window) +ITNP_SetWindow (NPP instance, NPWindow* window) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow\n"); if (instance == NULL) { @@ -675,12 +675,12 @@ GCJ_SetWindow (NPP instance, NPWindow* w id = GPOINTER_TO_INT(id_ptr); } - GCJPluginData* data = (GCJPluginData*) instance->pdata; + ITNPPluginData* data = (ITNPPluginData*) instance->pdata; // Simply return if we receive a NULL window. if ((window == NULL) || (window->window == NULL)) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: got NULL window.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: got NULL window.\n"); return NPERR_NO_ERROR; } @@ -691,7 +691,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w if (data->window_handle == window->window) { // The parent window is the same as in previous calls. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window already exists.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window already exists.\n"); // Critical region. Read data->appletviewer_mutex and send // a message to the appletviewer. @@ -705,7 +705,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w // SetWindow call. if (window->width != data->window_width) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window width changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window width changed.\n"); // The width of the plugin window has changed. // Store the new width. @@ -715,7 +715,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w if (window->height != data->window_height) { - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: window height changed.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: window height changed.\n"); // The height of the plugin window has changed. // Store the new height. @@ -737,7 +737,7 @@ GCJ_SetWindow (NPP instance, NPWindow* w else { // The appletviewer is not running. - PLUGIN_DEBUG_0ARG ("GCJ_SetWindow: appletviewer is not running.\n"); + PLUGIN_DEBUG_0ARG ("ITNP_SetWindow: appletviewer is not running.\n"); } g_mutex_unlock (data->appletviewer_mutex); From springer at reservoir.com Fri Apr 9 11:05:07 2010 From: springer at reservoir.com (Jonathan Springer) Date: Fri, 09 Apr 2010 13:05:07 -0500 Subject: porting OpenJDK In-Reply-To: References: <4BBE2B4C.3000000@sun.com> <4BBE3CE8.8050608@reservoir.com> Message-ID: <4BBF6C53.7030008@reservoir.com> Carfield Yim wrote: > If it suppose to work on PS3 also, I am happy to test it. PS3 uses a PowerPC ISA, so it's not compatible. -- Jonathan Springer | Reservoir Labs, Inc. Managing Engineer | http://www.reservoir.com/ From ahughes at redhat.com Fri Apr 9 17:05:57 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Sat, 10 Apr 2010 01:05:57 +0100 Subject: porting OpenJDK In-Reply-To: <4BBF6C53.7030008@reservoir.com> References: <4BBE2B4C.3000000@sun.com> <4BBE3CE8.8050608@reservoir.com> <4BBF6C53.7030008@reservoir.com> Message-ID: On 9 April 2010 19:05, Jonathan Springer wrote: > Carfield Yim wrote: >> >> If it suppose to work on PS3 also, I am happy to test it. > > PS3 uses a PowerPC ISA, so it's not compatible. > > -- > Jonathan Springer ? ? | ?Reservoir Labs, Inc. > Managing Engineer ? ? | ?http://www.reservoir.com/ > In theory, PS3 should work with the PPC support provided by Zero/Shark, but I don't know of anyone having tested it. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From doko at icedtea.classpath.org Sat Apr 10 09:23:10 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Sat, 10 Apr 2010 16:23:10 +0000 Subject: /hg/icedtea6: Be verbose wether the NSS-based security provider ... Message-ID: changeset cb06ab3e6d36 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=cb06ab3e6d36 author: doko at ubuntu.com date: Sat Apr 10 17:56:55 2010 +0200 Be verbose wether the NSS-based security provider is enabled or disabled by default. 2010-04-10 Matthias Klose * Makefile.am (ICEDTEA_PATCHES): Always apply icedtea- nss-6763530.patch. Apply icedtea-nss-not-enabled-config.patch if the NSS-based security provider is disabled by default. * Makefile.am: Be verbose wether the NSS-based security provider is enabled or disabled by default. * patches/icedtea-nss-not-enabled-config.patch: New. diffstat: 4 files changed, 34 insertions(+), 5 deletions(-) ChangeLog | 9 +++++++++ Makefile.am | 6 ++++-- configure.ac | 11 ++++++++--- patches/icedtea-nss-not-enabled-config.patch | 13 +++++++++++++ diffs (84 lines): diff -r 1af407faae6d -r cb06ab3e6d36 ChangeLog --- a/ChangeLog Fri Apr 09 12:54:33 2010 +0200 +++ b/ChangeLog Sat Apr 10 17:56:55 2010 +0200 @@ -1,3 +1,12 @@ 2010-04-09 Xerxes R??nby + + * Makefile.am (ICEDTEA_PATCHES): Always apply + icedtea-nss-6763530.patch. Apply icedtea-nss-not-enabled-config.patch + if the NSS-based security provider is disabled by default. + * Makefile.am: Be verbose wether the NSS-based security provider + is enabled or disabled by default. + * patches/icedtea-nss-not-enabled-config.patch: New. + 2010-04-09 Xerxes R??nby * Makefile.am (ICEDTEA_PATCHES): diff -r 1af407faae6d -r cb06ab3e6d36 Makefile.am --- a/Makefile.am Fri Apr 09 12:54:33 2010 +0200 +++ b/Makefile.am Sat Apr 10 17:56:55 2010 +0200 @@ -386,9 +386,11 @@ ICEDTEA_PATCHES += patches/icedtea-syste ICEDTEA_PATCHES += patches/icedtea-systemtap.patch endif +ICEDTEA_PATCHES += patches/icedtea-nss-6763530.patch if ENABLE_NSS -ICEDTEA_PATCHES += patches/icedtea-nss-config.patch \ - patches/icedtea-nss-6763530.patch +ICEDTEA_PATCHES += patches/icedtea-nss-config.patch +else +ICEDTEA_PATCHES += patches/icedtea-nss-not-enabled-config.patch endif if WITH_ALT_HSBUILD diff -r 1af407faae6d -r cb06ab3e6d36 configure.ac --- a/configure.ac Fri Apr 09 12:54:33 2010 +0200 +++ b/configure.ac Sat Apr 10 17:56:55 2010 +0200 @@ -144,13 +144,20 @@ AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test x$ENABLE_SYSTEMTAP = xyes]) AC_MSG_RESULT(${ENABLE_SYSTEMTAP}) +IT_LOCATE_NSS + AC_MSG_CHECKING([whether to include the NSS-based security provider]) AC_ARG_ENABLE([nss], [AS_HELP_STRING([--enable-nss], [Enable inclusion of NSS security provider])], [ENABLE_NSS="${enableval}"], [ENABLE_NSS='no']) AM_CONDITIONAL([ENABLE_NSS], [test x$ENABLE_NSS = xyes]) -AC_MSG_RESULT(${ENABLE_NSS}) +if test "x${ENABLE_NSS}" = "xyes" +then + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([yes, disabled by default (edit java.security to enable)]) +fi IT_GET_PKGVERSION IT_GET_LSB_DATA @@ -408,8 +415,6 @@ then AC_SUBST(LIBPULSE_LIBS) fi -IT_LOCATE_NSS - if test "x${ZERO_BUILD_TRUE}" = x || test "x${ADD_ZERO_BUILD_TRUE}" = x; then dnl Check for libffi headers and libraries. PKG_CHECK_MODULES(LIBFFI, libffi,[LIBFFI_FOUND=yes],[LIBFFI_FOUND=no]) diff -r 1af407faae6d -r cb06ab3e6d36 patches/icedtea-nss-not-enabled-config.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-nss-not-enabled-config.patch Sat Apr 10 17:56:55 2010 +0200 @@ -0,0 +1,13 @@ +--- openjdk.orig/jdk/src/share/lib/security/java.security 2009-08-25 11:43:59.000000000 +0100 ++++ openjdk/jdk/src/share/lib/security/java.security 2009-08-27 14:23:54.000000000 +0100 +@@ -51,6 +51,10 @@ + security.provider.6=com.sun.security.sasl.Provider + security.provider.7=org.jcp.xml.dsig.internal.dom.XMLDSigRI + security.provider.8=sun.security.smartcardio.SunPCSC ++# the NSS security provider was not enabled for this build; it can be enabled ++# if NSS (libnss3) is available on the machine. The nss.cfg file may need ++# editing to reflect the location of the NSS installation. ++#security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg + + # + # Select the source of seed data for SecureRandom. By default an From doko at icedtea.classpath.org Sat Apr 10 09:26:45 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Sat, 10 Apr 2010 16:26:45 +0000 Subject: /hg/icedtea6: Fix last changelog entry Message-ID: changeset 1f22e08af1f2 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=1f22e08af1f2 author: doko at ubuntu.com date: Sat Apr 10 18:00:32 2010 +0200 Fix last changelog entry diffstat: 1 file changed, 1 insertion(+), 1 deletion(-) ChangeLog | 2 +- diffs (12 lines): diff -r cb06ab3e6d36 -r 1f22e08af1f2 ChangeLog --- a/ChangeLog Sat Apr 10 17:56:55 2010 +0200 +++ b/ChangeLog Sat Apr 10 18:00:32 2010 +0200 @@ -3,7 +3,7 @@ 2010-04-10 Matthias Klose changeset 851c305dcf0d in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=851c305dcf0d author: doko at ubuntu.com date: Sat Apr 10 22:05:32 2010 +0200 Always apply the NSS patch, always install nss.cfg, depending on the --enable-nss option comment/uncomment the security provider in java.security. 2010-04-10 Matthias Klose * Makefile.am (ICEDTEA_PATCHES): Always apply icedtea-nss-6763530.patch. Apply icedtea-nss-not-enabled- config.patch if the NSS-based security provider is disabled by default. * configure.ac: Be verbose wether the NSS-based security provider is enabled or disabled by default. * patches/icedtea-nss-not-enabled-config.patch: New. 2010-04-08 Andrew John Hughes * configure.ac: Move NSS detection to macros in acinclude.m4. * acinclude.m4: (IT_OBTAIN_DEFAULT_LIBDIR): Attempts to discover the system library directory (e.g /usr/lib64) (IT_LOCATE_NSS): Always try and detect NSS and only resort to using the system library directory detection if NSS is not detected. 2010-04-08 Matthias Klose * Makefile.am (stamps/icedtea.stamp, stamps/icedtea- debug.stamp): Always install nss.cfg. * configure.ac: Always make nss.cfg a config file, always substitute NSS_LIBDIR. changeset 08661c42a3ba in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=08661c42a3ba author: doko at ubuntu.com date: Sat Apr 10 22:07:13 2010 +0200 - Merge branch diffstat: 16 files changed, 395 insertions(+), 295 deletions(-) ChangeLog | 27 + Makefile.am | 12 acinclude.m4 | 40 ++ configure.ac | 22 - patches/icedtea-nss-not-enabled-config.patch | 13 patches/zero/6939845.patch | 20 + patches/zero/cppInterpreter-fast-bytecodes.patch | 15 plugin/icedteanp/IcedTeaJavaRequestProcessor.cc | 97 ++-- plugin/icedteanp/IcedTeaNPPlugin.cc | 200 +++++----- plugin/icedteanp/IcedTeaNPPlugin.h | 4 plugin/icedteanp/IcedTeaPluginRequestProcessor.cc | 135 +++--- plugin/icedteanp/IcedTeaPluginRequestProcessor.h | 16 plugin/icedteanp/IcedTeaPluginUtils.cc | 61 ++- plugin/icedteanp/IcedTeaPluginUtils.h | 19 plugin/icedteanp/IcedTeaScriptablePluginObject.cc | 7 plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java | 2 diffs (truncated from 1688 to 500 lines): diff -r 5a890a745e14 -r 08661c42a3ba ChangeLog --- a/ChangeLog Thu Apr 08 17:00:19 2010 +0200 +++ b/ChangeLog Sat Apr 10 22:07:13 2010 +0200 @@ -1,3 +1,30 @@ 2010-04-07 Xerxes R??nby + + * Makefile.am (ICEDTEA_PATCHES): Always apply + icedtea-nss-6763530.patch. Apply icedtea-nss-not-enabled-config.patch + if the NSS-based security provider is disabled by default. + * configure.ac: Be verbose wether the NSS-based security provider + is enabled or disabled by default. + * patches/icedtea-nss-not-enabled-config.patch: New. + +2010-04-08 Andrew John Hughes + + * configure.ac: Move NSS detection to macros + in acinclude.m4. + * acinclude.m4: + (IT_OBTAIN_DEFAULT_LIBDIR): Attempts to discover the + system library directory (e.g /usr/lib64) + (IT_LOCATE_NSS): Always try and detect NSS + and only resort to using the system library directory + detection if NSS is not detected. + +2010-04-08 Matthias Klose + + * Makefile.am (stamps/icedtea.stamp, stamps/icedtea-debug.stamp): + Always install nss.cfg. + * configure.ac: Always make nss.cfg a config file, always + substitute NSS_LIBDIR. + 2010-04-07 Xerxes R??nby * configure.ac: Updated check for shared LLVM library to include svn. diff -r 5a890a745e14 -r 08661c42a3ba Makefile.am --- a/Makefile.am Thu Apr 08 17:00:19 2010 +0200 +++ b/Makefile.am Sat Apr 10 22:07:13 2010 +0200 @@ -220,7 +220,7 @@ ICEDTEA_PATCHES = \ patches/zero/6909153.patch \ patches/zero/6913869.patch \ patches/zero/6914622.patch \ - patches/zero/cppInterpreter-fast-bytecodes.patch \ + patches/zero/6939845.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ patches/icedtea-lucene-crash.patch \ @@ -373,9 +373,11 @@ ICEDTEA_PATCHES += patches/icedtea-syste ICEDTEA_PATCHES += patches/icedtea-systemtap.patch endif +ICEDTEA_PATCHES += patches/icedtea-nss-6763530.patch if ENABLE_NSS -ICEDTEA_PATCHES += patches/icedtea-nss-config.patch \ - patches/icedtea-nss-6763530.patch +ICEDTEA_PATCHES += patches/icedtea-nss-config.patch +else +ICEDTEA_PATCHES += patches/icedtea-nss-not-enabled-config.patch endif if WITH_ALT_HSBUILD @@ -1334,10 +1336,8 @@ if ENABLE_SYSTEMTAP cp $(abs_top_builddir)/tapset/jstack.stp \ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp endif -if ENABLE_NSS cp $(abs_top_builddir)/nss.cfg \ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; -endif if WITH_TZDATA_DIR cp $(abs_top_builddir)/tz.properties \ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; @@ -1426,10 +1426,8 @@ if ENABLE_SYSTEMTAP cp $(abs_top_builddir)/tapset/jstack.stp \ $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/tapset/jstack.stp endif -if ENABLE_NSS cp $(abs_top_builddir)/nss.cfg \ $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/jre/lib/security; -endif if WITH_TZDATA_DIR cp $(abs_top_builddir)/tz.properties \ $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/jre/lib; diff -r 5a890a745e14 -r 08661c42a3ba acinclude.m4 --- a/acinclude.m4 Thu Apr 08 17:00:19 2010 +0200 +++ b/acinclude.m4 Sat Apr 10 22:07:13 2010 +0200 @@ -1532,3 +1532,43 @@ fi fi ]) +AC_DEFUN_ONCE([IT_OBTAIN_DEFAULT_LIBDIR], +[ +dnl find the system library directory +AC_CACHE_CHECK([for system library directory], [it_cv_default_libdir], +[ +if test "x$LDD" = x; then + it_cv_default_libdir=/usr/lib +else + AC_LANG_CONFTEST([AC_LANG_PROGRAM([[]], [[]])]) + $CC conftest.c + syslibdir=`$LDD a.out | sed -n '/libc\.so./s,.*=> */\(@<:@^/@:>@*\)/.*,\1,p'` + rm -f a.out + case x${syslibdir} in + xlib|xlib64|xlib32|xlibn32) NSS_LIBDIR=/usr/${syslibdir};; + *) it_cv_default_libdir=/usr/lib + esac +fi +]) +AC_SUBST([DEFAULT_LIBDIR], $it_cv_default_libdir) +]) + +AC_DEFUN_ONCE([IT_LOCATE_NSS], +[ +AC_REQUIRE([IT_OBTAIN_DEFAULT_LIBDIR]) +PKG_CHECK_MODULES(NSS, nss, [NSS_FOUND=yes], [NSS_FOUND=no]) +if test "x${NSS_FOUND}" = xno +then + if test "x${ENABLE_NSS}" = "xyes" + then + AC_MSG_ERROR([Could not find NSS. Either install it or configure using --disable-nss.]) + else + AC_MSG_WARN([Could not find NSS; using $DEFAULT_LIBDIR as its location.]) + NSS_LIBDIR=$DEFAULT_LIBDIR + fi +else + NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` +fi +AC_SUBST(NSS_LIBDIR) +AC_CONFIG_FILES([nss.cfg]) +]) diff -r 5a890a745e14 -r 08661c42a3ba configure.ac --- a/configure.ac Thu Apr 08 17:00:19 2010 +0200 +++ b/configure.ac Sat Apr 10 22:07:13 2010 +0200 @@ -37,6 +37,7 @@ if test "x$FASTJAR" = x; then AC_MSG_ERROR([Can't find fastjar or jar]) fi AC_SUBST([FASTJAR]) +AC_CHECK_TOOL([LDD], [ldd]) dnl OpenJDK's README-builds.html lists gawk as a build dependency so we dnl check for it explicitly rather than using AC_PROG_AWK. FIND_TOOL([GAWK], [gawk]) @@ -143,13 +144,20 @@ AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test x$ENABLE_SYSTEMTAP = xyes]) AC_MSG_RESULT(${ENABLE_SYSTEMTAP}) +IT_LOCATE_NSS + AC_MSG_CHECKING([whether to include the NSS-based security provider]) AC_ARG_ENABLE([nss], [AS_HELP_STRING([--enable-nss], [Enable inclusion of NSS security provider])], [ENABLE_NSS="${enableval}"], [ENABLE_NSS='no']) AM_CONDITIONAL([ENABLE_NSS], [test x$ENABLE_NSS = xyes]) -AC_MSG_RESULT(${ENABLE_NSS}) +if test "x${ENABLE_NSS}" = "xyes" +then + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([yes, disabled by default (edit java.security to enable)]) +fi IT_GET_PKGVERSION IT_GET_LSB_DATA @@ -407,18 +415,6 @@ then AC_SUBST(LIBPULSE_LIBS) fi -if test "x${ENABLE_NSS}" = "xyes" -then - PKG_CHECK_MODULES(NSS, nss, [NSS_FOUND=yes], [NSS_FOUND=no]) - if test "x${NSS_FOUND}" = xno - then - AC_MSG_ERROR([Could not find NSS. Either install it or configure using --disable-nss.]) - fi - NSS_LIBDIR=`$PKG_CONFIG --variable=libdir nss` - AC_SUBST(NSS_LIBDIR) - AC_CONFIG_FILES([nss.cfg]) -fi - if test "x${ZERO_BUILD_TRUE}" = x || test "x${ADD_ZERO_BUILD_TRUE}" = x; then dnl Check for libffi headers and libraries. PKG_CHECK_MODULES(LIBFFI, libffi,[LIBFFI_FOUND=yes],[LIBFFI_FOUND=no]) diff -r 5a890a745e14 -r 08661c42a3ba patches/icedtea-nss-not-enabled-config.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-nss-not-enabled-config.patch Sat Apr 10 22:07:13 2010 +0200 @@ -0,0 +1,13 @@ +--- openjdk.orig/jdk/src/share/lib/security/java.security 2009-08-25 11:43:59.000000000 +0100 ++++ openjdk/jdk/src/share/lib/security/java.security 2009-08-27 14:23:54.000000000 +0100 +@@ -51,6 +51,10 @@ + security.provider.6=com.sun.security.sasl.Provider + security.provider.7=org.jcp.xml.dsig.internal.dom.XMLDSigRI + security.provider.8=sun.security.smartcardio.SunPCSC ++# the NSS security provider was not enabled for this build; it can be enabled ++# if NSS (libnss3) is available on the machine. The nss.cfg file may need ++# editing to reflect the location of the NSS installation. ++#security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg + + # + # Select the source of seed data for SecureRandom. By default an diff -r 5a890a745e14 -r 08661c42a3ba patches/zero/6939845.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/zero/6939845.patch Sat Apr 10 22:07:13 2010 +0200 @@ -0,0 +1,20 @@ +--- openjdk.old/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Wed Mar 31 11:55:22 2010 ++++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Wed Mar 31 11:55:22 2010 +@@ -2328,6 +2328,17 @@ + } + + DEFAULT: ++#ifdef ZERO ++ // Some zero configurations use the C++ interpreter as a ++ // fallback interpreter and have support for platform ++ // specific fast bytecodes which aren't supported here, so ++ // redispatch to the equivalent non-fast bytecode when they ++ // are encountered. ++ if (Bytecodes::is_defined((Bytecodes::Code)opcode)) { ++ opcode = (jubyte)Bytecodes::java_code((Bytecodes::Code)opcode); ++ goto opcode_switch; ++ } ++#endif + fatal2("\t*** Unimplemented opcode: %d = %s\n", + opcode, Bytecodes::name((Bytecodes::Code)opcode)); + goto finish; diff -r 5a890a745e14 -r 08661c42a3ba patches/zero/cppInterpreter-fast-bytecodes.patch --- a/patches/zero/cppInterpreter-fast-bytecodes.patch Thu Apr 08 17:00:19 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -Index: openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp -=================================================================== ---- openjdk.orig/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 2010-03-19 10:35:14.000000000 +0100 -+++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 2010-03-19 10:39:01.000000000 +0100 -@@ -2328,6 +2328,10 @@ - } - - DEFAULT: -+ if (Bytecodes::is_defined((Bytecodes::Code)opcode)) { -+ opcode = (jubyte)Bytecodes::java_code((Bytecodes::Code)opcode); -+ goto opcode_switch; -+ } - fatal2("\t*** Unimplemented opcode: %d = %s\n", - opcode, Bytecodes::name((Bytecodes::Code)opcode)); - goto finish; diff -r 5a890a745e14 -r 08661c42a3ba plugin/icedteanp/IcedTeaJavaRequestProcessor.cc --- a/plugin/icedteanp/IcedTeaJavaRequestProcessor.cc Thu Apr 08 17:00:19 2010 +0200 +++ b/plugin/icedteanp/IcedTeaJavaRequestProcessor.cc Sat Apr 10 22:07:13 2010 +0200 @@ -60,21 +60,21 @@ JavaRequestProcessor::newMessageOnBus(co { // Anything we are waiting for _MUST_ have and instance id and reference # - std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); + std::vector* message_parts = IcedTeaPluginUtilities::strSplit(message, " "); - IcedTeaPluginUtilities::printStringVector("JavaRequest::newMessageOnBus:", message_parts); + IcedTeaPluginUtilities::printStringPtrVector("JavaRequest::newMessageOnBus:", message_parts); - if (message_parts->at(0) == "context" && message_parts->at(2) == "reference") - if (atoi(message_parts->at(1).c_str()) == this->instance && atoi(message_parts->at(3).c_str()) == this->reference) + if (*(message_parts->at(0)) == "context" && *(message_parts->at(2)) == "reference") + if (atoi(message_parts->at(1)->c_str()) == this->instance && atoi(message_parts->at(3)->c_str()) == this->reference) { // Gather the results // Let's get errors out of the way first - if (message_parts->at(4).find("Error") == 0) + if (!message_parts->at(4)->find("Error")) { for (int i=5; i < message_parts->size(); i++) { - result->error_msg->append(message_parts->at(i)); + result->error_msg->append(*(message_parts->at(i))); result->error_msg->append(" "); } @@ -83,78 +83,78 @@ JavaRequestProcessor::newMessageOnBus(co result->error_occurred = true; result_ready = true; } - else if (message_parts->at(4) == "GetStringUTFChars" || - message_parts->at(4) == "GetToStringValue") + else if (!message_parts->at(4)->find("GetStringUTFChars") || + !message_parts->at(4)->find("GetToStringValue")) { // first item is length, and it is radix 10 - int length = strtol(message_parts->at(5).c_str(), NULL, 10); + int length = strtol(message_parts->at(5)->c_str(), NULL, 10); IcedTeaPluginUtilities::getUTF8String(length, 6 /* start at */, message_parts, result->return_string); result_ready = true; } - else if (message_parts->at(4) == "GetStringChars") // GetStringChars (UTF-16LE/UCS-2) + else if (!message_parts->at(4)->find("GetStringChars")) // GetStringChars (UTF-16LE/UCS-2) { // first item is length, and it is radix 10 - int length = strtol(message_parts->at(5).c_str(), NULL, 10); + int length = strtol(message_parts->at(5)->c_str(), NULL, 10); IcedTeaPluginUtilities::getUTF16LEString(length, 6 /* start at */, message_parts, result->return_wstring); result_ready = true; - } else if ((message_parts->at(4) == "FindClass") || - (message_parts->at(4) == "GetClassName") || - (message_parts->at(4) == "GetClassID") || - (message_parts->at(4) == "GetMethodID") || - (message_parts->at(4) == "GetStaticMethodID") || - (message_parts->at(4) == "GetObjectClass") || - (message_parts->at(4) == "NewObject") || - (message_parts->at(4) == "NewStringUTF") || - (message_parts->at(4) == "HasPackage") || - (message_parts->at(4) == "HasMethod") || - (message_parts->at(4) == "HasField") || - (message_parts->at(4) == "GetStaticFieldID") || - (message_parts->at(4) == "GetFieldID") || - (message_parts->at(4) == "GetJavaObject") || - (message_parts->at(4) == "IsInstanceOf") || - (message_parts->at(4) == "NewArray")) + } else if (!message_parts->at(4)->find("FindClass") || + !message_parts->at(4)->find("GetClassName") || + !message_parts->at(4)->find("GetClassID") || + !message_parts->at(4)->find("GetMethodID") || + !message_parts->at(4)->find("GetStaticMethodID") || + !message_parts->at(4)->find("GetObjectClass") || + !message_parts->at(4)->find("NewObject") || + !message_parts->at(4)->find("NewStringUTF") || + !message_parts->at(4)->find("HasPackage") || + !message_parts->at(4)->find("HasMethod") || + !message_parts->at(4)->find("HasField") || + !message_parts->at(4)->find("GetStaticFieldID") || + !message_parts->at(4)->find("GetFieldID") || + !message_parts->at(4)->find("GetJavaObject") || + !message_parts->at(4)->find("IsInstanceOf") || + !message_parts->at(4)->find("NewArray")) { - result->return_identifier = atoi(message_parts->at(5).c_str()); - result->return_string->append(message_parts->at(5)); // store it as a string as well, for easy access + result->return_identifier = atoi(message_parts->at(5)->c_str()); + result->return_string->append(*(message_parts->at(5))); // store it as a string as well, for easy access result_ready = true; - } else if ((message_parts->at(4) == "DeleteLocalRef") || - (message_parts->at(4) == "NewGlobalRef")) + } else if (!message_parts->at(4)->find("DeleteLocalRef") || + !message_parts->at(4)->find("NewGlobalRef")) { result_ready = true; // nothing else to do - } else if ((message_parts->at(4) == "CallMethod") || - (message_parts->at(4) == "CallStaticMethod") || - (message_parts->at(4) == "GetField") || - (message_parts->at(4) == "GetStaticField") || - (message_parts->at(4) == "GetValue") || - (message_parts->at(4) == "GetObjectArrayElement")) + } else if (!message_parts->at(4)->find("CallMethod") || + !message_parts->at(4)->find("CallStaticMethod") || + !message_parts->at(4)->find("GetField") || + !message_parts->at(4)->find("GetStaticField") || + !message_parts->at(4)->find("GetValue") || + !message_parts->at(4)->find("GetObjectArrayElement")) { - if (message_parts->at(5) == "literalreturn") + if (!message_parts->at(5)->find("literalreturn")) { // literal returns don't have a corresponding jni id result->return_identifier = 0; - result->return_string->append(message_parts->at(5)); + result->return_string->append(*(message_parts->at(5))); result->return_string->append(" "); - result->return_string->append(message_parts->at(6)); + result->return_string->append(*(message_parts->at(6))); } else { // Else it is a complex object - result->return_identifier = atoi(message_parts->at(5).c_str()); - result->return_string->append(message_parts->at(5)); // store it as a string as well, for easy access + result->return_identifier = atoi(message_parts->at(5)->c_str()); + result->return_string->append(*(message_parts->at(5))); // store it as a string as well, for easy access } result_ready = true; - } else if ((message_parts->at(4) == "GetArrayLength")) + } else if (!message_parts->at(4)->find("GetArrayLength")) { result->return_identifier = 0; // length is not an "identifier" - result->return_string->append(message_parts->at(5)); + result->return_string->append(*(message_parts->at(5))); result_ready = true; - } else if ((message_parts->at(4) == "SetField") || - (message_parts->at(4) == "SetObjectArrayElement")) + } else if (!message_parts->at(4)->find("SetField") || + !message_parts->at(4)->find("SetObjectArrayElement")) { // nothing to do @@ -163,13 +163,12 @@ JavaRequestProcessor::newMessageOnBus(co result_ready = true; } - delete message_parts; + IcedTeaPluginUtilities::freeStringPtrVector(message_parts); return true; } - delete message_parts; + IcedTeaPluginUtilities::freeStringPtrVector(message_parts); return false; - } /** diff -r 5a890a745e14 -r 08661c42a3ba plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Thu Apr 08 17:00:19 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Sat Apr 10 22:07:13 2010 +0200 @@ -131,7 +131,7 @@ exception statement from your version. * #define PLUGIN_FILE_EXTS "class,jar,zip" #define PLUGIN_MIME_COUNT 1 -#define FAILURE_MESSAGE "gcjwebplugin error: Failed to run %s." \ +#define FAILURE_MESSAGE "icedteanp plugin error: Failed to run %s." \ " For more detail rerun \"firefox -g\" in a terminal window." #if MOZILLA_VERSION_COLLAPSED < 1090100 @@ -194,8 +194,8 @@ typedef union #endif // Static instance helper functions. -// Have the browser allocate a new GCJPluginData structure. -static void plugin_data_new (GCJPluginData** data); +// Have the browser allocate a new ITNPPluginData structure. +static void plugin_data_new (ITNPPluginData** data); // Retrieve the current document's documentbase. static gchar* plugin_get_documentbase (NPP instance); // Notify the user that the appletviewer is not installed correctly. @@ -208,11 +208,11 @@ static gboolean plugin_out_pipe_callback static gboolean plugin_out_pipe_callback (GIOChannel* source, GIOCondition condition, gpointer plugin_data); -static NPError plugin_start_appletviewer (GCJPluginData* data); +static NPError plugin_start_appletviewer (ITNPPluginData* data); static gchar* plugin_create_applet_tag (int16_t argc, char* argn[], char* argv[]); static void plugin_stop_appletviewer (); -// Uninitialize GCJPluginData structure +// Uninitialize ITNPPluginData structure static void plugin_data_destroy (NPP instance); NPError get_cookie_info(const char* siteAddr, char** cookieString, uint32_t* len); @@ -238,8 +238,8 @@ int plugin_debug = getenv ("ICEDTEAPLUGI pthread_cond_t cond_message_available = PTHREAD_COND_INITIALIZER; -// Functions prefixed by GCJ_ are instance functions. They are called -// by the browser and operate on instances of GCJPluginData. +// Functions prefixed by ITNP_ are instance functions. They are called +// by the browser and operate on instances of ITNPPluginData. // Functions prefixed by plugin_ are static helper functions. // Functions prefixed by NP_ are factory functions. They are called // by the browser and provide functionality needed to create plugin @@ -247,22 +247,22 @@ pthread_cond_t cond_message_available = // INSTANCE FUNCTIONS -// Creates a new gcjwebplugin instance. This function creates a -// GCJPluginData* and stores it in instance->pdata. The following -// GCJPluginData fiels are initialized: instance_string, in_pipe_name, +// Creates a new icedtea np plugin instance. This function creates a +// ITNPPluginData* and stores it in instance->pdata. The following +// ITNPPluginData fiels are initialized: instance_string, in_pipe_name, // in_from_appletviewer, in_watch_source, out_pipe_name, // out_to_appletviewer, out_watch_source, appletviewer_mutex, owner, // appletviewer_alive. In addition two pipe files are created. All // of those fields must be properly destroyed, and the pipes deleted, -// by GCJ_Destroy. If an error occurs during initialization then this +// by ITNP_Destroy. If an error occurs during initialization then this // function will free anything that's been allocated so far, set // instance->pdata to NULL and return an error code. NPError -GCJ_New (NPMIMEType pluginType, NPP instance, uint16_t mode, +ITNP_New (NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved) { - PLUGIN_DEBUG_0ARG("GCJ_New\n"); + PLUGIN_DEBUG_0ARG("ITNP_New\n"); static NPObject *window_ptr; NPIdentifier identifier; @@ -280,7 +280,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst NPError np_error = NPERR_NO_ERROR; - GCJPluginData* data = NULL; + ITNPPluginData* data = NULL; gchar* documentbase = NULL; gchar* read_message = NULL; @@ -401,7 +401,7 @@ GCJ_New (NPMIMEType pluginType, NPP inst g_hash_table_insert(id_to_instance_map, GINT_TO_POINTER(instance_counter), instance); instance_counter++; - PLUGIN_DEBUG_0ARG ("GCJ_New return\n"); + PLUGIN_DEBUG_0ARG ("ITNP_New return\n"); From ahughes at redhat.com Sun Apr 11 13:48:16 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Sun, 11 Apr 2010 21:48:16 +0100 Subject: /hg/icedtea6: Be verbose wether the NSS-based security provider ... In-Reply-To: References: Message-ID: On 10 April 2010 17:23, wrote: > changeset cb06ab3e6d36 in /hg/icedtea6 > details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=cb06ab3e6d36 > author: doko at ubuntu.com > date: Sat Apr 10 17:56:55 2010 +0200 > > ? ? ? ?Be verbose wether the NSS-based security provider is enabled or > ? ? ? ?disabled by default. > > ? ? ? ?2010-04-10 Matthias Klose > > ? ? ? ? * Makefile.am (ICEDTEA_PATCHES): Always apply icedtea- > ? ? ? ?nss-6763530.patch. Apply icedtea-nss-not-enabled-config.patch > ? ? ? ?if the NSS-based security provider is disabled by default. > ? ? ? ? ? ? ? * Makefile.am: Be verbose wether the NSS-based security provider > ? ? ? ?is enabled or disabled by default. > ? ? ? ? ? ? ? * patches/icedtea-nss-not-enabled-config.patch: New. > > > diffstat: > > 4 files changed, 34 insertions(+), 5 deletions(-) > ChangeLog ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?9 +++++++++ > Makefile.am ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?6 ++++-- > configure.ac ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 11 ++++++++--- > patches/icedtea-nss-not-enabled-config.patch | ? 13 +++++++++++++ > > diffs (84 lines): > > diff -r 1af407faae6d -r cb06ab3e6d36 ChangeLog > --- a/ChangeLog Fri Apr 09 12:54:33 2010 +0200 > +++ b/ChangeLog Sat Apr 10 17:56:55 2010 +0200 > @@ -1,3 +1,12 @@ 2010-04-09 ?Xerxes R?nby ? +2010-04-10 ?Matthias Klose ? > + > + ? ? ? * Makefile.am (ICEDTEA_PATCHES): Always apply > + ? ? ? icedtea-nss-6763530.patch. Apply icedtea-nss-not-enabled-config.patch > + ? ? ? if the NSS-based security provider is disabled by default. > + ? ? ? * Makefile.am: Be verbose wether the NSS-based security provider > + ? ? ? is enabled or disabled by default. > + ? ? ? * patches/icedtea-nss-not-enabled-config.patch: New. > + > ?2010-04-09 ?Xerxes R?nby ? > > ? ? ? ?* Makefile.am (ICEDTEA_PATCHES): > diff -r 1af407faae6d -r cb06ab3e6d36 Makefile.am > --- a/Makefile.am ? ? ? Fri Apr 09 12:54:33 2010 +0200 > +++ b/Makefile.am ? ? ? Sat Apr 10 17:56:55 2010 +0200 > @@ -386,9 +386,11 @@ ICEDTEA_PATCHES += patches/icedtea-syste > ?ICEDTEA_PATCHES += patches/icedtea-systemtap.patch > ?endif > > +ICEDTEA_PATCHES += patches/icedtea-nss-6763530.patch > ?if ENABLE_NSS > -ICEDTEA_PATCHES += patches/icedtea-nss-config.patch \ > - ? ? ? ? ? ? ? ? ?patches/icedtea-nss-6763530.patch > +ICEDTEA_PATCHES += patches/icedtea-nss-config.patch > +else > +ICEDTEA_PATCHES += patches/icedtea-nss-not-enabled-config.patch > ?endif > > ?if WITH_ALT_HSBUILD > diff -r 1af407faae6d -r cb06ab3e6d36 configure.ac > --- a/configure.ac ? ? ?Fri Apr 09 12:54:33 2010 +0200 > +++ b/configure.ac ? ? ?Sat Apr 10 17:56:55 2010 +0200 > @@ -144,13 +144,20 @@ AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test > ?AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test x$ENABLE_SYSTEMTAP = xyes]) > ?AC_MSG_RESULT(${ENABLE_SYSTEMTAP}) > > +IT_LOCATE_NSS > + > ?AC_MSG_CHECKING([whether to include the NSS-based security provider]) > ?AC_ARG_ENABLE([nss], > ? ? ? ? ? ? ?[AS_HELP_STRING([--enable-nss], > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?[Enable inclusion of NSS security provider])], > ? ? ? ? ? ? ?[ENABLE_NSS="${enableval}"], [ENABLE_NSS='no']) > ?AM_CONDITIONAL([ENABLE_NSS], [test x$ENABLE_NSS = xyes]) > -AC_MSG_RESULT(${ENABLE_NSS}) > +if test "x${ENABLE_NSS}" = "xyes" > +then > + ?AC_MSG_RESULT([yes]) > +else > + ?AC_MSG_RESULT([yes, disabled by default (edit java.security to enable)]) > +fi > > ?IT_GET_PKGVERSION > ?IT_GET_LSB_DATA > @@ -408,8 +415,6 @@ then > ? AC_SUBST(LIBPULSE_LIBS) > ?fi > > -IT_LOCATE_NSS > - > ?if test "x${ZERO_BUILD_TRUE}" = x || test "x${ADD_ZERO_BUILD_TRUE}" = x; then > ? dnl Check for libffi headers and libraries. > ? PKG_CHECK_MODULES(LIBFFI, libffi,[LIBFFI_FOUND=yes],[LIBFFI_FOUND=no]) > diff -r 1af407faae6d -r cb06ab3e6d36 patches/icedtea-nss-not-enabled-config.patch > --- /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > +++ b/patches/icedtea-nss-not-enabled-config.patch ? ? ?Sat Apr 10 17:56:55 2010 +0200 > @@ -0,0 +1,13 @@ > +--- openjdk.orig/jdk/src/share/lib/security/java.security ? ? ?2009-08-25 11:43:59.000000000 +0100 > ++++ openjdk/jdk/src/share/lib/security/java.security ? ? ? ? ? 2009-08-27 14:23:54.000000000 +0100 > +@@ -51,6 +51,10 @@ > + security.provider.6=com.sun.security.sasl.Provider > + security.provider.7=org.jcp.xml.dsig.internal.dom.XMLDSigRI > + security.provider.8=sun.security.smartcardio.SunPCSC > ++# the NSS security provider was not enabled for this build; it can be enabled > ++# if NSS (libnss3) is available on the machine. The nss.cfg file may need > ++# editing to reflect the location of the NSS installation. > ++#security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg > + > + # > + # Select the source of seed data for SecureRandom. By default an > If 6763530 is always on now, it should be with the big block of patches rather than supplemented afterwards. Just for clarity. 6763530 will be in b19 so it's fine to make it default for 1.8 (patch has already been removed on the -hg branch). I think the ENABLE_NSS output is a little confusing. I think: > +if test "x${ENABLE_NSS}" = "xyes" > +then > + AC_MSG_RESULT([enabled by default (edit java.security to disable)]) > +else > + AC_MSG_RESULT([disabled by default (edit java.security to enable)]) > +fi would be clearer than including 'yes' in both options (at least it would confuse me if I'd passed --disable-nss...) -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From doko at ubuntu.com Sun Apr 11 17:57:46 2010 From: doko at ubuntu.com (Matthias Klose) Date: Mon, 12 Apr 2010 02:57:46 +0200 Subject: /hg/icedtea6: Be verbose wether the NSS-based security provider ... In-Reply-To: References: Message-ID: <4BC2700A.9080108@ubuntu.com> On 11.04.2010 22:48, Andrew John Hughes wrote: > On 10 April 2010 17:23, wrote: > If 6763530 is always on now, it should be with the big block of > patches rather than supplemented afterwards. Sorry, I don't understand what you mean here ... > Just for clarity. > 6763530 will be in b19 so it's fine to make it default for 1.8 (patch > has already been removed on the -hg branch). > I think the ENABLE_NSS output is a little confusing. I think: > >> +if test "x${ENABLE_NSS}" = "xyes" >> +then >> + AC_MSG_RESULT([enabled by default (edit java.security to disable)]) >> +else >> + AC_MSG_RESULT([disabled by default (edit java.security to enable)]) >> +fi > > would be clearer than including 'yes' in both options (at least it > would confuse me if I'd passed --disable-nss...) sure, please feel free to change it. the previous output was even more confusing ;) Matthias From doko at ubuntu.com Sun Apr 11 18:34:59 2010 From: doko at ubuntu.com (Matthias Klose) Date: Mon, 12 Apr 2010 03:34:59 +0200 Subject: [patch] PR461: don't use the NSS provider bundled with the browser Message-ID: <4BC278C3.2050704@ubuntu.com> Seen this at least with firefox, would be nice if somebody could check that for chromium as well. The firefox start script in MOZILLA_FIVE_HOME sets LD_LIBRARY_PATH to include MOZILLA_FIVE_HOME and a number of subdirectories of MOZILLA_FIVE_HOME. The current NSS provider code seems to honor LD_LIBRARY_PATH, and loads the libnss3.so provided by the browser. Caused by: java.io.IOException: An incompatible version of NSS is already loaded, 3.7 or later required at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) (wondering why the nss version shipped with firefox 3.6.3 identifies itself as 3.7). However the openjdk build is configured for the nss version configured at build time, and you can run it with more than one browser. My current solution/workaround is to pass a modified LD_LIBRARY_PATH to the subprocess such that the libnss3.so which was configured at build time is always used. Something like this, or another fix should go to the 1.8 branch as well. Matthias -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pr461.diff Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100412/782f73b4/pr461.diff From gbenson at redhat.com Mon Apr 12 03:06:01 2010 From: gbenson at redhat.com (Gary Benson) Date: Mon, 12 Apr 2010 11:06:01 +0100 Subject: FYI: zero/cppInterpreter-fast-bytecodes.patch replaced by zero/6939845.patch from OpenJDK upsteam. In-Reply-To: <4BBF10BB.9030103@zafena.se> References: <4BBF10BB.9030103@zafena.se> Message-ID: <20100412100601.GA4364@redhat.com> Xerxes R?nby wrote: > I have pushed a change to Icedtea6 head and release branch to make > zero more in sync with OpenJDK upstream now after Ed's improvement, > "a fallback path in the C++ interpreter for platform dependent fast > bytecodes", got upstreamed into OpenJDK. Awesome, thanks Xerxes. Cheers, Gary -- http://gbenson.net/ From ptisnovs at icedtea.classpath.org Mon Apr 12 04:14:27 2010 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 12 Apr 2010 11:14:27 +0000 Subject: /hg/release/icedtea6-1.8: Makefile.am: added $(NETX_SRCDIR) to D... Message-ID: changeset 28157b026a7a in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=28157b026a7a author: Pavel Tisnovsky date: Mon Apr 12 14:13:09 2010 +0200 Makefile.am: added $(NETX_SRCDIR) to DISTFILES to include netx directory into tarball. diffstat: 2 files changed, 6 insertions(+) ChangeLog | 5 +++++ Makefile.am | 1 + diffs (23 lines): diff -r 08661c42a3ba -r 28157b026a7a ChangeLog --- a/ChangeLog Sat Apr 10 22:07:13 2010 +0200 +++ b/ChangeLog Mon Apr 12 14:13:09 2010 +0200 @@ -1,3 +1,8 @@ 2010-04-10 Matthias Klose + + * Makefile.am: added $(NETX_SRCDIR) to DISTFILES to include + netx directory into tarball. + 2010-04-10 Matthias Klose * Makefile.am (ICEDTEA_PATCHES): Always apply diff -r 08661c42a3ba -r 28157b026a7a Makefile.am --- a/Makefile.am Sat Apr 10 22:07:13 2010 +0200 +++ b/Makefile.am Mon Apr 12 14:13:09 2010 +0200 @@ -552,6 +552,7 @@ EXTRA_DIST = generated \ $(abs_top_srcdir)/plugin \ hotspot.map \ autogen.sh \ + $(NETX_SRCDIR) \ tapset/hotspot.stp.in \ tapset/hotspot_jni.stp.in \ scripts/jni_create_stap.c \ From doko at icedtea.classpath.org Mon Apr 12 05:07:37 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Mon, 12 Apr 2010 12:07:37 +0000 Subject: /hg/icedtea6: 2010-04-12 Matthias Klose Message-ID: changeset 96b7c3d81af1 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=96b7c3d81af1 author: doko at ubuntu.com date: Mon Apr 12 13:40:58 2010 +0200 2010-04-12 Matthias Klose * configure.ac: Clarify result message of the NSS check. diffstat: 2 files changed, 6 insertions(+), 2 deletions(-) ChangeLog | 4 ++++ configure.ac | 4 ++-- diffs (26 lines): diff -r 1f22e08af1f2 -r 96b7c3d81af1 ChangeLog --- a/ChangeLog Sat Apr 10 18:00:32 2010 +0200 +++ b/ChangeLog Mon Apr 12 13:40:58 2010 +0200 @@ -1,3 +1,7 @@ 2010-04-10 Matthias Klose + + * configure.ac: Clarify result message of the NSS check. + 2010-04-10 Matthias Klose * Makefile.am (ICEDTEA_PATCHES): Always apply diff -r 1f22e08af1f2 -r 96b7c3d81af1 configure.ac --- a/configure.ac Sat Apr 10 18:00:32 2010 +0200 +++ b/configure.ac Mon Apr 12 13:40:58 2010 +0200 @@ -154,9 +154,9 @@ AM_CONDITIONAL([ENABLE_NSS], [test x$ENA AM_CONDITIONAL([ENABLE_NSS], [test x$ENABLE_NSS = xyes]) if test "x${ENABLE_NSS}" = "xyes" then - AC_MSG_RESULT([yes]) + AC_MSG_RESULT([enabled by default (edit java.security to disable)]) else - AC_MSG_RESULT([yes, disabled by default (edit java.security to enable)]) + AC_MSG_RESULT([disabled by default (edit java.security to enable)]) fi IT_GET_PKGVERSION From ahughes at redhat.com Mon Apr 12 05:09:49 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Mon, 12 Apr 2010 13:09:49 +0100 Subject: [patch] PR461: don't use the NSS provider bundled with the browser In-Reply-To: <4BC278C3.2050704@ubuntu.com> References: <4BC278C3.2050704@ubuntu.com> Message-ID: On 12 April 2010 02:34, Matthias Klose wrote: > Seen this at least with firefox, would be nice if somebody could check that > for chromium as well. > > The firefox start script in MOZILLA_FIVE_HOME sets LD_LIBRARY_PATH to > include MOZILLA_FIVE_HOME and a number of subdirectories of > MOZILLA_FIVE_HOME. The current NSS provider code seems to honor > LD_LIBRARY_PATH, and loads the libnss3.so provided by the browser. > > Caused by: java.io.IOException: An incompatible version of NSS is already > loaded, 3.7 or later required > ? ? ? ?at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) > ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) > > (wondering why the nss version shipped with firefox 3.6.3 identifies itself > as 3.7). > Wondering why Firefox includes NSS to begin with instead of using the system version... > However the openjdk build is configured for the nss version configured at > build time, and you can run it with more than one browser. > > My current solution/workaround is to pass a modified LD_LIBRARY_PATH to the > subprocess such that the libnss3.so which was configured at build time is > always used. > > Something like this, or another fix should go to the 1.8 branch as well. > Looking at the code, the 3.7 doesn't come from Firefox but the provider: public synchronized boolean isInitialized() throws IOException { // NSS does not allow us to check if it is initialized already // assume that if it is loaded it is also initialized if (isLoaded() == false) { return false; } if (supported == false) { throw new IOException ("An incompatible version of NSS is already loaded, " + "3.7 or later required"); } return true; } private boolean isLoaded() { if (nssHandle == 0) { nssHandle = nssGetLibraryHandle(System.mapLibraryName(NSS_LIB_NAME)); if (nssHandle != 0) { fetchVersions(); } } return (nssHandle != 0); } private void fetchVersions() { supported = nssVersionCheck(nssHandle, "3.7"); } I don't know what Ubuntu uses, but Gentoo is on 3.12.6 of NSS: $ pkg-config --modversion nss 3.12.6 But it's clearly passing the test earlier, as the initialize method includes the same test: Library loading prefers the setting in nss.cfg: String platformLibName = System.mapLibraryName("nss3"); String platformPath; if (nssLibDir == null) { platformPath = platformLibName; } else { File base = new File(nssLibDir); if (base.isDirectory() == false) { throw new IOException("nssLibDir must be a directory:" + nssLibDir); } File platformFile = new File(base, platformLibName); if (platformFile.isFile() == false) { throw new FileNotFoundException(platformFile.getPath()); } platformPath = platformFile.getPath(); } if (DEBUG) System.out.println("lib: " + platformPath); nssHandle = nssLoadLibrary(platformPath); I suggest getting some debug output in that class. Setting DEBUG to true would be a start. > ?Matthias > > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From doko at icedtea.classpath.org Mon Apr 12 05:13:22 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Mon, 12 Apr 2010 12:13:22 +0000 Subject: /hg/release/icedtea6-1.8: Clarify result message of the NSS check. Message-ID: changeset 1e3f9ece9b6b in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=1e3f9ece9b6b author: doko at ubuntu.com date: Mon Apr 12 13:46:45 2010 +0200 Clarify result message of the NSS check. 2010-04-12 Matthias Klose * configure.ac: Clarify result message of the NSS check. diffstat: 2 files changed, 7 insertions(+), 3 deletions(-) ChangeLog | 6 +++++- configure.ac | 4 ++-- diffs (30 lines): diff -r 28157b026a7a -r 1e3f9ece9b6b ChangeLog --- a/ChangeLog Mon Apr 12 14:13:09 2010 +0200 +++ b/ChangeLog Mon Apr 12 13:46:45 2010 +0200 @@ -1,6 +1,10 @@ 2010-04-12 Pavel Tisnovsky + + * configure.ac: Clarify result message of the NSS check. + 2010-04-12 Pavel Tisnovsky - * Makefile.am: added $(NETX_SRCDIR) to DISTFILES to include + * Makefile.am: added $(NETX_SRCDIR) to DISTFILES to include netx directory into tarball. 2010-04-10 Matthias Klose diff -r 28157b026a7a -r 1e3f9ece9b6b configure.ac --- a/configure.ac Mon Apr 12 14:13:09 2010 +0200 +++ b/configure.ac Mon Apr 12 13:46:45 2010 +0200 @@ -154,9 +154,9 @@ AM_CONDITIONAL([ENABLE_NSS], [test x$ENA AM_CONDITIONAL([ENABLE_NSS], [test x$ENABLE_NSS = xyes]) if test "x${ENABLE_NSS}" = "xyes" then - AC_MSG_RESULT([yes]) + AC_MSG_RESULT([enabled by default (edit java.security to disable)]) else - AC_MSG_RESULT([yes, disabled by default (edit java.security to enable)]) + AC_MSG_RESULT([disabled by default (edit java.security to enable)]) fi IT_GET_PKGVERSION From doko at ubuntu.com Mon Apr 12 05:29:00 2010 From: doko at ubuntu.com (Matthias Klose) Date: Mon, 12 Apr 2010 14:29:00 +0200 Subject: [patch] PR461: don't use the NSS provider bundled with the browser In-Reply-To: References: <4BC278C3.2050704@ubuntu.com> Message-ID: <4BC3120C.2010003@ubuntu.com> On 12.04.2010 14:09, Andrew John Hughes wrote: > On 12 April 2010 02:34, Matthias Klose wrote: >> Seen this at least with firefox, would be nice if somebody could check that >> for chromium as well. >> >> The firefox start script in MOZILLA_FIVE_HOME sets LD_LIBRARY_PATH to >> include MOZILLA_FIVE_HOME and a number of subdirectories of >> MOZILLA_FIVE_HOME. The current NSS provider code seems to honor >> LD_LIBRARY_PATH, and loads the libnss3.so provided by the browser. >> >> Caused by: java.io.IOException: An incompatible version of NSS is already >> loaded, 3.7 or later required >> at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >> at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >> >> (wondering why the nss version shipped with firefox 3.6.3 identifies itself >> as 3.7). >> > > Wondering why Firefox includes NSS to begin with instead of using the > system version... > >> However the openjdk build is configured for the nss version configured at >> build time, and you can run it with more than one browser. >> >> My current solution/workaround is to pass a modified LD_LIBRARY_PATH to the >> subprocess such that the libnss3.so which was configured at build time is >> always used. >> >> Something like this, or another fix should go to the 1.8 branch as well. >> > > Looking at the code, the 3.7 doesn't come from Firefox but the provider: > > public synchronized boolean isInitialized() throws IOException { > // NSS does not allow us to check if it is initialized already > // assume that if it is loaded it is also initialized > if (isLoaded() == false) { > return false; > } > if (supported == false) { > throw new IOException > ("An incompatible version of NSS is already loaded, " > + "3.7 or later required"); > } > return true; > } > > private boolean isLoaded() { > if (nssHandle == 0) { > nssHandle = > nssGetLibraryHandle(System.mapLibraryName(NSS_LIB_NAME)); > if (nssHandle != 0) { > fetchVersions(); > } > } > return (nssHandle != 0); > } > > private void fetchVersions() { > supported = nssVersionCheck(nssHandle, "3.7"); > } > > I don't know what Ubuntu uses, but Gentoo is on 3.12.6 of NSS: > > $ pkg-config --modversion nss > 3.12.6 > > But it's clearly passing the test earlier, as the initialize method > includes the same test: there's another bug here in that the current firefox package on Ubuntu includes it's own nss: $ ls -l /usr/lib/firefox-3.6.3/libnss3.so -rw-r--r-- 1 root root 875916 2010-04-09 18:26 /usr/lib/firefox-3.6.3/libnss3.so but this is something you'll get if you download the firefox binaries from mozilla.org as well: $ tar tf firefox-3.6.3.tar.bz2 | grep libnss3 firefox/libnss3.so > Library loading prefers the setting in nss.cfg: > > String platformLibName = System.mapLibraryName("nss3"); here, it's already too late. the nss3 found in LD_LIBRARY_PATH is used. From andrew at icedtea.classpath.org Mon Apr 12 05:29:50 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 12 Apr 2010 12:29:50 +0000 Subject: /hg/icedtea6: 2 new changesets Message-ID: changeset bda25ffc4b05 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=bda25ffc4b05 author: Andrew John Hughes date: Mon Apr 12 13:27:45 2010 +0100 Add NetX source directory to EXTRA_DIST. 2010-04-12 Andrew John Hughes * Makefile.am: Add NETX_SRCDIR to EXTRA_DIST. changeset 86669f47e779 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=86669f47e779 author: Andrew John Hughes date: Mon Apr 12 13:29:35 2010 +0100 Move NSS patch to main patch block. 2010-04-12 Andrew John Hughes * Makefile.am: Make NSS patch to main block as it's now applied unconditionally. diffstat: 2 files changed, 14 insertions(+), 3 deletions(-) ChangeLog | 11 +++++++++++ Makefile.am | 6 +++--- diffs (48 lines): diff -r 96b7c3d81af1 -r 86669f47e779 ChangeLog --- a/ChangeLog Mon Apr 12 13:40:58 2010 +0200 +++ b/ChangeLog Mon Apr 12 13:29:35 2010 +0100 @@ -1,3 +1,14 @@ 2010-04-12 Matthias Klose + + * Makefile.am: + Make NSS patch to main block as it's + now applied unconditionally. + +2010-04-12 Andrew John Hughes + + * Makefile.am: + Add NETX_SRCDIR to EXTRA_DIST. + 2010-04-12 Matthias Klose * configure.ac: Clarify result message of the NSS check. diff -r 96b7c3d81af1 -r 86669f47e779 Makefile.am --- a/Makefile.am Mon Apr 12 13:40:58 2010 +0200 +++ b/Makefile.am Mon Apr 12 13:29:35 2010 +0100 @@ -335,7 +335,8 @@ ICEDTEA_PATCHES = \ patches/security/20100330/6910590.patch \ patches/security/20100330/6914823.patch \ patches/security/20100330/6914866.patch \ - patches/security/20100330/6932480.patch + patches/security/20100330/6932480.patch \ + patches/icedtea-nss-6763530.patch if WITH_RHINO ICEDTEA_PATCHES += \ @@ -386,7 +387,6 @@ ICEDTEA_PATCHES += patches/icedtea-syste ICEDTEA_PATCHES += patches/icedtea-systemtap.patch endif -ICEDTEA_PATCHES += patches/icedtea-nss-6763530.patch if ENABLE_NSS ICEDTEA_PATCHES += patches/icedtea-nss-config.patch else @@ -552,7 +552,7 @@ ICEDTEA_ENV_ECJ = $(ICEDTEA_ENV) \ # FIXME (distclean): Add jtreg sources # FIXME (distclean): Add pulseaudio sources -EXTRA_DIST = generated \ +EXTRA_DIST = generated $(NETX_SRCDIR) \ $(abs_top_srcdir)/patches/* \ contrib ports \ extra overlays \ From ahughes at redhat.com Mon Apr 12 05:42:32 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Mon, 12 Apr 2010 13:42:32 +0100 Subject: [patch] PR461: don't use the NSS provider bundled with the browser In-Reply-To: <4BC3120C.2010003@ubuntu.com> References: <4BC278C3.2050704@ubuntu.com> <4BC3120C.2010003@ubuntu.com> Message-ID: On 12 April 2010 13:29, Matthias Klose wrote: > On 12.04.2010 14:09, Andrew John Hughes wrote: >> >> On 12 April 2010 02:34, Matthias Klose ?wrote: >>> >>> Seen this at least with firefox, would be nice if somebody could check >>> that >>> for chromium as well. >>> >>> The firefox start script in MOZILLA_FIVE_HOME sets LD_LIBRARY_PATH to >>> include MOZILLA_FIVE_HOME and a number of subdirectories of >>> MOZILLA_FIVE_HOME. The current NSS provider code seems to honor >>> LD_LIBRARY_PATH, and loads the libnss3.so provided by the browser. >>> >>> Caused by: java.io.IOException: An incompatible version of NSS is already >>> loaded, 3.7 or later required >>> ? ? ? ?at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >>> ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >>> >>> (wondering why the nss version shipped with firefox 3.6.3 identifies >>> itself >>> as 3.7). >>> >> >> Wondering why Firefox includes NSS to begin with instead of using the >> system version... >> >>> However the openjdk build is configured for the nss version configured at >>> build time, and you can run it with more than one browser. >>> >>> My current solution/workaround is to pass a modified LD_LIBRARY_PATH to >>> the >>> subprocess such that the libnss3.so which was configured at build time is >>> always used. >>> >>> Something like this, or another fix should go to the 1.8 branch as well. >>> >> >> Looking at the code, the 3.7 doesn't come from Firefox but the provider: >> >> ? ? public synchronized boolean isInitialized() throws IOException { >> ? ? ? ? // NSS does not allow us to check if it is initialized already >> ? ? ? ? // assume that if it is loaded it is also initialized >> ? ? ? ?if (isLoaded() == false) { >> ? ? ? ? ? ? return false; >> ? ? ? ? } >> ? ? ? ? if (supported == false) { >> ? ? ? ? ? ? throw new IOException >> ? ? ? ? ? ? ? ? ("An incompatible version of NSS is already loaded, " >> ? ? ? ? ? ? ? ? + "3.7 or later required"); >> ? ? ? ? } >> ? ? ? ? return true; >> ? ? } >> >> ? ? private boolean isLoaded() { >> ? ? ? ? if (nssHandle == 0) { >> ? ? ? ? ? ? nssHandle = >> nssGetLibraryHandle(System.mapLibraryName(NSS_LIB_NAME)); >> ? ? ? ? ? ? if (nssHandle != 0) { >> ? ? ? ? ? ? ? ?fetchVersions(); >> ? ? ? ? ? ? } >> ? ? ? ?} >> ? ? ? ? return (nssHandle != 0); >> ? ? } >> >> ? ? private void fetchVersions() { >> ? ? ? ? supported = nssVersionCheck(nssHandle, "3.7"); >> ? ? } >> >> I don't know what Ubuntu uses, but Gentoo is on 3.12.6 of NSS: >> >> $ pkg-config --modversion nss >> 3.12.6 >> >> But it's clearly passing the test earlier, as the initialize method >> includes the same test: > > there's another bug here in that the current firefox package on Ubuntu > includes it's own nss: > > $ ls -l /usr/lib/firefox-3.6.3/libnss3.so > -rw-r--r-- 1 root root 875916 2010-04-09 18:26 > /usr/lib/firefox-3.6.3/libnss3.so > > but this is something you'll get if you download the firefox binaries from > mozilla.org as well: > > $ tar tf firefox-3.6.3.tar.bz2 | grep libnss3 > firefox/libnss3.so > >> Library loading prefers the setting in nss.cfg: >> >> ? ? ? ? String platformLibName = System.mapLibraryName("nss3"); > > here, it's already too late. the nss3 found in LD_LIBRARY_PATH is used. > Does mapLibraryName load nss3 as a side-effect? If so, we could move it into the if clause. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Mon Apr 12 05:44:10 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Mon, 12 Apr 2010 13:44:10 +0100 Subject: [patch] PR461: don't use the NSS provider bundled with the browser In-Reply-To: <4BC3120C.2010003@ubuntu.com> References: <4BC278C3.2050704@ubuntu.com> <4BC3120C.2010003@ubuntu.com> Message-ID: On 12 April 2010 13:29, Matthias Klose wrote: > On 12.04.2010 14:09, Andrew John Hughes wrote: >> >> On 12 April 2010 02:34, Matthias Klose ?wrote: >>> >>> Seen this at least with firefox, would be nice if somebody could check >>> that >>> for chromium as well. >>> >>> The firefox start script in MOZILLA_FIVE_HOME sets LD_LIBRARY_PATH to >>> include MOZILLA_FIVE_HOME and a number of subdirectories of >>> MOZILLA_FIVE_HOME. The current NSS provider code seems to honor >>> LD_LIBRARY_PATH, and loads the libnss3.so provided by the browser. >>> >>> Caused by: java.io.IOException: An incompatible version of NSS is already >>> loaded, 3.7 or later required >>> ? ? ? ?at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) >>> ? ? ? ?at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) >>> >>> (wondering why the nss version shipped with firefox 3.6.3 identifies >>> itself >>> as 3.7). >>> >> >> Wondering why Firefox includes NSS to begin with instead of using the >> system version... >> >>> However the openjdk build is configured for the nss version configured at >>> build time, and you can run it with more than one browser. >>> >>> My current solution/workaround is to pass a modified LD_LIBRARY_PATH to >>> the >>> subprocess such that the libnss3.so which was configured at build time is >>> always used. >>> >>> Something like this, or another fix should go to the 1.8 branch as well. >>> >> >> Looking at the code, the 3.7 doesn't come from Firefox but the provider: >> >> ? ? public synchronized boolean isInitialized() throws IOException { >> ? ? ? ? // NSS does not allow us to check if it is initialized already >> ? ? ? ? // assume that if it is loaded it is also initialized >> ? ? ? ?if (isLoaded() == false) { >> ? ? ? ? ? ? return false; >> ? ? ? ? } >> ? ? ? ? if (supported == false) { >> ? ? ? ? ? ? throw new IOException >> ? ? ? ? ? ? ? ? ("An incompatible version of NSS is already loaded, " >> ? ? ? ? ? ? ? ? + "3.7 or later required"); >> ? ? ? ? } >> ? ? ? ? return true; >> ? ? } >> >> ? ? private boolean isLoaded() { >> ? ? ? ? if (nssHandle == 0) { >> ? ? ? ? ? ? nssHandle = >> nssGetLibraryHandle(System.mapLibraryName(NSS_LIB_NAME)); >> ? ? ? ? ? ? if (nssHandle != 0) { >> ? ? ? ? ? ? ? ?fetchVersions(); >> ? ? ? ? ? ? } >> ? ? ? ?} >> ? ? ? ? return (nssHandle != 0); >> ? ? } >> >> ? ? private void fetchVersions() { >> ? ? ? ? supported = nssVersionCheck(nssHandle, "3.7"); >> ? ? } >> >> I don't know what Ubuntu uses, but Gentoo is on 3.12.6 of NSS: >> >> $ pkg-config --modversion nss >> 3.12.6 >> >> But it's clearly passing the test earlier, as the initialize method >> includes the same test: > > there's another bug here in that the current firefox package on Ubuntu > includes it's own nss: > > $ ls -l /usr/lib/firefox-3.6.3/libnss3.so > -rw-r--r-- 1 root root 875916 2010-04-09 18:26 > /usr/lib/firefox-3.6.3/libnss3.so > > but this is something you'll get if you download the firefox binaries from > mozilla.org as well: > > $ tar tf firefox-3.6.3.tar.bz2 | grep libnss3 > firefox/libnss3.so > I checked and I only have the one in /usr/lib64 - libnss.so.3.12. So I can't replicate this here. The firefox package shouldn't be carrying a system library. >> Library loading prefers the setting in nss.cfg: >> >> ? ? ? ? String platformLibName = System.mapLibraryName("nss3"); > > here, it's already too late. the nss3 found in LD_LIBRARY_PATH is used. > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From xranby at icedtea.classpath.org Mon Apr 12 06:10:00 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Mon, 12 Apr 2010 13:10:00 +0000 Subject: /hg/icedtea6: PR icedtea/459: shark do nothing on stub frame Message-ID: changeset 221817e944c5 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=221817e944c5 author: Xerxes R?nby date: Mon Apr 12 15:06:09 2010 +0200 PR icedtea/459: shark do nothing on stub frame 2010-04-12 Xerxes R?nby PR icedtea/459: * Makefile.am: (ICEDTEA_PATCHES): Apply patches/zero/shark_do_nothing_on_stub_frame.patch. * ports/hotspot/src/cpu/zero/vm/frame_zero.cpp (frame::is_fake_stub_frame): New method. * ports/hotspot/src/cpu/zero/vm/frame_zero.hpp (frame::is_fake_stub_frame): Likewise. * patches/zero/shark_do_nothing_on_stub_frame.patch: New. diffstat: 5 files changed, 34 insertions(+) ChangeLog | 11 +++++++++++ Makefile.am | 1 + patches/zero/shark_do_nothing_on_stub_frame.patch | 15 +++++++++++++++ ports/hotspot/src/cpu/zero/vm/frame_zero.cpp | 4 ++++ ports/hotspot/src/cpu/zero/vm/frame_zero.hpp | 3 +++ diffs (75 lines): diff -r 86669f47e779 -r 221817e944c5 ChangeLog --- a/ChangeLog Mon Apr 12 13:29:35 2010 +0100 +++ b/ChangeLog Mon Apr 12 15:06:09 2010 +0200 @@ -1,3 +1,14 @@ 2010-04-12 Andrew John Hughes + + PR icedtea/459: + * Makefile.am: (ICEDTEA_PATCHES): + Apply patches/zero/shark_do_nothing_on_stub_frame.patch. + * ports/hotspot/src/cpu/zero/vm/frame_zero.cpp + (frame::is_fake_stub_frame): New method. + * ports/hotspot/src/cpu/zero/vm/frame_zero.hpp + (frame::is_fake_stub_frame): Likewise. + * patches/zero/shark_do_nothing_on_stub_frame.patch: New. + 2010-04-12 Andrew John Hughes * Makefile.am: diff -r 86669f47e779 -r 221817e944c5 Makefile.am --- a/Makefile.am Mon Apr 12 13:29:35 2010 +0100 +++ b/Makefile.am Mon Apr 12 15:06:09 2010 +0200 @@ -232,6 +232,7 @@ ICEDTEA_PATCHES = \ patches/zero/6913869.patch \ patches/zero/6914622.patch \ patches/zero/6939845.patch \ + patches/zero/shark_do_nothing_on_stub_frame.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ patches/icedtea-lucene-crash.patch \ diff -r 86669f47e779 -r 221817e944c5 patches/zero/shark_do_nothing_on_stub_frame.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/zero/shark_do_nothing_on_stub_frame.patch Mon Apr 12 15:06:09 2010 +0200 @@ -0,0 +1,15 @@ +Index: hotspot/src/share/vm/runtime/frame.cpp +=================================================================== +--- openjdk/hotspot.orig/src/share/vm/runtime/frame.cpp 2010-02-17 04:11:10.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/runtime/frame.cpp 2010-03-25 10:06:18.334380336 +0100 +@@ -1205,6 +1205,10 @@ + if (is_interpreted_frame()) { oops_interpreted_do(f, map, use_interpreter_oop_map_cache); + } else if (is_entry_frame()) { oops_entry_do (f, map); + } else if (CodeCache::contains(pc())) { oops_code_blob_do (f, map); ++#ifdef SHARK ++ } else if (is_fake_stub_frame()) { ++ // nothing to do ++#endif // SHARK + } else { + ShouldNotReachHere(); + } diff -r 86669f47e779 -r 221817e944c5 ports/hotspot/src/cpu/zero/vm/frame_zero.cpp --- a/ports/hotspot/src/cpu/zero/vm/frame_zero.cpp Mon Apr 12 13:29:35 2010 +0100 +++ b/ports/hotspot/src/cpu/zero/vm/frame_zero.cpp Mon Apr 12 15:06:09 2010 +0200 @@ -34,6 +34,10 @@ void RegisterMap::check_location_valid() bool frame::is_interpreted_frame() const { return zeroframe()->is_interpreter_frame(); +} + +bool frame::is_fake_stub_frame() const { + return zeroframe()->is_fake_stub_frame(); } frame frame::sender_for_entry_frame(RegisterMap *map) const { diff -r 86669f47e779 -r 221817e944c5 ports/hotspot/src/cpu/zero/vm/frame_zero.hpp --- a/ports/hotspot/src/cpu/zero/vm/frame_zero.hpp Mon Apr 12 13:29:35 2010 +0100 +++ b/ports/hotspot/src/cpu/zero/vm/frame_zero.hpp Mon Apr 12 15:06:09 2010 +0200 @@ -65,6 +65,9 @@ } public: + bool is_fake_stub_frame() const; + + public: frame sender_for_nonentry_frame(RegisterMap* map) const; public: From xranby at icedtea.classpath.org Mon Apr 12 06:17:35 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Mon, 12 Apr 2010 13:17:35 +0000 Subject: /hg/release/icedtea6-1.8: PR icedtea/459: shark do nothing on st... Message-ID: changeset cdef2ad5c0ed in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=cdef2ad5c0ed author: Xerxes R?nby date: Mon Apr 12 15:06:09 2010 +0200 PR icedtea/459: shark do nothing on stub frame 2010-04-12 Xerxes R?nby PR icedtea/459: * Makefile.am: (ICEDTEA_PATCHES): Apply patches/zero/shark_do_nothing_on_stub_frame.patch. * ports/hotspot/src/cpu/zero/vm/frame_zero.cpp (frame::is_fake_stub_frame): New method. * ports/hotspot/src/cpu/zero/vm/frame_zero.hpp (frame::is_fake_stub_frame): Likewise. * patches/zero/shark_do_nothing_on_stub_frame.patch: New. diffstat: 5 files changed, 34 insertions(+) ChangeLog | 11 +++++++++++ Makefile.am | 1 + patches/zero/shark_do_nothing_on_stub_frame.patch | 15 +++++++++++++++ ports/hotspot/src/cpu/zero/vm/frame_zero.cpp | 4 ++++ ports/hotspot/src/cpu/zero/vm/frame_zero.hpp | 3 +++ diffs (75 lines): diff -r 1e3f9ece9b6b -r cdef2ad5c0ed ChangeLog --- a/ChangeLog Mon Apr 12 13:46:45 2010 +0200 +++ b/ChangeLog Mon Apr 12 15:06:09 2010 +0200 @@ -1,3 +1,14 @@ 2010-04-12 Matthias Klose + + PR icedtea/459: + * Makefile.am: (ICEDTEA_PATCHES): + Apply patches/zero/shark_do_nothing_on_stub_frame.patch. + * ports/hotspot/src/cpu/zero/vm/frame_zero.cpp + (frame::is_fake_stub_frame): New method. + * ports/hotspot/src/cpu/zero/vm/frame_zero.hpp + (frame::is_fake_stub_frame): Likewise. + * patches/zero/shark_do_nothing_on_stub_frame.patch: New. + 2010-04-12 Matthias Klose * configure.ac: Clarify result message of the NSS check. diff -r 1e3f9ece9b6b -r cdef2ad5c0ed Makefile.am --- a/Makefile.am Mon Apr 12 13:46:45 2010 +0200 +++ b/Makefile.am Mon Apr 12 15:06:09 2010 +0200 @@ -221,6 +221,7 @@ ICEDTEA_PATCHES = \ patches/zero/6913869.patch \ patches/zero/6914622.patch \ patches/zero/6939845.patch \ + patches/zero/shark_do_nothing_on_stub_frame.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ patches/icedtea-lucene-crash.patch \ diff -r 1e3f9ece9b6b -r cdef2ad5c0ed patches/zero/shark_do_nothing_on_stub_frame.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/zero/shark_do_nothing_on_stub_frame.patch Mon Apr 12 15:06:09 2010 +0200 @@ -0,0 +1,15 @@ +Index: hotspot/src/share/vm/runtime/frame.cpp +=================================================================== +--- openjdk/hotspot.orig/src/share/vm/runtime/frame.cpp 2010-02-17 04:11:10.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/runtime/frame.cpp 2010-03-25 10:06:18.334380336 +0100 +@@ -1205,6 +1205,10 @@ + if (is_interpreted_frame()) { oops_interpreted_do(f, map, use_interpreter_oop_map_cache); + } else if (is_entry_frame()) { oops_entry_do (f, map); + } else if (CodeCache::contains(pc())) { oops_code_blob_do (f, map); ++#ifdef SHARK ++ } else if (is_fake_stub_frame()) { ++ // nothing to do ++#endif // SHARK + } else { + ShouldNotReachHere(); + } diff -r 1e3f9ece9b6b -r cdef2ad5c0ed ports/hotspot/src/cpu/zero/vm/frame_zero.cpp --- a/ports/hotspot/src/cpu/zero/vm/frame_zero.cpp Mon Apr 12 13:46:45 2010 +0200 +++ b/ports/hotspot/src/cpu/zero/vm/frame_zero.cpp Mon Apr 12 15:06:09 2010 +0200 @@ -34,6 +34,10 @@ void RegisterMap::check_location_valid() bool frame::is_interpreted_frame() const { return zeroframe()->is_interpreter_frame(); +} + +bool frame::is_fake_stub_frame() const { + return zeroframe()->is_fake_stub_frame(); } frame frame::sender_for_entry_frame(RegisterMap *map) const { diff -r 1e3f9ece9b6b -r cdef2ad5c0ed ports/hotspot/src/cpu/zero/vm/frame_zero.hpp --- a/ports/hotspot/src/cpu/zero/vm/frame_zero.hpp Mon Apr 12 13:46:45 2010 +0200 +++ b/ports/hotspot/src/cpu/zero/vm/frame_zero.hpp Mon Apr 12 15:06:09 2010 +0200 @@ -65,6 +65,9 @@ } public: + bool is_fake_stub_frame() const; + + public: frame sender_for_nonentry_frame(RegisterMap* map) const; public: From xerxes at zafena.se Mon Apr 12 06:26:54 2010 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Mon, 12 Apr 2010 15:26:54 +0200 Subject: FYI: PR icedtea/459: shark do nothing on stub frame fix pushed Message-ID: <4BC31F9E.9090502@zafena.se> Hi all! I have pushed a fix for icedtea PR 459 to Icedtea6 head and icedtea6-1.8 release branch. http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=459 This fix got pushed to http://icedtea.classpath.org/hg/icedtea6/rev/221817e944c5 http://icedtea.classpath.org/hg/release/icedtea6-1.8/rev/cdef2ad5c0ed after review by gbenson on IRC. Cheers Xerxes From bugzilla-daemon at icedtea.classpath.org Mon Apr 12 06:28:00 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 12 Apr 2010 13:28:00 +0000 Subject: [Bug 459] shark test crashes on ia32 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=459 xerxes at zafena.se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |6-1.8 ------- Comment #3 from xerxes at zafena.se 2010-04-12 13:27 ------- Fix pushed to http://icedtea.classpath.org/hg/icedtea6/rev/221817e944c5 http://icedtea.classpath.org/hg/release/icedtea6-1.8/rev/cdef2ad5c0ed -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From dbhole at redhat.com Mon Apr 12 13:36:50 2010 From: dbhole at redhat.com (Deepak Bhole) Date: Mon, 12 Apr 2010 16:36:50 -0400 Subject: [patch] PR461: don't use the NSS provider bundled with the browser In-Reply-To: <4BC278C3.2050704@ubuntu.com> References: <4BC278C3.2050704@ubuntu.com> Message-ID: <20100412203650.GB4946@redhat.com> * Matthias Klose [2010-04-11 21:35]: > Seen this at least with firefox, would be nice if somebody could > check that for chromium as well. > > The firefox start script in MOZILLA_FIVE_HOME sets LD_LIBRARY_PATH > to include MOZILLA_FIVE_HOME and a number of subdirectories of > MOZILLA_FIVE_HOME. The current NSS provider code seems to honor > LD_LIBRARY_PATH, and loads the libnss3.so provided by the browser. > > Caused by: java.io.IOException: An incompatible version of NSS is > already loaded, 3.7 or later required > at sun.security.pkcs11.Secmod.isInitialized(Secmod.java:130) > at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:168) > > (wondering why the nss version shipped with firefox 3.6.3 identifies itself as 3.7). > > However the openjdk build is configured for the nss version > configured at build time, and you can run it with more than one > browser. > > My current solution/workaround is to pass a modified LD_LIBRARY_PATH > to the subprocess such that the libnss3.so which was configured at > build time is always used. > > Something like this, or another fix should go to the 1.8 branch as well. > > Matthias > There is a problem with the patch (see below). > @@ -1458,6 +1535,7 @@ > NPError error = NPERR_NO_ERROR; > > gchar** command_line; > + gchar** environment; > > if (plugin_debug) > { > @@ -1480,7 +1558,10 @@ > command_line[4] = NULL; > } > > - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, > + plugin_filter_environment(); > + > + if (!g_spawn_async (NULL, command_line, environment, > + (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, > NULL, NULL, &appletviewer_pid, &channel_error)) > { > if (channel_error) > @@ -1495,6 +1576,8 @@ > error = NPERR_GENERIC_ERROR; > } > > + g_strfreev (environment); > + > g_free (command_line[0]); Variable 'environment' is never set, but it is being used.. Cheers, Deepak > command_line[0] = NULL; > g_free (command_line[1]); From doko at ubuntu.com Mon Apr 12 13:52:33 2010 From: doko at ubuntu.com (Matthias Klose) Date: Mon, 12 Apr 2010 22:52:33 +0200 Subject: [patch] PR461: don't use the NSS provider bundled with the browser In-Reply-To: <20100412203650.GB4946@redhat.com> References: <4BC278C3.2050704@ubuntu.com> <20100412203650.GB4946@redhat.com> Message-ID: <4BC38811.8040207@ubuntu.com> On 12.04.2010 22:36, Deepak Bhole wrote: > There is a problem with the patch (see below). [...] sorry, sent an outdated version. updated patch attached Matthias -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: plugin.diff Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100412/e6cdacdc/plugin.diff From dbhole at redhat.com Mon Apr 12 13:54:49 2010 From: dbhole at redhat.com (Deepak Bhole) Date: Mon, 12 Apr 2010 16:54:49 -0400 Subject: [patch] PR461: don't use the NSS provider bundled with the browser In-Reply-To: <4BC38811.8040207@ubuntu.com> References: <4BC278C3.2050704@ubuntu.com> <20100412203650.GB4946@redhat.com> <4BC38811.8040207@ubuntu.com> Message-ID: <20100412205449.GC4946@redhat.com> * Matthias Klose [2010-04-12 16:53]: > On 12.04.2010 22:36, Deepak Bhole wrote: > > >There is a problem with the patch (see below). > [...] > > sorry, sent an outdated version. updated patch attached > > Matthias I tried the attached patch with upstream Firefox 3.6.3 and the exception no longer shows up. Chromium appears to work fine as well. Please go ahead and commit. Cheers, Deepak > 2010-04-12 Matthias Klose > > PR icedtea/461 > * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_filter_ld_library_path): > New, filter out paths in LD_LIBRARY_PATH which start with > MOZILLA_FIVE_HOME. > (plugin_filter_environment): New, build environment to pass to the > appletviewer process. > (plugin_test_appletviewer, plugin_start_appletviewer): Start the new > process with the filtered environment. > > diff -r 96b7c3d81af1 plugin/icedteanp/IcedTeaNPPlugin.cc > --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 13:40:58 2010 +0200 > +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:22:24 2010 +0200 > @@ -1412,6 +1412,78 @@ > return FALSE; > } > > +// remove all components from LD_LIBRARY_PATH, which start with > +// MOZILLA_FIVE_HOME; firefox has its own NSS based security provider, > +// which conflicts with the one configured in nss.cfg. > +static gchar* > +plugin_filter_ld_library_path(gchar *path_old) > +{ > + gchar *moz_home = g_strdup (g_getenv ("MOZILLA_FIVE_HOME")); > + gchar *moz_prefix; > + gchar *path_new; > + gchar** components; > + int i1, i2; > + > + if (moz_home == NULL || path_old == NULL || strlen (path_old) == 0) > + return path_old; > + if (g_str_has_suffix (moz_home, "/")) > + moz_home[strlen (moz_home - 1)] = '\0'; > + moz_prefix = g_strconcat (moz_home, "/", NULL); > + > + components = g_strsplit (path_old, ":", -1); > + for (i1 = 0, i2 = 0; components[i1] != NULL; i1++) > + { > + if (g_strcmp0 (components[i1], moz_home) == 0 > + || g_str_has_prefix (components[i1], moz_home)) > + components[i2] = components[i1]; > + else > + components[i2++] = components[i1]; > + } > + components[i2] = NULL; > + > + if (i1 > i2) > + path_new = g_strjoinv (":", components); > + g_strfreev (components); > + g_free (moz_home); > + g_free (moz_prefix); > + g_free (path_old); > + > + if (path_new == NULL || strlen (path_new) == 0) > + { > + PLUGIN_DEBUG_0ARG("Unset LD_LIBRARY_PATH\n"); > + return NULL; > + } > + else > + { > + PLUGIN_DEBUG_1ARG ("Set LD_LIBRARY_PATH: %s\n", path_new); > + return path_new; > + } > +} > + > +// build the environment to pass to the external plugin process > +static gchar** > +plugin_filter_environment(void) > +{ > + gchar **var_names = g_listenv(); > + gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names)); > + int i_var, i_env; > + > + for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++) > + { > + gchar *env_value = g_strdup (g_getenv (var_names[i_var])); > + > + if (g_str_has_prefix (var_names[i_var], "LD_LIBRARY_PATH")) > + env_value = plugin_filter_ld_library_path (env_value); > + if (env_value != NULL) > + { > + new_env[i_env++] = g_strdup_printf ("%s=%s", var_names[i_var], env_value); > + g_free (env_value); > + } > + } > + new_env[i_env] = NULL; > + return new_env; > +} > + > static NPError > plugin_test_appletviewer () > { > @@ -1419,13 +1491,16 @@ > NPError error = NPERR_NO_ERROR; > > gchar* command_line[3] = { NULL, NULL, NULL }; > + gchar** environment; > > command_line[0] = g_strdup (appletviewer_executable); > command_line[1] = g_strdup("-version"); > command_line[2] = NULL; > > + environment = plugin_filter_environment(); > > - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) 0, > + if (!g_spawn_async (NULL, command_line, environment, > + (GSpawnFlags) 0, > NULL, NULL, NULL, &channel_error)) > { > if (channel_error) > @@ -1440,6 +1515,8 @@ > error = NPERR_GENERIC_ERROR; > } > > + g_strfreev (environment); > + > g_free (command_line[0]); > command_line[0] = NULL; > g_free (command_line[1]); > @@ -1458,6 +1535,7 @@ > NPError error = NPERR_NO_ERROR; > > gchar** command_line; > + gchar** environment; > > if (plugin_debug) > { > @@ -1480,7 +1558,10 @@ > command_line[4] = NULL; > } > > - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, > + environment = plugin_filter_environment(); > + > + if (!g_spawn_async (NULL, command_line, environment, > + (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, > NULL, NULL, &appletviewer_pid, &channel_error)) > { > if (channel_error) > @@ -1495,6 +1576,8 @@ > error = NPERR_GENERIC_ERROR; > } > > + g_strfreev (environment); > + > g_free (command_line[0]); > command_line[0] = NULL; > g_free (command_line[1]); From doko at icedtea.classpath.org Mon Apr 12 14:04:21 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Mon, 12 Apr 2010 21:04:21 +0000 Subject: /hg/icedtea6: Fix PR icedtea/461, plugin working for NSS enabled... Message-ID: changeset 4e82b3353fad in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=4e82b3353fad author: doko at ubuntu.com date: Mon Apr 12 22:37:35 2010 +0200 Fix PR icedtea/461, plugin working for NSS enabled builds working together with firefox including a private NSS copy 2010-04-12 Matthias Klose PR icedtea/461 * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_filter_ld_library_path): New, filter out paths in LD_LIBRARY_PATH which start with MOZILLA_FIVE_HOME. (plugin_filter_environment): New, build environment to pass to the appletviewer process. (plugin_test_appletviewer, plugin_start_appletviewer): Start the new process with the filtered environment. diffstat: 2 files changed, 96 insertions(+), 2 deletions(-) ChangeLog | 11 ++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 87 ++++++++++++++++++++++++++++++++++- diffs (156 lines): diff -r 221817e944c5 -r 4e82b3353fad ChangeLog --- a/ChangeLog Mon Apr 12 15:06:09 2010 +0200 +++ b/ChangeLog Mon Apr 12 22:37:35 2010 +0200 @@ -1,3 +1,14 @@ 2010-04-12 Xerxes R??nby + + PR icedtea/461 + * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_filter_ld_library_path): + New, filter out paths in LD_LIBRARY_PATH which start with + MOZILLA_FIVE_HOME. + (plugin_filter_environment): New, build environment to pass to the + appletviewer process. + (plugin_test_appletviewer, plugin_start_appletviewer): Start the new + process with the filtered environment. + 2010-04-12 Xerxes R??nby PR icedtea/459: diff -r 221817e944c5 -r 4e82b3353fad plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 15:06:09 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:37:35 2010 +0200 @@ -1412,6 +1412,78 @@ plugin_out_pipe_callback (GIOChannel* so return FALSE; } +// remove all components from LD_LIBRARY_PATH, which start with +// MOZILLA_FIVE_HOME; firefox has its own NSS based security provider, +// which conflicts with the one configured in nss.cfg. +static gchar* +plugin_filter_ld_library_path(gchar *path_old) +{ + gchar *moz_home = g_strdup (g_getenv ("MOZILLA_FIVE_HOME")); + gchar *moz_prefix; + gchar *path_new; + gchar** components; + int i1, i2; + + if (moz_home == NULL || path_old == NULL || strlen (path_old) == 0) + return path_old; + if (g_str_has_suffix (moz_home, "/")) + moz_home[strlen (moz_home - 1)] = '\0'; + moz_prefix = g_strconcat (moz_home, "/", NULL); + + components = g_strsplit (path_old, ":", -1); + for (i1 = 0, i2 = 0; components[i1] != NULL; i1++) + { + if (g_strcmp0 (components[i1], moz_home) == 0 + || g_str_has_prefix (components[i1], moz_home)) + components[i2] = components[i1]; + else + components[i2++] = components[i1]; + } + components[i2] = NULL; + + if (i1 > i2) + path_new = g_strjoinv (":", components); + g_strfreev (components); + g_free (moz_home); + g_free (moz_prefix); + g_free (path_old); + + if (path_new == NULL || strlen (path_new) == 0) + { + PLUGIN_DEBUG_0ARG("Unset LD_LIBRARY_PATH\n"); + return NULL; + } + else + { + PLUGIN_DEBUG_1ARG ("Set LD_LIBRARY_PATH: %s\n", path_new); + return path_new; + } +} + +// build the environment to pass to the external plugin process +static gchar** +plugin_filter_environment(void) +{ + gchar **var_names = g_listenv(); + gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names)); + int i_var, i_env; + + for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++) + { + gchar *env_value = g_strdup (g_getenv (var_names[i_var])); + + if (g_str_has_prefix (var_names[i_var], "LD_LIBRARY_PATH")) + env_value = plugin_filter_ld_library_path (env_value); + if (env_value != NULL) + { + new_env[i_env++] = g_strdup_printf ("%s=%s", var_names[i_var], env_value); + g_free (env_value); + } + } + new_env[i_env] = NULL; + return new_env; +} + static NPError plugin_test_appletviewer () { @@ -1419,13 +1491,16 @@ plugin_test_appletviewer () NPError error = NPERR_NO_ERROR; gchar* command_line[3] = { NULL, NULL, NULL }; + gchar** environment; command_line[0] = g_strdup (appletviewer_executable); command_line[1] = g_strdup("-version"); command_line[2] = NULL; + environment = plugin_filter_environment(); - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) 0, + if (!g_spawn_async (NULL, command_line, environment, + (GSpawnFlags) 0, NULL, NULL, NULL, &channel_error)) { if (channel_error) @@ -1439,6 +1514,8 @@ plugin_test_appletviewer () PLUGIN_ERROR ("Failed to spawn applet viewer"); error = NPERR_GENERIC_ERROR; } + + g_strfreev (environment); g_free (command_line[0]); command_line[0] = NULL; @@ -1458,6 +1535,7 @@ plugin_start_appletviewer (ITNPPluginDat NPError error = NPERR_NO_ERROR; gchar** command_line; + gchar** environment; if (plugin_debug) { @@ -1480,7 +1558,10 @@ plugin_start_appletviewer (ITNPPluginDat command_line[4] = NULL; } - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, + environment = plugin_filter_environment(); + + if (!g_spawn_async (NULL, command_line, environment, + (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &appletviewer_pid, &channel_error)) { if (channel_error) @@ -1494,6 +1575,8 @@ plugin_start_appletviewer (ITNPPluginDat PLUGIN_ERROR ("Failed to spawn applet viewer"); error = NPERR_GENERIC_ERROR; } + + g_strfreev (environment); g_free (command_line[0]); command_line[0] = NULL; From doko at icedtea.classpath.org Mon Apr 12 14:07:00 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Mon, 12 Apr 2010 21:07:00 +0000 Subject: /hg/release/icedtea6-1.8: Fix PR icedtea/461, plugin working for... Message-ID: changeset 0a24b64134e6 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=0a24b64134e6 author: doko at ubuntu.com date: Mon Apr 12 22:40:15 2010 +0200 Fix PR icedtea/461, plugin working for NSS enabled builds working together with firefox including a private NSS copy 2010-04-12 Matthias Klose PR icedtea/461 * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_filter_ld_library_path): New, filter out paths in LD_LIBRARY_PATH which start with MOZILLA_FIVE_HOME. (plugin_filter_environment): New, build environment to pass to the appletviewer process. (plugin_test_appletviewer, plugin_start_appletviewer): Start the new process with the filtered environment. diffstat: 2 files changed, 96 insertions(+), 2 deletions(-) ChangeLog | 11 ++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 87 ++++++++++++++++++++++++++++++++++- diffs (156 lines): diff -r cdef2ad5c0ed -r 0a24b64134e6 ChangeLog --- a/ChangeLog Mon Apr 12 15:06:09 2010 +0200 +++ b/ChangeLog Mon Apr 12 22:40:15 2010 +0200 @@ -1,3 +1,14 @@ 2010-04-12 Xerxes R??nby + + PR icedtea/461 + * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_filter_ld_library_path): + New, filter out paths in LD_LIBRARY_PATH which start with + MOZILLA_FIVE_HOME. + (plugin_filter_environment): New, build environment to pass to the + appletviewer process. + (plugin_test_appletviewer, plugin_start_appletviewer): Start the new + process with the filtered environment. + 2010-04-12 Xerxes R??nby PR icedtea/459: diff -r cdef2ad5c0ed -r 0a24b64134e6 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 15:06:09 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:40:15 2010 +0200 @@ -1412,6 +1412,78 @@ plugin_out_pipe_callback (GIOChannel* so return FALSE; } +// remove all components from LD_LIBRARY_PATH, which start with +// MOZILLA_FIVE_HOME; firefox has its own NSS based security provider, +// which conflicts with the one configured in nss.cfg. +static gchar* +plugin_filter_ld_library_path(gchar *path_old) +{ + gchar *moz_home = g_strdup (g_getenv ("MOZILLA_FIVE_HOME")); + gchar *moz_prefix; + gchar *path_new; + gchar** components; + int i1, i2; + + if (moz_home == NULL || path_old == NULL || strlen (path_old) == 0) + return path_old; + if (g_str_has_suffix (moz_home, "/")) + moz_home[strlen (moz_home - 1)] = '\0'; + moz_prefix = g_strconcat (moz_home, "/", NULL); + + components = g_strsplit (path_old, ":", -1); + for (i1 = 0, i2 = 0; components[i1] != NULL; i1++) + { + if (g_strcmp0 (components[i1], moz_home) == 0 + || g_str_has_prefix (components[i1], moz_home)) + components[i2] = components[i1]; + else + components[i2++] = components[i1]; + } + components[i2] = NULL; + + if (i1 > i2) + path_new = g_strjoinv (":", components); + g_strfreev (components); + g_free (moz_home); + g_free (moz_prefix); + g_free (path_old); + + if (path_new == NULL || strlen (path_new) == 0) + { + PLUGIN_DEBUG_0ARG("Unset LD_LIBRARY_PATH\n"); + return NULL; + } + else + { + PLUGIN_DEBUG_1ARG ("Set LD_LIBRARY_PATH: %s\n", path_new); + return path_new; + } +} + +// build the environment to pass to the external plugin process +static gchar** +plugin_filter_environment(void) +{ + gchar **var_names = g_listenv(); + gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names)); + int i_var, i_env; + + for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++) + { + gchar *env_value = g_strdup (g_getenv (var_names[i_var])); + + if (g_str_has_prefix (var_names[i_var], "LD_LIBRARY_PATH")) + env_value = plugin_filter_ld_library_path (env_value); + if (env_value != NULL) + { + new_env[i_env++] = g_strdup_printf ("%s=%s", var_names[i_var], env_value); + g_free (env_value); + } + } + new_env[i_env] = NULL; + return new_env; +} + static NPError plugin_test_appletviewer () { @@ -1419,13 +1491,16 @@ plugin_test_appletviewer () NPError error = NPERR_NO_ERROR; gchar* command_line[3] = { NULL, NULL, NULL }; + gchar** environment; command_line[0] = g_strdup (appletviewer_executable); command_line[1] = g_strdup("-version"); command_line[2] = NULL; + environment = plugin_filter_environment(); - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) 0, + if (!g_spawn_async (NULL, command_line, environment, + (GSpawnFlags) 0, NULL, NULL, NULL, &channel_error)) { if (channel_error) @@ -1439,6 +1514,8 @@ plugin_test_appletviewer () PLUGIN_ERROR ("Failed to spawn applet viewer"); error = NPERR_GENERIC_ERROR; } + + g_strfreev (environment); g_free (command_line[0]); command_line[0] = NULL; @@ -1458,6 +1535,7 @@ plugin_start_appletviewer (ITNPPluginDat NPError error = NPERR_NO_ERROR; gchar** command_line; + gchar** environment; if (plugin_debug) { @@ -1480,7 +1558,10 @@ plugin_start_appletviewer (ITNPPluginDat command_line[4] = NULL; } - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, + environment = plugin_filter_environment(); + + if (!g_spawn_async (NULL, command_line, environment, + (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &appletviewer_pid, &channel_error)) { if (channel_error) @@ -1494,6 +1575,8 @@ plugin_start_appletviewer (ITNPPluginDat PLUGIN_ERROR ("Failed to spawn applet viewer"); error = NPERR_GENERIC_ERROR; } + + g_strfreev (environment); g_free (command_line[0]); command_line[0] = NULL; From dbhole at icedtea.classpath.org Mon Apr 12 14:20:57 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Mon, 12 Apr 2010 21:20:57 +0000 Subject: /hg/icedtea6: Removed unncessary debug and trace output Message-ID: changeset 0ddddd13801c in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=0ddddd13801c author: Deepak Bhole date: Mon Apr 12 17:20:51 2010 -0400 Removed unncessary debug and trace output diffstat: 3 files changed, 13 insertions(+), 6 deletions(-) ChangeLog | 8 ++++++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 1 - plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 10 +++++----- diffs (74 lines): diff -r 4e82b3353fad -r 0ddddd13801c ChangeLog --- a/ChangeLog Mon Apr 12 22:37:35 2010 +0200 +++ b/ChangeLog Mon Apr 12 17:20:51 2010 -0400 @@ -1,3 +1,11 @@ 2010-04-12 Matthias Klose + + * plugin/icedteanp/IcedTeaNPPlugin.cc (ITNP_New): Removed debug printf + statement that didn't belong there. + * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java + (createPanel): Don't print stack traces on InterruptedException. + (handleMessage): Same. + 2010-04-12 Matthias Klose PR icedtea/461 diff -r 4e82b3353fad -r 0ddddd13801c plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:37:35 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 17:20:51 2010 -0400 @@ -269,7 +269,6 @@ ITNP_New (NPMIMEType pluginType, NPP ins NPVariant member_ptr; browser_functions.getvalue(instance, NPNVWindowNPObject, &window_ptr); identifier = browser_functions.getstringidentifier("document"); - printf("Looking for %p %p %p (%s)\n", instance, window_ptr, identifier, "document"); if (!browser_functions.hasproperty(instance, window_ptr, identifier)) { printf("%s not found!\n", "document"); diff -r 4e82b3353fad -r 0ddddd13801c plugin/icedteanp/java/sun/applet/PluginAppletViewer.java --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 22:37:35 2010 +0200 +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 17:20:51 2010 -0400 @@ -184,7 +184,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -196,7 +196,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -629,7 +629,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -674,7 +674,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -747,7 +747,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } From andrew at icedtea.classpath.org Mon Apr 12 14:28:08 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 12 Apr 2010 21:28:08 +0000 Subject: /hg/icedtea6: 3 new changesets Message-ID: changeset e525579f0bf2 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=e525579f0bf2 author: Andrew John Hughes date: Mon Apr 12 22:03:18 2010 +0100 Improve debugging when using NSS provider. 2010-04-12 Andrew John Hughes * Makefile.am: Add patch below. * patches/nss-debug.patch: Improve debugging output from NSS provider. http://mail.openjdk.java.net/pipermail/security- dev/2010-April/001771.html changeset 892500737c11 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=892500737c11 author: Andrew John Hughes date: Mon Apr 12 22:26:57 2010 +0100 PR icedtea/373: Don't try to load MToolkit when specified via environment variable or property. 2010-04-12 Andrew John Hughes PR icedtea/373 * Makefile.am: Add patch below. * patches/icedtea-nomotif-mtoolkit.patch: Backported change from OpenJDK (pre-b24). changeset e26a587c0236 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=e26a587c0236 author: Andrew John Hughes date: Mon Apr 12 22:27:59 2010 +0100 Merge diffstat: 6 files changed, 350 insertions(+), 9 deletions(-) ChangeLog | 33 ++ Makefile.am | 4 patches/icedtea-nomotif-mtoolkit.patch | 168 ++++++++++++++ patches/nss-debug.patch | 56 ++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 88 +++++++ plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 10 diffs (487 lines): diff -r 221817e944c5 -r e26a587c0236 ChangeLog --- a/ChangeLog Mon Apr 12 15:06:09 2010 +0200 +++ b/ChangeLog Mon Apr 12 22:27:59 2010 +0100 @@ -1,3 +1,36 @@ 2010-04-12 Xerxes R??nby + + PR icedtea/373 + * Makefile.am: Add patch below. + * patches/icedtea-nomotif-mtoolkit.patch: + Backported change from OpenJDK (pre-b24). + +2010-04-12 Deepak Bhole + + * plugin/icedteanp/IcedTeaNPPlugin.cc (ITNP_New): Removed debug printf + statement that didn't belong there. + * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java + (createPanel): Don't print stack traces on InterruptedException. + (handleMessage): Same. + +2010-04-12 Andrew John Hughes + + * Makefile.am: Add patch below. + * patches/nss-debug.patch: + Improve debugging output from NSS provider. + http://mail.openjdk.java.net/pipermail/security-dev/2010-April/001771.html + +2010-04-12 Matthias Klose + + PR icedtea/461 + * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_filter_ld_library_path): + New, filter out paths in LD_LIBRARY_PATH which start with + MOZILLA_FIVE_HOME. + (plugin_filter_environment): New, build environment to pass to the + appletviewer process. + (plugin_test_appletviewer, plugin_start_appletviewer): Start the new + process with the filtered environment. + 2010-04-12 Xerxes R??nby PR icedtea/459: diff -r 221817e944c5 -r e26a587c0236 Makefile.am --- a/Makefile.am Mon Apr 12 15:06:09 2010 +0200 +++ b/Makefile.am Mon Apr 12 22:27:59 2010 +0100 @@ -264,6 +264,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-shark-build-hotspot.patch \ patches/icedtea-nomotif-6706121.patch \ patches/icedtea-nomotif.patch \ + patches/icedtea-nomotif-mtoolkit.patch \ patches/icedtea-alpha-fixes.patch \ patches/icedtea-alt-jar.patch \ patches/icedtea-jdk-use-ssize_t.patch \ @@ -337,7 +338,8 @@ ICEDTEA_PATCHES = \ patches/security/20100330/6914823.patch \ patches/security/20100330/6914866.patch \ patches/security/20100330/6932480.patch \ - patches/icedtea-nss-6763530.patch + patches/icedtea-nss-6763530.patch \ + patches/nss-debug.patch if WITH_RHINO ICEDTEA_PATCHES += \ diff -r 221817e944c5 -r e26a587c0236 patches/icedtea-nomotif-mtoolkit.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-nomotif-mtoolkit.patch Mon Apr 12 22:27:59 2010 +0100 @@ -0,0 +1,168 @@ +--- openjdk.orig/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c 2009-11-23 13:06:29.271625283 +0000 ++++ openjdk/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c 2010-01-15 15:31:25.577635803 +0000 +@@ -81,7 +81,6 @@ + int32_t len; + char *p; + JNI_OnLoad_type *JNI_OnLoad_ptr; +- int32_t motifVersion = 2; + struct utsname name; + JNIEnv *env = (JNIEnv *)JNU_GetEnv(vm, JNI_VERSION_1_2); + void *v; +@@ -106,7 +105,7 @@ + + /* + * The code below is responsible for: +- * 1. Loading appropriate awt library, i.e. motif/libmawt, xawt/libmawt or headless/libwawt ++ * 1. Loading appropriate awt library, i.e. xawt/libmawt or headless/libwawt + * 2. Setting "awt.toolkit" system property to use the appropriate Java toolkit class, + * (if user has specified the toolkit in env varialble) + */ +@@ -115,10 +114,7 @@ + /* Check if toolkit is specified in env variable */ + envvar = getenv("AWT_TOOLKIT"); + if (envvar) { +- if (strstr(envvar, "MToolkit")) { +- toolkit = (*env)->NewStringUTF(env, "sun.awt.motif.MToolkit"); +- } +- else if (strstr(envvar, "XToolkit")) { ++ if (strstr(envvar, "XToolkit")) { + toolkit = (*env)->NewStringUTF(env, "sun.awt.X11.XToolkit"); + } + /* If user specified toolkit then set java system property */ +@@ -136,128 +132,15 @@ + if (AWTIsHeadless()) { + strcpy(p, "/headless/libmawt"); + } else { +- /* Try java system property */ +- if (!toolkit && propname) { +- toolkit = JNU_CallStaticMethodByName (env, +- NULL, +- "java/lang/System", +- "getProperty", +- "(Ljava/lang/String;)Ljava/lang/String;", +- propname).l; +- } +- +- /* Calculate kind of toolkit */ +- if (toolkit) { +- const char* toolkit_name = (*env)->GetStringUTFChars(env, toolkit, 0); +- if (strstr(toolkit_name,"MToolkit")) { +- XAWT = 0; +- } else { +- XAWT = 1; +- } +- if (toolkit_name) { +- (*env)->ReleaseStringUTFChars(env, toolkit, toolkit_name); +- } +- } else { +- /* Default AWT Toolkit on Linux and Solaris is XAWT. */ +- XAWT = 1; +- } +- +- /* Find loaded Motif version and if Xt is loaded */ +- if (!XAWT) { +- /* Has a Motif library been loaded already, e.g. by an application +- * embedding java? Netscape plugin? +- */ +- +- v = dlsym(RTLD_DEFAULT, "vendorShellWidgetClass"); +- if (v != NULL && dladdr(v, &dlinfo)) { +- +- /* +- * If we are picking up the vendorShellWigetClass from libXt +- * instead of libXm (it exists in both), then we are very stuck. +- * Abort. +- */ +- if (strstr(dlinfo.dli_fname, "libXt.so") != NULL) { +- xt_before_xm = 1; +- } +- +- if (strstr(dlinfo.dli_fname, "libXm.so.3") != NULL) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "Motif 1.2 detected, using that.\n"); +-#endif +- motifVersion = 1; +- } +- else if (strstr(dlinfo.dli_fname, "libXm.so.4") != NULL) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "Motif 2.1 detected, using that.\n"); +-#endif +- motifVersion = 2; +- } +- } +- +- /* Determine desired Motif Version, and set appropriate properties +- * to load the correct version of libmawt.so +- */ +- else { +- uname(&name); +- +- if ((strcmp(name.release, "5.5.1") == 0) || +- (strcmp(name.release, "5.6") == 0)) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "default to Motif 1.2, os is: %s\n",name.release); +-#endif +- motifVersion = 1; +- } else { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "default to Motif 2.1, os is: %s\n",name.release); +-#endif +- motifVersion = 2; +- } +- if (getenv("_JAVA_AWT_USE_MOTIF_1_2")) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr,"_JAVA_AWT_USE_MOTIF_1_2 is set, using Motif 1.2\n"); +-#endif +- motifVersion = 1; +- } else if (getenv("_JAVA_AWT_USE_MOTIF_2_1")) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr,"_JAVA_AWT_USE_MOTIF_2_1 is set, using Motif 2.1\n"); +-#endif +- motifVersion = 2; +- } +- } +- } +- +- /* Update library name */ +- if (toolkit) { +- const char* toolkit_name = (*env)->GetStringUTFChars(env, toolkit, 0); +- if (strstr(toolkit_name,"MToolkit")) { +- strcpy(p, (motifVersion != 1) ? "/motif21/libmawt" : "/motif12/libmawt"); +- } +- else { +- strcpy(p, "/xawt/libmawt"); +- } +- if (toolkit_name) { +- (*env)->ReleaseStringUTFChars(env, toolkit, toolkit_name); +- } +- } +- else { +- /* Default AWT Toolkit on Linux and Solaris is XAWT. */ +- strcpy(p, "/xawt/libmawt"); +- } ++ /* Default AWT Toolkit on Linux and Solaris is XAWT. */ ++ strcpy(p, "/xawt/libmawt"); ++ } + +- if (toolkit) { +- (*env)->DeleteLocalRef(env, toolkit); +- } +- if (propname) { +- (*env)->DeleteLocalRef(env, propname); +- } +- if (xt_before_xm && !XAWT) { +- fprintf(stderr, "\nRuntime link error - it appears that " +- "libXt got loaded before libXm,\n" +- "which is not allowed.\n"); +- JNU_ThrowByName(env, "java/lang/InternalError", +- "libXt loaded before libXm"); +- return JNI_VERSION_1_2; +- } ++ if (toolkit) { ++ (*env)->DeleteLocalRef(env, toolkit); ++ } ++ if (propname) { ++ (*env)->DeleteLocalRef(env, propname); + } + + strcat(p, ".so"); diff -r 221817e944c5 -r e26a587c0236 patches/nss-debug.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/nss-debug.patch Mon Apr 12 22:27:59 2010 +0100 @@ -0,0 +1,56 @@ +diff -r 5b407bce9940 src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java +--- openjdk.orig/jdk/src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java Fri Apr 09 01:08:35 2010 +0100 ++++ openjdk/jdk/src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java Mon Apr 12 20:55:39 2010 +0100 +@@ -148,6 +148,7 @@ + 0x00000115, + 0x00000120, + 0x00000121, ++ 0x00000130, + 0x00000150, + 0x00000160, + 0x00000170, +@@ -156,6 +157,7 @@ + 0x00000191, + 0x000001A0, + 0x000001A1, ++ 0x00000200, + 0x80000000, + }; + String[] errorMessages = new String[] { +@@ -234,6 +236,7 @@ + "CKR_WRAPPING_KEY_TYPE_INCONSISTENT", + "CKR_RANDOM_SEED_NOT_SUPPORTED", + "CKR_RANDOM_NO_RNG", ++ "CKR_DOMAIN_PARAMS_INVALID", + "CKR_BUFFER_TOO_SMALL", + "CKR_SAVED_STATE_INVALID", + "CKR_INFORMATION_SENSITIVE", +@@ -242,6 +245,7 @@ + "CKR_CRYPTOKI_ALREADY_INITIALIZED", + "CKR_MUTEX_BAD", + "CKR_MUTEX_NOT_LOCKED", ++ "CKR_FUNCTION_REJECTED", + "CKR_VENDOR_DEFINED", + }; + errorMap = new HashMap(); +diff -r 5b407bce9940 src/share/classes/sun/security/x509/X509Key.java +--- openjdk.orig/jdk/src/share/classes/sun/security/x509/X509Key.java Fri Apr 09 01:08:35 2010 +0100 ++++ openjdk/jdk/src/share/classes/sun/security/x509/X509Key.java Mon Apr 12 20:55:39 2010 +0100 +@@ -171,7 +171,7 @@ + in.data.getUnalignedBitString()); + + } catch (InvalidKeyException e) { +- throw new IOException("subject key, " + e.getMessage()); ++ throw new IOException("subject key, " + e.getMessage(), e); + } + + if (in.data.available() != 0) +@@ -224,7 +224,7 @@ + } catch (NoSuchAlgorithmException e) { + // Return generic X509Key with opaque key data (see below) + } catch (InvalidKeySpecException e) { +- throw new InvalidKeyException(e.getMessage()); ++ throw new InvalidKeyException(e.getMessage(), e); + } + + /* diff -r 221817e944c5 -r e26a587c0236 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 15:06:09 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:27:59 2010 +0100 @@ -269,7 +269,6 @@ ITNP_New (NPMIMEType pluginType, NPP ins NPVariant member_ptr; browser_functions.getvalue(instance, NPNVWindowNPObject, &window_ptr); identifier = browser_functions.getstringidentifier("document"); - printf("Looking for %p %p %p (%s)\n", instance, window_ptr, identifier, "document"); if (!browser_functions.hasproperty(instance, window_ptr, identifier)) { printf("%s not found!\n", "document"); @@ -1412,6 +1411,78 @@ plugin_out_pipe_callback (GIOChannel* so return FALSE; } +// remove all components from LD_LIBRARY_PATH, which start with +// MOZILLA_FIVE_HOME; firefox has its own NSS based security provider, +// which conflicts with the one configured in nss.cfg. +static gchar* +plugin_filter_ld_library_path(gchar *path_old) +{ + gchar *moz_home = g_strdup (g_getenv ("MOZILLA_FIVE_HOME")); + gchar *moz_prefix; + gchar *path_new; + gchar** components; + int i1, i2; + + if (moz_home == NULL || path_old == NULL || strlen (path_old) == 0) + return path_old; + if (g_str_has_suffix (moz_home, "/")) + moz_home[strlen (moz_home - 1)] = '\0'; + moz_prefix = g_strconcat (moz_home, "/", NULL); + + components = g_strsplit (path_old, ":", -1); + for (i1 = 0, i2 = 0; components[i1] != NULL; i1++) + { + if (g_strcmp0 (components[i1], moz_home) == 0 + || g_str_has_prefix (components[i1], moz_home)) + components[i2] = components[i1]; + else + components[i2++] = components[i1]; + } + components[i2] = NULL; + + if (i1 > i2) + path_new = g_strjoinv (":", components); + g_strfreev (components); + g_free (moz_home); + g_free (moz_prefix); + g_free (path_old); + + if (path_new == NULL || strlen (path_new) == 0) + { + PLUGIN_DEBUG_0ARG("Unset LD_LIBRARY_PATH\n"); + return NULL; + } + else + { + PLUGIN_DEBUG_1ARG ("Set LD_LIBRARY_PATH: %s\n", path_new); + return path_new; + } +} + +// build the environment to pass to the external plugin process +static gchar** +plugin_filter_environment(void) +{ + gchar **var_names = g_listenv(); + gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names)); + int i_var, i_env; + + for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++) + { + gchar *env_value = g_strdup (g_getenv (var_names[i_var])); + + if (g_str_has_prefix (var_names[i_var], "LD_LIBRARY_PATH")) + env_value = plugin_filter_ld_library_path (env_value); + if (env_value != NULL) + { + new_env[i_env++] = g_strdup_printf ("%s=%s", var_names[i_var], env_value); + g_free (env_value); + } + } + new_env[i_env] = NULL; + return new_env; +} + static NPError plugin_test_appletviewer () { @@ -1419,13 +1490,16 @@ plugin_test_appletviewer () NPError error = NPERR_NO_ERROR; gchar* command_line[3] = { NULL, NULL, NULL }; + gchar** environment; command_line[0] = g_strdup (appletviewer_executable); command_line[1] = g_strdup("-version"); command_line[2] = NULL; + environment = plugin_filter_environment(); - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) 0, + if (!g_spawn_async (NULL, command_line, environment, + (GSpawnFlags) 0, NULL, NULL, NULL, &channel_error)) { if (channel_error) @@ -1439,6 +1513,8 @@ plugin_test_appletviewer () PLUGIN_ERROR ("Failed to spawn applet viewer"); error = NPERR_GENERIC_ERROR; } + + g_strfreev (environment); g_free (command_line[0]); command_line[0] = NULL; @@ -1458,6 +1534,7 @@ plugin_start_appletviewer (ITNPPluginDat NPError error = NPERR_NO_ERROR; gchar** command_line; + gchar** environment; if (plugin_debug) { @@ -1480,7 +1557,10 @@ plugin_start_appletviewer (ITNPPluginDat command_line[4] = NULL; } - if (!g_spawn_async (NULL, command_line, NULL, (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, + environment = plugin_filter_environment(); + + if (!g_spawn_async (NULL, command_line, environment, + (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &appletviewer_pid, &channel_error)) { if (channel_error) @@ -1494,6 +1574,8 @@ plugin_start_appletviewer (ITNPPluginDat PLUGIN_ERROR ("Failed to spawn applet viewer"); error = NPERR_GENERIC_ERROR; } + + g_strfreev (environment); g_free (command_line[0]); command_line[0] = NULL; diff -r 221817e944c5 -r e26a587c0236 plugin/icedteanp/java/sun/applet/PluginAppletViewer.java --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 15:06:09 2010 +0200 +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 22:27:59 2010 +0100 @@ -184,7 +184,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -196,7 +196,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -629,7 +629,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -674,7 +674,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -747,7 +747,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } From dbhole at icedtea.classpath.org Mon Apr 12 14:30:24 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Mon, 12 Apr 2010 21:30:24 +0000 Subject: /hg/release/icedtea6-1.8: Removed unncessary debug and trace output Message-ID: changeset d28780c35948 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=d28780c35948 author: Deepak Bhole date: Mon Apr 12 17:20:51 2010 -0400 Removed unncessary debug and trace output diffstat: 3 files changed, 13 insertions(+), 6 deletions(-) ChangeLog | 8 ++++++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 1 - plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 10 +++++----- diffs (74 lines): diff -r 0a24b64134e6 -r d28780c35948 ChangeLog --- a/ChangeLog Mon Apr 12 22:40:15 2010 +0200 +++ b/ChangeLog Mon Apr 12 17:20:51 2010 -0400 @@ -1,3 +1,11 @@ 2010-04-12 Matthias Klose + + * plugin/icedteanp/IcedTeaNPPlugin.cc (ITNP_New): Removed debug printf + statement that didn't belong there. + * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java + (createPanel): Don't print stack traces on InterruptedException. + (handleMessage): Same. + 2010-04-12 Matthias Klose PR icedtea/461 diff -r 0a24b64134e6 -r d28780c35948 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:40:15 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 17:20:51 2010 -0400 @@ -269,7 +269,6 @@ ITNP_New (NPMIMEType pluginType, NPP ins NPVariant member_ptr; browser_functions.getvalue(instance, NPNVWindowNPObject, &window_ptr); identifier = browser_functions.getstringidentifier("document"); - printf("Looking for %p %p %p (%s)\n", instance, window_ptr, identifier, "document"); if (!browser_functions.hasproperty(instance, window_ptr, identifier)) { printf("%s not found!\n", "document"); diff -r 0a24b64134e6 -r d28780c35948 plugin/icedteanp/java/sun/applet/PluginAppletViewer.java --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 22:40:15 2010 +0200 +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 17:20:51 2010 -0400 @@ -184,7 +184,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -196,7 +196,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -629,7 +629,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -674,7 +674,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -747,7 +747,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } From andrew at icedtea.classpath.org Mon Apr 12 14:34:38 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 12 Apr 2010 21:34:38 +0000 Subject: /hg/release/icedtea6-1.8: 4 new changesets Message-ID: changeset e7fe4f5d9b69 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=e7fe4f5d9b69 author: Andrew John Hughes date: Mon Apr 12 22:32:10 2010 +0100 Move NSS patch to main patch block. 2010-04-12 Andrew John Hughes * Makefile.am: Make NSS patch to main block as it's now applied unconditionally. changeset 0ef62fc085a9 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=0ef62fc085a9 author: Andrew John Hughes date: Mon Apr 12 22:33:02 2010 +0100 Improve debugging when using NSS provider. 2010-04-12 Andrew John Hughes * Makefile.am: Add patch below. * patches/nss-debug.patch: Improve debugging output from NSS provider. http://mail.openjdk.java.net/pipermail/security- dev/2010-April/001771.html changeset bba813493e7b in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=bba813493e7b author: Andrew John Hughes date: Mon Apr 12 22:26:57 2010 +0100 PR icedtea/373: Don't try to load MToolkit when specified via environment variable or property. 2010-04-12 Andrew John Hughes PR icedtea/373 * Makefile.am: Add patch below. * patches/icedtea-nomotif-mtoolkit.patch: Backported change from OpenJDK (pre-b24). changeset 7441b5622149 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=7441b5622149 author: Andrew John Hughes date: Mon Apr 12 22:34:32 2010 +0100 Merge diffstat: 6 files changed, 261 insertions(+), 8 deletions(-) ChangeLog | 28 ++ Makefile.am | 6 patches/icedtea-nomotif-mtoolkit.patch | 168 ++++++++++++++ patches/nss-debug.patch | 56 ++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 1 plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 10 diffs (356 lines): diff -r 0a24b64134e6 -r 7441b5622149 ChangeLog --- a/ChangeLog Mon Apr 12 22:40:15 2010 +0200 +++ b/ChangeLog Mon Apr 12 22:34:32 2010 +0100 @@ -1,3 +1,31 @@ 2010-04-12 Matthias Klose + + PR icedtea/373 + * Makefile.am: Add patch below. + * patches/icedtea-nomotif-mtoolkit.patch: + Backported change from OpenJDK (pre-b24). + +2010-04-12 Deepak Bhole + + * plugin/icedteanp/IcedTeaNPPlugin.cc (ITNP_New): Removed debug printf + statement that didn't belong there. + * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java + (createPanel): Don't print stack traces on InterruptedException. + (handleMessage): Same. + +2010-04-12 Andrew John Hughes + + * Makefile.am: Add patch below. + * patches/nss-debug.patch: + Improve debugging output from NSS provider. + http://mail.openjdk.java.net/pipermail/security-dev/2010-April/001771.html + +2010-04-12 Andrew John Hughes + + * Makefile.am: + Make NSS patch to main block as it's + now applied unconditionally. + 2010-04-12 Matthias Klose PR icedtea/461 diff -r 0a24b64134e6 -r 7441b5622149 Makefile.am --- a/Makefile.am Mon Apr 12 22:40:15 2010 +0200 +++ b/Makefile.am Mon Apr 12 22:34:32 2010 +0100 @@ -253,6 +253,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-shark-build-hotspot.patch \ patches/icedtea-nomotif-6706121.patch \ patches/icedtea-nomotif.patch \ + patches/icedtea-nomotif-mtoolkit.patch \ patches/icedtea-alpha-fixes.patch \ patches/icedtea-alt-jar.patch \ patches/icedtea-jdk-use-ssize_t.patch \ @@ -323,7 +324,9 @@ ICEDTEA_PATCHES = \ patches/security/20100330/6914823.patch \ patches/security/20100330/6914866.patch \ patches/security/20100330/6932480.patch \ - patches/ant-1.8.0.patch + patches/ant-1.8.0.patch \ + patches/icedtea-nss-6763530.patch \ + patches/nss-debug.patch if WITH_RHINO ICEDTEA_PATCHES += \ @@ -374,7 +377,6 @@ ICEDTEA_PATCHES += patches/icedtea-syste ICEDTEA_PATCHES += patches/icedtea-systemtap.patch endif -ICEDTEA_PATCHES += patches/icedtea-nss-6763530.patch if ENABLE_NSS ICEDTEA_PATCHES += patches/icedtea-nss-config.patch else diff -r 0a24b64134e6 -r 7441b5622149 patches/icedtea-nomotif-mtoolkit.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-nomotif-mtoolkit.patch Mon Apr 12 22:34:32 2010 +0100 @@ -0,0 +1,168 @@ +--- openjdk.orig/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c 2009-11-23 13:06:29.271625283 +0000 ++++ openjdk/jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c 2010-01-15 15:31:25.577635803 +0000 +@@ -81,7 +81,6 @@ + int32_t len; + char *p; + JNI_OnLoad_type *JNI_OnLoad_ptr; +- int32_t motifVersion = 2; + struct utsname name; + JNIEnv *env = (JNIEnv *)JNU_GetEnv(vm, JNI_VERSION_1_2); + void *v; +@@ -106,7 +105,7 @@ + + /* + * The code below is responsible for: +- * 1. Loading appropriate awt library, i.e. motif/libmawt, xawt/libmawt or headless/libwawt ++ * 1. Loading appropriate awt library, i.e. xawt/libmawt or headless/libwawt + * 2. Setting "awt.toolkit" system property to use the appropriate Java toolkit class, + * (if user has specified the toolkit in env varialble) + */ +@@ -115,10 +114,7 @@ + /* Check if toolkit is specified in env variable */ + envvar = getenv("AWT_TOOLKIT"); + if (envvar) { +- if (strstr(envvar, "MToolkit")) { +- toolkit = (*env)->NewStringUTF(env, "sun.awt.motif.MToolkit"); +- } +- else if (strstr(envvar, "XToolkit")) { ++ if (strstr(envvar, "XToolkit")) { + toolkit = (*env)->NewStringUTF(env, "sun.awt.X11.XToolkit"); + } + /* If user specified toolkit then set java system property */ +@@ -136,128 +132,15 @@ + if (AWTIsHeadless()) { + strcpy(p, "/headless/libmawt"); + } else { +- /* Try java system property */ +- if (!toolkit && propname) { +- toolkit = JNU_CallStaticMethodByName (env, +- NULL, +- "java/lang/System", +- "getProperty", +- "(Ljava/lang/String;)Ljava/lang/String;", +- propname).l; +- } +- +- /* Calculate kind of toolkit */ +- if (toolkit) { +- const char* toolkit_name = (*env)->GetStringUTFChars(env, toolkit, 0); +- if (strstr(toolkit_name,"MToolkit")) { +- XAWT = 0; +- } else { +- XAWT = 1; +- } +- if (toolkit_name) { +- (*env)->ReleaseStringUTFChars(env, toolkit, toolkit_name); +- } +- } else { +- /* Default AWT Toolkit on Linux and Solaris is XAWT. */ +- XAWT = 1; +- } +- +- /* Find loaded Motif version and if Xt is loaded */ +- if (!XAWT) { +- /* Has a Motif library been loaded already, e.g. by an application +- * embedding java? Netscape plugin? +- */ +- +- v = dlsym(RTLD_DEFAULT, "vendorShellWidgetClass"); +- if (v != NULL && dladdr(v, &dlinfo)) { +- +- /* +- * If we are picking up the vendorShellWigetClass from libXt +- * instead of libXm (it exists in both), then we are very stuck. +- * Abort. +- */ +- if (strstr(dlinfo.dli_fname, "libXt.so") != NULL) { +- xt_before_xm = 1; +- } +- +- if (strstr(dlinfo.dli_fname, "libXm.so.3") != NULL) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "Motif 1.2 detected, using that.\n"); +-#endif +- motifVersion = 1; +- } +- else if (strstr(dlinfo.dli_fname, "libXm.so.4") != NULL) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "Motif 2.1 detected, using that.\n"); +-#endif +- motifVersion = 2; +- } +- } +- +- /* Determine desired Motif Version, and set appropriate properties +- * to load the correct version of libmawt.so +- */ +- else { +- uname(&name); +- +- if ((strcmp(name.release, "5.5.1") == 0) || +- (strcmp(name.release, "5.6") == 0)) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "default to Motif 1.2, os is: %s\n",name.release); +-#endif +- motifVersion = 1; +- } else { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr, "default to Motif 2.1, os is: %s\n",name.release); +-#endif +- motifVersion = 2; +- } +- if (getenv("_JAVA_AWT_USE_MOTIF_1_2")) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr,"_JAVA_AWT_USE_MOTIF_1_2 is set, using Motif 1.2\n"); +-#endif +- motifVersion = 1; +- } else if (getenv("_JAVA_AWT_USE_MOTIF_2_1")) { +-#ifdef VERBOSE_AWT_DEBUG +- fprintf(stderr,"_JAVA_AWT_USE_MOTIF_2_1 is set, using Motif 2.1\n"); +-#endif +- motifVersion = 2; +- } +- } +- } +- +- /* Update library name */ +- if (toolkit) { +- const char* toolkit_name = (*env)->GetStringUTFChars(env, toolkit, 0); +- if (strstr(toolkit_name,"MToolkit")) { +- strcpy(p, (motifVersion != 1) ? "/motif21/libmawt" : "/motif12/libmawt"); +- } +- else { +- strcpy(p, "/xawt/libmawt"); +- } +- if (toolkit_name) { +- (*env)->ReleaseStringUTFChars(env, toolkit, toolkit_name); +- } +- } +- else { +- /* Default AWT Toolkit on Linux and Solaris is XAWT. */ +- strcpy(p, "/xawt/libmawt"); +- } ++ /* Default AWT Toolkit on Linux and Solaris is XAWT. */ ++ strcpy(p, "/xawt/libmawt"); ++ } + +- if (toolkit) { +- (*env)->DeleteLocalRef(env, toolkit); +- } +- if (propname) { +- (*env)->DeleteLocalRef(env, propname); +- } +- if (xt_before_xm && !XAWT) { +- fprintf(stderr, "\nRuntime link error - it appears that " +- "libXt got loaded before libXm,\n" +- "which is not allowed.\n"); +- JNU_ThrowByName(env, "java/lang/InternalError", +- "libXt loaded before libXm"); +- return JNI_VERSION_1_2; +- } ++ if (toolkit) { ++ (*env)->DeleteLocalRef(env, toolkit); ++ } ++ if (propname) { ++ (*env)->DeleteLocalRef(env, propname); + } + + strcat(p, ".so"); diff -r 0a24b64134e6 -r 7441b5622149 patches/nss-debug.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/nss-debug.patch Mon Apr 12 22:34:32 2010 +0100 @@ -0,0 +1,56 @@ +diff -r 5b407bce9940 src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java +--- openjdk.orig/jdk/src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java Fri Apr 09 01:08:35 2010 +0100 ++++ openjdk/jdk/src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java Mon Apr 12 20:55:39 2010 +0100 +@@ -148,6 +148,7 @@ + 0x00000115, + 0x00000120, + 0x00000121, ++ 0x00000130, + 0x00000150, + 0x00000160, + 0x00000170, +@@ -156,6 +157,7 @@ + 0x00000191, + 0x000001A0, + 0x000001A1, ++ 0x00000200, + 0x80000000, + }; + String[] errorMessages = new String[] { +@@ -234,6 +236,7 @@ + "CKR_WRAPPING_KEY_TYPE_INCONSISTENT", + "CKR_RANDOM_SEED_NOT_SUPPORTED", + "CKR_RANDOM_NO_RNG", ++ "CKR_DOMAIN_PARAMS_INVALID", + "CKR_BUFFER_TOO_SMALL", + "CKR_SAVED_STATE_INVALID", + "CKR_INFORMATION_SENSITIVE", +@@ -242,6 +245,7 @@ + "CKR_CRYPTOKI_ALREADY_INITIALIZED", + "CKR_MUTEX_BAD", + "CKR_MUTEX_NOT_LOCKED", ++ "CKR_FUNCTION_REJECTED", + "CKR_VENDOR_DEFINED", + }; + errorMap = new HashMap(); +diff -r 5b407bce9940 src/share/classes/sun/security/x509/X509Key.java +--- openjdk.orig/jdk/src/share/classes/sun/security/x509/X509Key.java Fri Apr 09 01:08:35 2010 +0100 ++++ openjdk/jdk/src/share/classes/sun/security/x509/X509Key.java Mon Apr 12 20:55:39 2010 +0100 +@@ -171,7 +171,7 @@ + in.data.getUnalignedBitString()); + + } catch (InvalidKeyException e) { +- throw new IOException("subject key, " + e.getMessage()); ++ throw new IOException("subject key, " + e.getMessage(), e); + } + + if (in.data.available() != 0) +@@ -224,7 +224,7 @@ + } catch (NoSuchAlgorithmException e) { + // Return generic X509Key with opaque key data (see below) + } catch (InvalidKeySpecException e) { +- throw new InvalidKeyException(e.getMessage()); ++ throw new InvalidKeyException(e.getMessage(), e); + } + + /* diff -r 0a24b64134e6 -r 7441b5622149 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:40:15 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 12 22:34:32 2010 +0100 @@ -269,7 +269,6 @@ ITNP_New (NPMIMEType pluginType, NPP ins NPVariant member_ptr; browser_functions.getvalue(instance, NPNVWindowNPObject, &window_ptr); identifier = browser_functions.getstringidentifier("document"); - printf("Looking for %p %p %p (%s)\n", instance, window_ptr, identifier, "document"); if (!browser_functions.hasproperty(instance, window_ptr, identifier)) { printf("%s not found!\n", "document"); diff -r 0a24b64134e6 -r 7441b5622149 plugin/icedteanp/java/sun/applet/PluginAppletViewer.java --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 22:40:15 2010 +0200 +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Apr 12 22:34:32 2010 +0100 @@ -184,7 +184,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -196,7 +196,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -629,7 +629,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -674,7 +674,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); wait += 50; } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } @@ -747,7 +747,7 @@ import com.sun.jndi.toolkit.url.UrlUtil; Thread.sleep(50); PluginDebug.debug("Waiting for applet to initialize..."); } catch (InterruptedException ie) { - ie.printStackTrace(); + // just wait } } From bugzilla-daemon at icedtea.classpath.org Tue Apr 13 08:35:57 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 13 Apr 2010 15:35:57 +0000 Subject: [Bug 185] Application SweetHome 3D crashes when i want to print Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=185 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #4 from jon.vanalten at redhat.com 2010-04-13 15:35 ------- I am not sure what has changed, but I currently do not reproduce this bug. I can start SweetHome via javaws, make a model with a handful of elements, and print - no crash. $ java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc12-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) If this is still a problem for anyone using Icedtea6 1.7.1 or later, please reopen bug and provide specific info for how to reproduce. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From doko at ubuntu.com Tue Apr 13 08:56:45 2010 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 13 Apr 2010 17:56:45 +0200 Subject: icedtea6-1.8 branch now frozen in preparation for the release Message-ID: <4BC4943D.8010809@ubuntu.com> Hi, the icedtea6-1.8 branch is now frozen in preparation for the release. Matthias From pcpa at mandriva.com.br Tue Apr 13 12:05:59 2010 From: pcpa at mandriva.com.br (Paulo =?iso-8859-1?Q?C=E9sar_Pereira_de_Andrade?=) Date: Tue, 13 Apr 2010 16:05:59 -0300 (BRT) Subject: About files being downloaded during build of icedtea6-1.8 Message-ID: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> Hi, I am working on updating Mandriva java-1.6.0-openjdk package, but I am seeing this: /usr/bin/sha256sum: drops/jdk6-jaxp-2009_10_13.zip: No such file or directory drops/jdk6-jaxp-2009_10_13.zip: FAILED open or read /usr/bin/sha256sum: WARNING: 1 of 1 listed file could not be read --2010-04-13 18:41:37-- https://jaxp.dev.java.net/files/documents/913/147329/jdk6-jaxp-2009_10_13.zip Resolving jaxp.dev.java.net (jaxp.dev.java.net)... 204.16.104.198 Connecting to jaxp.dev.java.net (jaxp.dev.java.net)|204.16.104.198|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5975524 (5.7M) [application/zip] Saving to: `drops/jdk6-jaxp-2009_10_13.zip' 0K .......... .......... .......... .......... .......... 0% 36.7K 2m38s 50K .......... .......... .......... .......... .......... 1% 15.1K 4m28s [...] This won't work on the build system, so guess I should pre download it. BTW, Mandriva package is based on fedora one, and I see that visualvm was not update from 111 to 122, and also, I am getting some weird errors, that "almost" work if adding ANT_OPTIONS="-lib /usr/share/java/ant" to the make command line, otherwise it will not find the ant-apache-regexp.jar. Thanks, Paulo From doko at ubuntu.com Tue Apr 13 14:52:31 2010 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 13 Apr 2010 23:52:31 +0200 Subject: About files being downloaded during build of icedtea6-1.8 In-Reply-To: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> References: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> Message-ID: <4BC4E79F.8060305@ubuntu.com> On 13.04.2010 21:05, Paulo C?sar Pereira de Andrade wrote: > Hi, > > I am working on updating Mandriva java-1.6.0-openjdk package, but > I am seeing this: > > /usr/bin/sha256sum: drops/jdk6-jaxp-2009_10_13.zip: No such file or directory > drops/jdk6-jaxp-2009_10_13.zip: FAILED open or read > /usr/bin/sha256sum: WARNING: 1 of 1 listed file could not be read > --2010-04-13 18:41:37-- > https://jaxp.dev.java.net/files/documents/913/147329/jdk6-jaxp-2009_10_13.zip > Resolving jaxp.dev.java.net (jaxp.dev.java.net)... 204.16.104.198 > Connecting to jaxp.dev.java.net (jaxp.dev.java.net)|204.16.104.198|:443... > connected. > HTTP request sent, awaiting response... 200 OK > Length: 5975524 (5.7M) [application/zip] > Saving to: `drops/jdk6-jaxp-2009_10_13.zip' > > 0K .......... .......... .......... .......... .......... 0% 36.7K > 2m38s > 50K .......... .......... .......... .......... .......... 1% 15.1K > 4m28s > [...] > > This won't work on the build system, so guess I should pre download > it. yes, as you do with the openjdk-6 tarball. best things is to do the configure step followed by make download to collect all the needed tarballs/zips. > BTW, Mandriva package is based on fedora one, and I see that > visualvm was not update from 111 to 122, and also, I am getting some > weird errors, that "almost" work if adding ANT_OPTIONS="-lib > /usr/share/java/ant" to the make command line, otherwise it will not find > the > ant-apache-regexp.jar. 122 is based on netbeans-6.8, and there's no simple source drop yet from which to build visualvm (contacted a developer and will followup). I never build visualvm from the icedtea sources, but build as a separate source package. Matthias From pcpa at mandriva.com.br Tue Apr 13 15:26:12 2010 From: pcpa at mandriva.com.br (Paulo =?iso-8859-1?Q?C=E9sar_Pereira_de_Andrade?=) Date: Tue, 13 Apr 2010 19:26:12 -0300 (BRT) Subject: About files being downloaded during build of icedtea6-1.8 In-Reply-To: <4BC4E79F.8060305@ubuntu.com> References: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> <4BC4E79F.8060305@ubuntu.com> Message-ID: <6e1fb68d16b9aa48f1ed342e0dbeba05.squirrel@webmail.mandriva.com.br> Matthias Klose wrote: > On 13.04.2010 21:05, Paulo C?sar Pereira de Andrade wrote: >> Hi, >> >> I am working on updating Mandriva java-1.6.0-openjdk package, but >> I am seeing this: >> >> /usr/bin/sha256sum: drops/jdk6-jaxp-2009_10_13.zip: No such file or >> directory >> drops/jdk6-jaxp-2009_10_13.zip: FAILED open or read [...] > yes, as you do with the openjdk-6 tarball. best things is to do the > configure > step followed by make download to collect all the needed tarballs/zips. I added it to sources # wget https://jaxp.dev.java.net/files/documents/913/147329/jdk6-jaxp-2009_10_13.zip Source9: jdk6-jaxp-2009_10_13.zip # wget http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaxws-2009_10_27.zip Source10: jdk6-jaxws-2009_10_27.zip # wget http://kenai.com/downloads/jdk6-drops/jdk6-jaf-2009_10_27.zip Source11: jdk6-jaf-2009_10_27.zip And in %setup I do: mkdir -p drops; cp -f %{SOURCE9} %{SOURCE10} %{SOURCE11} drops But need to do, before make, in %build: perl -pi -e "s|^(drops\.dir=).*|\$1`pwd`/drops|;" openjdk/jaxp/build.properties or it will want to donwload it again... >> BTW, Mandriva package is based on fedora one, and I see that >> visualvm was not update from 111 to 122, and also, I am getting some >> weird errors, that "almost" work if adding ANT_OPTIONS="-lib >> /usr/share/java/ant" to the make command line, otherwise it will not >> find >> the >> ant-apache-regexp.jar. > > 122 is based on netbeans-6.8, and there's no simple source drop yet from > which > to build visualvm (contacted a developer and will followup). I never build > visualvm from the icedtea sources, but build as a separate source package. I am having some trouble trying to figure out why I get this: -%<-BUILD FAILED /home/pcpa/rpm/BUILD/icedtea6-1.8/openjdk/jaxp/build-defs.xml:66: Problem: failed to create task or type replaceregexp Cause: the class org.apache.tools.ant.taskdefs.optional.ReplaceRegExp was not found. This looks like one of Ant's optional components. Action: Check that the appropriate optional JAR exists in -/usr/share/ant/lib -/home/pcpa/.ant/lib -a directory added on the command line with the -lib argument Do not panic, this is a common problem. The commonest cause is a missing JAR. This is not a bug; it is a configuration problem -%<- I got past the same error in langtools by either setting ANT_OPTIONS or CLASSPATH to "tell" about /usr/share/java/ant, where *apache*regex*jar are, but my openjdk build knowledge is nil.. (I only started working a bit on it to correct some issues with an applet, and I think I am now the openjdk package maintainer :-) > Matthias Thanks, Paulo From doko at ubuntu.com Tue Apr 13 16:02:26 2010 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 14 Apr 2010 01:02:26 +0200 Subject: About files being downloaded during build of icedtea6-1.8 In-Reply-To: <6e1fb68d16b9aa48f1ed342e0dbeba05.squirrel@webmail.mandriva.com.br> References: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> <4BC4E79F.8060305@ubuntu.com> <6e1fb68d16b9aa48f1ed342e0dbeba05.squirrel@webmail.mandriva.com.br> Message-ID: <4BC4F802.6070106@ubuntu.com> On 14.04.2010 00:26, Paulo C?sar Pereira de Andrade wrote: > Matthias Klose wrote: >> On 13.04.2010 21:05, Paulo C?sar Pereira de Andrade wrote: >>> Hi, >>> >>> I am working on updating Mandriva java-1.6.0-openjdk package, but >>> I am seeing this: >>> >>> /usr/bin/sha256sum: drops/jdk6-jaxp-2009_10_13.zip: No such file or >>> directory >>> drops/jdk6-jaxp-2009_10_13.zip: FAILED open or read > [...] > >> yes, as you do with the openjdk-6 tarball. best things is to do the >> configure >> step followed by make download to collect all the needed tarballs/zips. > > I added it to sources > > # wget > https://jaxp.dev.java.net/files/documents/913/147329/jdk6-jaxp-2009_10_13.zip > Source9: jdk6-jaxp-2009_10_13.zip > > # wget > http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaxws-2009_10_27.zip > Source10: jdk6-jaxws-2009_10_27.zip > > # wget http://kenai.com/downloads/jdk6-drops/jdk6-jaf-2009_10_27.zip > Source11: jdk6-jaf-2009_10_27.zip > > > And in %setup I do: > > mkdir -p drops; cp -f %{SOURCE9} %{SOURCE10} %{SOURCE11} drops > > > But need to do, before make, in %build: > > perl -pi -e "s|^(drops\.dir=).*|\$1`pwd`/drops|;" > openjdk/jaxp/build.properties > > or it will want to donwload it again... I'm not familiar with the rpm build system, you should use --with-jaf-drop-zip=, --with-jaxp-drop-zip=, --with-jaxws-drop-zip= to locate the drops. >>> BTW, Mandriva package is based on fedora one, and I see that >>> visualvm was not update from 111 to 122, and also, I am getting some >>> weird errors, that "almost" work if adding ANT_OPTIONS="-lib >>> /usr/share/java/ant" to the make command line, otherwise it will not >>> find >>> the >>> ant-apache-regexp.jar. this depends on how ant is packaged in your distribution. For Debian/Ubuntu, you have to build-depend on the ant-optional package. > are, but my openjdk build knowledge is nil.. (I only started working > a bit on it to correct some issues with an applet, and I think I am > now the openjdk package maintainer :-) the best thing would be to join the IcedTea project and check these kind of things during the whole development cycle ;) Matthias From pcpa at mandriva.com.br Tue Apr 13 16:48:04 2010 From: pcpa at mandriva.com.br (Paulo =?iso-8859-1?Q?C=E9sar_Pereira_de_Andrade?=) Date: Tue, 13 Apr 2010 20:48:04 -0300 (BRT) Subject: About files being downloaded during build of icedtea6-1.8 In-Reply-To: <4BC4F802.6070106@ubuntu.com> References: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> <4BC4E79F.8060305@ubuntu.com> <6e1fb68d16b9aa48f1ed342e0dbeba05.squirrel@webmail.mandriva.com.br> <4BC4F802.6070106@ubuntu.com> Message-ID: <4d78b5020471254c9e4a87e0adad2839.squirrel@webmail.mandriva.com.br> Matthias Klose wrote: > I'm not familiar with the rpm build system, you should use > --with-jaf-drop-zip=, > --with-jaxp-drop-zip=, --with-jaxws-drop-zip= to locate the drops. Many thanks for the help, this makes things easier :-) >>>> BTW, Mandriva package is based on fedora one, and I see that >>>> visualvm was not update from 111 to 122, and also, I am getting some >>>> weird errors, that "almost" work if adding ANT_OPTIONS="-lib >>>> /usr/share/java/ant" to the make command line, otherwise it will not >>>> find >>>> the >>>> ant-apache-regexp.jar. > > this depends on how ant is packaged in your distribution. For > Debian/Ubuntu, > you have to build-depend on the ant-optional package. I just tested building with all optional ant packages installed, not just build requires on ant-apache-regexp, but it still fails. By any chance, are you using ant 1.8.0? I think this can be an issue... Also, are you using gcj instead of an older openjdk to bootstrap? I just tried gcj, but it fails with an internal compiler error... >> are, but my openjdk build knowledge is nil.. (I only started working >> a bit on it to correct some issues with an applet, and I think I am >> now the openjdk package maintainer :-) > > the best thing would be to join the IcedTea project and check these kind > of > things during the whole development cycle ;) I am following this list for some months now :-) But while this looks interesting, I will pass the offer :-) I have been working for quite some time in my own, still unnamed, dynamically typed, programming language (https://code.google.com/p/exl/), and would have very few time to offer any productive help... > Matthias Paulo From ptisnovs at redhat.com Wed Apr 14 01:15:09 2010 From: ptisnovs at redhat.com (Pavel Tisnovsky) Date: Wed, 14 Apr 2010 10:15:09 +0200 Subject: IcedTea6-1.8 second JTreg report (RHEL5 x86_64) In-Reply-To: <4BC4943D.8010809@ubuntu.com> References: <4BC4943D.8010809@ubuntu.com> Message-ID: <4BC5798D.2060001@redhat.com> Hi Matthias, I ran JTreg on RHEL x86_64 once more and now the results are much better (previous failures could be caused by other tests running on this machine at the same time): --------------- jtreg console summary for hotspot --------------- FAILED: compiler/6707044/LuceneCrash.java Test results: passed: 24; failed: 1 --------------- jtreg console summary for langtools --------------- Test results: passed: 1,355 --------------- jtreg console summary for jdk --------------- FAILED: java/awt/event/HierarchyEvent/AncestorResized/AncestorResized.java FAILED: java/beans/XMLEncoder/javax_swing_tree_TreePath.java Error: java/net/InetAddress/CheckJNI.java Error: java/net/ipv6tests/UdpTest.java FAILED: java/net/URL/TestHttps.java FAILED: java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java FAILED: sun/java2d/cmm/ColorConvertOp/ColConvCCMTest.java FAILED: sun/java2d/cmm/ColorConvertOp/ColConvDCMTest.java FAILED: sun/java2d/cmm/ColorConvertOp/MTColConvTest.java Test results: passed: 3,393; failed: 7; error: 2 Cheers Pavel From mmatejov at redhat.com Wed Apr 14 00:50:16 2010 From: mmatejov at redhat.com (Martin Matejovic) Date: Wed, 14 Apr 2010 09:50:16 +0200 Subject: icedtea6-1.8 branch now frozen in preparation for the release In-Reply-To: <4BC4943D.8010809@ubuntu.com> References: <4BC4943D.8010809@ubuntu.com> Message-ID: <4BC573B8.60301@redhat.com> On 04/13/2010 05:56 PM, Matthias Klose wrote: > Hi, > > the icedtea6-1.8 branch is now frozen in preparation for the release. > Hello so now I am going to prepare final tarball and build new RPMs -- Martin Matejovic OpenJDK QA Engineer Red Hat (http://www.redhat.com) From doko at ubuntu.com Wed Apr 14 03:46:52 2010 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 14 Apr 2010 12:46:52 +0200 Subject: IcedTea6 1.8 Released! Message-ID: <4BC59D1C.8000307@ubuntu.com> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: icedtea6-1.8-release.txt Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100414/58d9f1ef/icedtea6-1.8-release.txt From doko at icedtea.classpath.org Wed Apr 14 03:48:45 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Wed, 14 Apr 2010 10:48:45 +0000 Subject: /hg/release/icedtea6-1.8: 2 new changesets Message-ID: changeset a0120629678b in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=a0120629678b author: doko at ubuntu.com date: Wed Apr 14 12:21:03 2010 +0200 Update NEWS for icedtea6-1.8 changeset d1ad52447673 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=d1ad52447673 author: doko at octogon.itso-berlin.de date: Wed Apr 14 12:21:30 2010 +0200 Added tag icedtea6-1.8 for changeset a0120629678b diffstat: 2 files changed, 31 insertions(+), 1 deletion(-) .hgtags | 1 + NEWS | 31 ++++++++++++++++++++++++++++++- diffs (53 lines): diff -r 7441b5622149 -r d1ad52447673 .hgtags --- a/.hgtags Mon Apr 12 22:34:32 2010 +0100 +++ b/.hgtags Wed Apr 14 12:21:30 2010 +0200 @@ -20,3 +20,4 @@ 1188b1a313b9e968d57ff44eb879d70f543b20fd 1188b1a313b9e968d57ff44eb879d70f543b20fd icedtea6-1.8-branch 1188b1a313b9e968d57ff44eb879d70f543b20fd icedtea6-1.8-branch f736007b642b5b07582ba5251ca90554f7b95e8b icedtea6-1.8-branch +a0120629678b904ef41bcac470b9025dc777ff03 icedtea6-1.8 diff -r 7441b5622149 -r d1ad52447673 NEWS --- a/NEWS Mon Apr 12 22:34:32 2010 +0100 +++ b/NEWS Wed Apr 14 12:21:30 2010 +0200 @@ -1,4 +1,4 @@ New in release 1.8 (2010-XX-XX): -New in release 1.8 (2010-XX-XX): +New in release 1.8 (2010-04-13): - Updated to OpenJDK6 b18. - Nimbus Look 'n' Feel backported from OpenJDK7. @@ -41,6 +41,35 @@ New in release 1.8 (2010-XX-XX): - Shark is now able to build itself. - For ARM, add Thumb2 JIT. - Fixed Shark sharkCompiler mattr memory corruption bug when using llvm 2.7. + +New in release 1.7.2 (2010-03-31): + +- Latest security updates and hardening patches: + - (CVE-2010-0837): JAR "unpack200" must verify input parameters (6902299) + - (CVE-2010-0845): No ClassCastException for HashAttributeSet constructors if run with -Xcomp (6894807) + - (CVE-2010-0838): CMM readMabCurveData Buffer Overflow Vulnerability (6899653) + - (CVE-2010-0082): Loader-constraint table allows arrays instead of only the base-classes (6626217) + - (CVE-2010-0095): Subclasses of InetAddress may incorrectly interpret network addresses (6893954) + - (CVE-2010-0085): File TOCTOU deserialization vulnerability (6736390) + - (CVE-2010-0091): Unsigned applet can retrieve the dragged information before drop action occurs (6887703) + - (CVE-2010-0088): Inflater/Deflater clone issues (6745393) + - (CVE-2010-0084): Policy/PolicyFile leak dynamic ProtectionDomains. (6633872) + - (CVE-2010-0092): AtomicReferenceArray causes SIGSEGV -> SEGV_MAPERR error (6888149) + - (CVE-2010-0094): Deserialization of RMIConnectionImpl objects should enforce stricter checks (6893947) + - (CVE-2010-0093): System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes (6892265) + - (CVE-2010-0840): Applet Trusted Methods Chaining Privilege Escalation Vulnerability (6904691) + - (CVE-2010-0848): AWT Library Invalid Index Vulnerability (6914823) + - (CVE-2010-0847): ImagingLib arbitrary code execution vulnerability (6914866) + - (CVE-2009-3555): TLS: MITM attacks via session renegotiation + - 6639665: ThreadGroup finalizer allows creation of false root ThreadGroups + - 6898622: ObjectIdentifer.equals is not capable of detecting incorrectly encoded CommonName OIDs + - 6910590: Application can modify command array in ProcessBuilder + - 6909597: JPEGImageReader stepX Integer Overflow Vulnerability + - 6932480: Crash in CompilerThread/Parser. Unloaded array klass? +- Backport of 6822370: + ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock +- Increase ThreadStackSize by 512kb on 32-bit Zero platforms +- Check cacerts database is valid New in release 1.7.1 (2010-02-26): From doko at ubuntu.com Wed Apr 14 03:49:29 2010 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 14 Apr 2010 12:49:29 +0200 Subject: icedtea6-1.8 branch now frozen in preparation for the release In-Reply-To: <4BC4943D.8010809@ubuntu.com> References: <4BC4943D.8010809@ubuntu.com> Message-ID: <4BC59DB9.30709@ubuntu.com> On 13.04.2010 17:56, Matthias Klose wrote: > Hi, > > the icedtea6-1.8 branch is now frozen in preparation for the release. the icedtea6-1.8 branch is now unfrozen. Matthias From doko at ubuntu.com Wed Apr 14 03:54:43 2010 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 14 Apr 2010 12:54:43 +0200 Subject: icedtea6-1.8 branch now frozen in preparation for the release In-Reply-To: <4BC573B8.60301@redhat.com> References: <4BC4943D.8010809@ubuntu.com> <4BC573B8.60301@redhat.com> Message-ID: <4BC59EF3.2070605@ubuntu.com> On 14.04.2010 09:50, Martin Matejovic wrote: > On 04/13/2010 05:56 PM, Matthias Klose wrote: >> Hi, >> >> the icedtea6-1.8 branch is now frozen in preparation for the release. >> > Hello so now I am going to prepare final tarball and build new RPMs the final tarball is in place, so please don't change/modify it. Matthias From bugzilla-daemon at icedtea.classpath.org Wed Apr 14 06:43:24 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 14 Apr 2010 13:43:24 +0000 Subject: [Bug 470] New: SIGSEGV memcpy Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=470 Summary: SIGSEGV memcpy Product: IcedTea Version: unspecified Platform: 64-bit OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: AddVM AssignedTo: unassigned at icedtea.classpath.org ReportedBy: michael at topf.com During deployment: Apr 14, 2010 3:18:33 PM org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [] Apr 14, 2010 3:18:34 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ROOT.war Apr 14, 2010 3:18:34 PM org.apache.catalina.startup.ContextConfig init SEVERE: Exception fixing docBase: {0} java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.ZipFile$1.fill(ZipFile.java:244) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at java.io.FilterInputStream.read(FilterInputStream.java:107) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:316) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:158) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:861) at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:989) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5038) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3984) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559) at java.lang.Thread.run(Thread.java:636) # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00002afe9b0740a3, pid=22682, tid=1099458880 # # Java VM: OpenJDK 64-Bit Server VM (1.6.0-b09 mixed mode linux-amd64) # Problematic frame: # C [libc.so.6+0x7c0a3] memcpy+0x2f3 # # An error report file with more information is saved as: # /tmp/hs_err_pid22682.log # # If you would like to submit a bug report, please visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Apr 14 06:44:37 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 14 Apr 2010 13:44:37 +0000 Subject: [Bug 470] SIGSEGV memcpy Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=470 ------- Comment #1 from michael at topf.com 2010-04-14 13:44 ------- Created an attachment (id=326) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=326&action=view) Error Report wir more information -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Apr 14 07:12:15 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 14 Apr 2010 14:12:15 +0000 Subject: [Bug 470] SIGSEGV memcpy Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=470 ------- Comment #2 from xerxes at zafena.se 2010-04-14 14:12 ------- Hi, would it be possible to attach the ROOT.war file used to trigger this bug? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Apr 14 07:23:48 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 14 Apr 2010 14:23:48 +0000 Subject: [Bug 329] IcedTeaPlugin does not work at all in seamonkey 2.0b1pre Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=329 ------- Comment #1 from jon.vanalten at redhat.com 2010-04-14 14:23 ------- Hi, >From the comments on the mozilla bug this is from removing old API's from Gecko? If so, you're in luck. Most recent IcedTea release moves to new plugin using NPAPI. See http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008950.html -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Apr 14 07:35:03 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 14 Apr 2010 14:35:03 +0000 Subject: [Bug 332] An unexpected error has been detected by Java Runtime Environment: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=332 ------- Comment #2 from jon.vanalten at redhat.com 2010-04-14 14:35 ------- Hi, Need more info here. Icedtea version? OS and version? Eclipse version? How can this be reproduced? Command line args? (sorry, "X sometimes happens" isn't really enough, we need steps to reproduce so that further investigation is possible). Thanks. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Apr 14 07:43:50 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 14 Apr 2010 14:43:50 +0000 Subject: [Bug 470] SIGSEGV memcpy Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=470 ------- Comment #3 from michael at topf.com 2010-04-14 14:43 ------- My employer does not allow giving the ROOT.war away. Anyway, I guess that tomcat tried to read the .war file before it has been uploaded completely. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From pcpa at mandriva.com.br Wed Apr 14 17:01:44 2010 From: pcpa at mandriva.com.br (Paulo =?iso-8859-1?Q?C=E9sar_Pereira_de_Andrade?=) Date: Wed, 14 Apr 2010 21:01:44 -0300 (BRT) Subject: About files being downloaded during build of icedtea6-1.8 In-Reply-To: <4d78b5020471254c9e4a87e0adad2839.squirrel@webmail.mandriva.com.br> References: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> <4BC4E79F.8060305@ubuntu.com> <6e1fb68d16b9aa48f1ed342e0dbeba05.squirrel@webmail.mandriva.com.br> <4BC4F802.6070106@ubuntu.com> <4d78b5020471254c9e4a87e0adad2839.squirrel@webmail.mandriva.com.br> Message-ID: Paulo C?sar Pereira de Andrade wrote: > Matthias Klose wrote: > >> I'm not familiar with the rpm build system, you should use >> --with-jaf-drop-zip=, >> --with-jaxp-drop-zip=, --with-jaxws-drop-zip= to locate the drops. > > Many thanks for the help, this makes things easier :-) > >>>>> BTW, Mandriva package is based on fedora one, and I see that >>>>> visualvm was not update from 111 to 122, and also, I am getting some >>>>> weird errors, that "almost" work if adding ANT_OPTIONS="-lib >>>>> /usr/share/java/ant" to the make command line, otherwise it will not >>>>> find >>>>> the >>>>> ant-apache-regexp.jar. >> >> this depends on how ant is packaged in your distribution. For >> Debian/Ubuntu, >> you have to build-depend on the ant-optional package. With the attached patch, applied after "make patch", I managed to build the openjdk package, and at least with some basic tests it appears to be functional, but I only really care of a few applets :-) Maybe it was caused by not having built icedtea-1.7.x? Or ant 1.8.0 (I tried to make a local update of ant, but files are missing from mirrors...) > I just tested building with all optional ant packages installed, > not just build requires on ant-apache-regexp, but it still fails. > By any chance, are you using ant 1.8.0? I think this can be an issue... > > Also, are you using gcj instead of an older openjdk to bootstrap? > I just tried gcj, but it fails with an internal compiler error... I think I may not be able to reproduce it, due to too many experiments with different environment variables settings... Paulo -------------- next part -------------- A non-text attachment was scrubbed... Name: icedtea6-1.8-ant-apache-regexp.patch Type: text/x-patch Size: 1357 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100414/0d83b39e/icedtea6-1.8-ant-apache-regexp.patch From mvyskocil at suse.cz Thu Apr 15 07:28:07 2010 From: mvyskocil at suse.cz (Michal Vyskocil) Date: Thu, 15 Apr 2010 16:28:07 +0200 Subject: Runtime java cacerts generation Message-ID: <201004151628.13664.mvyskocil@suse.cz> Hi all, my brave colleague from security team is working on redesign of a certificates system in SUSE[1]. For programs like Java requires an own format he wants to be able to generate the new file after installation. The current approach calling keytool for each certificate file is very slow and unusable. Each run of keytool requires a start of whole JVM, which is not optimal for one small file. The keytool.java[2] is able to run over the directory, reads all pem files from it and generate cacerts file in one run, which makes it very quick: $ time java keystore -keystore cacerts -cadir /usr/share/ca- certificates/mozilla/ -storepass 'changeit' -f 121 added, 0 removed. real 0m0.852s user 0m0.697s sys 0m0.058s and this can be called from %post of package after certificates update. I tested the final cacerts using Pavel's TestHttps [3]. So your comments and thoughts are welcome. BTW: it can be build using gcj and run under gij, but I did not test the gcc- java created cacerts under openjdk. [1] https://bugzilla.novell.com/show_bug.cgi?id=596177 [2] http://gitorious.org/opensuse/ca-certificates/blobs/master/keystore.java [3] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010- March/008774.html Regards Michal Vyskocil -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100415/a24a66b5/attachment.bin From doko at ubuntu.com Thu Apr 15 07:58:44 2010 From: doko at ubuntu.com (Matthias Klose) Date: Thu, 15 Apr 2010 16:58:44 +0200 Subject: Runtime java cacerts generation In-Reply-To: <201004151628.13664.mvyskocil@suse.cz> References: <201004151628.13664.mvyskocil@suse.cz> Message-ID: <4BC729A4.40907@ubuntu.com> On 15.04.2010 16:28, Michal Vyskocil wrote: > Hi all, > > my brave colleague from security team is working on redesign of a certificates > system in SUSE[1]. For programs like Java requires an own format he wants to > be able to generate the new file after installation. The current approach > calling keytool for each certificate file is very slow and unusable. Each run > of keytool requires a start of whole JVM, which is not optimal for one small > file. you don't need to do it this way; have a look at the ca-certificates-java package file in Ubuntu: the certificates available in the ca-certificates package are pregenerated at build time, and just added at installation time. Runtime is below 1sec iirc for the installation. A more interesting question would be the handling of private certificates; it currently works in Ubuntu, but you have to store the keystore password on disk for handling the cacerts file. It would be nice to be able to read more than one keystore. Matthias From ludwig.nussel at suse.de Thu Apr 15 08:52:20 2010 From: ludwig.nussel at suse.de (Ludwig Nussel) Date: Thu, 15 Apr 2010 17:52:20 +0200 Subject: Runtime java cacerts generation In-Reply-To: <4BC729A4.40907@ubuntu.com> References: <201004151628.13664.mvyskocil@suse.cz> <4BC729A4.40907@ubuntu.com> Message-ID: <201004151752.20352.ludwig.nussel@suse.de> Matthias Klose wrote: > On 15.04.2010 16:28, Michal Vyskocil wrote: > > my brave colleague from security team is working on redesign of a certificates > > system in SUSE[1]. For programs like Java requires an own format he wants to > > be able to generate the new file after installation. The current approach > > calling keytool for each certificate file is very slow and unusable. Each run > > of keytool requires a start of whole JVM, which is not optimal for one small > > file. > > you don't need to do it this way; have a look at the ca-certificates-java > package file in Ubuntu: the certificates available in the ca-certificates > package are pregenerated at build time, and just added at installation time. > Runtime is below 1sec iirc for the installation. Well, the intention was to no longer pre-generate anything at build time. Directly using Java code to figure out which certificates need to be added or removed avoids quite some shell hackery. > A more interesting question would be the handling of private certificates; it > currently works in Ubuntu, but you have to store the keystore password on disk > for handling the cacerts file. It would be nice to be able to read more than one > keystore. You mean per user ca-certificates? That's a different problem to be solved by someone else :-) cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From bugzilla-daemon at icedtea.classpath.org Thu Apr 15 09:38:57 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 15 Apr 2010 16:38:57 +0000 Subject: [Bug 471] New: debugging using eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=471 Summary: debugging using eclipse Product: IcedTea Version: unspecified Platform: all OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: kpeters at mitre.org # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0100868b, pid=11554, tid=2476354448 # # JRE version: 6.0-b16 # Java VM: OpenJDK Client VM (14.0-b16 mixed mode linux-x86 ) # Distribution: Custom build (Tue Mar 30 16:28:34 EDT 2010) # Problematic frame: # V [libjvm.so+0x3b768b] # # 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 (0x090b5400): JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=11567, stack(0x93952000,0x939a3000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000c Registers: EAX=0x0000000c, EBX=0x0109f2cc, ECX=0x00000000, EDX=0x0000000c ESP=0x939a1ce0, EBP=0x939a1ce8, ESI=0x00000000, EDI=0x0000002a EIP=0x0100868b, CR2=0x0000000c, EFLAGS=0x00010246 Top of Stack: (sp=0x939a1ce0) 0x939a1ce0: 00000000 0000002a 939a1d18 010087b2 0x939a1cf0: 0000000c 0000002a 939a1d48 0109f2cc 0x939a1d00: 090b9190 090b5400 939a1d48 0109f2cc 0x939a1d10: 00000000 090b5510 939a1d38 00e479d8 0x939a1d20: 0000000c 0000002a 00000000 00000000 0x939a1d30: 0109f2cc 090b5080 939a1d88 00e5f19a 0x939a1d40: 93d647f8 090b5510 939a1d88 00e5f0ae 0x939a1d50: 090b5400 00000001 090929f4 090b5b34 Instructions: (pc=0x0100868b) 0x0100867b: ff 7e 29 31 c9 eb 06 46 41 39 f9 74 1f 8b 45 08 0x0100868b: 66 8b 14 48 8d 42 ff 66 83 f8 7e 76 ea 66 81 fa Stack: [0x93952000,0x939a3000], sp=0x939a1ce0, free space=319k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x3b768b] V [libjvm.so+0x3b77b2] V [libjvm.so+0x1f69d8] V [libjvm.so+0x20e19a] C [libjdwp.so+0x8d1d] C [libjdwp.so+0x11dff] C [libjdwp.so+0x25d2c] C [libjdwp.so+0x25d90] V [libjvm.so+0x29b9f6] V [libjvm.so+0x29badc] V [libjvm.so+0x39b8ec] V [libjvm.so+0x39b9c4] V [libjvm.so+0x2fca28] C [libpthread.so.0+0x5832] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x9338e000 JavaThread "TimerQueue" daemon [_thread_blocked, id=11589, stack(0x9316b000,0x931bc000)] 0x9337dc00 JavaThread "TimerQueue" daemon [_thread_blocked, id=11588, stack(0x931bc000,0x9320d000)] 0x09042000 JavaThread "DestroyJavaVM" [_thread_blocked, id=11555, stack(0xb7ef8000,0xb7f49000)] 0x09147000 JavaThread "Thread-1" [_thread_blocked, id=11587, stack(0x9320d000,0x9325e000)] 0x93355400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=11586, stack(0x9325e000,0x932af000)] 0x93351800 JavaThread "AWT-Shutdown" [_thread_blocked, id=11585, stack(0x932af000,0x93300000)] 0x93349800 JavaThread "thread applet-org.mitre.mandi.planner.MandiPlanner.class" [_thread_blocked, id=11584, stack(0x93430000,0x93481000)] 0x93324400 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=11578, stack(0x93485000,0x934d6000)] 0x936eb400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=11577, stack(0x934f2000,0x93543000)] 0x090c9000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11575, stack(0x937de000,0x9382f000)] 0x090c6800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11574, stack(0x9382f000,0x938b0000)] 0x090b9800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=11571, stack(0x938b0000,0x93901000)] 0x090b7c00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=11570, stack(0x93901000,0x93952000)] =>0x090b5400 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=11567, stack(0x93952000,0x939a3000)] 0x090aac00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11565, stack(0x939a3000,0x939f4000)] 0x09098800 JavaThread "Finalizer" daemon [_thread_blocked, id=11562, stack(0x939f4000,0x93a45000)] 0x09097000 JavaThread "Reference Handler" daemon [_thread_blocked, id=11561, stack(0x93a45000,0x93a96000)] Other Threads: 0x09094000 VMThread [stack: 0x93a96000,0x93b17000] [id=11560] 0x090cb000 WatcherThread [stack: 0x9375d000,0x937de000] [id=11576] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 960K, used 517K [0x93cf0000, 0x93df0000, 0x96450000) eden space 896K, 53% used [0x93cf0000, 0x93d67188, 0x93dd0000) from space 64K, 64% used [0x93dd0000, 0x93dda3e8, 0x93de0000) to space 64K, 0% used [0x93de0000, 0x93de0000, 0x93df0000) tenured generation total 4096K, used 2776K [0x96450000, 0x96850000, 0xb3cf0000) the space 4096K, 67% used [0x96450000, 0x967062b8, 0x96706400, 0x96850000) compacting perm gen total 12288K, used 11633K [0xb3cf0000, 0xb48f0000, 0xb7cf0000) the space 12288K, 94% used [0xb3cf0000, 0xb484c5c8, 0xb484c600, 0xb48f0000) No shared spaces configured. Dynamic libraries: 00110000-00135000 r-xp 00000000 fd:00 39355292 /lib/libm-2.5.so 00135000-00136000 r-xp 00024000 fd:00 39355292 /lib/libm-2.5.so 00136000-00137000 rwxp 00025000 fd:00 39355292 /lib/libm-2.5.so 00137000-00159000 r-xp 00000000 fd:00 51940319 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjava.so 00159000-0015b000 rwxp 00022000 fd:00 51940319 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjava.so 0015b000-00191000 r-xp 00000000 fd:00 51940322 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjdwp.so 00191000-00192000 rwxp 00035000 fd:00 51940322 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjdwp.so 00192000-0019b000 r-xp 00000000 fd:00 39354557 /lib/libnss_files-2.5.so 0019b000-0019c000 r-xp 00008000 fd:00 39354557 /lib/libnss_files-2.5.so 0019c000-0019d000 rwxp 00009000 fd:00 39354557 /lib/libnss_files-2.5.so 0019d000-001a3000 r-xp 00000000 fd:00 51940347 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libzip.so 001a3000-001a4000 rwxp 00005000 fd:00 51940347 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libzip.so 001a4000-001ab000 rwxp 001a4000 00:00 0 001ab000-001c5000 rwxp 001ab000 00:00 0 001c5000-001c8000 r-xp 00000000 fd:00 51940311 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libdt_socket.so 001c8000-001c9000 rwxp 00002000 fd:00 51940311 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libdt_socket.so 001c9000-001d1000 r-xp 00000000 fd:00 51187082 /usr/lib/libXrender.so.1.3.0 001d1000-001d2000 rwxp 00007000 fd:00 51187082 /usr/lib/libXrender.so.1.3.0 001d2000-001d3000 r-xp 001d2000 00:00 0 001d3000-00253000 r-xp 00000000 fd:00 51940310 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libawt.so 00253000-0025a000 rwxp 0007f000 fd:00 51940310 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libawt.so 0025a000-0027e000 rwxp 0025a000 00:00 0 0027e000-00280000 r-xp 00000000 fd:00 51186456 /usr/lib/libXau.so.6.0.0 00280000-00281000 rwxp 00001000 fd:00 51186456 /usr/lib/libXau.so.6.0.0 00282000-00288000 r-xp 00000000 fd:00 52070714 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/native_threads/libhpi.so 00288000-00289000 rwxp 00006000 fd:00 52070714 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/native_threads/libhpi.so 00289000-00298000 r-xp 00000000 fd:00 51187084 /usr/lib/libXext.so.6.4.0 00298000-00299000 rwxp 0000e000 fd:00 51187084 /usr/lib/libXext.so.6.4.0 00299000-0029e000 r-xp 00000000 fd:00 51187223 /usr/lib/libXtst.so.6.1.0 0029e000-0029f000 rwxp 00004000 fd:00 51187223 /usr/lib/libXtst.so.6.1.0 0029f000-002a4000 r-xp 00000000 fd:00 51187045 /usr/lib/libXdmcp.so.6.0.0 002a4000-002a5000 rwxp 00004000 fd:00 51187045 /usr/lib/libXdmcp.so.6.0.0 002a5000-002b0000 r-xp 00000000 fd:00 39355314 /lib/libgcc_s-4.1.2-20080825.so.1 002b0000-002b1000 rwxp 0000a000 fd:00 39355314 /lib/libgcc_s-4.1.2-20080825.so.1 002b1000-002ba000 r-xp 00000000 fd:00 51187089 /usr/lib/libXcursor.so.1.0.2 002ba000-002bb000 rwxp 00008000 fd:00 51187089 /usr/lib/libXcursor.so.1.0.2 002bb000-002bf000 r-xp 00000000 fd:00 51187088 /usr/lib/libXfixes.so.3.1.0 002bf000-002c0000 rwxp 00003000 fd:00 51187088 /usr/lib/libXfixes.so.3.1.0 002c8000-002cf000 r-xp 00000000 fd:00 39355281 /lib/librt-2.5.so 002cf000-002d0000 r-xp 00006000 fd:00 39355281 /lib/librt-2.5.so 002d0000-002d1000 rwxp 00007000 fd:00 39355281 /lib/librt-2.5.so 002d1000-002d2000 rwxp 002d1000 00:00 0 002d2000-002e4000 rwxp 002d2000 00:00 0 002e4000-002e7000 rwxp 002e4000 00:00 0 002e7000-003d1000 rwxp 002e7000 00:00 0 003d1000-003d7000 rwxp 003d1000 00:00 0 003d7000-003f1000 rwxp 003d7000 00:00 0 003f1000-003f2000 rwxp 003f1000 00:00 0 0041b000-00427000 r-xp 00000000 fd:00 51940338 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libverify.so 00427000-00428000 rwxp 0000b000 fd:00 51940338 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libverify.so 00428000-0046b000 r-xp 00000000 fd:00 52134823 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/xawt/libmawt.so 0046b000-0046d000 rwxp 00043000 fd:00 52134823 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/xawt/libmawt.so 0046d000-0046e000 rwxp 0046d000 00:00 0 0046e000-004b0000 r-xp 00000000 fd:00 51940312 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libfontmanager.so 004b0000-004b2000 rwxp 00042000 fd:00 51940312 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libfontmanager.so 004b2000-004b6000 rwxp 004b2000 00:00 0 004f7000-0050a000 r-xp 00000000 fd:00 39355286 /lib/libnsl-2.5.so 0050a000-0050b000 r-xp 00012000 fd:00 39355286 /lib/libnsl-2.5.so 0050b000-0050c000 rwxp 00013000 fd:00 39355286 /lib/libnsl-2.5.so 0050c000-0050e000 rwxp 0050c000 00:00 0 0051c000-0051f000 rwxp 0051c000 00:00 0 0051f000-00609000 rwxp 0051f000 00:00 0 00647000-0064e000 r-xp 00000000 fd:00 51187359 /usr/lib/libXi.so.6.0.0 0064e000-0064f000 rwxp 00006000 fd:00 51187359 /usr/lib/libXi.so.6.0.0 0068e000-00690000 r-xp 00000000 fd:00 51940346 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnpt.so 00690000-00691000 rwxp 00001000 fd:00 51940346 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnpt.so 00693000-00694000 r-xp 00693000 00:00 0 [vdso] 00694000-00793000 r-xp 00000000 fd:00 51187046 /usr/lib/libX11.so.6.2.0 00793000-00797000 rwxp 000ff000 fd:00 51187046 /usr/lib/libX11.so.6.2.0 00797000-00814000 r-xp 00000000 fd:00 51187092 /usr/lib/libfreetype.so.6.3.10 00814000-00817000 rwxp 0007d000 fd:00 51187092 /usr/lib/libfreetype.so.6.3.10 00865000-00878000 r-xp 00000000 fd:00 51940331 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnet.so 00878000-00879000 rwxp 00012000 fd:00 51940331 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnet.so 0095d000-00964000 r-xp 00000000 fd:00 51940345 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnio.so 00964000-00965000 rwxp 00006000 fd:00 51940345 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnio.so 009b5000-009bc000 rwxp 009b5000 00:00 0 009bc000-00a35000 rwxp 009bc000 00:00 0 00a8f000-00aa9000 r-xp 00000000 fd:00 39354431 /lib/ld-2.5.so 00aa9000-00aaa000 r-xp 00019000 fd:00 39354431 /lib/ld-2.5.so 00aaa000-00aab000 rwxp 0001a000 fd:00 39354431 /lib/ld-2.5.so 00aad000-00bec000 r-xp 00000000 fd:00 39355277 /lib/libc-2.5.so 00bec000-00bed000 --xp 0013f000 fd:00 39355277 /lib/libc-2.5.so 00bed000-00bef000 r-xp 0013f000 fd:00 39355277 /lib/libc-2.5.so 00bef000-00bf0000 rwxp 00141000 fd:00 39355277 /lib/libc-2.5.so 00bf0000-00bf3000 rwxp 00bf0000 00:00 0 00bf5000-00bf7000 r-xp 00000000 fd:00 39355288 /lib/libdl-2.5.so 00bf7000-00bf8000 r-xp 00001000 fd:00 39355288 /lib/libdl-2.5.so 00bf8000-00bf9000 rwxp 00002000 fd:00 39355288 /lib/libdl-2.5.so 00bfb000-00bfe000 r-xp 00000000 fd:00 52070046 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/jli/libjli.so 00bfe000-00bff000 rwxp 00003000 fd:00 52070046 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/jli/libjli.so 00c24000-00c36000 r-xp 00000000 fd:00 51187057 /usr/lib/libz.so.1.2.3 00c36000-00c37000 rwxp 00011000 fd:00 51187057 /usr/lib/libz.so.1.2.3 00c39000-00c4d000 r-xp 00000000 fd:00 39354384 /lib/libpthread-2.5.so 00c4d000-00c4e000 r-xp 00013000 fd:00 39354384 /lib/libpthread-2.5.so 00c4e000-00c4f000 rwxp 00014000 fd:00 39354384 /lib/libpthread-2.5.so 00c4f000-00c51000 rwxp 00c4f000 00:00 0 00c51000-01089000 r-xp 00000000 fd:00 51940307 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so 01089000-010ac000 rwxp 00437000 fd:00 51940307 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so 010ac000-014ca000 rwxp 010ac000 00:00 0 0300e000-03196000 rwxp 0300e000 00:00 0 03196000-0500e000 rwxp 03196000 00:00 0 08048000-08051000 r-xp 00000000 fd:00 52495151 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/java 08051000-08053000 rwxp 00008000 fd:00 52495151 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/java 09039000-091f1000 rwxp 09039000 00:00 0 [heap] 92d00000-92d44000 rwxp 92d00000 00:00 0 92d44000-92e00000 --xp 92d44000 00:00 0 92f00000-92f2d000 rwxp 92f00000 00:00 0 92f2d000-93000000 --xp 92f2d000 00:00 0 9311a000-9311d000 rwxp 9311a000 00:00 0 9311d000-9316b000 rwxp 9311d000 00:00 0 9316b000-9316e000 --xp 9316b000 00:00 0 9316e000-931bc000 rwxp 9316e000 00:00 0 931bc000-931bf000 --xp 931bc000 00:00 0 931bf000-9320d000 rwxp 931bf000 00:00 0 9320d000-93210000 --xp 9320d000 00:00 0 93210000-9325e000 rwxp 93210000 00:00 0 9325e000-93261000 --xp 9325e000 00:00 0 93261000-932af000 rwxp 93261000 00:00 0 932af000-932b2000 --xp 932af000 00:00 0 932b2000-933f9000 rwxp 932b2000 00:00 0 933f9000-93400000 --xp 933f9000 00:00 0 93410000-93412000 r-xs 00000000 fd:00 70287907 /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2 93412000-93418000 r-xs 00000000 fd:00 70287908 /var/cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-x86.cache-2 93418000-9341b000 r-xs 00000000 fd:00 70287469 /var/cache/fontconfig/b67b32625a2bb51b023d3814a918f351-x86.cache-2 9341b000-93421000 r-xs 00000000 fd:00 70287470 /var/cache/fontconfig/7ddba6133ef499da58de5e8c586d3b75-x86.cache-2 93421000-93423000 r-xs 00000000 fd:00 70287412 /var/cache/fontconfig/e3ead4b767b8819993a6fa3ae306afa9-x86.cache-2 93423000-9342b000 r-xs 00000000 fd:00 70287468 /var/cache/fontconfig/e19de935dec46bbf3ed114ee4965548a-x86.cache-2 9342b000-93430000 r-xs 00000000 fd:00 70287916 /var/cache/fontconfig/beeeeb3dfe132a8a0633a017c99ce0c0-x86.cache-2 93430000-93433000 --xp 93430000 00:00 0 93433000-93481000 rwxp 93433000 00:00 0 93481000-93485000 r-xs 00039000 fd:00 51775044 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/jsse.jar 93485000-93488000 --xp 93485000 00:00 0 93488000-934d6000 rwxp 93488000 00:00 0 934d6000-934dc000 r-xs 00000000 fd:00 70287908 /var/cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-x86.cache-2 934dc000-934df000 r-xs 00000000 fd:00 70287469 /var/cache/fontconfig/b67b32625a2bb51b023d3814a918f351-x86.cache-2 934df000-934e5000 r-xs 00000000 fd:00 70287470 /var/cache/fontconfig/7ddba6133ef499da58de5e8c586d3b75-x86.cache-2 934e5000-934ed000 r-xs 00000000 fd:00 70287468 /var/cache/fontconfig/e19de935dec46bbf3ed114ee4965548a-x86.cache-2 934ed000-934f2000 r-xs 00000000 fd:00 70287916 /var/cache/fontconfig/beeeeb3dfe132a8a0633a017c99ce0c0-x86.cache-2 934f2000-934f5000 --xp 934f2000 00:00 0 934f5000-93543000 rwxp 934f5000 00:00 0 93543000-9354c000 r-xs 00056000 fd:00 51775132 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/resources.jar 9354c000-93552000 r-xs 00034000 fd:00 40075341 /opt/javalibs/junit/junit-4.8.1.jar 93552000-93559000 r-xs 00050000 fd:00 25887567 /opt/javalibs/jgraphx/lib/jgraphx.jar 93559000-93562000 r-xs 0004f000 fd:00 13469028 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.web-3.0.1.RELEASE-A.jar 93562000-93564000 r-xs 00082000 fd:00 13469031 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.web.struts-3.0.1.RELEASE-A.jar 93564000-9356d000 r-xs 00059000 fd:00 13469030 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.web.servlet-3.0.1.RELEASE-A.jar 9356d000-93572000 r-xs 00026000 fd:00 13469029 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.web.portlet-3.0.1.RELEASE-A.jar 93572000-93579000 r-xs 00031000 fd:00 13469027 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.transaction-3.0.1.RELEASE-A.jar 93579000-9357e000 r-xs 0002d000 fd:00 13469026 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.test-3.0.1.RELEASE-A.jar 9357e000-93580000 r-xs 0000c000 fd:00 13469024 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.oxm-3.0.1.RELEASE-A.jar 93580000-93588000 r-xs 00049000 fd:00 13469023 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.orm-3.0.1.RELEASE-A.jar 93588000-9358d000 r-xs 00028000 fd:00 13469022 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.jms-3.0.1.RELEASE-A.jar 9358d000-93597000 r-xs 00053000 fd:00 13469021 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.jdbc-3.0.1.RELEASE-A.jar 93597000-93598000 r-xs 00000000 fd:00 13469019 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.instrument-3.0.1.RELEASE-A.jar 93598000-93599000 r-xs 00001000 fd:00 13469020 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.instrument.tomcat-3.0.1.RELEASE-A.jar 93599000-9359d000 r-xs 00023000 fd:00 13469018 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.expression-3.0.1.RELEASE-A.jar 9359d000-935a5000 r-xs 0004f000 fd:00 13469017 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.core-3.0.1.RELEASE-A.jar 935a5000-935b6000 r-xs 00090000 fd:00 13469015 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.context-3.0.1.RELEASE-A.jar 935b6000-935b9000 r-xs 00016000 fd:00 13469016 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.context.support-3.0.1.RELEASE-A.jar 935b9000-935c4000 r-xs 0007b000 fd:00 13469014 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.beans-3.0.1.RELEASE-A.jar 935c4000-935cd000 r-xs 00046000 fd:00 13469011 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.aop-3.0.1.RELEASE-A.jar 935cd000-935cf000 r-xs 00003000 fd:00 12550594 /opt/javalibs/castor/castor-1.3.1/jta1.0.1.jar 935cf000-935d4000 r-xs 00050000 fd:00 12550307 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1-xml-schema.jar 935d4000-935e1000 r-xs 000aa000 fd:00 12550308 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1-xml.jar 935e1000-935f1000 r-xs 000b0000 fd:00 12550306 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1-jdo.jar 935f1000-935f5000 r-xs 0001d000 fd:00 12550305 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1-ddlgen.jar 935f5000-935f7000 r-xs 0000c000 fd:00 12550304 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1-core.jar 935f7000-93600000 r-xs 00074000 fd:00 12550303 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1-codegen.jar 93600000-93700000 rwxp 93600000 00:00 0 93700000-93702000 r-xs 00000000 fd:00 70287907 /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2 93702000-93704000 r-xs 00000000 fd:00 70287412 /var/cache/fontconfig/e3ead4b767b8819993a6fa3ae306afa9-x86.cache-2 93704000-93706000 r-xs 00004000 fd:00 12550302 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1-anttasks.jar 93706000-93715000 r-xs 000b4000 fd:00 12550309 /opt/javalibs/castor/castor-1.3.1/castor-1.3.1.jar 93715000-93717000 r-xs 0001c000 fd:00 26021243 /opt/javalibs/commons-dbcp-1.2.2/commons-dbcp-1.2.2.jar 93717000-9371e000 r-xs 00059000 fd:00 26480896 /opt/javalibs/apache-log4j-1.2.15/log4j-1.2.15.jar 9371e000-93720000 r-xs 0000d000 fd:00 12062519 /opt/javalibs/commons-logging-1.1.1/commons-logging-1.1.1.jar 93720000-93724000 r-xs 00016000 fd:00 17205610 /opt/javalibs/apache-activemq-5.3.0/lib/optional/activeio-core-3.1.2.jar 93724000-9375d000 r-xs 00303000 fd:00 16941321 /opt/javalibs/apache-activemq-5.3.0/activemq-all-5.3.0.jar 9375d000-9375e000 --xp 9375d000 00:00 0 9375e000-937de000 rwxp 9375e000 00:00 0 937de000-937e1000 --xp 937de000 00:00 0 937e1000-9382f000 rwxp 937e1000 00:00 0 9382f000-93832000 --xp 9382f000 00:00 0 93832000-938b0000 rwxp 93832000 00:00 0 938b0000-938b3000 --xp 938b0000 00:00 0 938b3000-93901000 rwxp 938b3000 00:00 0 93901000-93904000 --xp 93901000 00:00 0 93904000-93952000 rwxp 93904000 00:00 0 93952000-93955000 --xp 93952000 00:00 0 93955000-939a3000 rwxp 93955000 00:00 0 939a3000-939a6000 --xp 939a3000 00:00 0 939a6000-939f4000 rwxp 939a6000 00:00 0 939f4000-939f7000 --xp 939f4000 00:00 0 939f7000-93a45000 rwxp 939f7000 00:00 0 93a45000-93a48000 --xp 93a45000 00:00 0 93a48000-93a96000 rwxp 93a48000 00:00 0 93a96000-93a97000 --xp 93a96000 00:00 0 93a97000-93b4d000 rwxp 93a97000 00:00 0 93b4d000-93cf0000 r-xs 01a0e000 fd:00 51775141 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/rt.jar 93cf0000-93df0000 rwxp 93cf0000 00:00 0 93df0000-96450000 rwxp 93df0000 00:00 0 96450000-96850000 rwxp 96450000 00:00 0 96850000-b3cf0000 rwxp 96850000 00:00 0 b3cf0000-b48f0000 rwxp b3cf0000 00:00 0 b48f0000-b7cf0000 rwxp b48f0000 00:00 0 b7cf1000-b7cf3000 r--s 00006000 fd:00 13469013 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.aspects-3.0.1.RELEASE-A.jar b7cf3000-b7cf6000 r--s 0001d000 fd:00 17205613 /opt/javalibs/apache-activemq-5.3.0/lib/optional/xbean-spring-3.6.jar b7cf6000-b7cf8000 r--s 00005000 fd:00 15959389 /opt/javalibs/jms1.1/lib/jms.jar b7cf8000-b7ef8000 r--p 00000000 fd:00 28770307 /usr/lib/locale/locale-archive b7ef8000-b7efb000 ---p b7ef8000 00:00 0 b7efb000-b7f4b000 rw-p b7efb000 00:00 0 b7f4b000-b7f4c000 r--s 0000c000 fd:00 13469012 /opt/javalibs/spring-framework-3.0.1.RELEASE-A/dist/org.springframework.asm-3.0.1.RELEASE-A.jar b7f4c000-b7f4e000 r--s 00005000 fd:00 15959390 /opt/javalibs/jms1.1/lib/javax.jms.jar b7f4e000-b7f57000 r--s 00060000 fd:00 51876096 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/gnome-java-bridge.jar b7f57000-b7f5f000 rw-s 00000000 fd:00 40206359 /tmp/hsperfdata_kpeters/11554 b7f5f000-b7f60000 rw-p b7f5f000 00:00 0 b7f60000-b7f61000 r--p b7f60000 00:00 0 b7f61000-b7f62000 rw-p b7f61000 00:00 0 bfbce000-bfbe4000 rw-p bffe9000 00:00 0 [stack] VM Arguments: jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:56669 -Djava.security.policy=java.policy.applet -Dfile.encoding=UTF-8 java_command: sun.applet.AppletViewer org.mitre.mandi.planner.MandiPlanner1271348487420.html Launcher Type: SUN_STANDARD Environment Variables: PATH=/opt/brcm/hndtools-mipsel-linux-3.2.3/bin:/opt/brcm/hndtools-mipsel-uclibc-3.2.3/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/home/kpeters/bin LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/xulrunner-1.9:/usr/lib/xulrunner-1.9 SHELL=/bin/bash DISPLAY=:1.0 Signal Handlers: SIGSEGV: [libjvm.so+0x3d2350], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS: [libjvm.so+0x3d2350], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGFPE: [libjvm.so+0x2f8670], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGPIPE: [libjvm.so+0x2f8670], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ: [libjvm.so+0x2f8670], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x2f8670], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x2fabc0], sa_mask[0]=0x00000004, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x2f9ad0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGTERM: [libjvm.so+0x2f9ad0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x2f9ad0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 --------------- S Y S T E M --------------- OS:Red Hat Enterprise Linux Server release 5.5 (Tikanga) uname:Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 libc:glibc 2.5 NPTL 2.5 rlimit: STACK 10240k, CORE 0k, NPROC 53224, NOFILE 1024, AS infinity load average:1.62 1.25 1.27 CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht Memory: 4k page, physical 3243360k(940000k free), swap 5116600k(5116600k free) vm_info: OpenJDK Client VM (14.0-b16) for linux-x86 JRE (1.6.0_0-b16), built on Mar 30 2010 16:36:45 by "mockbuild" with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) time: Thu Apr 15 10:31:57 2010 elapsed time: 629 seconds -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From ahughes at redhat.com Thu Apr 15 13:15:54 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Thu, 15 Apr 2010 21:15:54 +0100 Subject: About files being downloaded during build of icedtea6-1.8 In-Reply-To: <6e1fb68d16b9aa48f1ed342e0dbeba05.squirrel@webmail.mandriva.com.br> References: <93813450f044bab11b77f6585f49fef9.squirrel@webmail.mandriva.com.br> <4BC4E79F.8060305@ubuntu.com> <6e1fb68d16b9aa48f1ed342e0dbeba05.squirrel@webmail.mandriva.com.br> Message-ID: 2010/4/13 Paulo C?sar Pereira de Andrade : > Matthias Klose wrote: >> On 13.04.2010 21:05, Paulo C?sar Pereira de Andrade wrote: >>> ? ?Hi, >>> >>> ? ?I am working on updating Mandriva java-1.6.0-openjdk package, but >>> I am seeing this: >>> >>> /usr/bin/sha256sum: drops/jdk6-jaxp-2009_10_13.zip: No such file or >>> directory >>> drops/jdk6-jaxp-2009_10_13.zip: FAILED open or read > [...] > >> yes, as you do with the openjdk-6 tarball. best things is to do the >> configure >> step followed by make download to collect all the needed tarballs/zips. > > ?I added it to sources > > # wget > https://jaxp.dev.java.net/files/documents/913/147329/jdk6-jaxp-2009_10_13.zip > Source9: ? ? ? ?jdk6-jaxp-2009_10_13.zip > > # wget > http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaxws-2009_10_27.zip > Source10: ? ? ? jdk6-jaxws-2009_10_27.zip > > # wget http://kenai.com/downloads/jdk6-drops/jdk6-jaf-2009_10_27.zip > Source11: ? ? ? jdk6-jaf-2009_10_27.zip > > > ?And in %setup I do: > > mkdir -p drops; cp -f %{SOURCE9} %{SOURCE10} %{SOURCE11} drops > > > ?But need to do, before make, in %build: > > perl -pi -e "s|^(drops\.dir=).*|\$1`pwd`/drops|;" > openjdk/jaxp/build.properties > There are configure options for this: --with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \ --with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \ --with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \ > or it will want to donwload it again... > >>> ? ?BTW, Mandriva package is based on fedora one, and I see that >>> visualvm was not update from 111 to 122, and also, I am getting some >>> weird errors, that "almost" work if adding ANT_OPTIONS="-lib >>> /usr/share/java/ant" to the make command line, otherwise it will not >>> find >>> the >>> ant-apache-regexp.jar. >> >> 122 is based on netbeans-6.8, and there's no simple source drop yet from >> which >> to build visualvm (contacted a developer and will followup). I never build >> visualvm from the icedtea sources, but build as a separate source package. > There's not really been anyone maintaining VisualVM support since Lillian left the project. A patch went into IcedTea7 but not IcedTea6 sometime ago which I believe updated it. I didn't include it in 6 because it broke the current Fedora build at the time. http://icedtea.classpath.org/hg/icedtea/rev/d4fe9b0323e0 The whole thing seems very fragile and dependent on various versions of NetBeans. If you know something about how to maintain it, we'd welcome patches. > ?I am having some trouble trying to figure out why I get this: > > -%<-BUILD FAILED > /home/pcpa/rpm/BUILD/icedtea6-1.8/openjdk/jaxp/build-defs.xml:66: Problem: > failed to create task or type replaceregexp > Cause: the class org.apache.tools.ant.taskdefs.optional.ReplaceRegExp was > not found. > ? ? ? ?This looks like one of Ant's optional components. > Action: Check that the appropriate optional JAR exists in > ? ? ? ?-/usr/share/ant/lib > ? ? ? ?-/home/pcpa/.ant/lib > ? ? ? ?-a directory added on the command line with the -lib argument > > Do not panic, this is a common problem. > The commonest cause is a missing JAR. > > This is not a bug; it is a configuration problem > -%<- > > ?I got past the same error in langtools by either setting ANT_OPTIONS > or CLASSPATH to "tell" about /usr/share/java/ant, where *apache*regex*jar > are, but my openjdk build knowledge is nil.. (I only started working > a bit on it to correct some issues with an applet, and I think I am > now the openjdk package maintainer :-) > As Matthias (doko) said, this is a case of having additional ant packages installed, usually, and varies from distro to distro. >> ? ?Matthias > > Thanks, > Paulo > > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From bugzilla-daemon at icedtea.classpath.org Thu Apr 15 14:30:06 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 15 Apr 2010 21:30:06 +0000 Subject: [Bug 470] SIGSEGV memcpy Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=470 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|AddVM |IcedTea6 Platform|64-bit |x86_64 ------- Comment #4 from gnu_andrew at member.fsf.org 2010-04-15 21:30 ------- This is a very old version of IcedTea6 (looks like 1.2). Can you try with the recent 1.8 release? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Apr 15 14:41:30 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 15 Apr 2010 21:41:30 +0000 Subject: [Bug 329] IcedTeaPlugin does not work at all in seamonkey 2.0b1pre Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=329 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #2 from gnu_andrew at member.fsf.org 2010-04-15 21:41 ------- Yes, as Jon says you need to be using either IcedTea6 1.7.x (with --enable-npplugin) or the newly released IcedTea6 1.8, which only has the new plugin, the old one having now been removed. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Apr 15 14:49:59 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 15 Apr 2010 21:49:59 +0000 Subject: [Bug 471] debugging using eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=471 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|all |x86 ------- Comment #1 from gnu_andrew at member.fsf.org 2010-04-15 21:49 ------- What version is this (output of java -version)? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Apr 16 02:01:01 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 16 Apr 2010 09:01:01 +0000 Subject: [Bug 470] SIGSEGV memcpy Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=470 ------- Comment #5 from michael at topf.com 2010-04-16 09:01 ------- I'm dependent on that version because it is shipped with Red Hat 4.1.2-46. Instead of trying another version of IcedTea6 I will rather install the Sun VM. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Apr 16 06:07:45 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 16 Apr 2010 13:07:45 +0000 Subject: [Bug 472] New: Update of icedtea crashes epiphany Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=472 Summary: Update of icedtea crashes epiphany Product: IcedTea Version: 6-1.7 Platform: x86_64 OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: uzytkownik2 at gmail.com Thread 3 (Thread 0x7f6e84a3b710 (LWP 13199)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 No locals. #1 0x00007f6e9ad4c5d4 in WTF::TCMalloc_PageHeap::scavengerThread (this= 0x7f6e9b61b080) at JavaScriptCore/wtf/FastMalloc.cpp:2378 No locals. #2 0x00007f6e9ad4c5f9 in WTF::TCMalloc_PageHeap::runScavengerThread (context= 0x7f6e9b629154) at JavaScriptCore/wtf/FastMalloc.cpp:1497 No locals. #3 0x00007f6e96214894 in start_thread (arg=) at pthread_create.c:297 __res = pd = 0x7f6e84a3b710 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140112648451856, 6669807965717350912, 140112941936576, 0, 140113040953344, 3, -6750084097193326080, -6750113800292972032}, mask_was_saved = 0}}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = robust = freesize = __PRETTY_FUNCTION__ = "start_thread" #4 0x00007f6e95f85f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 No locals. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 2 (Thread 0x7f6e8413a710 (LWP 13200)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 No locals. #1 0x00007f6e9aa04fd8 in WebCore::IconDatabase::syncThreadMainLoop (this= 0x7f6e84153a00) at WebCore/loader/icon/IconDatabase.cpp:1412 didAnyWork = #2 0x00007f6e9aa051b8 in WebCore::IconDatabase::iconDatabaseSyncThread (this= 0x7f6e84153a00) at WebCore/loader/icon/IconDatabase.cpp:1030 journalFilename = {m_impl = { = {}, m_ptr = 0x7f6e8415bf00}} #3 0x00007f6e96214894 in start_thread (arg=) at pthread_create.c:297 __res = pd = 0x7f6e8413a710 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140112639010576, 6669807965717350912, 140112941936576, 0, 140113040953344, 3, -6750083136731264512, -6750113800292972032}, mask_was_saved = 0}}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = robust = freesize = __PRETTY_FUNCTION__ = "start_thread" #4 0x00007f6e95f85f9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 No locals. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 1 (Thread 0x7f6e9c0338c0 (LWP 13075)): #0 0x00007f6e95ee71b5 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 pid = selftid = #1 0x00007f6e95ee85e0 in *__GI_abort () at abort.c:92 act = {__sigaction_handler = {sa_handler = 0x7fffdaa1d070, sa_sigaction = 0x7fffdaa1d070}, sa_mask = {__val = { 140736861425968, 140112939532685, 3, 140736861425972, 12, 140112939532689, 2, 140736861425962, 6, 140112939523912, 1, 140112939532685, 3, 140736861425972, 12, 140112939532689}}, sa_flags = 2, sa_restorer = 0x7f6e95fd4191} sigs = {__val = {32, 0 }} #2 0x00007f6e95f21e77 in __libc_message (do_abort=, fmt=) at ../sysdeps/unix/sysv/linux/libc_fatal.c:186 ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffdaa1dab0, reg_save_area = 0x7fffdaa1d9c0}} ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffdaa1dab0, reg_save_area = 0x7fffdaa1d9c0}} fd = 2 on_2 = list = nlist = 0 cp = written = false #3 0x00007f6e95f27406 in malloc_printerr (action=3, str= 0x7f6e95fd5bf0 "double free or corruption (!prev)", ptr=) at malloc.c:6264 buf = "0000000001b759b0" cp = 0x0 #4 0x00007f6e95f2c1ac in *__GI___libc_free (mem=) at malloc.c:3738 ar_ptr = 0x7f6e96209e60 p = 0x6 #5 0x00007f6e7b3bcff8 in plugin_test_appletviewer ( browserTable=, pluginTable=) at /var/tmp/paludis/dev-java-icedtea-6.1.8.0/work/icedtea6-1.8/plugin/icedteanp/IcedTeaNPPlugin.cc:1517 command_line = { 0x1b83850 "/usr/lib64/icedtea6/jre/lib/amd64/../../bin/java", 0x9afe40 "-version", 0x0} environment = 0x1b759b0 #6 NP_Initialize (browserTable=, pluginTable=) at /var/tmp/paludis/dev-java-icedtea-6.1.8.0/work/icedtea6-1.8/plugin/icedteanp/IcedTeaNPPlugin.cc:2156 np_error = 0 filename = 0x1b579f0 "/usr/lib64/icedtea6/jre/lib/amd64" info = {dli_fname = 0x1bb4180 "/usr/lib64/icedtea6/jre/lib/amd64/IcedTeaPlugin.so", dli_fbase = 0x7f6e7b3b0000, dli_sname = 0x7f6e7b3b3ec2 "_Z8ITNP_NewPcP4_NPPtsPS_S2_P12_NPSavedData", dli_saddr = 0x7f6e7b3bfa80} filename_size = #7 0x00007f6e9ab3eda5 in WebCore::PluginPackage::load (this=0x7f6e8380e000) at WebCore/plugins/gtk/PluginPackageGtk.cpp:153 NP_Initialize = 0x7f6e7b3bc860 npErr = #8 0x00007f6e9ab3eef9 in WebCore::PluginPackage::fetchInfo (this=0x3313) at WebCore/plugins/gtk/PluginPackageGtk.cpp:47 NP_GetMIMEDescription = NPP_GetValue = buffer = err = types = mimeDescs = 0x1b8db50 #9 0x00007f6e9a8d5344 in WebCore::PluginPackage::createPackage (path=..., lastModified=@0x7fffdaa1deb8) at WebCore/plugins/PluginPackage.cpp:159 No locals. #10 0x00007f6e9a8ce534 in WebCore::PluginDatabase::refresh (this= 0x7f6e8386e0a0) at WebCore/plugins/PluginDatabase.cpp:121 lastModified = 1271419420 pathsWithTimes = { = {}, m_impl = { static m_minTableSize = , static m_maxLoad = , static m_minLoad = , m_table = 0x7f6e836dc800, m_tableSize = 64, m_tableSizeMask = 63, m_keyCount = 6, m_deletedCount = 0}} pluginSetChanged = false paths = { = {}, m_impl = { static m_minTableSize = , static m_maxLoad = , static m_minLoad = , m_table = 0x7f6e836cb200, m_tableSize = 64, m_tableSizeMask = 63, m_keyCount = 17, m_deletedCount = 0}} #11 0x00007f6e9a8cf00f in WebCore::PluginDatabase::installedPlugins (populate= 40) at WebCore/plugins/PluginDatabase.cpp:54 plugins = 0x7f6e8386e0a0 #12 0x00007f6e9ab3e400 in WebCore::PluginData::initPlugins ( this=) at WebCore/plugins/gtk/PluginDataGtk.cpp:32 db = #13 0x00007f6e9a8cacb0 in PluginData (this=0x3313, page=0x3313) at WebCore/plugins/PluginData.cpp:32 No locals. #14 0x00007f6e9a83e0b0 in WebCore::PluginData::create (this=0x7f6e84163d80) at ./WebCore/plugins/PluginData.h:49 No locals. #15 WebCore::Page::pluginData (this=0x7f6e84163d80) at WebCore/page/Page.cpp:392 No locals. #16 0x00007f6e9a8ca979 in WebCore::PluginArray::length (this=0x3313) at WebCore/plugins/PluginArray.cpp:42 data = 0x6 #17 0x00007f6e9af495fd in WebCore::jsPluginArrayLength ( exec=, slotBase=...) at DerivedSources/JSPluginArray.cpp:214 No locals. #18 0x00007f6e9ac3e704 in JSC::JSValue::get(JSC::ExecState*, JSC::Identifier const&, JSC::PropertySlot&) const () from /usr/lib64/libwebkit-1.0.so.2 No symbol table info available. #19 0x00007f6e9ac3e947 in JSC::JSValue::get(JSC::ExecState*, JSC::Identifier const&) const () from /usr/lib64/libwebkit-1.0.so.2 No symbol table info available. #20 0x00007f6e9ac3d5cc in cti_op_get_by_val (args=) at JavaScriptCore/jit/JITStubs.cpp:1933 property = {_ustring = {static NotFound = , m_rep = { = {}, m_ptr = 0x7f6e84185c60}, static s_nullRep = 0x7f6e8413c3c0, static s_nullUString = 0x7f6e8413d0f8}} callFrame = 0x7f6e82646230 subscript = {m_ptr = 0x7f6e825e2c40} stackFrame = @0x7fffdaa1e280 baseValue = {m_ptr = 0x7f6e825f31c0} result = #21 0x00007f6e8365b579 in ?? () No symbol table info available. #22 0x0000000000000000 in ?? () No symbol table info available. A debugging session is active. % java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (Gentoo build 1.6.0_18-b18) OpenJDK 64-Bit Server VM (build 16.0-b13, 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, or are watching the assignee. From andrew at icedtea.classpath.org Fri Apr 16 06:21:59 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 16 Apr 2010 13:21:59 +0000 Subject: /hg/icedtea6: 27 new changesets Message-ID: changeset 2a12a636e2a9 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=2a12a636e2a9 author: Andrew John Hughes date: Wed Feb 17 23:33:16 2010 +0000 Drop freescaler patch applied upstream. 2010-02-17 Andrew John Hughes * patches/icedtea-6761856-freetypescaler.patch: Dropped; applied upstream. * Makefile.am: Remove above patch. changeset 1ce502218eb0 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=1ce502218eb0 author: Andrew John Hughes date: Sun Feb 21 16:22:17 2010 +0000 Update JAXP tarball. 2010-02-17 Andrew John Hughes * Makefile.am: Update JAXP tarball. changeset 2d3e4673d9d4 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=2d3e4673d9d4 author: Andrew John Hughes date: Thu Feb 25 18:48:18 2010 +0000 Update to work with upstream HotSpot 16 and NSS patch. 2010-02-25 Andrew John Hughes * patches/hotspot/hs16/icedtea-params-cast-size_t.patch, * patches/hotspot/hs16/memory-limits.patch: Move to main patches directory. * patches/hotspot/hs16/openjdk-6886353-ignore_deoptimizealot.patch: Dropped, applied upstream. * patches/hotspot/hs16/shark.patch, * patches/hotspot/hs16/zero.patch: Moved to main patches directory. * patches/hotspot/original/icedtea-6778657-f2i-overflow.patch, * patches/hotspot/original/icedtea-6778662-lib64.patch, * patches/hotspot/original/icedtea-6791168.patch, * patches/hotspot/original/icedtea-6793825-includedb.patch, * patches/hotspot/original/icedtea-debuginfo.patch, * patches/hotspot/original/icedtea-params-cast-size_t.patch, * patches/hotspot/original/memory-limits.patch: Obsoleted by move to hs16 upstream. * patches/icedtea-nss-6763530.patch: Applied upstream. * Makefile.am: Update patch list. * hotspot.map: Remove outdated hs16 build. * patches/icedtea-params-cast-size_t.patch, * patches/memory-limits.patch, * patches/shark.patch, * patches/zero.patch: Moved from hotspot/hs16. changeset d93c134e3357 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=d93c134e3357 author: Andrew John Hughes date: Thu Feb 25 18:50:04 2010 +0000 Merge changeset 0a32b3a23fcc in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=0a32b3a23fcc author: Andrew John Hughes date: Tue Mar 02 14:32:15 2010 +0000 Merge changeset 39dc82eccaa9 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=39dc82eccaa9 author: Andrew John Hughes date: Tue Mar 02 14:33:26 2010 +0000 Drop verbose patch, applied upstream. 2010-03-02 Andrew John Hughes * patches/openjdk/6928623-verbose-langtools.patch: Removed, applied upstream. * Makefile.am: Drop above patch. changeset e5632a8b43c9 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=e5632a8b43c9 author: Andrew John Hughes date: Fri Mar 12 02:52:23 2010 +0000 Remove icedtea-fonts.patch; applied upstream. 2010-03-12 Andrew John Hughes * patches/icedtea-fonts.patch: Removed, applied upstream as S6934327. http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/178f954e1fd1 * Makefile.am: Drop above patch. changeset 254982e12a63 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=254982e12a63 author: Andrew John Hughes date: Fri Mar 12 02:56:31 2010 +0000 Merge changeset c20d20b055cc in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c20d20b055cc author: Andrew John Hughes date: Mon Mar 29 00:25:26 2010 +0100 Remove @Override on HttpsClient interface method to allow 1.5 compilation. 2010-03-28 Andrew John Hughes * patches/icedtea-override.patch: Remove @Override on interface method in sun/net/www/protocol/https/HttpsClient.java changeset e3cdadcefb93 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=e3cdadcefb93 author: Andrew John Hughes date: Mon Mar 29 02:54:20 2010 +0100 Merge changeset 832b1c20603a in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=832b1c20603a author: Andrew John Hughes date: Tue Mar 30 13:40:33 2010 +0100 Remove upstreamed patches (first half of Zero patches and bidi tests) 2010-03-30 Andrew John Hughes * patches/openjdk/annotation-tests.patch: Dropped, was applied upstream in a different directory some time ago. * patches/openjdk/bidi-tests.patch, * patches/zero/6890308.patch, * patches/zero/6891677.patch, * patches/zero/6896043.patch: Dropped, applied upstream. * Makefile.am: Remove above. changeset 3d6ec111052e in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=3d6ec111052e author: Andrew John Hughes date: Tue Mar 30 13:42:04 2010 +0100 Merge changeset bc942c2695f5 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=bc942c2695f5 author: Andrew John Hughes date: Tue Mar 30 19:02:36 2010 +0100 Merge changeset c467335ab509 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c467335ab509 author: Andrew John Hughes date: Tue Mar 30 19:10:05 2010 +0100 Fix path on previous HttpsClient @Override fix. 2010-03-30 Andrew John Hughes * patches/icedtea-override.patch: Fix path on previous HttpsClient hunk. changeset 48d6fecc56b9 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=48d6fecc56b9 author: Andrew John Hughes date: Tue Apr 06 12:03:48 2010 +0100 Merge changeset f71fabdb489e in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=f71fabdb489e author: Andrew John Hughes date: Tue Apr 06 23:11:56 2010 +0100 Remove upstream patches. changeset e203c6dc26b8 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=e203c6dc26b8 author: Andrew John Hughes date: Tue Apr 06 23:13:17 2010 +0100 Merge changeset 2ef53f8c77a4 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=2ef53f8c77a4 author: Andrew John Hughes date: Wed Apr 07 22:05:47 2010 +0100 Remove upstreamed patches. 2010-04-07 Andrew John Hughes * patches/openjdk/6879689-hotspot_warning_fix.patch, * patches/security/20100330/6633872.patch, * Makefile.am: Remove upstreamed patches. changeset f36e028284a1 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=f36e028284a1 author: Andrew John Hughes date: Wed Apr 07 22:06:31 2010 +0100 Merge changeset 6761bd85e3b7 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=6761bd85e3b7 author: Andrew John Hughes date: Sat Apr 10 00:45:51 2010 +0100 Remove upstreamed Zero patches. 2010-04-09 Andrew John Hughes * patches/zero/6903453.patch, * patches/zero/6909153.patch, * patches/zero/6913869.patch, * patches/zero/6914622.patch, * Makefile.am: Remove patches applied upstream. changeset c4d1a639219e in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c4d1a639219e author: Andrew John Hughes date: Sat Apr 10 00:49:57 2010 +0100 Merge changeset 79cc1edfadb1 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=79cc1edfadb1 author: Andrew John Hughes date: Sat Apr 10 00:50:51 2010 +0100 Remove upstreamed Zero patch. 2010-04-09 Andrew John Hughes * patches/zero/6939845.patch, * Makefile.am: Remove upstreamed Zero patch. changeset 18c52f572f18 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=18c52f572f18 author: Andrew John Hughes date: Sun Apr 11 23:33:30 2010 +0100 Support HotSpot 17. 2010-04-11 Andrew John Hughes Support hs17. * patches/icedtea-params-cast-size_t.patch, * patches/icedtea-systemtap.patch: Split into original and hs17 versions. * Makefile.am: Make above patches $(HSBUILD) specific. Add 6896472 fix for hs17. * hotspot.map: Add hs17 b13, enabled using --with-hotspot-build=hs17. * patches/hotspot/hs17/6873059-javac-versioning-hotspot.patch, * patches/hotspot/hs17/params-cast-size_t.patch, * patches/hotspot/hs17/systemtap.patch: New variants for hs17. * patches/hotspot/original/params-cast-size_t.patch, * patches/hotspot/original/systemtap.patch: Moved from main patches directory. * patches/icedtea-explicit-target-arch.patch: Remove unneeded diff at top which breaks on hs17. * patches/openjdk/6896472-missing_libjsig.patch: Backport from OpenJDK7; needed for hs17. changeset 16c6dc1a966e in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=16c6dc1a966e author: Andrew John Hughes date: Sun Apr 11 23:37:34 2010 +0100 Remove 6873059 fixes which are now upstream. 2010-04-11 Andrew John Hughes * patches/hotspot/original/6873059-javac-versioning- hotspot.patch, * patches/openjdk/6873059-javac-versioning-corba.patch, * patches/openjdk/6873059-javac-versioning-jdk.patch: Removed, upstreamed. * Makefile.am: Move 6873059 to hs17-specific block. changeset 8dea2e0c2bdd in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8dea2e0c2bdd author: Andrew John Hughes date: Sun Apr 11 23:39:13 2010 +0100 Merge changeset baa88bcf7e22 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=baa88bcf7e22 author: Andrew John Hughes date: Fri Apr 16 11:26:10 2010 +0100 Merge changeset 1a17fa784cae in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=1a17fa784cae author: Andrew John Hughes date: Fri Apr 16 14:12:08 2010 +0100 Bump to b19 tarball. 2010-04-16 Andrew John Hughes * Makefile.am: Bump to b19 tarball. diffstat: 468 files changed, 31640 insertions(+), 54548 deletions(-) .hgignore | 433 .hgtags | 1 ChangeLog | 1756 ++ IcedTeaPlugin.cc | 6009 ---------- Makefile.am | 913 - NEWS | 70 String | 11 THANKYOU | 1 acinclude.m4 | 228 configure.ac | 40 generated/org/classpath/icedtea/java/nio/channels/AcceptPendingException.java | 51 generated/org/classpath/icedtea/java/nio/channels/IllegalChannelGroupException.java | 51 generated/org/classpath/icedtea/java/nio/channels/InterruptedByTimeoutException.java | 51 generated/org/classpath/icedtea/java/nio/channels/ReadPendingException.java | 51 generated/org/classpath/icedtea/java/nio/channels/ShutdownChannelGroupException.java | 52 generated/org/classpath/icedtea/java/nio/channels/WritePendingException.java | 51 generated/sun/nio/fs/UnixConstants.java | 79 hotspot.map | 3 javac.in | 79 netx/javax/jnlp/BasicService.java | 13 netx/javax/jnlp/ClipboardService.java | 11 netx/javax/jnlp/DownloadService.java | 25 netx/javax/jnlp/DownloadServiceListener.java | 13 netx/javax/jnlp/ExtendedService.java | 51 netx/javax/jnlp/ExtensionInstallerService.java | 22 netx/javax/jnlp/FileContents.java | 18 netx/javax/jnlp/FileOpenService.java | 11 netx/javax/jnlp/FileSaveService.java | 11 netx/javax/jnlp/JNLPRandomAccessFile.java | 46 netx/javax/jnlp/PersistenceService.java | 18 netx/javax/jnlp/PrintService.java | 13 netx/javax/jnlp/ServiceManager.java | 54 netx/javax/jnlp/ServiceManagerStub.java | 11 netx/javax/jnlp/SingleInstanceListener.java | 35 netx/javax/jnlp/SingleInstanceService.java | 46 netx/javax/jnlp/UnavailableServiceException.java | 16 netx/net/sourceforge/jnlp/AppletDesc.java | 125 netx/net/sourceforge/jnlp/ApplicationDesc.java | 76 netx/net/sourceforge/jnlp/AssociationDesc.java | 56 netx/net/sourceforge/jnlp/ComponentDesc.java | 43 netx/net/sourceforge/jnlp/DefaultLaunchHandler.java | 114 netx/net/sourceforge/jnlp/ExtensionDesc.java | 145 netx/net/sourceforge/jnlp/IconDesc.java | 138 netx/net/sourceforge/jnlp/InformationDesc.java | 268 netx/net/sourceforge/jnlp/InstallerDesc.java | 54 netx/net/sourceforge/jnlp/JARDesc.java | 144 netx/net/sourceforge/jnlp/JNLPFile.java | 623 + netx/net/sourceforge/jnlp/JNLPSplashScreen.java | 93 netx/net/sourceforge/jnlp/JREDesc.java | 167 netx/net/sourceforge/jnlp/LaunchException.java | 190 netx/net/sourceforge/jnlp/LaunchHandler.java | 68 netx/net/sourceforge/jnlp/Launcher.java | 792 + netx/net/sourceforge/jnlp/MenuDesc.java | 38 netx/net/sourceforge/jnlp/NetxPanel.java | 147 netx/net/sourceforge/jnlp/Node.java | 147 netx/net/sourceforge/jnlp/PackageDesc.java | 105 netx/net/sourceforge/jnlp/ParseException.java | 94 netx/net/sourceforge/jnlp/Parser.java | 1202 ++ netx/net/sourceforge/jnlp/PluginBridge.java | 253 netx/net/sourceforge/jnlp/PropertyDesc.java | 66 netx/net/sourceforge/jnlp/RelatedContentDesc.java | 93 netx/net/sourceforge/jnlp/ResourcesDesc.java | 231 netx/net/sourceforge/jnlp/SecurityDesc.java | 197 netx/net/sourceforge/jnlp/ShortcutDesc.java | 70 netx/net/sourceforge/jnlp/StreamEater.java | 45 netx/net/sourceforge/jnlp/Version.java | 354 netx/net/sourceforge/jnlp/cache/CacheEntry.java | 174 netx/net/sourceforge/jnlp/cache/CacheUtil.java | 394 netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java | 321 netx/net/sourceforge/jnlp/cache/DownloadIndicator.java | 92 netx/net/sourceforge/jnlp/cache/Resource.java | 271 netx/net/sourceforge/jnlp/cache/ResourceTracker.java | 1051 + netx/net/sourceforge/jnlp/cache/UpdatePolicy.java | 90 netx/net/sourceforge/jnlp/cache/package.html | 28 netx/net/sourceforge/jnlp/event/ApplicationEvent.java | 57 netx/net/sourceforge/jnlp/event/ApplicationListener.java | 38 netx/net/sourceforge/jnlp/event/DownloadEvent.java | 72 netx/net/sourceforge/jnlp/event/DownloadListener.java | 51 netx/net/sourceforge/jnlp/event/package.html | 28 netx/net/sourceforge/jnlp/package.html | 30 netx/net/sourceforge/jnlp/resources/Manifest.mf | 6 netx/net/sourceforge/jnlp/resources/Messages.properties | 174 netx/net/sourceforge/jnlp/resources/about.jnlp | 20 netx/net/sourceforge/jnlp/resources/default.jnlp | 20 netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java | 68 netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java | 109 netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java | 354 netx/net/sourceforge/jnlp/runtime/AppletInstance.java | 139 netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java | 282 netx/net/sourceforge/jnlp/runtime/Boot.java | 451 netx/net/sourceforge/jnlp/runtime/Boot13.java | 103 netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 1052 + netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java | 105 netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 559 netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 556 netx/net/sourceforge/jnlp/runtime/package.html | 29 netx/net/sourceforge/jnlp/security/AccessWarningPane.java | 215 netx/net/sourceforge/jnlp/security/AppletWarningPane.java | 121 netx/net/sourceforge/jnlp/security/CertVerifier.java | 92 netx/net/sourceforge/jnlp/security/CertWarningPane.java | 269 netx/net/sourceforge/jnlp/security/CertsInfoPane.java | 340 netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java | 238 netx/net/sourceforge/jnlp/security/MoreInfoPane.java | 127 netx/net/sourceforge/jnlp/security/SecurityDialogUI.java | 204 netx/net/sourceforge/jnlp/security/SecurityUtil.java | 285 netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java | 430 netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java | 78 netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java | 286 netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java | 350 netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java | 148 netx/net/sourceforge/jnlp/services/ExtendedSingleInstanceService.java | 49 netx/net/sourceforge/jnlp/services/InstanceExistsException.java | 35 netx/net/sourceforge/jnlp/services/ServiceUtil.java | 276 netx/net/sourceforge/jnlp/services/SingleInstanceLock.java | 194 netx/net/sourceforge/jnlp/services/XBasicService.java | 234 netx/net/sourceforge/jnlp/services/XClipboardService.java | 81 netx/net/sourceforge/jnlp/services/XDownloadService.java | 181 netx/net/sourceforge/jnlp/services/XExtendedService.java | 54 netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java | 123 netx/net/sourceforge/jnlp/services/XFileContents.java | 123 netx/net/sourceforge/jnlp/services/XFileOpenService.java | 113 netx/net/sourceforge/jnlp/services/XFileSaveService.java | 140 netx/net/sourceforge/jnlp/services/XJNLPRandomAccessFile.java | 208 netx/net/sourceforge/jnlp/services/XPersistenceService.java | 179 netx/net/sourceforge/jnlp/services/XPrintService.java | 123 netx/net/sourceforge/jnlp/services/XServiceManagerStub.java | 108 netx/net/sourceforge/jnlp/services/XSingleInstanceService.java | 229 netx/net/sourceforge/jnlp/services/package.html | 29 netx/net/sourceforge/jnlp/tools/CharacterEncoder.java | 354 netx/net/sourceforge/jnlp/tools/HexDumpEncoder.java | 120 netx/net/sourceforge/jnlp/tools/JarRunner.java | 15 netx/net/sourceforge/jnlp/tools/JarSigner.java | 545 netx/net/sourceforge/jnlp/tools/JarSignerResources.java | 212 netx/net/sourceforge/jnlp/tools/KeyStoreUtil.java | 69 netx/net/sourceforge/jnlp/tools/KeyTool.java | 461 netx/net/sourceforge/jnlp/util/FileUtils.java | 48 netx/net/sourceforge/jnlp/util/PropertiesFile.java | 148 netx/net/sourceforge/jnlp/util/Reflect.java | 148 netx/net/sourceforge/jnlp/util/WeakList.java | 128 netx/net/sourceforge/jnlp/util/XDesktopEntry.java | 213 netx/net/sourceforge/nanoxml/XMLElement.java | 1334 ++ netx/net/sourceforge/nanoxml/XMLParseException.java | 130 patches/ecj/getannotation-cast.patch | 24 patches/ecj/icedtea-hotspot.patch | 18 patches/ecj/icedtea-jaxws-getdtdtype.patch | 23 patches/ecj/icedtea.patch | 4 patches/ecj/override.patch | 209 patches/extensions/liveconnect-dist.patch | 76 patches/extensions/liveconnect.patch | 87 patches/extensions/netx-dist.patch | 86 patches/extensions/netx-umask.patch | 164 patches/extensions/netx.patch | 137 patches/hotspot/hs16/icedtea-params-cast-size_t.patch | 252 patches/hotspot/hs16/memory-limits.patch | 24 patches/hotspot/hs16/openjdk-6886353-ignore_deoptimizealot.patch | 33 patches/hotspot/hs16/shark.patch | 9 patches/hotspot/hs16/zero.patch | 107 patches/hotspot/hs17/6873059-javac-versioning-hotspot.patch | 42 patches/hotspot/hs17/params-cast-size_t.patch | 252 patches/hotspot/hs17/systemtap.patch | 157 patches/hotspot/original/icedtea-6778657-f2i-overflow.patch | 96 patches/hotspot/original/icedtea-6778662-lib64.patch | 16 patches/hotspot/original/icedtea-6791168.patch | 230 patches/hotspot/original/icedtea-6793825-includedb.patch | 107 patches/hotspot/original/icedtea-debuginfo.patch | 15 patches/hotspot/original/icedtea-params-cast-size_t.patch | 255 patches/hotspot/original/memory-limits.patch | 23 patches/hotspot/original/params-cast-size_t.patch | 252 patches/hotspot/original/systemtap.patch | 182 patches/icedtea-6761856-freetypescaler.patch | 47 patches/icedtea-cacao-ignore-jdi-tests.patch | 2759 ++-- patches/icedtea-copy-plugs.patch | 162 patches/icedtea-explicit-target-arch.patch | 6 patches/icedtea-fonts.patch | 783 - patches/icedtea-jtreg-httpTest.patch | 37 patches/icedtea-lcms.patch | 18 patches/icedtea-liveconnect.patch | 85 patches/icedtea-nomotif-mtoolkit.patch | 168 patches/icedtea-nss-6763530.patch | 55 patches/icedtea-nss-not-enabled-config.patch | 13 patches/icedtea-override.patch | 198 patches/icedtea-plugin.patch | 1301 -- patches/icedtea-sh4-support.patch | 103 patches/icedtea-systemtap.patch | 182 patches/icedtea-timezone-default-permission.patch | 23 patches/icedtea-timezone.patch | 197 patches/icedtea-webstart-umask.patch | 164 patches/icedtea-webstart.patch | 137 patches/memory-limits.patch | 24 patches/nss-debug.patch | 56 patches/openjdk/6879689-hotspot_warning_fix.patch | 22 patches/openjdk/6896472-missing_libjsig.patch | 20 patches/openjdk/annotation-tests.patch | 5867 --------- patches/openjdk/bidi-tests.patch | 295 patches/security/20100330/hotspot/original/6626217.patch | 180 patches/shark.patch | 9 patches/zero.patch | 107 patches/zero/6890308.patch | 760 - patches/zero/6891677.patch | 418 patches/zero/6896043.patch | 113 patches/zero/6903453.patch | 38 patches/zero/6909153.patch | 40 patches/zero/6913869.patch | 12 patches/zero/6914622.patch | 98 patches/zero/shark_do_nothing_on_stub_frame.patch | 15 plugin/icedtea/netscape/javascript/JSException.java | 140 plugin/icedtea/netscape/javascript/JSObject.java | 290 plugin/icedtea/netscape/javascript/JSObjectCreatePermission.java | 47 plugin/icedtea/netscape/javascript/JSProxy.java | 58 plugin/icedtea/netscape/javascript/JSRunnable.java | 72 plugin/icedtea/netscape/javascript/JSUtil.java | 59 plugin/icedtea/sun/applet/AppletSecurityContextManager.java | 71 plugin/icedtea/sun/applet/GetMemberPluginCallRequest.java | 76 plugin/icedtea/sun/applet/GetWindowPluginCallRequest.java | 75 plugin/icedtea/sun/applet/JavaConsole.java | 365 plugin/icedtea/sun/applet/PasswordAuthenticationDialog.java | 241 plugin/icedtea/sun/applet/PluginAppletSecurityContext.java | 1311 -- plugin/icedtea/sun/applet/PluginAppletViewer.java | 2004 --- plugin/icedtea/sun/applet/PluginCallRequest.java | 85 plugin/icedtea/sun/applet/PluginCallRequestFactory.java | 62 plugin/icedtea/sun/applet/PluginClassLoader.java | 51 plugin/icedtea/sun/applet/PluginCookieInfoRequest.java | 82 plugin/icedtea/sun/applet/PluginCookieManager.java | 88 plugin/icedtea/sun/applet/PluginDebug.java | 51 plugin/icedtea/sun/applet/PluginException.java | 53 plugin/icedtea/sun/applet/PluginMain.java | 319 plugin/icedtea/sun/applet/PluginMessageConsumer.java | 119 plugin/icedtea/sun/applet/PluginMessageHandlerWorker.java | 121 plugin/icedtea/sun/applet/PluginObjectStore.java | 132 plugin/icedtea/sun/applet/PluginProxyInfoRequest.java | 85 plugin/icedtea/sun/applet/PluginProxySelector.java | 195 plugin/icedtea/sun/applet/PluginStreamHandler.java | 479 plugin/icedtea/sun/applet/RequestQueue.java | 77 plugin/icedtea/sun/applet/TestEnv.java | 172 plugin/icedtea/sun/applet/VoidPluginCallRequest.java | 67 plugin/icedteanp/IcedTeaJavaRequestProcessor.cc | 99 plugin/icedteanp/IcedTeaJavaRequestProcessor.h | 2 plugin/icedteanp/IcedTeaNPPlugin.cc | 391 plugin/icedteanp/IcedTeaNPPlugin.h | 6 plugin/icedteanp/IcedTeaPluginRequestProcessor.cc | 217 plugin/icedteanp/IcedTeaPluginRequestProcessor.h | 26 plugin/icedteanp/IcedTeaPluginUtils.cc | 63 plugin/icedteanp/IcedTeaPluginUtils.h | 21 plugin/icedteanp/IcedTeaRunnable.cc | 2 plugin/icedteanp/IcedTeaRunnable.h | 2 plugin/icedteanp/IcedTeaScriptablePluginObject.cc | 9 plugin/icedteanp/IcedTeaScriptablePluginObject.h | 2 plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java | 26 plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java | 18 plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 117 plugin/icedteanp/java/sun/applet/PluginCallRequest.java | 22 plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java | 14 plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java | 20 plugin/icedteanp/java/sun/applet/PluginMain.java | 10 plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java | 267 plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java | 38 plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java | 24 plugin/icedteanp/java/sun/applet/PluginStreamHandler.java | 31 plugin/icedteanp/java/sun/applet/VoidPluginCallRequest.java | 19 plugin/tests/LiveConnect/common.js | 3 ports/hotspot/make/linux/makefiles/shark.make | 6 ports/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp | 2 ports/hotspot/src/cpu/zero/vm/disassembler_zero.hpp | 9 ports/hotspot/src/cpu/zero/vm/frame_zero.cpp | 4 ports/hotspot/src/cpu/zero/vm/frame_zero.hpp | 3 ports/hotspot/src/cpu/zero/vm/globals_zero.hpp | 4 ports/hotspot/src/cpu/zero/vm/shark_globals_zero.hpp | 70 ports/hotspot/src/os_cpu/linux_zero/vm/globals_linux_zero.hpp | 5 ports/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.hpp | 10 ports/hotspot/src/share/vm/includeDB_shark | 2 ports/hotspot/src/share/vm/shark/llvmHeaders.hpp | 1 ports/hotspot/src/share/vm/shark/sharkBlock.cpp | 169 ports/hotspot/src/share/vm/shark/sharkBlock.hpp | 85 ports/hotspot/src/share/vm/shark/sharkBuilder.cpp | 215 ports/hotspot/src/share/vm/shark/sharkBuilder.hpp | 20 ports/hotspot/src/share/vm/shark/sharkCacheDecache.cpp | 67 ports/hotspot/src/share/vm/shark/sharkCacheDecache.hpp | 129 ports/hotspot/src/share/vm/shark/sharkCodeBuffer.hpp | 18 ports/hotspot/src/share/vm/shark/sharkCompiler.cpp | 76 ports/hotspot/src/share/vm/shark/sharkCompiler.hpp | 15 ports/hotspot/src/share/vm/shark/sharkConstant.cpp | 9 ports/hotspot/src/share/vm/shark/sharkConstant.hpp | 12 ports/hotspot/src/share/vm/shark/sharkContext.cpp | 17 ports/hotspot/src/share/vm/shark/sharkContext.hpp | 89 ports/hotspot/src/share/vm/shark/sharkEntry.hpp | 21 ports/hotspot/src/share/vm/shark/sharkFunction.cpp | 46 ports/hotspot/src/share/vm/shark/sharkFunction.hpp | 37 ports/hotspot/src/share/vm/shark/sharkInliner.cpp | 107 ports/hotspot/src/share/vm/shark/sharkInliner.hpp | 2 ports/hotspot/src/share/vm/shark/sharkIntrinsics.cpp | 34 ports/hotspot/src/share/vm/shark/sharkIntrinsics.hpp | 3 ports/hotspot/src/share/vm/shark/sharkInvariants.cpp | 3 ports/hotspot/src/share/vm/shark/sharkInvariants.hpp | 50 ports/hotspot/src/share/vm/shark/sharkMemoryManager.cpp | 51 ports/hotspot/src/share/vm/shark/sharkMemoryManager.hpp | 12 ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp | 21 ports/hotspot/src/share/vm/shark/sharkNativeWrapper.hpp | 68 ports/hotspot/src/share/vm/shark/sharkRuntime.cpp | 70 ports/hotspot/src/share/vm/shark/sharkRuntime.hpp | 25 ports/hotspot/src/share/vm/shark/sharkStack.cpp | 146 ports/hotspot/src/share/vm/shark/sharkStack.hpp | 117 ports/hotspot/src/share/vm/shark/sharkState.cpp | 42 ports/hotspot/src/share/vm/shark/sharkState.hpp | 65 ports/hotspot/src/share/vm/shark/sharkStateScanner.cpp | 13 ports/hotspot/src/share/vm/shark/sharkStateScanner.hpp | 5 ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp | 308 ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.hpp | 120 ports/hotspot/src/share/vm/shark/sharkType.hpp | 75 ports/hotspot/src/share/vm/shark/sharkValue.cpp | 168 ports/hotspot/src/share/vm/shark/sharkValue.hpp | 65 ports/hotspot/src/share/vm/shark/shark_globals.hpp | 14 ports/hotspot/tools/mkbc.c | 2 pulseaudio/AUTHORS | 5 pulseaudio/src/native/org_classpath_icedtea_pulseaudio_PulseAudioStreamVolumeControl.c | 67 return | 6 rt/com/sun/jmx/snmp/SnmpDataTypeEnums.java | 52 rt/com/sun/jmx/snmp/SnmpDefinitions.java | 83 rt/com/sun/jmx/snmp/SnmpOid.java | 137 rt/com/sun/jmx/snmp/SnmpOidRecord.java | 53 rt/com/sun/jmx/snmp/SnmpOidTable.java | 53 rt/com/sun/jmx/snmp/SnmpOidTableSupport.java | 54 rt/com/sun/jmx/snmp/SnmpParameters.java | 60 rt/com/sun/jmx/snmp/SnmpPduPacket.java | 52 rt/com/sun/jmx/snmp/SnmpPeer.java | 73 rt/com/sun/jmx/snmp/SnmpSession.java | 65 rt/com/sun/jmx/snmp/SnmpTimeticks.java | 74 rt/com/sun/jmx/snmp/SnmpVarBind.java | 74 rt/com/sun/jmx/snmp/SnmpVarBindList.java | 82 rt/com/sun/jmx/snmp/daemon/SnmpInformRequest.java | 42 rt/com/sun/jmx/snmp/daemon/SnmpSession.java | 66 rt/com/sun/media/sound/AbstractPlayer.java | 45 rt/com/sun/media/sound/HeadspaceMixer.java | 44 rt/com/sun/media/sound/HeadspaceSoundbank.java | 45 rt/com/sun/media/sound/MixerClip.java | 44 rt/com/sun/media/sound/MixerMidiChannel.java | 45 rt/com/sun/media/sound/MixerSequencer.java | 233 rt/com/sun/media/sound/MixerSourceLine.java | 44 rt/com/sun/media/sound/MixerSynth.java | 55 rt/com/sun/media/sound/MixerThread.java | 44 rt/com/sun/media/sound/SimpleInputDevice.java | 44 rt/com/sun/media/sound/SimpleInputDeviceProvider.java | 45 rt/javax/jnlp/BasicService.java | 13 rt/javax/jnlp/ClipboardService.java | 11 rt/javax/jnlp/DownloadService.java | 25 rt/javax/jnlp/DownloadServiceListener.java | 13 rt/javax/jnlp/ExtendedService.java | 51 rt/javax/jnlp/ExtensionInstallerService.java | 22 rt/javax/jnlp/FileContents.java | 18 rt/javax/jnlp/FileOpenService.java | 11 rt/javax/jnlp/FileSaveService.java | 11 rt/javax/jnlp/JNLPRandomAccessFile.java | 46 rt/javax/jnlp/PersistenceService.java | 18 rt/javax/jnlp/PrintService.java | 13 rt/javax/jnlp/ServiceManager.java | 54 rt/javax/jnlp/ServiceManagerStub.java | 11 rt/javax/jnlp/SingleInstanceListener.java | 35 rt/javax/jnlp/SingleInstanceService.java | 46 rt/javax/jnlp/UnavailableServiceException.java | 16 rt/net/sourceforge/jnlp/AppletDesc.java | 125 rt/net/sourceforge/jnlp/ApplicationDesc.java | 76 rt/net/sourceforge/jnlp/AssociationDesc.java | 56 rt/net/sourceforge/jnlp/ComponentDesc.java | 43 rt/net/sourceforge/jnlp/DefaultLaunchHandler.java | 114 rt/net/sourceforge/jnlp/ExtensionDesc.java | 145 rt/net/sourceforge/jnlp/IconDesc.java | 138 rt/net/sourceforge/jnlp/InformationDesc.java | 268 rt/net/sourceforge/jnlp/InstallerDesc.java | 54 rt/net/sourceforge/jnlp/JARDesc.java | 144 rt/net/sourceforge/jnlp/JNLPFile.java | 623 - rt/net/sourceforge/jnlp/JNLPSplashScreen.java | 93 rt/net/sourceforge/jnlp/JREDesc.java | 167 rt/net/sourceforge/jnlp/LaunchException.java | 190 rt/net/sourceforge/jnlp/LaunchHandler.java | 68 rt/net/sourceforge/jnlp/Launcher.java | 792 - rt/net/sourceforge/jnlp/MenuDesc.java | 38 rt/net/sourceforge/jnlp/NetxPanel.java | 147 rt/net/sourceforge/jnlp/Node.java | 147 rt/net/sourceforge/jnlp/PackageDesc.java | 105 rt/net/sourceforge/jnlp/ParseException.java | 94 rt/net/sourceforge/jnlp/Parser.java | 1202 -- rt/net/sourceforge/jnlp/PluginBridge.java | 253 rt/net/sourceforge/jnlp/PropertyDesc.java | 66 rt/net/sourceforge/jnlp/RelatedContentDesc.java | 93 rt/net/sourceforge/jnlp/ResourcesDesc.java | 231 rt/net/sourceforge/jnlp/SecurityDesc.java | 197 rt/net/sourceforge/jnlp/ShortcutDesc.java | 70 rt/net/sourceforge/jnlp/StreamEater.java | 45 rt/net/sourceforge/jnlp/Version.java | 354 rt/net/sourceforge/jnlp/cache/CacheEntry.java | 174 rt/net/sourceforge/jnlp/cache/CacheUtil.java | 394 rt/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java | 321 rt/net/sourceforge/jnlp/cache/DownloadIndicator.java | 92 rt/net/sourceforge/jnlp/cache/Resource.java | 271 rt/net/sourceforge/jnlp/cache/ResourceTracker.java | 1051 - rt/net/sourceforge/jnlp/cache/UpdatePolicy.java | 90 rt/net/sourceforge/jnlp/cache/package.html | 28 rt/net/sourceforge/jnlp/event/ApplicationEvent.java | 57 rt/net/sourceforge/jnlp/event/ApplicationListener.java | 38 rt/net/sourceforge/jnlp/event/DownloadEvent.java | 72 rt/net/sourceforge/jnlp/event/DownloadListener.java | 51 rt/net/sourceforge/jnlp/event/package.html | 28 rt/net/sourceforge/jnlp/package.html | 30 rt/net/sourceforge/jnlp/resources/Manifest.mf | 6 rt/net/sourceforge/jnlp/resources/Messages.properties | 174 rt/net/sourceforge/jnlp/resources/about.jnlp | 20 rt/net/sourceforge/jnlp/resources/default.jnlp | 20 rt/net/sourceforge/jnlp/runtime/AppThreadGroup.java | 68 rt/net/sourceforge/jnlp/runtime/AppletAudioClip.java | 109 rt/net/sourceforge/jnlp/runtime/AppletEnvironment.java | 354 rt/net/sourceforge/jnlp/runtime/AppletInstance.java | 139 rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java | 282 rt/net/sourceforge/jnlp/runtime/Boot.java | 451 rt/net/sourceforge/jnlp/runtime/Boot13.java | 103 rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 1052 - rt/net/sourceforge/jnlp/runtime/JNLPPolicy.java | 105 rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 559 rt/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 490 rt/net/sourceforge/jnlp/runtime/package.html | 29 rt/net/sourceforge/jnlp/security/AccessWarningPane.java | 215 rt/net/sourceforge/jnlp/security/AppletWarningPane.java | 121 rt/net/sourceforge/jnlp/security/CertVerifier.java | 92 rt/net/sourceforge/jnlp/security/CertWarningPane.java | 269 rt/net/sourceforge/jnlp/security/CertsInfoPane.java | 340 rt/net/sourceforge/jnlp/security/HttpsCertVerifier.java | 238 rt/net/sourceforge/jnlp/security/MoreInfoPane.java | 127 rt/net/sourceforge/jnlp/security/SecurityDialogUI.java | 204 rt/net/sourceforge/jnlp/security/SecurityUtil.java | 285 rt/net/sourceforge/jnlp/security/SecurityWarningDialog.java | 430 rt/net/sourceforge/jnlp/security/SingleCertInfoPane.java | 78 rt/net/sourceforge/jnlp/security/VariableX509TrustManager.java | 286 rt/net/sourceforge/jnlp/security/viewer/CertificatePane.java | 350 rt/net/sourceforge/jnlp/security/viewer/CertificateViewer.java | 148 rt/net/sourceforge/jnlp/services/ExtendedSingleInstanceService.java | 49 rt/net/sourceforge/jnlp/services/InstanceExistsException.java | 35 rt/net/sourceforge/jnlp/services/ServiceUtil.java | 276 rt/net/sourceforge/jnlp/services/SingleInstanceLock.java | 194 rt/net/sourceforge/jnlp/services/XBasicService.java | 234 rt/net/sourceforge/jnlp/services/XClipboardService.java | 81 rt/net/sourceforge/jnlp/services/XDownloadService.java | 181 rt/net/sourceforge/jnlp/services/XExtendedService.java | 54 rt/net/sourceforge/jnlp/services/XExtensionInstallerService.java | 123 rt/net/sourceforge/jnlp/services/XFileContents.java | 123 rt/net/sourceforge/jnlp/services/XFileOpenService.java | 113 rt/net/sourceforge/jnlp/services/XFileSaveService.java | 140 rt/net/sourceforge/jnlp/services/XJNLPRandomAccessFile.java | 208 rt/net/sourceforge/jnlp/services/XPersistenceService.java | 179 rt/net/sourceforge/jnlp/services/XPrintService.java | 123 rt/net/sourceforge/jnlp/services/XServiceManagerStub.java | 108 rt/net/sourceforge/jnlp/services/XSingleInstanceService.java | 229 rt/net/sourceforge/jnlp/services/package.html | 29 rt/net/sourceforge/jnlp/tools/CharacterEncoder.java | 354 rt/net/sourceforge/jnlp/tools/HexDumpEncoder.java | 120 rt/net/sourceforge/jnlp/tools/JarRunner.java | 15 rt/net/sourceforge/jnlp/tools/JarSigner.java | 545 rt/net/sourceforge/jnlp/tools/JarSignerResources.java | 212 rt/net/sourceforge/jnlp/tools/KeyStoreUtil.java | 69 rt/net/sourceforge/jnlp/tools/KeyTool.java | 461 rt/net/sourceforge/jnlp/util/FileUtils.java | 48 rt/net/sourceforge/jnlp/util/PropertiesFile.java | 148 rt/net/sourceforge/jnlp/util/Reflect.java | 148 rt/net/sourceforge/jnlp/util/WeakList.java | 128 rt/net/sourceforge/jnlp/util/XDesktopEntry.java | 213 rt/net/sourceforge/nanoxml/XMLElement.java | 1334 -- rt/net/sourceforge/nanoxml/XMLParseException.java | 130 tools-copy/tools-corba-copy-files.txt | 6 tools-copy/tools-jaxws-copy-files.txt | 101 tools-copy/tools-jdk-copy-files.txt | 39 tools-copy/tools-langtools-copy-files.txt | 51 diffs (truncated from 94590 to 500 lines): diff -r 76296a4bf985 -r 1a17fa784cae .hgignore --- a/.hgignore Wed Feb 17 23:21:43 2010 +0000 +++ b/.hgignore Fri Apr 16 14:12:08 2010 +0100 @@ -1,7 +1,5 @@ syntax: glob syntax: glob *~ - -syntax: regexp configure missing aclocal.m4 @@ -9,13 +7,13 @@ cacao cacao netbeans visualvm -openjdk bootstrap debian lib tools stamps Makefile +Makefile.in config.log config.guess config.sub @@ -40,433 +38,16 @@ test/jtreg.jar test/jtreg.jar test/jtreg/classes test/jtreg-summary.log -test/check-.*log -rt/com/sun/jdi/AbsentInformationException.java -rt/com/sun/jdi/Accessible.java -rt/com/sun/jdi/ArrayReference.java -rt/com/sun/jdi/ArrayType.java -rt/com/sun/jdi/BooleanType.java -rt/com/sun/jdi/BooleanValue.java -rt/com/sun/jdi/Bootstrap.java -rt/com/sun/jdi/ByteType.java -rt/com/sun/jdi/ByteValue.java -rt/com/sun/jdi/CharType.java -rt/com/sun/jdi/CharValue.java -rt/com/sun/jdi/ClassLoaderReference.java -rt/com/sun/jdi/ClassNotLoadedException.java -rt/com/sun/jdi/ClassNotPreparedException.java -rt/com/sun/jdi/ClassObjectReference.java -rt/com/sun/jdi/ClassType.java -rt/com/sun/jdi/connect/AttachingConnector.java -rt/com/sun/jdi/connect/Connector.java -rt/com/sun/jdi/connect/IllegalConnectorArgumentsException.java -rt/com/sun/jdi/connect/LaunchingConnector.java -rt/com/sun/jdi/connect/ListeningConnector.java -rt/com/sun/jdi/connect/spi/ClosedConnectionException.java -rt/com/sun/jdi/connect/spi/Connection.java -rt/com/sun/jdi/connect/spi/TransportService.java -rt/com/sun/jdi/connect/Transport.java -rt/com/sun/jdi/connect/TransportTimeoutException.java -rt/com/sun/jdi/connect/VMStartException.java -rt/com/sun/jdi/DoubleType.java -rt/com/sun/jdi/DoubleValue.java -rt/com/sun/jdi/event/AccessWatchpointEvent.java -rt/com/sun/jdi/event/BreakpointEvent.java -rt/com/sun/jdi/event/ClassPrepareEvent.java -rt/com/sun/jdi/event/ClassUnloadEvent.java -rt/com/sun/jdi/event/EventIterator.java -rt/com/sun/jdi/event/Event.java -rt/com/sun/jdi/event/EventQueue.java -rt/com/sun/jdi/event/EventSet.java -rt/com/sun/jdi/event/ExceptionEvent.java -rt/com/sun/jdi/event/LocatableEvent.java -rt/com/sun/jdi/event/MethodEntryEvent.java -rt/com/sun/jdi/event/MethodExitEvent.java -rt/com/sun/jdi/event/ModificationWatchpointEvent.java -rt/com/sun/jdi/event/MonitorContendedEnteredEvent.java -rt/com/sun/jdi/event/MonitorContendedEnterEvent.java -rt/com/sun/jdi/event/MonitorWaitedEvent.java -rt/com/sun/jdi/event/MonitorWaitEvent.java -rt/com/sun/jdi/event/StepEvent.java -rt/com/sun/jdi/event/ThreadDeathEvent.java -rt/com/sun/jdi/event/ThreadStartEvent.java -rt/com/sun/jdi/event/VMDeathEvent.java -rt/com/sun/jdi/event/VMDisconnectEvent.java -rt/com/sun/jdi/event/VMStartEvent.java -rt/com/sun/jdi/event/WatchpointEvent.java -rt/com/sun/jdi/Field.java -rt/com/sun/jdi/FloatType.java -rt/com/sun/jdi/FloatValue.java -rt/com/sun/jdi/IncompatibleThreadStateException.java -rt/com/sun/jdi/InconsistentDebugInfoException.java -rt/com/sun/jdi/IntegerType.java -rt/com/sun/jdi/IntegerValue.java -rt/com/sun/jdi/InterfaceType.java -rt/com/sun/jdi/InternalException.java -rt/com/sun/jdi/InvalidCodeIndexException.java -rt/com/sun/jdi/InvalidLineNumberException.java -rt/com/sun/jdi/InvalidStackFrameException.java -rt/com/sun/jdi/InvalidTypeException.java -rt/com/sun/jdi/InvocationException.java -rt/com/sun/jdi/JDIPermission.java -rt/com/sun/jdi/LocalVariable.java -rt/com/sun/jdi/Locatable.java -rt/com/sun/jdi/Location.java -rt/com/sun/jdi/LongType.java -rt/com/sun/jdi/LongValue.java -rt/com/sun/jdi/Method.java -rt/com/sun/jdi/Mirror.java -rt/com/sun/jdi/MonitorInfo.java -rt/com/sun/jdi/NativeMethodException.java -rt/com/sun/jdi/ObjectCollectedException.java -rt/com/sun/jdi/ObjectReference.java -rt/com/sun/jdi/PathSearchingVirtualMachine.java -rt/com/sun/jdi/PrimitiveType.java -rt/com/sun/jdi/PrimitiveValue.java -rt/com/sun/jdi/ReferenceType.java -rt/com/sun/jdi/request/AccessWatchpointRequest.java -rt/com/sun/jdi/request/BreakpointRequest.java -rt/com/sun/jdi/request/ClassPrepareRequest.java -rt/com/sun/jdi/request/ClassUnloadRequest.java -rt/com/sun/jdi/request/DuplicateRequestException.java -rt/com/sun/jdi/request/EventRequest.java -rt/com/sun/jdi/request/EventRequestManager.java -rt/com/sun/jdi/request/ExceptionRequest.java -rt/com/sun/jdi/request/InvalidRequestStateException.java -rt/com/sun/jdi/request/MethodEntryRequest.java -rt/com/sun/jdi/request/MethodExitRequest.java -rt/com/sun/jdi/request/ModificationWatchpointRequest.java -rt/com/sun/jdi/request/MonitorContendedEnteredRequest.java -rt/com/sun/jdi/request/MonitorContendedEnterRequest.java -rt/com/sun/jdi/request/MonitorWaitedRequest.java -rt/com/sun/jdi/request/MonitorWaitRequest.java -rt/com/sun/jdi/request/StepRequest.java -rt/com/sun/jdi/request/ThreadDeathRequest.java -rt/com/sun/jdi/request/ThreadStartRequest.java -rt/com/sun/jdi/request/VMDeathRequest.java -rt/com/sun/jdi/request/WatchpointRequest.java -rt/com/sun/jdi/ShortType.java -rt/com/sun/jdi/ShortValue.java -rt/com/sun/jdi/StackFrame.java -rt/com/sun/jdi/StringReference.java -rt/com/sun/jdi/ThreadGroupReference.java -rt/com/sun/jdi/ThreadReference.java -rt/com/sun/jdi/TypeComponent.java -rt/com/sun/jdi/Type.java -rt/com/sun/jdi/Value.java -rt/com/sun/jdi/VirtualMachine.java -rt/com/sun/jdi/VirtualMachineManager.java -rt/com/sun/jdi/VMCannotBeModifiedException.java -rt/com/sun/jdi/VMDisconnectedException.java -rt/com/sun/jdi/VMMismatchException.java -rt/com/sun/jdi/VMOutOfMemoryException.java -rt/com/sun/jdi/VoidType.java -rt/com/sun/jdi/VoidValue.java -rt/com/sun/jmx/snmp/agent/SnmpEntryOid.java -rt/com/sun/jmx/snmp/agent/SnmpErrorHandlerAgent.java -rt/com/sun/jmx/snmp/agent/SnmpGenericMetaServer.java -rt/com/sun/jmx/snmp/agent/SnmpGenericObjectServer.java -rt/com/sun/jmx/snmp/agent/SnmpIndex.java -rt/com/sun/jmx/snmp/agent/SnmpMibAgent.java -rt/com/sun/jmx/snmp/agent/SnmpMibAgentMBean.java -rt/com/sun/jmx/snmp/agent/SnmpMibEntry.java -rt/com/sun/jmx/snmp/agent/SnmpMibGroup.java -rt/com/sun/jmx/snmp/agent/SnmpMibHandler.java -rt/com/sun/jmx/snmp/agent/SnmpMib.java -rt/com/sun/jmx/snmp/agent/SnmpMibNode.java -rt/com/sun/jmx/snmp/agent/SnmpMibOid.java -rt/com/sun/jmx/snmp/agent/SnmpMibRequestImpl.java -rt/com/sun/jmx/snmp/agent/SnmpMibRequest.java -rt/com/sun/jmx/snmp/agent/SnmpMibSubRequest.java -rt/com/sun/jmx/snmp/agent/SnmpMibTable.java -rt/com/sun/jmx/snmp/agent/SnmpRequestTree.java -rt/com/sun/jmx/snmp/agent/SnmpStandardMetaServer.java -rt/com/sun/jmx/snmp/agent/SnmpStandardObjectServer.java -rt/com/sun/jmx/snmp/agent/SnmpTableCallbackHandler.java -rt/com/sun/jmx/snmp/agent/SnmpTableEntryFactory.java -rt/com/sun/jmx/snmp/agent/SnmpTableEntryNotification.java -rt/com/sun/jmx/snmp/agent/SnmpTableSupport.java -rt/com/sun/jmx/snmp/agent/SnmpUserDataFactory.java -rt/com/sun/jmx/snmp/daemon/SnmpInformRequest.java -rt/com/sun/jmx/snmp/daemon/SnmpSession.java -rt/com/sun/jmx/snmp/SnmpDataTypeEnums.java -rt/com/sun/jmx/snmp/SnmpDefinitions.java -rt/com/sun/jmx/snmp/SnmpOid.java -rt/com/sun/jmx/snmp/SnmpOidRecord.java -rt/com/sun/jmx/snmp/SnmpOidTable.java -rt/com/sun/jmx/snmp/SnmpOidTableSupport.java -rt/com/sun/jmx/snmp/SnmpParameters.java -rt/com/sun/jmx/snmp/SnmpPduPacket.java -rt/com/sun/jmx/snmp/SnmpPeer.java -rt/com/sun/jmx/snmp/SnmpSession.java -rt/com/sun/jmx/snmp/SnmpTimeticks.java -rt/com/sun/jmx/snmp/SnmpVarBind.java -rt/com/sun/jmx/snmp/SnmpVarBindList.java -rt/com/sun/tools/jdi/AbstractLauncher.java -rt/com/sun/tools/jdi/ArrayReferenceImpl.java -rt/com/sun/tools/jdi/ArrayTypeImpl.java -rt/com/sun/tools/jdi/BaseLineInfo.java -rt/com/sun/tools/jdi/BooleanTypeImpl.java -rt/com/sun/tools/jdi/BooleanValueImpl.java -rt/com/sun/tools/jdi/ByteTypeImpl.java -rt/com/sun/tools/jdi/ByteValueImpl.java -rt/com/sun/tools/jdi/CharTypeImpl.java -rt/com/sun/tools/jdi/CharValueImpl.java -rt/com/sun/tools/jdi/ClassLoaderReferenceImpl.java -rt/com/sun/tools/jdi/ClassObjectReferenceImpl.java -rt/com/sun/tools/jdi/ClassTypeImpl.java -rt/com/sun/tools/jdi/CommandSender.java -rt/com/sun/tools/jdi/ConcreteMethodImpl.java -rt/com/sun/tools/jdi/ConnectorImpl.java -rt/com/sun/tools/jdi/DoubleTypeImpl.java -rt/com/sun/tools/jdi/DoubleValueImpl.java -rt/com/sun/tools/jdi/EventQueueImpl.java -rt/com/sun/tools/jdi/EventRequestManagerImpl.java -rt/com/sun/tools/jdi/EventSetImpl.java -rt/com/sun/tools/jdi/FieldImpl.java -rt/com/sun/tools/jdi/FloatTypeImpl.java -rt/com/sun/tools/jdi/FloatValueImpl.java -rt/com/sun/tools/jdi/GenericAttachingConnector.java -rt/com/sun/tools/jdi/GenericListeningConnector.java -rt/com/sun/tools/jdi/IntegerTypeImpl.java -rt/com/sun/tools/jdi/IntegerValueImpl.java -rt/com/sun/tools/jdi/InterfaceTypeImpl.java -rt/com/sun/tools/jdi/InternalEventHandler.java -rt/com/sun/tools/jdi/JDWPException.java -rt/com/sun/tools/jdi/JNITypeParser.java -rt/com/sun/tools/jdi/LineInfo.java -rt/com/sun/tools/jdi/LinkedHashMap.java -rt/com/sun/tools/jdi/LocalVariableImpl.java -rt/com/sun/tools/jdi/LocationImpl.java -rt/com/sun/tools/jdi/LockObject.java -rt/com/sun/tools/jdi/LongTypeImpl.java -rt/com/sun/tools/jdi/LongValueImpl.java -rt/com/sun/tools/jdi/MethodImpl.java -rt/com/sun/tools/jdi/MirrorImpl.java -rt/com/sun/tools/jdi/MonitorInfoImpl.java -rt/com/sun/tools/jdi/NonConcreteMethodImpl.java -rt/com/sun/tools/jdi/ObjectReferenceImpl.java -rt/com/sun/tools/jdi/ObsoleteMethodImpl.java -rt/com/sun/tools/jdi/Packet.java -rt/com/sun/tools/jdi/PacketStream.java -rt/com/sun/tools/jdi/PrimitiveTypeImpl.java -rt/com/sun/tools/jdi/PrimitiveValueImpl.java -rt/com/sun/tools/jdi/ProcessAttachingConnector.java -rt/com/sun/tools/jdi/RawCommandLineLauncher.java -rt/com/sun/tools/jdi/ReferenceTypeImpl.java -rt/com/sun/tools/jdi/SDE.java -rt/com/sun/tools/jdi/ShortTypeImpl.java -rt/com/sun/tools/jdi/ShortValueImpl.java -rt/com/sun/tools/jdi/SocketAttachingConnector.java -rt/com/sun/tools/jdi/SocketListeningConnector.java -rt/com/sun/tools/jdi/SocketTransportService.java -rt/com/sun/tools/jdi/StackFrameImpl.java -rt/com/sun/tools/jdi/StratumLineInfo.java -rt/com/sun/tools/jdi/StringReferenceImpl.java -rt/com/sun/tools/jdi/SunCommandLineLauncher.java -rt/com/sun/tools/jdi/TargetVM.java -rt/com/sun/tools/jdi/ThreadAction.java -rt/com/sun/tools/jdi/ThreadGroupReferenceImpl.java -rt/com/sun/tools/jdi/ThreadListener.java -rt/com/sun/tools/jdi/ThreadReferenceImpl.java -rt/com/sun/tools/jdi/TypeComponentImpl.java -rt/com/sun/tools/jdi/TypeImpl.java -rt/com/sun/tools/jdi/ValueContainer.java -rt/com/sun/tools/jdi/ValueImpl.java -rt/com/sun/tools/jdi/VirtualMachineImpl.java -rt/com/sun/tools/jdi/VirtualMachineManagerImpl.java -rt/com/sun/tools/jdi/VirtualMachineManagerService.java -rt/com/sun/tools/jdi/VMAction.java -rt/com/sun/tools/jdi/VMListener.java -rt/com/sun/tools/jdi/VMModifiers.java -rt/com/sun/tools/jdi/VMState.java -rt/com/sun/tools/jdi/VoidTypeImpl.java -rt/com/sun/tools/jdi/VoidValueImpl.java -rt/java/util/AbstractCollection.java -rt/java/util/AbstractList.java -rt/java/util/AbstractMap.java -rt/java/util/AbstractQueue.java -rt/java/util/AbstractSequentialList.java -rt/java/util/AbstractSet.java -rt/java/util/ArrayDeque.java -rt/java/util/ArrayList.java -rt/java/util/Arrays.java -rt/java/util/BitSet.java -rt/java/util/Calendar.java -rt/java/util/Collection.java -rt/java/util/Collections.java -rt/java/util/Comparator.java -rt/java/util/ConcurrentModificationException.java -rt/java/util/Currency.java -rt/java/util/Date.java -rt/java/util/Deque.java -rt/java/util/Dictionary.java -rt/java/util/DuplicateFormatFlagsException.java -rt/java/util/EmptyStackException.java -rt/java/util/Enumeration.java -rt/java/util/EnumMap.java -rt/java/util/EnumSet.java -rt/java/util/EventListener.java -rt/java/util/EventListenerProxy.java -rt/java/util/EventObject.java -rt/java/util/FormatFlagsConversionMismatchException.java -rt/java/util/FormattableFlags.java -rt/java/util/Formattable.java -rt/java/util/FormatterClosedException.java -rt/java/util/Formatter.java -rt/java/util/GregorianCalendar.java -rt/java/util/HashMap.java -rt/java/util/HashSet.java -rt/java/util/Hashtable.java -rt/java/util/IdentityHashMap.java -rt/java/util/IllegalFormatCodePointException.java -rt/java/util/IllegalFormatConversionException.java -rt/java/util/IllegalFormatException.java -rt/java/util/IllegalFormatFlagsException.java -rt/java/util/IllegalFormatPrecisionException.java -rt/java/util/IllegalFormatWidthException.java -rt/java/util/InputMismatchException.java -rt/java/util/InvalidPropertiesFormatException.java -rt/java/util/Iterator.java -rt/java/util/JapaneseImperialCalendar.java -rt/java/util/JumboEnumSet.java -rt/java/util/LinkedHashMap.java -rt/java/util/LinkedHashSet.java -rt/java/util/LinkedList.java -rt/java/util/ListIterator.java -rt/java/util/List.java -rt/java/util/ListResourceBundle.java -rt/java/util/LocaleISOData.java -rt/java/util/Locale.java -rt/java/util/Map.java -rt/java/util/MissingFormatArgumentException.java -rt/java/util/MissingFormatWidthException.java -rt/java/util/MissingResourceException.java -rt/java/util/NavigableMap.java -rt/java/util/NavigableSet.java -rt/java/util/NoSuchElementException.java -rt/java/util/Observable.java -rt/java/util/Observer.java -rt/java/util/PriorityQueue.java -rt/java/util/Properties.java -rt/java/util/PropertyPermission.java -rt/java/util/PropertyResourceBundle.java -rt/java/util/Queue.java -rt/java/util/RandomAccess.java -rt/java/util/Random.java -rt/java/util/RegularEnumSet.java -rt/java/util/ResourceBundle.java -rt/java/util/Scanner.java -rt/java/util/ServiceConfigurationError.java -rt/java/util/ServiceLoader.java -rt/java/util/Set.java -rt/java/util/SimpleTimeZone.java -rt/java/util/SortedMap.java -rt/java/util/SortedSet.java -rt/java/util/Stack.java -rt/java/util/StringTokenizer.java -rt/java/util/Timer.java -rt/java/util/TimerTask.java -rt/java/util/TimeZone.java -rt/java/util/TooManyListenersException.java -rt/java/util/TreeMap.java -rt/java/util/TreeSet.java -rt/java/util/UnknownFormatConversionException.java -rt/java/util/UnknownFormatFlagsException.java -rt/java/util/UUID.java -rt/java/util/Vector.java -rt/java/util/WeakHashMap.java -rt/java/util/XMLUtils.java -rt/java/rmi/AccessException.java -rt/java/rmi/AlreadyBoundException.java -rt/java/rmi/ConnectException.java -rt/java/rmi/ConnectIOException.java -rt/java/rmi/MarshalException.java -rt/java/rmi/MarshalledObject.java -rt/java/rmi/Naming.java -rt/java/rmi/NoSuchObjectException.java -rt/java/rmi/NotBoundException.java -rt/java/rmi/RMISecurityException.java -rt/java/rmi/RMISecurityManager.java -rt/java/rmi/Remote.java -rt/java/rmi/RemoteException.java -rt/java/rmi/ServerError.java -rt/java/rmi/ServerException.java -rt/java/rmi/ServerRuntimeException.java -rt/java/rmi/StubNotFoundException.java -rt/java/rmi/UnexpectedException.java -rt/java/rmi/UnknownHostException.java -rt/java/rmi/UnmarshalException.java -rt/sun/rmi/rmic/BatchEnvironment.java -rt/sun/rmi/rmic/Constants.java -rt/sun/rmi/rmic/Generator.java -rt/sun/rmi/rmic/IndentingWriter.java -rt/sun/rmi/rmic/Main.java -rt/sun/rmi/rmic/Names.java -rt/sun/rmi/rmic/RMIConstants.java -rt/sun/rmi/rmic/RMIGenerator.java -rt/sun/rmi/rmic/RemoteClass.java -rt/sun/rmi/rmic/Util.java -rt/javax/net/ssl/CertPathTrustManagerParameters.java -rt/javax/net/ssl/HandshakeCompletedEvent.java -rt/javax/net/ssl/HandshakeCompletedListener.java -rt/javax/net/ssl/HostnameVerifier.java -rt/javax/net/ssl/HttpsURLConnection.java -rt/javax/net/ssl/KeyManager.java -rt/javax/net/ssl/KeyManagerFactory.java -rt/javax/net/ssl/KeyManagerFactorySpi.java -rt/javax/net/ssl/KeyStoreBuilderParameters.java -rt/javax/net/ssl/ManagerFactoryParameters.java -rt/javax/net/ssl/SSLContext.java -rt/javax/net/ssl/SSLContextSpi.java -rt/javax/net/ssl/SSLEngine.java -rt/javax/net/ssl/SSLEngineResult.java -rt/javax/net/ssl/SSLException.java -rt/javax/net/ssl/SSLHandshakeException.java -rt/javax/net/ssl/SSLKeyException.java -rt/javax/net/ssl/SSLParameters.java -rt/javax/net/ssl/SSLPeerUnverifiedException.java -rt/javax/net/ssl/SSLPermission.java -rt/javax/net/ssl/SSLProtocolException.java -rt/javax/net/ssl/SSLServerSocket.java -rt/javax/net/ssl/SSLServerSocketFactory.java -rt/javax/net/ssl/SSLSession.java -rt/javax/net/ssl/SSLSessionBindingEvent.java -rt/javax/net/ssl/SSLSessionBindingListener.java -rt/javax/net/ssl/SSLSessionContext.java -rt/javax/net/ssl/SSLSocket.java -rt/javax/net/ssl/SSLSocketFactory.java -rt/javax/net/ssl/TrustManager.java -rt/javax/net/ssl/TrustManagerFactory.java -rt/javax/net/ssl/TrustManagerFactorySpi.java -rt/javax/net/ssl/X509ExtendedKeyManager.java -rt/javax/net/ssl/X509KeyManager.java -rt/javax/net/ssl/X509TrustManager.java -rt/javax/script/AbstractScriptEngine.java -rt/javax/script/Bindings.java -rt/javax/script/Compilable.java -rt/javax/script/CompiledScript.java -rt/javax/script/Invocable.java -rt/javax/script/ScriptContext.java -rt/javax/script/ScriptEngine.java -rt/javax/script/ScriptEngineFactory.java -rt/javax/script/ScriptEngineManager.java -rt/javax/script/ScriptException.java -rt/javax/script/SimpleBindings.java -rt/javax/script/SimpleScriptContext.java -rt/java/io/ -rt/sun/awt -rt/netscape/javascript/JSException.java -rt/netscape/javascript/JSObject.java -rt/netscape/javascript/JSProxy.java -rt/netscape/javascript/JSRunnable.java -rt/netscape/javascript/JSUtil.java +test/check-*.log generated/sun/awt/X11/generator/sizer.32.orig pulseaudio/bin -pulseaudio/.*\.o +pulseaudio/*.o pulseaudio/src/native/org_.*.h -pulseaudio/.*jar +pulseaudio/*.jar pulse-java.jar hotspot.tar.gz ports/hotspot/src/cpu/zero/vm/bytecodes_arm.s plugin/tests/LiveConnect/*jar + +syntax: regexp +^openjdk diff -r 76296a4bf985 -r 1a17fa784cae .hgtags --- a/.hgtags Wed Feb 17 23:21:43 2010 +0000 +++ b/.hgtags Fri Apr 16 14:12:08 2010 +0100 @@ -17,3 +17,4 @@ 926c38e2b2830971f6ca0dff2ce25f78a694b178 926c38e2b2830971f6ca0dff2ce25f78a694b178 icedtea6-1.5rc3 9420faca6468e1c75e9bfa73b31246ba0b73a77d icedtea-1.6-branchpoint 8826d5735e2ca97ecdb35e7c977785d3e5b99556 icedtea-1.7-branchpoint +9420faca6468e1c75e9bfa73b31246ba0b73a77d icedtea6-1.8-branchpoint diff -r 76296a4bf985 -r 1a17fa784cae ChangeLog --- a/ChangeLog Wed Feb 17 23:21:43 2010 +0000 +++ b/ChangeLog Fri Apr 16 14:12:08 2010 +0100 @@ -1,3 +1,1757 @@ 2010-02-17 Andrew John Hughes + + * Makefile.am: Bump to b19 tarball. + +2010-04-12 Andrew John Hughes + + PR icedtea/373 + * Makefile.am: Add patch below. + * patches/icedtea-nomotif-mtoolkit.patch: + Backported change from OpenJDK (pre-b24). + +2010-04-12 Deepak Bhole + + * plugin/icedteanp/IcedTeaNPPlugin.cc (ITNP_New): Removed debug printf + statement that didn't belong there. + * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java + (createPanel): Don't print stack traces on InterruptedException. + (handleMessage): Same. + +2010-04-12 Andrew John Hughes + + * Makefile.am: Add patch below. From bugzilla-daemon at icedtea.classpath.org Fri Apr 16 06:34:08 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 16 Apr 2010 13:34:08 +0000 Subject: [Bug 472] Update of icedtea crashes epiphany Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=472 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Component|IcedTea6 |NPPlugin Version|6-1.7 |6-1.8 ------- Comment #1 from gnu_andrew at member.fsf.org 2010-04-16 13:34 ------- This is related to the IcedTea NPPlugin. I don't think it yet supports the new webkit-gtk based epiphany. Does it work ok for you in FIrefox? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Apr 16 06:34:30 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 16 Apr 2010 13:34:30 +0000 Subject: [Bug 472] Update of icedtea crashes epiphany Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=472 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at icedtea.classpath|dbhole at redhat.com |.org | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee. From andrew at icedtea.classpath.org Sun Apr 18 09:04:23 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Sun, 18 Apr 2010 16:04:23 +0000 Subject: /hg/icedtea6: 2 new changesets Message-ID: changeset e89067b8a611 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=e89067b8a611 author: Andrew John Hughes date: Sun Apr 18 17:03:04 2010 +0100 Log all output from configure command invocations to config.log. 2010-04-18 Andrew John Hughes * acinclude.m4: (FIND_JAR): Log all output to config.log (AC_CHECK_WITH_HG_REVISION): Likewise. (IT_CHECK_PLUGIN_DEPENDENCIES): Likewise. changeset 3e9397f2ac2c in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=3e9397f2ac2c author: Andrew John Hughes date: Sun Apr 18 17:04:10 2010 +0100 Merge diffstat: 70 files changed, 1258 insertions(+), 14062 deletions(-) ChangeLog | 176 Makefile.am | 77 acinclude.m4 | 11 hotspot.map | 3 patches/ecj/override.patch | 11 patches/hotspot/hs16/6873059-javac-versioning-hotspot.patch | 245 patches/hotspot/hs16/icedtea-params-cast-size_t.patch | 252 patches/hotspot/hs16/memory-limits.patch | 24 patches/hotspot/hs16/openjdk-6886353-ignore_deoptimizealot.patch | 33 patches/hotspot/hs16/shark.patch | 9 patches/hotspot/hs16/zero.patch | 107 patches/hotspot/hs17/6873059-javac-versioning-hotspot.patch | 42 patches/hotspot/hs17/params-cast-size_t.patch | 252 patches/hotspot/hs17/systemtap.patch | 157 patches/hotspot/original/6873059-javac-versioning-hotspot.patch | 245 patches/hotspot/original/icedtea-6778657-f2i-overflow.patch | 96 patches/hotspot/original/icedtea-6778662-lib64.patch | 16 patches/hotspot/original/icedtea-6791168.patch | 230 patches/hotspot/original/icedtea-6793825-includedb.patch | 107 patches/hotspot/original/icedtea-debuginfo.patch | 15 patches/hotspot/original/icedtea-params-cast-size_t.patch | 255 patches/hotspot/original/memory-limits.patch | 23 patches/hotspot/original/params-cast-size_t.patch | 252 patches/hotspot/original/systemtap.patch | 182 patches/icedtea-6761856-freetypescaler.patch | 47 patches/icedtea-explicit-target-arch.patch | 6 patches/icedtea-fonts.patch | 783 - patches/icedtea-lcms.patch | 18 patches/icedtea-nss-6763530.patch | 55 patches/icedtea-systemtap.patch | 182 patches/memory-limits.patch | 24 patches/openjdk/6822370-reentrantreadwritelock.patch | 65 patches/openjdk/6873059-javac-versioning-corba.patch | 23 patches/openjdk/6873059-javac-versioning-jdk.patch | 15 patches/openjdk/6879689-hotspot_warning_fix.patch | 22 patches/openjdk/6896472-missing_libjsig.patch | 20 patches/openjdk/6928623-verbose-langtools.patch | 22 patches/openjdk/annotation-tests.patch | 5867 ---------- patches/openjdk/bidi-tests.patch | 295 patches/security/20100330/6633872.patch | 443 patches/security/20100330/6639665.patch | 51 patches/security/20100330/6736390.patch | 18 patches/security/20100330/6745393.patch | 1233 -- patches/security/20100330/6887703.patch | 28 patches/security/20100330/6888149.patch | 33 patches/security/20100330/6892265.patch | 35 patches/security/20100330/6893947.patch | 86 patches/security/20100330/6893954.patch | 248 patches/security/20100330/6894807.patch | 27 patches/security/20100330/6898622.patch | 20 patches/security/20100330/6898739.patch | 437 patches/security/20100330/6899653.patch | 27 patches/security/20100330/6902299.patch | 104 patches/security/20100330/6904691.patch | 166 patches/security/20100330/6909597.patch | 74 patches/security/20100330/6910590.patch | 10 patches/security/20100330/6914823.patch | 80 patches/security/20100330/6914866.patch | 118 patches/security/20100330/6932480.patch | 43 patches/security/20100330/hotspot/hs16/6626217.patch | 160 patches/shark.patch | 9 patches/zero.patch | 107 patches/zero/6890308.patch | 760 - patches/zero/6891677.patch | 418 patches/zero/6896043.patch | 113 patches/zero/6903453.patch | 38 patches/zero/6909153.patch | 40 patches/zero/6913869.patch | 12 patches/zero/6914622.patch | 98 patches/zero/6939845.patch | 20 diffs (truncated from 15829 to 500 lines): diff -r e26a587c0236 -r 3e9397f2ac2c ChangeLog --- a/ChangeLog Mon Apr 12 22:27:59 2010 +0100 +++ b/ChangeLog Sun Apr 18 17:04:10 2010 +0100 @@ -1,3 +1,14 @@ 2010-04-12 Andrew John Hughes + + * acinclude.m4: + (FIND_JAR): Log all output to config.log + (AC_CHECK_WITH_HG_REVISION): Likewise. + (IT_CHECK_PLUGIN_DEPENDENCIES): Likewise. + +2010-04-16 Andrew John Hughes + + * Makefile.am: Bump to b19 tarball. + 2010-04-12 Andrew John Hughes PR icedtea/373 @@ -57,6 +68,38 @@ 2010-04-12 Matthias Klose + + * patches/hotspot/original/6873059-javac-versioning-hotspot.patch, + * patches/openjdk/6873059-javac-versioning-corba.patch, + * patches/openjdk/6873059-javac-versioning-jdk.patch: + Removed, upstreamed. + * Makefile.am: + Move 6873059 to hs17-specific block. + +2010-04-11 Andrew John Hughes + + Support hs17. + * patches/icedtea-params-cast-size_t.patch, + * patches/icedtea-systemtap.patch: + Split into original and hs17 versions. + * Makefile.am: + Make above patches $(HSBUILD) specific. + Add 6896472 fix for hs17. + * hotspot.map: Add hs17 b13, enabled using + --with-hotspot-build=hs17. + * patches/hotspot/hs17/6873059-javac-versioning-hotspot.patch, + * patches/hotspot/hs17/params-cast-size_t.patch, + * patches/hotspot/hs17/systemtap.patch: + New variants for hs17. + * patches/hotspot/original/params-cast-size_t.patch, + * patches/hotspot/original/systemtap.patch: + Moved from main patches directory. + * patches/icedtea-explicit-target-arch.patch: + Remove unneeded diff at top which breaks on hs17. + * patches/openjdk/6896472-missing_libjsig.patch: + Backport from OpenJDK7; needed for hs17. + 2010-04-10 Matthias Klose * Makefile.am (ICEDTEA_PATCHES): Always apply @@ -66,6 +109,12 @@ 2010-04-10 Matthias Klose + + * patches/zero/6939845.patch, + * Makefile.am: + Remove upstreamed Zero patch. + 2010-04-09 Xerxes R??nby * Makefile.am (ICEDTEA_PATCHES): @@ -75,6 +124,15 @@ 2010-04-09 Xerxes R??nby + + * patches/zero/6903453.patch, + * patches/zero/6909153.patch, + * patches/zero/6913869.patch, + * patches/zero/6914622.patch, + * Makefile.am: + Remove patches applied upstream. + 2010-04-08 Andrew John Hughes * configure.ac: Move NSS detection to macros @@ -97,6 +155,13 @@ 2010-04-08 Andrew John Hughes + + * patches/openjdk/6879689-hotspot_warning_fix.patch, + * patches/security/20100330/6633872.patch, + * Makefile.am: + Remove upstreamed patches. 2010-04-07 Deepak Bhole @@ -154,6 +219,41 @@ 2010-04-06 Deepak Bhole + + * patches/hotspot/hs16/6873059-javac-versioning-hotspot.patch: + Moved to hotspot/original. + * patches/openjdk/6822370-reentrantreadwritelock.patch, + * patches/security/20100330/6639665.patch, + * patches/security/20100330/6736390.patch, + * patches/security/20100330/6745393.patch, + * patches/security/20100330/6887703.patch, + * patches/security/20100330/6888149.patch, + * patches/security/20100330/6892265.patch, + * patches/security/20100330/6893947.patch, + * patches/security/20100330/6893954.patch, + * patches/security/20100330/6894807.patch, + * patches/security/20100330/6898622.patch, + * patches/security/20100330/6898739.patch, + * patches/security/20100330/6899653.patch, + * patches/security/20100330/6902299.patch, + * patches/security/20100330/6904691.patch, + * patches/security/20100330/6909597.patch, + * patches/security/20100330/6910590.patch, + * patches/security/20100330/6914823.patch, + * patches/security/20100330/6914866.patch, + * patches/security/20100330/6932480.patch, + * patches/security/20100330/hotspot/hs16/6626217.patch: + Drop patches available upstream. + * Makefile.am: Remove listed patches. + * patches/hotspot/original/6873059-javac-versioning-hotspot.patch: + Moved from hs16 directory. + * patches/icedtea-lcms.patch: + Recreated against new security patches (inverse of + before where 6899653 was adapted to our LCMS fix). + * patches/security/20100330/6633872.patch: + Keep just the fragment not in the Sun version which + fixes an NPE when running rmid. 2010-04-04 Nobuhiro Iwamatsu @@ -222,6 +322,11 @@ 2009-03-30 Andrew John Hughes + * patches/icedtea-override.patch: + Fix path on previous HttpsClient hunk. + +2010-03-30 Andrew John Hughes + * patches/openjdk/6873059-javac-versioning-hotspot.patch: Move to hotspot/original directory. * Makefile.am: Make javac versioning patch for HotSpot @@ -236,6 +341,18 @@ 2010-03-30 Edward Nevill + + * patches/openjdk/annotation-tests.patch: + Dropped, was applied upstream in a different + directory some time ago. + * patches/openjdk/bidi-tests.patch, + * patches/zero/6890308.patch, + * patches/zero/6891677.patch, + * patches/zero/6896043.patch: + Dropped, applied upstream. + * Makefile.am: Remove above. 2010-03-29 Andrew John Hughes @@ -280,6 +397,12 @@ 2010-03-29 Andrew John Hughes + + * patches/icedtea-override.patch: + Remove @Override on interface method + in sun/net/www/protocol/https/HttpsClient.java + 2009-08-21 Andrew John Hughes * javac.in: @@ -538,7 +661,6 @@ 2010-03-16 Andrew John Hughes - * patches/icedtea-override.patch: Moved to ecj subdirectory. * Makefile.am: @@ -701,6 +823,13 @@ 2010-03-13 Deepak Bhole + + * patches/icedtea-fonts.patch: + Removed, applied upstream as S6934327. + http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/178f954e1fd1 + * Makefile.am: Drop above patch. 2010-03-12 Andrew John Hughes @@ -1179,6 +1308,12 @@ 2010-03-04 Xerxes R??nby + + * patches/openjdk/6928623-verbose-langtools.patch: + Removed, applied upstream. + * Makefile.am: Drop above patch. + 2010-03-01 Andrew John Hughes * Makefile.am: @@ -1299,6 +1434,34 @@ 2010-02-26 Xerxes R??nby + + * patches/hotspot/hs16/icedtea-params-cast-size_t.patch, + * patches/hotspot/hs16/memory-limits.patch: + Move to main patches directory. + * patches/hotspot/hs16/openjdk-6886353-ignore_deoptimizealot.patch: + Dropped, applied upstream. + * patches/hotspot/hs16/shark.patch, + * patches/hotspot/hs16/zero.patch: + Moved to main patches directory. + * patches/hotspot/original/icedtea-6778657-f2i-overflow.patch, + * patches/hotspot/original/icedtea-6778662-lib64.patch, + * patches/hotspot/original/icedtea-6791168.patch, + * patches/hotspot/original/icedtea-6793825-includedb.patch, + * patches/hotspot/original/icedtea-debuginfo.patch, + * patches/hotspot/original/icedtea-params-cast-size_t.patch, + * patches/hotspot/original/memory-limits.patch: + Obsoleted by move to hs16 upstream. + * patches/icedtea-nss-6763530.patch: + Applied upstream. + * Makefile.am: Update patch list. + * hotspot.map: Remove outdated hs16 build. + * patches/icedtea-params-cast-size_t.patch, + * patches/memory-limits.patch, + * patches/shark.patch, + * patches/zero.patch: + Moved from hotspot/hs16. 2010-02-24 Andrew John Hughes @@ -1581,9 +1744,20 @@ 2010-02-17 Andrew John Hughes * Makefile.am: + Update JAXP tarball. + +2010-02-17 Andrew John Hughes + + * Makefile.am: Remove dead JAXWS and JAXP sourcepaths. Add sun.misc.Unsafe explicitly to ensure it is compiled as a bootstrap class. + +2010-02-17 Andrew John Hughes + + * patches/icedtea-6761856-freetypescaler.patch: + Dropped; applied upstream. + * Makefile.am: Remove above patch. 2010-02-17 Andrew John Hughes diff -r e26a587c0236 -r 3e9397f2ac2c Makefile.am --- a/Makefile.am Mon Apr 12 22:27:59 2010 +0100 +++ b/Makefile.am Sun Apr 18 17:04:10 2010 +0100 @@ -1,8 +1,8 @@ # Dependencies -OPENJDK_DATE = 16_feb_2010 -OPENJDK_MD5SUM = 94db01691ab38f98b7d42b2ebf4d5c0b -OPENJDK_VERSION = b18 +OPENJDK_DATE = 15_apr_2010 +OPENJDK_MD5SUM = 39bbf623a6c83ca63b92593062a28146 +OPENJDK_VERSION = b19 OPENJDK_URL = http://download.java.net/openjdk/jdk6/promoted/$(OPENJDK_VERSION)/ CACAO_VERSION = 0.99.4 @@ -23,9 +23,9 @@ JAXWS_DROP_SHA256SUM = 155ff3be83c980e19 JAXWS_DROP_SHA256SUM = 155ff3be83c980e197621a2fbf7ee34e8e0f536489351a5865cf0e52206245e2 JAF_DROP_ZIP = jdk6-jaf-2009_10_27.zip JAF_DROP_SHA256SUM = fdc51476fc6bcc69ea1f099f33e84601a126bfa8b11c8fa11c25dc574345aa9f -JAXP_DROP_URL = https://jaxp.dev.java.net/files/documents/913/147329 -JAXP_DROP_ZIP = jdk6-jaxp-2009_10_13.zip -JAXP_DROP_SHA256SUM = 8714d55de18db48ca9da0ee986202005082f44cf4c215da8683342b70e61792b +JAXP_DROP_URL = https://jaxp.dev.java.net/files/documents/913/147491 +JAXP_DROP_ZIP = jdk6-jaxp-2010_01_15.zip +JAXP_DROP_SHA256SUM = 181615cfec1c3721a7d8f278fa25b392be4247a496c7774a10cb9df37684f94f OPENJDK_HG_URL = http://hg.openjdk.java.net/jdk6/jdk6 @@ -224,14 +224,6 @@ ICEDTEA_FSG_PATCHES = ICEDTEA_FSG_PATCHES = ICEDTEA_PATCHES = \ - patches/zero/6890308.patch \ - patches/zero/6891677.patch \ - patches/zero/6896043.patch \ - patches/zero/6903453.patch \ - patches/zero/6909153.patch \ - patches/zero/6913869.patch \ - patches/zero/6914622.patch \ - patches/zero/6939845.patch \ patches/zero/shark_do_nothing_on_stub_frame.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ @@ -248,7 +240,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-gcc-suffix.patch \ patches/icedtea-gcc-suffix-hotspot.patch \ patches/icedtea-bytebuffer-compact.patch \ - patches/hotspot/$(HSBUILD)/memory-limits.patch \ + patches/memory-limits.patch \ patches/icedtea-sunsrc.patch \ patches/icedtea-libraries.patch \ patches/icedtea-javafiles.patch \ @@ -259,7 +251,6 @@ ICEDTEA_PATCHES = \ patches/icedtea-jpegclasses.patch \ patches/icedtea-uname.patch \ patches/icedtea-freetypeversion.patch \ - patches/icedtea-fonts.patch \ patches/icedtea-shark-build.patch \ patches/icedtea-shark-build-hotspot.patch \ patches/icedtea-nomotif-6706121.patch \ @@ -269,7 +260,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-alt-jar.patch \ patches/icedtea-jdk-use-ssize_t.patch \ patches/icedtea-use-idx_t.patch \ - patches/hotspot/$(HSBUILD)/icedtea-params-cast-size_t.patch \ + patches/hotspot/$(HSBUILD)/params-cast-size_t.patch \ patches/icedtea-clean-crypto.patch \ patches/icedtea-shark.patch \ patches/icedtea-arch.patch \ @@ -278,13 +269,10 @@ ICEDTEA_PATCHES = \ patches/icedtea-renderer-crossing.patch \ patches/icedtea-stroker-finish.patch \ patches/icedtea-linker-libs-order.patch \ - patches/icedtea-6761856-freetypescaler.patch \ patches/icedtea-testenv.patch \ patches/icedtea-samejvm-safe.patch \ patches/icedtea-pr261.patch \ patches/icedtea-doc-headers.patch \ - patches/openjdk/bidi-tests.patch \ - patches/openjdk/annotation-tests.patch \ patches/icedtea-sparc-buildfixes.patch \ patches/icedtea-sparc64-linux.patch \ patches/icedtea-sparc-ptracefix.patch \ @@ -303,43 +291,24 @@ ICEDTEA_PATCHES = \ patches/icedtea-disable-cc-incompatible-sanity-checks.patch \ patches/icedtea-explicit-target-arch.patch \ patches/icedtea-gcc-stack-markings.patch \ - patches/openjdk/6879689-hotspot_warning_fix.patch \ - patches/openjdk/6928623-verbose-langtools.patch \ patches/icedtea-no-precompiled.patch \ patches/icedtea-linux-separate-debuginfo.patch \ patches/icedtea-parisc.patch \ patches/icedtea-sh4-support.patch \ patches/libpng.patch \ + patches/zero.patch \ + patches/shark.patch \ patches/extensions/netx.patch \ patches/extensions/netx-dist.patch \ patches/extensions/netx-umask.patch \ patches/icedtea-jtreg-httpTest.patch \ - patches/openjdk/6873059-javac-versioning-corba.patch \ - patches/hotspot/$(HSBUILD)/6873059-javac-versioning-hotspot.patch \ - patches/openjdk/6873059-javac-versioning-jdk.patch \ - patches/security/20100330/hotspot/$(HSBUILD)/6626217.patch \ - patches/security/20100330/6633872.patch \ - patches/security/20100330/6639665.patch \ - patches/security/20100330/6736390.patch \ - patches/security/20100330/6745393.patch \ - patches/security/20100330/6887703.patch \ - patches/security/20100330/6888149.patch \ - patches/security/20100330/6892265.patch \ - patches/security/20100330/6893947.patch \ - patches/security/20100330/6893954.patch \ - patches/security/20100330/6894807.patch \ - patches/security/20100330/6898622.patch \ - patches/security/20100330/6898739.patch \ - patches/security/20100330/6899653.patch \ - patches/security/20100330/6902299.patch \ - patches/security/20100330/6904691.patch \ - patches/security/20100330/6909597.patch \ - patches/security/20100330/6910590.patch \ - patches/security/20100330/6914823.patch \ - patches/security/20100330/6914866.patch \ - patches/security/20100330/6932480.patch \ - patches/icedtea-nss-6763530.patch \ patches/nss-debug.patch + +if WITH_ALT_HSBUILD +ICEDTEA_PATCHES += \ + patches/openjdk/6896472-missing_libjsig.patch \ + patches/hotspot/$(HSBUILD)/6873059-javac-versioning-hotspot.patch +endif if WITH_RHINO ICEDTEA_PATCHES += \ @@ -387,25 +356,13 @@ endif endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += patches/icedtea-systemtap.patch +ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/systemtap.patch endif if ENABLE_NSS ICEDTEA_PATCHES += patches/icedtea-nss-config.patch else ICEDTEA_PATCHES += patches/icedtea-nss-not-enabled-config.patch -endif - -if WITH_ALT_HSBUILD -ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/openjdk-6886353-ignore_deoptimizealot.patch \ - patches/hotspot/$(HSBUILD)/zero.patch \ - patches/hotspot/$(HSBUILD)/shark.patch -else -ICEDTEA_PATCHES += patches/hotspot/original/icedtea-6778662-lib64.patch \ - patches/hotspot/original/icedtea-6778657-f2i-overflow.patch \ - patches/hotspot/original/icedtea-6791168.patch \ - patches/hotspot/original/icedtea-6793825-includedb.patch \ - patches/openjdk/6822370-reentrantreadwritelock.patch endif ICEDTEA_PATCHES += $(DISTRIBUTION_PATCHES) diff -r e26a587c0236 -r 3e9397f2ac2c acinclude.m4 --- a/acinclude.m4 Mon Apr 12 22:27:59 2010 +0100 +++ b/acinclude.m4 Sun Apr 18 17:04:10 2010 +0100 @@ -379,7 +379,7 @@ AC_DEFUN([FIND_JAR], cat >_config.list <&AS_MESSAGE_LOG_FD; then + if $JAR cf _config.jar @_config.list >&AS_MESSAGE_LOG_FD 2>&1; then JAR_KNOWS_ATFILE=1 AC_MSG_RESULT(yes) else @@ -387,7 +387,7 @@ EOF AC_MSG_RESULT(no) fi AC_MSG_CHECKING([whether jar supports stdin file arguments]) - if cat _config.list | $JAR cf@ _config.jar 2>&AS_MESSAGE_LOG_FD; then + if cat _config.list | $JAR cf@ _config.jar >&AS_MESSAGE_LOG_FD 2>&1; then JAR_ACCEPTS_STDIN_LIST=1 AC_MSG_RESULT(yes) else @@ -396,7 +396,7 @@ EOF fi rm -f _config.list _config.jar AC_MSG_CHECKING([whether jar supports -J options at the end]) - if $JAR cf _config.jar _config.txt -J-Xmx896m 2>&AS_MESSAGE_LOG_FD; then + if $JAR cf _config.jar _config.txt -J-Xmx896m >&AS_MESSAGE_LOG_FD 2>&1; then JAR_KNOWS_J_OPTIONS=1 AC_MSG_RESULT(yes) else @@ -1414,7 +1414,7 @@ AC_DEFUN_ONCE([IT_OBTAIN_HG_REVISIONS], ICEDTEA_REVISION="none"; JDK_REVISION="none"; HOTSPOT_REVISION="none"; - if which ${HG} >/dev/null; then + if which ${HG} >&AS_MESSAGE_LOG_FD 2>&1; then AC_MSG_CHECKING([for IcedTea Mercurial revision ID]) if test -e ${abs_top_srcdir}/.hg ; then ICEDTEA_REVISION="r`(cd ${abs_top_srcdir}; ${HG} tip --template '{node|short}')`" ; @@ -1462,8 +1462,7 @@ if test "x${enable_plugin}" = "xyes" ; t AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) - - if $PKG_CONFIG --atleast-version 1.9.2 libxul 2>&AS_MESSAGE_LOG_FD ; then + if $PKG_CONFIG --atleast-version 1.9.2 libxul >&AS_MESSAGE_LOG_FD 2>&1; then xullibs=libxul else xullibs="libxul libxul-unstable" diff -r e26a587c0236 -r 3e9397f2ac2c hotspot.map --- a/hotspot.map Mon Apr 12 22:27:59 2010 +0100 +++ b/hotspot.map Sun Apr 18 17:04:10 2010 +0100 @@ -1,2 +1,3 @@ # version url changeset md5sum -hs16 http://hg.openjdk.java.net/hsx/hsx16/master 62926c7f67a3 d683eb501e7ce710198f20f0c127ebbb +hs17 http://hg.openjdk.java.net/hsx/hsx17/master 8ca546927f8c 0d41815127b8fecd0a4e1546e23fa1f3 + diff -r e26a587c0236 -r 3e9397f2ac2c patches/ecj/override.patch --- a/patches/ecj/override.patch Mon Apr 12 22:27:59 2010 +0100 +++ b/patches/ecj/override.patch Sun Apr 18 17:04:10 2010 +0100 @@ -196,3 +196,14 @@ diff -Nru openjdk.orig/jdk/src/share/cla From andrew at icedtea.classpath.org Sun Apr 18 09:26:47 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Sun, 18 Apr 2010 16:26:47 +0000 Subject: /hg/icedtea6: Bump to hs17 build 14. Message-ID: changeset 4d10e44726a4 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=4d10e44726a4 author: Andrew John Hughes date: Sun Apr 18 17:25:41 2010 +0100 Bump to hs17 build 14. 2010-04-18 Andrew John Hughes * hotspot.map: Bump to hs17 build 14. diffstat: 2 files changed, 6 insertions(+), 2 deletions(-) ChangeLog | 5 +++++ hotspot.map | 3 +-- diffs (20 lines): diff -r 3e9397f2ac2c -r 4d10e44726a4 ChangeLog --- a/ChangeLog Sun Apr 18 17:04:10 2010 +0100 +++ b/ChangeLog Sun Apr 18 17:25:41 2010 +0100 @@ -1,3 +1,8 @@ 2010-04-18 Andrew John Hughes + + * hotspot.map: + Bump to hs17 build 14. + 2010-04-18 Andrew John Hughes * acinclude.m4: diff -r 3e9397f2ac2c -r 4d10e44726a4 hotspot.map --- a/hotspot.map Sun Apr 18 17:04:10 2010 +0100 +++ b/hotspot.map Sun Apr 18 17:25:41 2010 +0100 @@ -1,3 +1,2 @@ # version url changeset md5sum -hs17 http://hg.openjdk.java.net/hsx/hsx17/master 8ca546927f8c 0d41815127b8fecd0a4e1546e23fa1f3 - +hs17 http://hg.openjdk.java.net/hsx/hsx17/master 2fdcfb70e37d 4cdc72b4c5d7ea526552aed824c28582 From andrew at icedtea.classpath.org Sun Apr 18 10:07:32 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Sun, 18 Apr 2010 17:07:32 +0000 Subject: /hg/icedtea6: Fix hs17 build. Message-ID: changeset 17a509b8bf75 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=17a509b8bf75 author: Andrew John Hughes date: Sun Apr 18 18:07:25 2010 +0100 Fix hs17 build. 2010-04-18 Andrew John Hughes * patches/zero/shark_do_nothing_on_stub_frame.patch: Moved to hs16 and hs17 versions. * Makefile.am: Use $(HSBUILD) in path to Shark stub frame patch. * patches/hotspot/hs17/shark_do_nothing_on_stub_frame.patch, * patches/hotspot/original/shark_do_nothing_on_stub_frame.patch: New HotSpot build-specific versions. diffstat: 5 files changed, 40 insertions(+), 16 deletions(-) ChangeLog | 10 ++++++ Makefile.am | 2 - patches/hotspot/hs17/shark_do_nothing_on_stub_frame.patch | 14 +++++++++ patches/hotspot/original/shark_do_nothing_on_stub_frame.patch | 15 ++++++++++ patches/zero/shark_do_nothing_on_stub_frame.patch | 15 ---------- diffs (85 lines): diff -r 4d10e44726a4 -r 17a509b8bf75 ChangeLog --- a/ChangeLog Sun Apr 18 17:25:41 2010 +0100 +++ b/ChangeLog Sun Apr 18 18:07:25 2010 +0100 @@ -1,3 +1,13 @@ 2010-04-18 Andrew John Hughes + + * patches/zero/shark_do_nothing_on_stub_frame.patch: + Moved to hs16 and hs17 versions. + * Makefile.am: + Use $(HSBUILD) in path to Shark stub frame patch. + * patches/hotspot/hs17/shark_do_nothing_on_stub_frame.patch, + * patches/hotspot/original/shark_do_nothing_on_stub_frame.patch: + New HotSpot build-specific versions. + 2010-04-18 Andrew John Hughes * hotspot.map: diff -r 4d10e44726a4 -r 17a509b8bf75 Makefile.am --- a/Makefile.am Sun Apr 18 17:25:41 2010 +0100 +++ b/Makefile.am Sun Apr 18 18:07:25 2010 +0100 @@ -224,7 +224,7 @@ ICEDTEA_FSG_PATCHES = ICEDTEA_FSG_PATCHES = ICEDTEA_PATCHES = \ - patches/zero/shark_do_nothing_on_stub_frame.patch \ + patches/hotspot/$(HSBUILD)/shark_do_nothing_on_stub_frame.patch \ patches/icedtea-notice-safepoints.patch \ patches/icedtea-parisc-opt.patch \ patches/icedtea-lucene-crash.patch \ diff -r 4d10e44726a4 -r 17a509b8bf75 patches/hotspot/hs17/shark_do_nothing_on_stub_frame.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/hotspot/hs17/shark_do_nothing_on_stub_frame.patch Sun Apr 18 18:07:25 2010 +0100 @@ -0,0 +1,14 @@ +diff -Nru openjdk.orig/hotspot/src/share/vm/runtime/frame.cpp openjdk/hotspot/src/share/vm/runtime/frame.cpp +--- openjdk.orig/hotspot/src/share/vm/runtime/frame.cpp 2010-04-17 02:15:34.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/runtime/frame.cpp 2010-04-18 17:37:54.000000000 +0100 +@@ -1212,6 +1212,10 @@ + oops_entry_do(f, map); + } else if (CodeCache::contains(pc())) { + oops_code_blob_do(f, cf, map); ++#ifdef SHARK ++ } else if (is_fake_stub_frame()) { ++ // nothing to do ++#endif // SHARK + } else { + ShouldNotReachHere(); + } diff -r 4d10e44726a4 -r 17a509b8bf75 patches/hotspot/original/shark_do_nothing_on_stub_frame.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/hotspot/original/shark_do_nothing_on_stub_frame.patch Sun Apr 18 18:07:25 2010 +0100 @@ -0,0 +1,15 @@ +Index: hotspot/src/share/vm/runtime/frame.cpp +=================================================================== +--- openjdk/hotspot.orig/src/share/vm/runtime/frame.cpp 2010-02-17 04:11:10.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/runtime/frame.cpp 2010-03-25 10:06:18.334380336 +0100 +@@ -1205,6 +1205,10 @@ + if (is_interpreted_frame()) { oops_interpreted_do(f, map, use_interpreter_oop_map_cache); + } else if (is_entry_frame()) { oops_entry_do (f, map); + } else if (CodeCache::contains(pc())) { oops_code_blob_do (f, map); ++#ifdef SHARK ++ } else if (is_fake_stub_frame()) { ++ // nothing to do ++#endif // SHARK + } else { + ShouldNotReachHere(); + } diff -r 4d10e44726a4 -r 17a509b8bf75 patches/zero/shark_do_nothing_on_stub_frame.patch --- a/patches/zero/shark_do_nothing_on_stub_frame.patch Sun Apr 18 17:25:41 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -Index: hotspot/src/share/vm/runtime/frame.cpp -=================================================================== ---- openjdk/hotspot.orig/src/share/vm/runtime/frame.cpp 2010-02-17 04:11:10.000000000 +0100 -+++ openjdk/hotspot/src/share/vm/runtime/frame.cpp 2010-03-25 10:06:18.334380336 +0100 -@@ -1205,6 +1205,10 @@ - if (is_interpreted_frame()) { oops_interpreted_do(f, map, use_interpreter_oop_map_cache); - } else if (is_entry_frame()) { oops_entry_do (f, map); - } else if (CodeCache::contains(pc())) { oops_code_blob_do (f, map); -+#ifdef SHARK -+ } else if (is_fake_stub_frame()) { -+ // nothing to do -+#endif // SHARK - } else { - ShouldNotReachHere(); - } From andrew at icedtea.classpath.org Sun Apr 18 13:05:03 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Sun, 18 Apr 2010 20:05:03 +0000 Subject: /hg/icedtea6: Remove unneeded files from overlay. Message-ID: changeset 8048dccbf481 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8048dccbf481 author: Andrew John Hughes date: Sun Apr 18 21:04:29 2010 +0100 Remove unneeded files from overlay. 2010-04-18 Andrew John Hughes * overlays/nio2/openjdk/jdk/src/solaris/classes/sun/nio/ch/D efaultSelectorProvider.java: Alters an existing file so converted to a patch. * overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionC heck.java, * overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionC heck.sh: Removed, available upstream. * patches/icedtea-nio2.patch: Extend with above NIO2 patch. diffstat: 5 files changed, 27 insertions(+), 177 deletions(-) ChangeLog | 10 + overlays/nio2/openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java | 76 ---------- overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.java | 40 ----- overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.sh | 61 -------- patches/icedtea-nio2.patch | 17 ++ diffs (230 lines): diff -r 17a509b8bf75 -r 8048dccbf481 ChangeLog --- a/ChangeLog Sun Apr 18 18:07:25 2010 +0100 +++ b/ChangeLog Sun Apr 18 21:04:29 2010 +0100 @@ -1,3 +1,13 @@ 2010-04-18 Andrew John Hughes + + * overlays/nio2/openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java: + Alters an existing file so converted to a patch. + * overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.java, + * overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.sh: + Removed, available upstream. + * patches/icedtea-nio2.patch: + Extend with above NIO2 patch. + 2010-04-18 Andrew John Hughes * patches/zero/shark_do_nothing_on_stub_frame.patch: diff -r 17a509b8bf75 -r 8048dccbf481 overlays/nio2/openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java --- a/overlays/nio2/openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java Sun Apr 18 18:07:25 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ -/* - * Copyright 2001-2005 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * 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. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * 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. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - */ - -package sun.nio.ch; - -import java.security.AccessController; -import java.security.PrivilegedAction; -import sun.security.action.GetPropertyAction; - -import org.classpath.icedtea.java.nio.channels.spi.SelectorProvider; - -/** - * Creates this platform's default SelectorProvider - */ - -public class DefaultSelectorProvider { - - /** - * Prevent instantiation. - */ - private DefaultSelectorProvider() { } - - /** - * Returns the default SelectorProvider. - */ - public static SelectorProvider create() { - String osname = AccessController.doPrivileged( - new GetPropertyAction("os.name")); - if ("SunOS".equals(osname)) { - return new sun.nio.ch.DevPollSelectorProvider(); - } - - // use EPollSelectorProvider for Linux kernels >= 2.6 - if ("Linux".equals(osname)) { - String osversion = AccessController.doPrivileged( - new GetPropertyAction("os.version")); - String[] vers = osversion.split("\\.", 0); - if (vers.length >= 2) { - try { - int major = Integer.parseInt(vers[0]); - int minor = Integer.parseInt(vers[1]); - if (major > 2 || (major == 2 && minor >= 6)) { - return new sun.nio.ch.EPollSelectorProvider(); - } - } catch (NumberFormatException x) { - // format not recognized - } - } - } - - return new sun.nio.ch.PollSelectorProvider(); - } - -} diff -r 17a509b8bf75 -r 8048dccbf481 overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.java --- a/overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.java Sun Apr 18 18:07:25 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -/* Testcase for PR381 Stackoverflow error with security manager, signed jars - and -Djava.security.debug set. - -Copyright (c) 2009, 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; 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. -*/ - - -import java.util.Date; - -/** - * Test class. Create a test keystore and dummy cert, create a jar file to - * sign with the test class in it. Sign it run it with the security manager - * on, plus accesscontroller debugging, will go into infinite recursion - * trying to get enough permissions for printing Date of failing - * certificate, unless fix is applied. - */ -public class TimeZoneDatePermissionCheck -{ - public static void main(String[] args) - { - System.out.println(new Date()); - } -} diff -r 17a509b8bf75 -r 8048dccbf481 overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.sh --- a/overlays/openjdk/jdk/test/java/util/TimeZone/TimeZoneDatePermissionCheck.sh Sun Apr 18 18:07:25 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,61 +0,0 @@ -# Testcase for PR381 Stackoverflow error with security manager, signed jars -# and -Djava.security.debug set. -# -# Copyright (c) 2009, 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; 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. - -# @test -# @bug 0000381 -# @summary Stackoverflow error with security manager, signed jars and debug. -# @build TimeZoneDatePermissionCheck -# @run shell TimeZoneDatePermissionCheck.sh - -# Set default if not run under jtreg from test dir itself -if [ "${TESTCLASSES}" = "" ] ; then - TESTCLASSES="." -fi -if [ "${TESTJAVA}" = "" ] ; then - TESTJAVA=/usr -fi - -# create a test keystore and dummy cert -rm -f ${TESTCLASSES}/timezonedatetest.store -${TESTJAVA}/bin/keytool -genkeypair -alias testcert \ - -keystore ${TESTCLASSES}/timezonedatetest.store \ - -storepass testpass -validity 360 \ - -dname "cn=Mark Wildebeest, ou=FreeSoft, o=Red Hat, c=NL" \ - -keypass testpass - -# create a jar file to sign with the test class in it. -rm -f ${TESTCLASSES}/timezonedatetest.jar -${TESTJAVA}/bin/jar cf \ - ${TESTCLASSES}/timezonedatetest.jar \ - -C ${TESTCLASSES} TimeZoneDatePermissionCheck.class - -# sign it -${TESTJAVA}/bin/jarsigner \ - -keystore ${TESTCLASSES}/timezonedatetest.store \ - -storepass testpass ${TESTCLASSES}/timezonedatetest.jar testcert - -# run it with the security manager on, plus accesscontroller debugging -# will go into infinite recursion trying to get enough permissions for -# printing Date of failing certificate unless fix is applied. -${TESTJAVA}/bin/java -Djava.security.manager \ - -Djava.security.debug=access,failure,policy \ - -cp ${TESTCLASSES}/timezonedatetest.jar TimeZoneDatePermissionCheck diff -r 17a509b8bf75 -r 8048dccbf481 patches/icedtea-nio2.patch --- a/patches/icedtea-nio2.patch Sun Apr 18 18:07:25 2010 +0100 +++ b/patches/icedtea-nio2.patch Sun Apr 18 21:04:29 2010 +0100 @@ -2778,3 +2778,20 @@ diff -Nru openjdk.orig/jdk/src/windows/c + static native void release0(FileDescriptor fd, long pos, long size) + throws IOException; } +diff -r e1d1417392db src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java +--- openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java Wed Apr 14 14:36:11 2010 -0700 ++++ openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java Sun Apr 18 19:46:48 2010 +0100 +@@ -25,11 +25,12 @@ + + package sun.nio.ch; + +-import java.nio.channels.spi.SelectorProvider; + import java.security.AccessController; + import java.security.PrivilegedAction; + import sun.security.action.GetPropertyAction; + ++import org.classpath.icedtea.java.nio.channels.spi.SelectorProvider; ++ + /** + * Creates this platform's default SelectorProvider + */ From bugzilla-daemon at icedtea.classpath.org Mon Apr 19 05:03:35 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 19 Apr 2010 12:03:35 +0000 Subject: [Bug 473] New: NSS PKCS11 regression - due to java.security automatic loading Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=473 Summary: NSS PKCS11 regression - due to java.security automatic loading Product: IcedTea Version: 6-1.8 Platform: all OS/Version: Windows Status: NEW Severity: critical Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: matej.spiller at gmail.com According to http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-September/007272.html there was added a patch for automatic NSS provider loading. This patch breaks presumably all applications using NSS DB. The main problem is because NSS cannot be loaded again with appropriate user's firefox profile with password DB after it was already loaded. There should be an option to either REALLY unload provider (remove provider still leaves SecMod in initialized state), or allow loading of user DBs through a keystore.load (after provider is loaded), or remove the patch completely. Another option could be to add boolean flag like nssForceLoad that unloads and loads SECMOD PKCS11 again. Another problem is invalid location of: libnssckbi.so. PKCS11 should load libnssckbi.so by hand before initializing NSS. Sample: //java.security.Security.removeProvider("SunPKCS11-NSS"); //this does not work (unless you remove it from java.security). string profile = "/home/hermes/.mozilla/firefox/w7j6r223.default/"; //replace with your own profile String tmpConfig = "name=NSSSofToken\n" + "description=NSS PKCS11\n" + "nssLibraryDirectory=/usr/lib\n" + "nssSecmodDirectory = \"" + profile.replaceAll("\\\\", "\\\\\\\\") + "\"\n" + "nssDbMode = readOnly\n" + "nssModule = keystore\n" + "attributes = compatibility"; ByteArrayInputStream strConfig = new ByteArrayInputStream(tmpConfig.getBytes()); Constructor c = Class.forName("sun.security.pkcs11.SunPKCS11").getConstructor(new Class[] { InputStream.class }); java.security.Provider nss = (java.security.Provider) c.newInstance(new Object[] { strConfig }); KeyStore keystore = KeyStore.getInstance("PKCS11", nss); System.out.println(keystore.size()); -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Apr 19 05:04:07 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 19 Apr 2010 12:04:07 +0000 Subject: [Bug 473] NSS PKCS11 regression - due to java.security automatic loading Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=473 matej.spiller at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows |Linux -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From ptisnovs at redhat.com Mon Apr 19 05:10:58 2010 From: ptisnovs at redhat.com (Pavel Tisnovsky) Date: Mon, 19 Apr 2010 14:10:58 +0200 Subject: IcedTea6, Hotspot build19 and option --with-hotspot-build=hs16? Message-ID: <4BCC4852.7010709@redhat.com> Hi, I have noticed (mainly because I have registered much more JTreg failures than before :-) that IcedTea6 (head) is now compiled with Hotspot build 19. Is it still possible to use this configuration option: - with-hotspot-build = hs16? When I tried to use this option make failed when it try to download a tarball: hotspot_md5sum="`gawk 'version==$1 {print $4}' version=hs16 \ /jck/1/icedtea6/hotspot.map`" ; \ if ! echo "${hotspot_md5sum} hotspot.tar.gz" \ | /usr/bin/md5sum --check ; \ then \ if [ hotspot.tar.gz ] ; \ then \ mv hotspot.tar.gz hotspot.tar.gz.old ; \ fi ; \ hotspot_url="`gawk 'version==$1 {print $2 "/archive/" $3 ".tar.gz"}' \ version=hs16 /jck/1/icedtea6/hotspot.map`"; \ /usr/bin/wget ${hotspot_url} -O hotspot.tar.gz ; \ fi /usr/bin/md5sum: standard input: no properly formatted MD5 checksum lines found mv: cannot stat `hotspot.tar.gz': No such file or directory wget: missing URL Any ideas? Cheers Pavel From doko at ubuntu.com Mon Apr 19 05:13:06 2010 From: doko at ubuntu.com (Matthias Klose) Date: Mon, 19 Apr 2010 14:13:06 +0200 Subject: IcedTea6, Hotspot build19 and option --with-hotspot-build=hs16? In-Reply-To: <4BCC4852.7010709@redhat.com> References: <4BCC4852.7010709@redhat.com> Message-ID: <4BCC48D2.80103@ubuntu.com> On 19.04.2010 14:10, Pavel Tisnovsky wrote: > Hi, > > I have noticed (mainly because I have registered much more JTreg > failures than before :-) that IcedTea6 (head) is now compiled with > Hotspot build 19. > > Is it still possible to use this configuration option: - > with-hotspot-build = hs16? see hotspot.map for valid values. From xranby at icedtea.classpath.org Mon Apr 19 07:54:37 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Mon, 19 Apr 2010 14:54:37 +0000 Subject: /hg/icedtea6: Update Shark for LLVM 2.8 API change r100304 Message-ID: changeset 902bacad8d1b in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=902bacad8d1b author: Xerxes R?nby date: Mon Apr 19 16:50:36 2010 +0200 Update Shark for LLVM 2.8 API change r100304 2010-04-19 Xerxes R?nby * ports/hotspot/src/share/vm/shark/sharkBuilder.cpp (SharkBuilder::memset): Update Shark for LLVM 2.8 API change. LLVM 2.8 added a fifth isVolatile field for memset introduced with LLVM r100304. (SharkBuilder::CreateMemset): Likewise diffstat: 2 files changed, 19 insertions(+) ChangeLog | 8 ++++++++ ports/hotspot/src/share/vm/shark/sharkBuilder.cpp | 11 +++++++++++ diffs (45 lines): diff -r 8048dccbf481 -r 902bacad8d1b ChangeLog --- a/ChangeLog Sun Apr 18 21:04:29 2010 +0100 +++ b/ChangeLog Mon Apr 19 16:50:36 2010 +0200 @@ -1,3 +1,11 @@ 2010-04-18 Andrew John Hughes + + * ports/hotspot/src/share/vm/shark/sharkBuilder.cpp + (SharkBuilder::memset): Update Shark for LLVM 2.8 API change. + LLVM 2.8 added a fifth isVolatile field for memset + introduced with LLVM r100304. + (SharkBuilder::CreateMemset): Likewise + 2010-04-18 Andrew John Hughes * overlays/nio2/openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java: diff -r 8048dccbf481 -r 902bacad8d1b ports/hotspot/src/share/vm/shark/sharkBuilder.cpp --- a/ports/hotspot/src/share/vm/shark/sharkBuilder.cpp Sun Apr 18 21:04:29 2010 +0100 +++ b/ports/hotspot/src/share/vm/shark/sharkBuilder.cpp Mon Apr 19 16:50:36 2010 +0200 @@ -399,7 +399,13 @@ Value* SharkBuilder::memory_barrier() { } Value* SharkBuilder::memset() { +#if SHARK_LLVM_VERSION >= 28 + // LLVM 2.8 added a fifth isVolatile field for memset + // introduced with LLVM r100304 + return make_function("llvm.memset.i32", "Cciii", "v"); +#else return make_function("llvm.memset.i32", "Ccii", "v"); +#endif } Value* SharkBuilder::unimplemented() { @@ -447,7 +453,12 @@ CallInst* SharkBuilder::CreateMemset(Val Value* value, Value* len, Value* align) { +#if SHARK_LLVM_VERSION >= 28 + return CreateCall5(memset(), dst, value, len, align, + LLVMValue::jint_constant(0)); +#else return CreateCall4(memset(), dst, value, len, align); +#endif } CallInst* SharkBuilder::CreateUnimplemented(const char* file, int line) { From bugzilla-daemon at icedtea.classpath.org Mon Apr 19 09:08:33 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 19 Apr 2010 16:08:33 +0000 Subject: [Bug 397] SIGSEGV while running Vuze with icedtea6-1.6.1 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=397 roman at rm.pp.ru changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roman at rm.pp.ru ------- Comment #3 from roman at rm.pp.ru 2010-04-19 16:08 ------- I have the same issue with the current Azureus 4.4.0.0 and Debian OpenJDK packages versions 6b18-1.8-1 and 6b18~pre2-1. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From drazzib at drazzib.com Mon Apr 19 08:13:32 2010 From: drazzib at drazzib.com (Damien Raude-Morvan) Date: Mon, 19 Apr 2010 17:13:32 +0200 Subject: [IcedTea7] Bootstrap using GCJ-4.4 ? Message-ID: <4BCC731C.7000401@drazzib.com> Hi, I'm trying to prepare some experimental OpenJDK-7 Debian packages based on Matthias Klose work. First step is to build current icedtea7 hg HEAD [0] but I haven't managed yet : I always get an exception during bootstrap (with GCJ) : -create-import-jdk-stubs: [mkdir] Created dir: /tmp/buildd/openjdk-7-7b84/build/openjdk-boot/build/linux-amd64/langtools/build/genstubs [genstubs] Generating 81 stub files to /tmp/buildd/openjdk-7-7b84/build/openjdk-boot/build/linux-amd64/langtools/build/genstubs BUILD FAILED java.lang.NoClassDefFoundError: GenStubs at java.lang.Class.initializeClass(libgcj.so.10) at GenStubs$Ant.execute(Unknown Source) [...] Caused by: java.lang.ClassNotFoundException: javax.tools.JavaFileManager$Location [...] at java.lang.Class.initializeClass(libgcj.so.10) ...15 more You can get my full build log here : [1]. Some important informations : - AFAIK, javax.tools.JavaFileManager$Location is only available since 1.6 Java API level (so it's not bundled with GCJ classpath implementation). - Bootstrap part end successfuly when using OpenJDK-6 as stage1 (getting other issues later on but that's another story...) - IcedTea's Build server IcedTea fails with the same stacktrace [2]. Any ideas how to fix this ? [0] http://icedtea.classpath.org/hg/icedtea/ [1] http://people.debian.org/~drazzib/openjdk-7_7b84-1~ppa1_amd64.build [2] http://icedtea.classpath.org/builds/icedtea7/build-icedtea7.log Cheers, -- Damien From xerxes at zafena.se Mon Apr 19 11:15:11 2010 From: xerxes at zafena.se (Xerxes Ranby) Date: Mon, 19 Apr 2010 20:15:11 +0200 Subject: FYI: Updated Shark for LLVM 2.8 API change r100304 Message-ID: <4BCC9DAF.7070203@zafena.se> LLVM 2.8 svn contains a subtile API change in r100304 http://llvm.org/viewvc/llvm-project?view=rev&revision=100304 that caused a Shark runtime assertion like the extract below: java version "1.6.0_18"java: /media/disk/llvm/include/llvm/Instructions.h:1091: llvm::Value* llvm::CallInst::getOperand(unsigned int) const: Assertion `i_nocapture < OperandTraits::operands(this) && "getOperand() out of range!"' failed. Stack dump: 0. Running pass 'ARM Instruction Selection' on function '@"java.nio.CharBuffer::wrap"' Aborted This commited change fixes: http://icedtea.classpath.org/hg/icedtea6/rev/902bacad8d1b cheers Xerxes From gbenson at redhat.com Tue Apr 20 01:46:11 2010 From: gbenson at redhat.com (Gary Benson) Date: Tue, 20 Apr 2010 09:46:11 +0100 Subject: Zero heads up Message-ID: <20100420084611.GC3510@redhat.com> Hi all, There's some code floating around the HotSpot mailing lists to fix http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=323. If pushed it will appear as "6939182: Zero JNI handles fix". It's important that this commit doesn't end up in IcedTea until Shark is updated to match it. Cheers, Gary -- http://gbenson.net/ From Tomas.Hurka at Sun.COM Tue Apr 20 03:10:33 2010 From: Tomas.Hurka at Sun.COM (Tomas Hurka) Date: Tue, 20 Apr 2010 12:10:33 +0200 Subject: Cannot build IcedTea6 with VisualVM Message-ID: <377BE564-19E4-46F5-90BA-5BDCE1AEA339@sun.com> Hi, I am not able to build Icedtea6 with VisualVM. ./configure --enable-visualvm --with-openjdk --with-netbeans fails to find netbeans. It looks to me that there is a bug in acinclude.m4. See attached patch, which allowed ./configure to finish successfully. Bye, -- Tomas Hurka NetBeans Profiler http://profiler.netbeans.org VisualVM http://visualvm.dev.java.net Software Engineer, Developer Platforms Group Sun Microsystems, Praha Czech Republic -------------- next part -------------- A non-text attachment was scrubbed... Name: acinclude.diff Type: application/octet-stream Size: 418 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100420/6dd0ecab/acinclude.diff -------------- next part -------------- From doko at ubuntu.com Tue Apr 20 04:59:17 2010 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 20 Apr 2010 13:59:17 +0200 Subject: Cannot build IcedTea6 with VisualVM In-Reply-To: <377BE564-19E4-46F5-90BA-5BDCE1AEA339@sun.com> References: <377BE564-19E4-46F5-90BA-5BDCE1AEA339@sun.com> Message-ID: <4BCD9715.3090804@ubuntu.com> On 20.04.2010 12:10, Tomas Hurka wrote: > Hi, > I am not able to build Icedtea6 with VisualVM. > ./configure --enable-visualvm --with-openjdk --with-netbeans > fails to find netbeans. It looks to me that there is a bug in > acinclude.m4. See attached patch, which allowed ./configure to finish > successfully. the current setup expects a path for the --with-netbeans option. just yes is not enough. Matthias From Tomas.Hurka at Sun.COM Tue Apr 20 06:07:01 2010 From: Tomas.Hurka at Sun.COM (Tomas Hurka) Date: Tue, 20 Apr 2010 15:07:01 +0200 Subject: Cannot build IcedTea6 with VisualVM In-Reply-To: <4BCD9715.3090804@ubuntu.com> References: <377BE564-19E4-46F5-90BA-5BDCE1AEA339@sun.com> <4BCD9715.3090804@ubuntu.com> Message-ID: <37CC3786-623D-462C-8A18-97AD99005BB3@Sun.COM> Hi Matthias, On 20 Apr 2010, at 13:59, Matthias Klose wrote: > On 20.04.2010 12:10, Tomas Hurka wrote: >> Hi, >> I am not able to build Icedtea6 with VisualVM. >> ./configure --enable-visualvm --with-openjdk --with-netbeans >> fails to find netbeans. It looks to me that there is a bug in >> acinclude.m4. See attached patch, which allowed ./configure to finish >> successfully. > > the current setup expects a path for the --with-netbeans option. > just yes is not enough. OK, but with my patch default path /usr/share/netbeans is correctly used. Moreover there is --with-netbeans-home option. What is this good for if --with-netbeans option expects a path? Bye, -- Tomas Hurka NetBeans Profiler http://profiler.netbeans.org VisualVM http://visualvm.dev.java.net Software Engineer, Developer Platforms Group Sun Microsystems, Praha Czech Republic From dbhole at icedtea.classpath.org Tue Apr 20 13:11:12 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Tue, 20 Apr 2010 20:11:12 +0000 Subject: /hg/icedtea6: - Commit patch from Paulo Cesar Pereira de Andrade... Message-ID: changeset 9d2736fae2b2 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=9d2736fae2b2 author: Deepak Bhole date: Tue Apr 20 16:11:05 2010 -0400 - Commit patch from Paulo Cesar Pereira de Andrade for IcedTea Bug# 474, incrementing malloc size to account for NULL terminator. diffstat: 2 files changed, 7 insertions(+), 1 deletion(-) ChangeLog | 6 ++++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 2 +- diffs (25 lines): diff -r 902bacad8d1b -r 9d2736fae2b2 ChangeLog --- a/ChangeLog Mon Apr 19 16:50:36 2010 +0200 +++ b/ChangeLog Tue Apr 20 16:11:05 2010 -0400 @@ -1,3 +1,9 @@ 2010-04-19 Xerxes R??nby + + * plugin/icedteanp/IcedTeaNPPlugin.cc + (plugin_filter_environment): Increment malloc size by one to account for + NULL terminator. Bug# 474. + 2010-04-19 Xerxes R??nby * ports/hotspot/src/share/vm/shark/sharkBuilder.cpp diff -r 902bacad8d1b -r 9d2736fae2b2 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 19 16:50:36 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Tue Apr 20 16:11:05 2010 -0400 @@ -1464,7 +1464,7 @@ plugin_filter_environment(void) plugin_filter_environment(void) { gchar **var_names = g_listenv(); - gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names)); + gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names) + 1); int i_var, i_env; for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++) From bugzilla-daemon at icedtea.classpath.org Wed Apr 21 02:27:51 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 21 Apr 2010 09:27:51 +0000 Subject: [Bug 467] building shark with shark fails on powerpc Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=467 gbenson at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #322|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 the assignee for the bug, or are watching the assignee. From Tomas.Hurka at Sun.COM Wed Apr 21 04:33:35 2010 From: Tomas.Hurka at Sun.COM (Tomas Hurka) Date: Wed, 21 Apr 2010 13:33:35 +0200 Subject: VisualVM 1.2.2 and IcedTea6 Message-ID: Hi All, attached is a patch to include the latest version (1.2.2) of VisualVM in IcedTea6. Note that VisualVM 1.2.2 requires NetBeans Platform 6.8. Bye, -- Tomas Hurka NetBeans Profiler http://profiler.netbeans.org VisualVM http://visualvm.dev.java.net Software Engineer, Developer Platforms Group Sun Microsystems, Praha Czech Republic -------------- next part -------------- A non-text attachment was scrubbed... Name: visualvm_122.diff Type: application/octet-stream Size: 2567 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100421/db57c98c/visualvm_122.diff -------------- next part -------------- From bugzilla-daemon at icedtea.classpath.org Wed Apr 21 07:51:09 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 21 Apr 2010 14:51:09 +0000 Subject: [Bug 383] Graphics.drawLine fails to draw Dot, works on Sun Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=383 ------- Comment #3 from jon.vanalten at redhat.com 2010-04-21 14:51 ------- After spending a bit of time looking at this, the problem is the case where all of A) Stroke width is set greater than one, B) Line begins and ends at same point (ie it's a "dot"), and C) Lines are being drawn with some sort of endcap decoration. What is actually happening in this case is the endcaps of this zero-length line are failing to be rendered; note that proprietary Java also renders nothing for this case if CAP_BUTT is specified for the BasicStroke. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From dbhole at icedtea.classpath.org Wed Apr 21 08:30:58 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Wed, 21 Apr 2010 15:30:58 +0000 Subject: /hg/icedtea6: Fixed typo in previous commit Message-ID: changeset bedc8f68d746 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=bedc8f68d746 author: Deepak Bhole date: Wed Apr 21 11:30:49 2010 -0400 Fixed typo in previous commit diffstat: 2 files changed, 6 insertions(+), 1 deletion(-) ChangeLog | 5 +++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 2 +- diffs (24 lines): diff -r 9d2736fae2b2 -r bedc8f68d746 ChangeLog --- a/ChangeLog Tue Apr 20 16:11:05 2010 -0400 +++ b/ChangeLog Wed Apr 21 11:30:49 2010 -0400 @@ -1,3 +1,8 @@ 2010-04-20 Deepak Bhole + + * plugin/icedteanp/IcedTeaNPPlugin.cc + (plugin_filter_environment): Fix typo in previous commit + 2010-04-20 Deepak Bhole * plugin/icedteanp/IcedTeaNPPlugin.cc diff -r 9d2736fae2b2 -r bedc8f68d746 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Tue Apr 20 16:11:05 2010 -0400 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Wed Apr 21 11:30:49 2010 -0400 @@ -1464,7 +1464,7 @@ plugin_filter_environment(void) plugin_filter_environment(void) { gchar **var_names = g_listenv(); - gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names) + 1); + gchar **new_env = (gchar**) malloc(sizeof(gchar*) * (g_strv_length (var_names) + 1)); int i_var, i_env; for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++) From dbhole at icedtea.classpath.org Wed Apr 21 08:33:18 2010 From: dbhole at icedtea.classpath.org (dbhole at icedtea.classpath.org) Date: Wed, 21 Apr 2010 15:33:18 +0000 Subject: /hg/release/icedtea6-1.8: Commit patch from Paulo Cesar Pereira ... Message-ID: changeset a6a02193b073 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=a6a02193b073 author: Deepak Bhole date: Wed Apr 21 11:33:13 2010 -0400 Commit patch from Paulo Cesar Pereira de Andrade for IcedTea Bug# 474, incrementing malloc size to account for NULL terminator. diffstat: 2 files changed, 7 insertions(+), 1 deletion(-) ChangeLog | 6 ++++++ plugin/icedteanp/IcedTeaNPPlugin.cc | 2 +- diffs (25 lines): diff -r d1ad52447673 -r a6a02193b073 ChangeLog --- a/ChangeLog Wed Apr 14 12:21:30 2010 +0200 +++ b/ChangeLog Wed Apr 21 11:33:13 2010 -0400 @@ -1,3 +1,9 @@ 2010-04-12 Andrew John Hughes + + * plugin/icedteanp/IcedTeaNPPlugin.cc + (plugin_filter_environment): Increment malloc size by one to account for + NULL terminator. Bug# 474. + 2010-04-12 Andrew John Hughes PR icedtea/373 diff -r d1ad52447673 -r a6a02193b073 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Wed Apr 14 12:21:30 2010 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Wed Apr 21 11:33:13 2010 -0400 @@ -1464,7 +1464,7 @@ plugin_filter_environment(void) plugin_filter_environment(void) { gchar **var_names = g_listenv(); - gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names)); + gchar **new_env = (gchar**) malloc(sizeof(gchar*) * (g_strv_length (var_names) + 1)); int i_var, i_env; for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++) From bugzilla-daemon at icedtea.classpath.org Wed Apr 21 09:26:42 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 21 Apr 2010 16:26:42 +0000 Subject: [Bug 383] Graphics.drawLine fails to draw Dot, works on Sun Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=383 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at icedtea.classpath|jon.vanalten at redhat.com |.org | Status|NEW |ASSIGNED ------- Comment #4 from jon.vanalten at redhat.com 2010-04-21 16:26 ------- Created an attachment (id=328) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=328&action=view) Reproducer Attaching new test case that better demonstrates the issue. Leaving original test case as it is still relevant to show that zero-length lines of width 1 are not affected. These are handled as "thin" lines, while the issue is with "thick" lines. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee. From xerxes at zafena.se Wed Apr 21 16:23:10 2010 From: xerxes at zafena.se (Xerxes Ranby) Date: Thu, 22 Apr 2010 01:23:10 +0200 Subject: RFC: Shark calling static jni method jclass argument fix Message-ID: <4BCF88DE.8090807@zafena.se> When Shark jits code that calls static jni methods then the jvm bombs if the static jni code tries to use the passed jclass argument. testcase: (tested to be fully reproduceable on ARM and AMD_64) cd openjdk/jdk/test/java/awt/geom/Path2D javac FillPPathTest.java java -Xcomp -XX:CompileOnly=java.awt.image.BufferedImage::initIDs -XX:+SharkTraceInstalls FillPPathTest output: [0x680c4010-0x680c412c): java.awt.image.BufferedImage::initIDs (284 bytes code) # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_linux_zero.cpp:236), pid=10552, tid=1090999440 # Error: caught unhandled signal 11 # ... backtrace: #0 0xe592300c in ?? () #1 0x40362760 in jni_GetFieldID (env=, clazz=, name=0x684484b4 "raster", sig=) at /media/disk/icedtea6-shark/openjdk/hotspot/src/share/vm/prims/jni.cpp:1634 #2 0x683dcbfc in Java_java_awt_image_BufferedImage_initIDs (env=0x40568620, cls=0x2c888) at ../../../src/share/native/sun/awt/image/imageInitIDs.c:32 #3 0x680c409c in ?? () The attached patch fix! The fix are inspired from how the cppInterpreter_zero.cpp created the passed jclass argument. ok to commit? Cheers and have a great day! Xerxes -------------- next part -------------- A non-text attachment was scrubbed... Name: 22apr-shark-static-jni-cls.patch Type: text/x-patch Size: 674 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100422/792021b2/22apr-shark-static-jni-cls.patch From doko at icedtea.classpath.org Wed Apr 21 23:17:17 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Thu, 22 Apr 2010 06:17:17 +0000 Subject: /hg/release/icedtea6-1.8: Fix Hitachi SH settings. Message-ID: changeset 3d01ec99a8a6 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=3d01ec99a8a6 author: doko at ubuntu.com date: Thu Apr 22 07:48:15 2010 +0200 Fix Hitachi SH settings. 2010-04-04 Nobuhiro Iwamatsu * acinclude.m4 (IT_SET_ARCH_SETTINGS): Fix Hitachi SH settings. diffstat: 2 files changed, 5 insertions(+), 1 deletion(-) ChangeLog | 4 ++++ acinclude.m4 | 2 +- diffs (23 lines): diff -r a6a02193b073 -r 3d01ec99a8a6 ChangeLog --- a/ChangeLog Wed Apr 21 11:33:13 2010 -0400 +++ b/ChangeLog Thu Apr 22 07:48:15 2010 +0200 @@ -1,3 +1,7 @@ 2010-04-21 Deepak Bhole + + * acinclude.m4 (IT_SET_ARCH_SETTINGS): Fix Hitachi SH settings. + 2010-04-21 Deepak Bhole * plugin/icedteanp/IcedTeaNPPlugin.cc diff -r a6a02193b073 -r 3d01ec99a8a6 acinclude.m4 --- a/acinclude.m4 Wed Apr 21 11:33:13 2010 -0400 +++ b/acinclude.m4 Thu Apr 22 07:48:15 2010 +0200 @@ -85,7 +85,7 @@ AC_DEFUN([IT_SET_ARCH_SETTINGS], CROSS_TARGET_ARCH=s390x ARCHFLAG="-m64" ;; - sh*-*-*) + sh*) BUILD_ARCH_DIR=sh INSTALL_ARCH_DIR=sh JRE_ARCH_DIR=sh From gbenson at redhat.com Thu Apr 22 00:53:18 2010 From: gbenson at redhat.com (Gary Benson) Date: Thu, 22 Apr 2010 08:53:18 +0100 Subject: RFC: Shark calling static jni method jclass argument fix In-Reply-To: <4BCF88DE.8090807@zafena.se> References: <4BCF88DE.8090807@zafena.se> Message-ID: <20100422075318.GA4039@redhat.com> Xerxes Ranby wrote: > When Shark jits code that calls static jni methods then the jvm > bombs if the static jni code tries to use the passed jclass > argument. ... > The attached patch fix! Good catch! > ok to commit? Can you make it: target()->method_holder()->klass_part()->java_mirror() The two are equivalent, but nothing in Shark should reference the constants pool directly. Cheers, Gary -- http://gbenson.net/ From xranby at icedtea.classpath.org Thu Apr 22 02:20:51 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Thu, 22 Apr 2010 09:20:51 +0000 Subject: /hg/icedtea6: Shark calling static jni methods jclass argument fix. Message-ID: changeset 67bc1a7196b8 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=67bc1a7196b8 author: Xerxes R?nby date: Thu Apr 22 11:16:37 2010 +0200 Shark calling static jni methods jclass argument fix. 2010-04-22 Xerxes R?nby * ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp (SharkNativeWrapper::initialize): Shark calling static jni methods jclass argument fix. diffstat: 2 files changed, 8 insertions(+), 1 deletion(-) ChangeLog | 6 ++++++ ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp | 3 ++- diffs (26 lines): diff -r bedc8f68d746 -r 67bc1a7196b8 ChangeLog --- a/ChangeLog Wed Apr 21 11:30:49 2010 -0400 +++ b/ChangeLog Thu Apr 22 11:16:37 2010 +0200 @@ -1,3 +1,9 @@ 2010-04-21 Deepak Bhole + + * ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp + (SharkNativeWrapper::initialize): Shark calling static jni + methods jclass argument fix. + 2010-04-21 Deepak Bhole * plugin/icedteanp/IcedTeaNPPlugin.cc diff -r bedc8f68d746 -r 67bc1a7196b8 ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp --- a/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp Wed Apr 21 11:30:49 2010 -0400 +++ b/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp Thu Apr 22 11:16:37 2010 +0200 @@ -98,7 +98,8 @@ void SharkNativeWrapper::initialize(cons if (is_static()) { builder()->CreateStore( builder()->CreateInlineOop( - JNIHandles::make_local(target()->method_holder())), + JNIHandles::make_local( + target()->method_holder()->klass_part()->java_mirror())), oop_tmp_slot()); param_types.push_back(box_type); From xerxes at zafena.se Thu Apr 22 02:25:09 2010 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Thu, 22 Apr 2010 11:25:09 +0200 Subject: RFC: Shark calling static jni method jclass argument fix In-Reply-To: <20100422075318.GA4039@redhat.com> References: <4BCF88DE.8090807@zafena.se> <20100422075318.GA4039@redhat.com> Message-ID: <4BD015F5.5040807@zafena.se> On 2010-04-22 09:53, Gary Benson wrote: > Xerxes Ranby wrote: > >> When Shark jits code that calls static jni methods then the jvm >> bombs if the static jni code tries to use the passed jclass >> argument. >> > ... > >> The attached patch fix! >> > Good catch! > > >> ok to commit? >> > Can you make it: > > target()->method_holder()->klass_part()->java_mirror() > > The two are equivalent, but nothing in Shark should reference the > constants pool directly. > > Cheers, > Gary > > Thank you for the code review Gary! Commited with the suggested change to: http://icedtea.classpath.org/hg/icedtea6/rev/67bc1a7196b8 Cheers, Xerxes From gbenson at redhat.com Thu Apr 22 02:38:53 2010 From: gbenson at redhat.com (Gary Benson) Date: Thu, 22 Apr 2010 10:38:53 +0100 Subject: RFC: Shark calling static jni method jclass argument fix In-Reply-To: <4BD015F5.5040807@zafena.se> References: <4BCF88DE.8090807@zafena.se> <20100422075318.GA4039@redhat.com> <4BD015F5.5040807@zafena.se> Message-ID: <20100422093853.GB4039@redhat.com> Xerxes R?nby wrote: > On 2010-04-22 09:53, Gary Benson wrote: > > Xerxes Ranby wrote: > > > When Shark jits code that calls static jni methods then the jvm > > > bombs if the static jni code tries to use the passed jclass > > > argument. > > ... > > > The attached patch fix! > > > > Good catch! > > > > > ok to commit? > > > > Can you make it: > > > > target()->method_holder()->klass_part()->java_mirror() > > > > The two are equivalent, but nothing in Shark should reference > > the constants pool directly. > > Thank you for the code review Gary! Thank you for the fix :) Cheers, Gary -- http://gbenson.net/ From Tomas.Hurka at Sun.COM Thu Apr 22 12:42:53 2010 From: Tomas.Hurka at Sun.COM (Tomas Hurka) Date: Thu, 22 Apr 2010 21:42:53 +0200 Subject: Makefile.am cleanup Message-ID: Hi, when working on patch for VisualVM 1.2.2 Matthias discovered that Makefile for VisualVM uses apisupport cluster (netbeans/apisupport1). This is not needed so I removed NB_APISUPPORT from the Makefile. The diff against icedtea6 repository is attached. Can someone commit it for me. Thanks, -- Tomas Hurka NetBeans Profiler http://profiler.netbeans.org VisualVM http://visualvm.dev.java.net Software Engineer, Developer Platforms Group Sun Microsystems, Praha Czech Republic -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile.diff Type: application/octet-stream Size: 899 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100422/9931437d/Makefile.diff -------------- next part -------------- From doko at ubuntu.com Fri Apr 23 02:38:12 2010 From: doko at ubuntu.com (Matthias Klose) Date: Fri, 23 Apr 2010 11:38:12 +0200 Subject: Makefile.am cleanup In-Reply-To: References: Message-ID: <4BD16A84.7090601@ubuntu.com> On 22.04.2010 21:42, Tomas Hurka wrote: > Hi, > when working on patch for VisualVM 1.2.2 Matthias discovered that > Makefile for VisualVM uses apisupport cluster (netbeans/apisupport1). > This is not needed so I removed NB_APISUPPORT from the Makefile. The > diff against icedtea6 repository is attached. Can someone commit it for me. checked in both patches. Matthias From doko at icedtea.classpath.org Fri Apr 23 02:37:43 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Fri, 23 Apr 2010 09:37:43 +0000 Subject: /hg/icedtea6: Update visualvm build support for 1.2.2. Message-ID: changeset a7a7eb697a8a in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=a7a7eb697a8a author: doko at ubuntu.com date: Fri Apr 23 11:08:23 2010 +0200 Update visualvm build support for 1.2.2. 2010-04-23 Tomas Hurka * Makefile.am: Update visualvm build support for 1.2.2. diffstat: 2 files changed, 15 insertions(+), 14 deletions(-) ChangeLog | 4 ++++ Makefile.am | 25 +++++++++++-------------- diffs (77 lines): diff -r 67bc1a7196b8 -r a7a7eb697a8a ChangeLog --- a/ChangeLog Thu Apr 22 11:16:37 2010 +0200 +++ b/ChangeLog Fri Apr 23 11:08:23 2010 +0200 @@ -1,3 +1,7 @@ 2010-04-22 Xerxes R??nby + + * Makefile.am: Update visualvm build support for 1.2.2. + 2010-04-22 Xerxes R??nby * ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp diff -r 67bc1a7196b8 -r a7a7eb697a8a Makefile.am --- a/Makefile.am Thu Apr 22 11:16:37 2010 +0200 +++ b/Makefile.am Fri Apr 23 11:08:23 2010 +0200 @@ -10,13 +10,13 @@ CACAO_BASE_URL = http://www.complang.tuw CACAO_BASE_URL = http://www.complang.tuwien.ac.at CACAO_URL = $(CACAO_BASE_URL)/cacaojvm/download/cacao-$(CACAO_VERSION)/ -NETBEANS_PROFILER_MD5SUM = a6756a62291ebea5c0e2431389b31380 -NETBEANS_PROFILER_URL = http://icedtea.classpath.org/visualvm/ -NETBEANS_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release65_mod.tar.gz +NETBEANS_PROFILER_MD5SUM = 40dd3183b345737ca22162d164c2d5a2 +NETBEANS_PROFILER_URL = https://visualvm.dev.java.net/files/documents/7163/149581/ +NETBEANS_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release68.tar.gz -VISUALVM_MD5SUM = a289739f4a5bcdb9a2c642cfcc1e83fe -VISUALVM_URL = https://visualvm.dev.java.net/files/documents/7163/127170/ -VISUALVM_SRC_ZIP = visualvm-111-src.tar.gz +VISUALVM_MD5SUM = f1e2525ddcd5fdf97bcf891d715c08ff +VISUALVM_URL = https://visualvm.dev.java.net/files/documents/7163/146746/ +VISUALVM_SRC_ZIP = visualvm_122-src.tar.gz JAXWS_DROP_URL = http://kenai.com/projects/jdk6-drops/downloads/download JAXWS_DROP_ZIP = jdk6-jaxws-2009_10_27.zip @@ -154,10 +154,8 @@ endif if WITH_VISUALVM NB_PLATFORM= $(shell ls /usr/share/netbeans | grep platform | tail -n1) -NB_APISUPPORT=$(shell ls /usr/share/netbeans | grep apisupport | tail -n1) else NB_PLATFORM= -NB_APISUPPORT= endif if ENABLE_PULSE_JAVA @@ -1732,16 +1730,15 @@ if WITH_VISUALVM rm nbbuild/external/binaries-list ; \ mkdir -p ./nbbuild/netbeans_visualvm/ ; \ ln -s $(SYSTEM_NETBEANS_DIR)/$(NB_PLATFORM)/ ./nbbuild/netbeans_visualvm/$(NB_PLATFORM) ; \ - ln -s $(SYSTEM_NETBEANS_DIR)/$(NB_APISUPPORT)/ ./nbbuild/netbeans_visualvm/$(NB_APISUPPORT) ; \ ln -s $(SYSTEM_NETBEANS_DIR)/harness/ ./nbbuild/netbeans_visualvm/harness ; \ if ! (uname -a | grep x86_64) ; then \ mkdir -p lib.profiler/release/lib/deployed/jdk15/linux ; \ mkdir -p lib.profiler/release/lib/deployed/jdk16/linux ; \ - buildscript=./buildnative-linux-15.sh ; \ + buildscript=./buildnative-linux.sh ; \ else \ mkdir -p lib.profiler/release/lib/deployed/jdk15/linux-amd64 ; \ mkdir -p lib.profiler/release/lib/deployed/jdk16/linux-amd64 ; \ - buildscript=./buildnative-linux64-15.sh ; \ + buildscript=./buildnative-linux64.sh ; \ fi ; \ cd lib.profiler/native/build ; \ JAVA_HOME_15=$(ICEDTEA_HOME) JAVA_HOME_16=$(ICEDTEA_HOME) \ @@ -1749,9 +1746,9 @@ if WITH_VISUALVM cd ../../.. ; \ JAVA_HOME=$(ICEDTEA_HOME) $(ANT) -Dpermit.jdk6.builds=true \ -f nbbuild/build.xml bootstrap ; \ - for dir in lib.profiler lib.profiler.ui lib.profiler.common profiler ; do \ - JAVA_HOME=$(ICEDTEA_HOME) $(ANT) -Dpermit.jdk6.builds=true -Dbuildnumber=081204 \ - -Dnetbeans.dest.dir=../nbbuild/netbeans_visualvm \ + for dir in lib.profiler lib.profiler.charts lib.profiler.ui lib.profiler.common profiler profiler.oql ; do \ + JAVA_HOME=$(ICEDTEA_HOME) $(ANT) -Dpermit.jdk6.builds=true -Dbuildnumber=091221-4fc006d17cb1 \ + -Dnetbeans.dest.dir=$(abs_top_builddir)/netbeans/nbbuild/netbeans_visualvm \ -f $$dir/build.xml ; \ done endif From jon.vanalten at redhat.com Fri Apr 23 13:52:07 2010 From: jon.vanalten at redhat.com (jon.vanalten at redhat.com) Date: Fri, 23 Apr 2010 16:52:07 -0400 (EDT) Subject: RFC: Fix for http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=383 In-Reply-To: <1409561166.1711921272055574364.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: <899771182.1712281272055927846.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Hello, The attached diff allows encap decorations to be drawn for lines of zero length. I am pretty sure that I have limited any change in behaviour to the special case of (zero line length, stroke width greater than 1, endcaps square or rounded) in which this bug exhibits itself. With this patch the behaviour is now same as closed JDK. Any comments? Any objections if I push this? cheers, jon -------------- next part -------------- A non-text attachment was scrubbed... Name: zerolengthfix.diff Type: text/x-patch Size: 7286 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100423/65d85305/zerolengthfix.diff From doko at icedtea.classpath.org Sat Apr 24 07:02:29 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Sat, 24 Apr 2010 14:02:29 +0000 Subject: /hg/icedtea6: Allow overwriting -samevm in check-langtools, chec... Message-ID: changeset 727bee274d9e in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=727bee274d9e author: doko at ubuntu.com date: Sat Apr 24 15:32:51 2010 +0200 Allow overwriting -samevm in check-langtools, check-jdk targets. Running the testsuite in -samevm mode currently lets the harness crash when using shark or cacao as the harness VM. This provides a way to overwrite the default -samevm mode. 2010-04-24 Matthias Klose * Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm with the environment variable ICEDTEA_JTREG_OTHERVM. diffstat: 2 files changed, 9 insertions(+), 2 deletions(-) ChangeLog | 5 +++++ Makefile.am | 6 ++++-- diffs (35 lines): diff -r a7a7eb697a8a -r 727bee274d9e ChangeLog --- a/ChangeLog Fri Apr 23 11:08:23 2010 +0200 +++ b/ChangeLog Sat Apr 24 15:32:51 2010 +0200 @@ -1,3 +1,8 @@ 2010-04-23 Tomas Hurka + + * Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm + with the environment variable ICEDTEA_JTREG_OTHERVM. + 2010-04-23 Tomas Hurka * Makefile.am: Update visualvm build support for 1.2.2. diff -r a7a7eb697a8a -r 727bee274d9e Makefile.am --- a/Makefile.am Fri Apr 23 11:08:23 2010 +0200 +++ b/Makefile.am Sat Apr 24 15:32:51 2010 +0200 @@ -1981,7 +1981,8 @@ check-langtools: stamps/jtreg.stamp mkdir -p test/langtools/JTwork test/langtools/JTreport $(ICEDTEA_BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \ -w:test/langtools/JTwork -r:test/langtools/JTreport \ - -s -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ + $${ICEDTEA_JTREG_OTHERVM:--samevm} \ + -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ $(ICEDTEA_JTREG_OPTIONS) \ `pwd`/openjdk/langtools/test \ | tee test/$@.log @@ -1990,7 +1991,8 @@ check-jdk: stamps/jtreg.stamp mkdir -p test/jdk/JTwork test/jdk/JTreport $(ICEDTEA_BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \ -w:test/jdk/JTwork -r:test/jdk/JTreport \ - -s -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ + $${ICEDTEA_JTREG_OTHERVM:--samevm} \ + -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ -exclude:$(abs_top_srcdir)/test/jtreg/excludelist.jdk.jtx \ $(ICEDTEA_JTREG_OPTIONS) \ `pwd`/openjdk/jdk/test \ From bugzilla-daemon at icedtea.classpath.org Mon Apr 26 01:14:47 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 26 Apr 2010 08:14:47 +0000 Subject: [Bug 454] Jetty running on shark fails in HttpURI.getDecodedPath() Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=454 xerxes at zafena.se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From xranby at icedtea.classpath.org Mon Apr 26 05:24:10 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Mon, 26 Apr 2010 12:24:10 +0000 Subject: /hg/release/icedtea6-1.8: Shark calling static jni methods jclas... Message-ID: changeset 8c46a40782ff in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=8c46a40782ff author: Xerxes R?nby date: Thu Apr 22 11:16:37 2010 +0200 Shark calling static jni methods jclass argument fix. 2010-04-22 Xerxes R?nby * ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp (SharkNativeWrapper::initialize): Shark calling static jni methods jclass argument fix. diffstat: 2 files changed, 8 insertions(+), 1 deletion(-) ChangeLog | 6 ++++++ ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp | 3 ++- diffs (26 lines): diff -r 3d01ec99a8a6 -r 8c46a40782ff ChangeLog --- a/ChangeLog Thu Apr 22 07:48:15 2010 +0200 +++ b/ChangeLog Thu Apr 22 11:16:37 2010 +0200 @@ -1,3 +1,9 @@ 2010-04-04 Nobuhiro Iwamatsu + + * ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp + (SharkNativeWrapper::initialize): Shark calling static jni + methods jclass argument fix. + 2010-04-04 Nobuhiro Iwamatsu * acinclude.m4 (IT_SET_ARCH_SETTINGS): Fix Hitachi SH settings. diff -r 3d01ec99a8a6 -r 8c46a40782ff ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp --- a/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp Thu Apr 22 07:48:15 2010 +0200 +++ b/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp Thu Apr 22 11:16:37 2010 +0200 @@ -98,7 +98,8 @@ void SharkNativeWrapper::initialize(cons if (is_static()) { builder()->CreateStore( builder()->CreateInlineOop( - JNIHandles::make_local(target()->method_holder())), + JNIHandles::make_local( + target()->method_holder()->klass_part()->java_mirror())), oop_tmp_slot()); param_types.push_back(box_type); From doko at icedtea.classpath.org Mon Apr 26 05:41:38 2010 From: doko at icedtea.classpath.org (doko at icedtea.classpath.org) Date: Mon, 26 Apr 2010 12:41:38 +0000 Subject: /hg/release/icedtea6-1.8: Allow overwriting -samevm in check-lan... Message-ID: changeset c30ad3953745 in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=c30ad3953745 author: doko at ubuntu.com date: Mon Apr 26 14:11:34 2010 +0200 Allow overwriting -samevm in check-langtools, check-jdk targets. 2010-04-24 Matthias Klose * Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm with the environment variable ICEDTEA_JTREG_OTHERVM. diffstat: 2 files changed, 9 insertions(+), 2 deletions(-) ChangeLog | 5 +++++ Makefile.am | 6 ++++-- diffs (35 lines): diff -r 8c46a40782ff -r c30ad3953745 ChangeLog --- a/ChangeLog Thu Apr 22 11:16:37 2010 +0200 +++ b/ChangeLog Mon Apr 26 14:11:34 2010 +0200 @@ -1,3 +1,8 @@ 2010-04-22 Xerxes R??nby + + * Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm + with the environment variable ICEDTEA_JTREG_OTHERVM. + 2010-04-22 Xerxes R??nby * ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp diff -r 8c46a40782ff -r c30ad3953745 Makefile.am --- a/Makefile.am Thu Apr 22 11:16:37 2010 +0200 +++ b/Makefile.am Mon Apr 26 14:11:34 2010 +0200 @@ -2024,7 +2024,8 @@ check-langtools: stamps/jtreg.stamp mkdir -p test/langtools/JTwork test/langtools/JTreport $(ICEDTEA_BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \ -w:test/langtools/JTwork -r:test/langtools/JTreport \ - -s -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ + $${ICEDTEA_JTREG_OTHERVM:--samevm} \ + -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ $(ICEDTEA_JTREG_OPTIONS) \ `pwd`/openjdk/langtools/test \ | tee test/$@.log @@ -2033,7 +2034,8 @@ check-jdk: stamps/jtreg.stamp mkdir -p test/jdk/JTwork test/jdk/JTreport $(ICEDTEA_BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \ -w:test/jdk/JTwork -r:test/jdk/JTreport \ - -s -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ + $${ICEDTEA_JTREG_OTHERVM:--samevm} \ + -jdk:`pwd`/$(BUILD_OUTPUT_DIR)/j2sdk-image \ -exclude:$(abs_top_srcdir)/test/jtreg/excludelist.jdk.jtx \ $(ICEDTEA_JTREG_OPTIONS) \ `pwd`/openjdk/jdk/test \ From ahughes at redhat.com Mon Apr 26 05:44:26 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Mon, 26 Apr 2010 13:44:26 +0100 Subject: IcedTea6, Hotspot build19 and option --with-hotspot-build=hs16? In-Reply-To: <4BCC4852.7010709@redhat.com> References: <4BCC4852.7010709@redhat.com> Message-ID: On 19 April 2010 13:10, Pavel Tisnovsky wrote: > Hi, > > I have noticed (mainly because I have registered much more JTreg failures > than before :-) that IcedTea6 (head) is now compiled with Hotspot build 19. > Changes from icedtea6-hg were imported with the release of OpenJDK6 b19, as announced at the time: http://mail.openjdk.java.net/pipermail/jdk6-dev/2010-April/001515.html http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008971.html > Is it still possible to use this configuration option: - with-hotspot-build > = hs16? > hs16 is now the default so this is unnecessary. --with-hotspot-build=hs17 will use HotSpot 17 from http://hg.openjdk.java.net/hsx/hsx17/master As doko said, you should always check the contents of hotspot.map. > When I tried to use this option make failed when it try to download a > tarball: > > hotspot_md5sum="`gawk 'version==$1 {print $4}' version=hs16 \ > ? ? ? ? ?/jck/1/icedtea6/hotspot.map`" ; \ > ? ? ? ?if ! echo "${hotspot_md5sum} ?hotspot.tar.gz" \ > ? ? ? ? ?| /usr/bin/md5sum --check ; \ > ? ? ? ?then \ > ? ? ? ? ?if [ hotspot.tar.gz ] ; \ > ? ? ? ? ?then \ > ? ? ? ? ? ?mv hotspot.tar.gz hotspot.tar.gz.old ; \ > ? ? ? ? ?fi ; \ > ? ? ? ? ?hotspot_url="`gawk 'version==$1 {print $2 "/archive/" $3 > ".tar.gz"}' \ > ? ? ? ? ? ?version=hs16 /jck/1/icedtea6/hotspot.map`"; \ > ? ? ? ? ?/usr/bin/wget ${hotspot_url} -O hotspot.tar.gz ; \ > ? ? ? ?fi > /usr/bin/md5sum: standard input: no properly formatted MD5 checksum lines > found > mv: cannot stat `hotspot.tar.gz': No such file or directory > wget: missing URL > > Any ideas? > > Cheers > Pavel > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Mon Apr 26 05:51:49 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Mon, 26 Apr 2010 13:51:49 +0100 Subject: [IcedTea7] Bootstrap using GCJ-4.4 ? In-Reply-To: <4BCC731C.7000401@drazzib.com> References: <4BCC731C.7000401@drazzib.com> Message-ID: On 19 April 2010 16:13, Damien Raude-Morvan wrote: > Hi, > > I'm trying to prepare some experimental OpenJDK-7 Debian packages based on > Matthias Klose work. First step is to build current icedtea7 hg HEAD [0] but > I haven't managed yet : I always get an exception during bootstrap (with > GCJ) : > > -create-import-jdk-stubs: > ? ?[mkdir] Created dir: > /tmp/buildd/openjdk-7-7b84/build/openjdk-boot/build/linux-amd64/langtools/build/genstubs > ?[genstubs] Generating 81 stub files to > /tmp/buildd/openjdk-7-7b84/build/openjdk-boot/build/linux-amd64/langtools/build/genstubs > > BUILD FAILED > java.lang.NoClassDefFoundError: GenStubs > ? at java.lang.Class.initializeClass(libgcj.so.10) > ? at GenStubs$Ant.execute(Unknown Source) > [...] > Caused by: java.lang.ClassNotFoundException: > javax.tools.JavaFileManager$Location > [...] > ? at java.lang.Class.initializeClass(libgcj.so.10) > ? ...15 more > > You can get my full build log here : [1]. > There are some issues with HEAD I need to look at, that's why there hasn't been a new release yet. Have you tried 1.12? > Some important informations : > - AFAIK, javax.tools.JavaFileManager$Location is only available since 1.6 > Java API level (so it's not bundled with GCJ classpath implementation). This is true of a lot of classes. We pre-build them before entering the OpenJDK build to get round this. I'll have to look at your logs to see why this is not being built here. > - Bootstrap part end successfuly when using OpenJDK-6 as stage1 (getting > other issues later on but that's another story...) Use --disable-bootstrap when using OpenJDK6. A full bootstrap cycle with OpenJDK is not yet supported. > - IcedTea's Build server IcedTea fails with the same stacktrace [2]. > It's slightly different, but yes this is what I referred to above. > Any ideas how to fix this ? > > [0] http://icedtea.classpath.org/hg/icedtea/ > [1] http://people.debian.org/~drazzib/openjdk-7_7b84-1~ppa1_amd64.build > [2] http://icedtea.classpath.org/builds/icedtea7/build-icedtea7.log > > > Cheers, > -- > Damien > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From andrew at icedtea.classpath.org Mon Apr 26 16:24:04 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 26 Apr 2010 23:24:04 +0000 Subject: /hg/icedtea: Fix old usage of JDK_SHARE instead of SHARE. Message-ID: changeset a683ef7f7d41 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=a683ef7f7d41 author: Andrew John Hughes date: Tue Apr 27 00:23:57 2010 +0100 Fix old usage of JDK_SHARE instead of SHARE. 2010-04-26 Andrew John Hughes * Makefile.am: (rt.stamp): Change JDK_SHARE to SHARE to match IcedTea6. diffstat: 2 files changed, 6 insertions(+), 1 deletion(-) ChangeLog | 5 +++++ Makefile.am | 2 +- diffs (24 lines): diff -r 86ea08fc3e46 -r a683ef7f7d41 ChangeLog --- a/ChangeLog Wed Mar 31 00:47:11 2010 +0100 +++ b/ChangeLog Tue Apr 27 00:23:57 2010 +0100 @@ -1,3 +1,8 @@ 2010-03-31 Andrew John Hughes + + * Makefile.am: + (rt.stamp): Change JDK_SHARE to SHARE to match IcedTea6. + 2010-03-31 Andrew John Hughes * Makefile.am: diff -r 86ea08fc3e46 -r a683ef7f7d41 Makefile.am --- a/Makefile.am Wed Mar 31 00:47:11 2010 +0100 +++ b/Makefile.am Tue Apr 27 00:23:57 2010 +0100 @@ -2578,7 +2578,7 @@ if LACKS_SUN_AWT_TOOLKIT cd lib/rt ; \ for dirs in $(ICEDTEA_BOOTSTRAP_RESOURCES) ; \ do \ - destpath=`echo $$dirs|sed -e 's#$(LANGTOOLS)/##' -e 's#$(JDK_SHARE)/##'` ; \ + destpath=`echo $$dirs|sed -e 's#$(LANGTOOLS)/##' -e 's#$(SHARE)/##'` ; \ mkdir -p `dirname $$destpath` ; \ cp -a ../../$$dirs $$destpath ; \ done ; \ From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 07:15:39 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 14:15:39 +0000 Subject: [Bug 386] SEGFAULT when loading applet Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=386 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from jon.vanalten at redhat.com 2010-04-27 14:15 ------- This looks very much like duplicate. I no longer see an applet at that URL, so I can't really confirm. But, as noted in #367, fix to load newer libjpeg versions made it into icedtea6 1.7. If you have same issue with that version or newer, please reopen bug and provide details. *** This bug has been marked as a duplicate of bug 367 *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 07:15:40 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 14:15:40 +0000 Subject: [Bug 367] Interactive brokers fails / libjpeg7 related? Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=367 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uzytkownik2 at gmail.com ------- Comment #12 from jon.vanalten at redhat.com 2010-04-27 14:15 ------- *** Bug 386 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 08:05:53 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 15:05:53 +0000 Subject: [Bug 410] Applet resource loading fails Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=410 ------- Comment #1 from jon.vanalten at redhat.com 2010-04-27 15:05 ------- This seems to be working for me. I don't have cardreader, but the "eID Applet Identification" and "eID Applet Authentication" applets both load and seem to be waiting for cardreader input. $ rpm -qa | grep openjdk-plugin java-1.6.0-openjdk-plugin-1.6.0.0-37.b17.fc12.x86_64 $ java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc12-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) $ rpm -qa | grep firefox firefox-3.5.9-2.fc12.x86_64 Can you try with a newer version? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 08:39:20 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 15:39:20 +0000 Subject: [Bug 413] Crash with ibus and JOSM Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=413 ------- Comment #2 from jon.vanalten at redhat.com 2010-04-27 15:39 ------- Do I understand correctly that the app crashes only on ibus daemon restart? You are probably right about this being an ibus issue. This might be related: http://code.google.com/p/ibus/issues/detail?id=593 With a fix posted late Nov/09 and ibus making fairly frequent releases, there's a good chance that this fix has made it into F12 by now. Is this still happening for you? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 09:14:19 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 16:14:19 +0000 Subject: [Bug 420] CompilerThread crashes Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=420 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from jon.vanalten at redhat.com 2010-04-27 16:14 ------- Working in current version according to OP. Please reopen and provide details if problem continues. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From andrew at icedtea.classpath.org Tue Apr 27 10:01:09 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 27 Apr 2010 17:01:09 +0000 Subject: /hg/icedtea: Make sure correct classpaths are used by pre-build ... Message-ID: changeset a9f6eb34b8ca in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=a9f6eb34b8ca author: Andrew John Hughes date: Tue Apr 27 18:00:58 2010 +0100 Make sure correct classpaths are used by pre-build javac targets and use variables for NetX & plugin classes/jars/sources. 2010-04-26 Andrew John Hughes Make sure correct classpaths are used by pre-build javac targets and use variables for NetX and plugin classes, JAR files and source files. * Makefile.am: (NETX_CLASSES): Add location of built NetX classes. (NETX_JAR): Add location of NetX JAR file. (NETX_SRC): Add location of NetX source files. (LIVECONNECT_CLASSES): Classes for plugin. (LIVECONNECT_JAR): JAR file for plugin. (LIVECONNECT_SRC): Source files for plugin. (ICEDTEA_ENV): Use NETX_CLASSES and LIVECONNECT_CLASSES variables. (liveconnect.stamp): Set classpath to bootstrap rt.jar and NetX classes. Use new variables. (liveconnect-dist.stamp): Use new variables. (clean-liveconnect): Likewise. (netx.stamp): Depend on rt.stamp to ensure rt.jar is updated. Use ICEDTEA_RT as classpath and new variables. (netx-dist.stamp): Use new variables. (clean-netx): Likewise. (extra-class- files.stamp): Use ICEDTEA_RT and NETX_CLASSES as classpath. Make javac invocation a single statement so we break out on failure. diffstat: 2 files changed, 59 insertions(+), 21 deletions(-) ChangeLog | 26 ++++++++++++++++++++++++++ Makefile.am | 54 +++++++++++++++++++++++++++++++++--------------------- diffs (175 lines): diff -r a683ef7f7d41 -r a9f6eb34b8ca ChangeLog --- a/ChangeLog Tue Apr 27 00:23:57 2010 +0100 +++ b/ChangeLog Tue Apr 27 18:00:58 2010 +0100 @@ -1,3 +1,29 @@ 2010-04-26 Andrew John Hughes + + Make sure correct classpaths are used by pre-build + javac targets and use variables for NetX and plugin + classes, JAR files and source files. + * Makefile.am: + (NETX_CLASSES): Add location of built NetX classes. + (NETX_JAR): Add location of NetX JAR file. + (NETX_SRC): Add location of NetX source files. + (LIVECONNECT_CLASSES): Classes for plugin. + (LIVECONNECT_JAR): JAR file for plugin. + (LIVECONNECT_SRC): Source files for plugin. + (ICEDTEA_ENV): Use NETX_CLASSES and LIVECONNECT_CLASSES + variables. + (liveconnect.stamp): Set classpath to bootstrap rt.jar + and NetX classes. Use new variables. + (liveconnect-dist.stamp): Use new variables. + (clean-liveconnect): Likewise. + (netx.stamp): Depend on rt.stamp to ensure rt.jar is + updated. Use ICEDTEA_RT as classpath and new variables. + (netx-dist.stamp): Use new variables. + (clean-netx): Likewise. + (extra-class-files.stamp): Use ICEDTEA_RT and NETX_CLASSES + as classpath. Make javac invocation a single statement so + we break out on failure. + 2010-04-26 Andrew John Hughes * Makefile.am: diff -r a683ef7f7d41 -r a9f6eb34b8ca Makefile.am --- a/Makefile.am Tue Apr 27 00:23:57 2010 +0100 +++ b/Makefile.am Tue Apr 27 18:00:58 2010 +0100 @@ -70,6 +70,12 @@ ICEDTEA_BOOT_DIR= \ $(abs_top_builddir)/bootstrap/jdk1.6.0 ICEDTEA_RT = \ $(ICEDTEA_BOOT_DIR)/jre/lib/rt.jar +NETX_CLASSES = \ + $(abs_top_builddir)/netx.build +NETX_JAR = \ + $(NETX_CLASSES)/lib/classes.jar +NETX_SRC = \ + $(NETX_CLASSES)/lib/src.zip ICEDTEA_ENDORSED_DIR = \ $(ICEDTEA_BOOT_DIR)/lib/endorsed ICEDTEA_BUILD_DIR_BOOT = \ @@ -177,7 +183,10 @@ ICEDTEAPLUGIN_CLEAN = clean-IcedTeaNPPlu ICEDTEAPLUGIN_CLEAN = clean-IcedTeaNPPlugin PLUGIN_PATCH = patches/icedtea-liveconnect.patch LIVECONNECT_DIR = sun/applet netscape -JNLP_ABOUT_TARGET = extra-lib/about.jar +JNLP_ABOUT_TARGET = extra-lib/about.jar +LIVECONNECT_CLASSES = $(abs_top_builddir)/liveconnect +LIVECONNECT_JAR = $(LIVECONNECT_CLASSES)/lib/classes.jar +LIVECONNECT_SRC = $(LIVECONNECT_CLASSES)/lib/src.zip else if ENABLE_PLUGIN PLUGIN_SRCDIR=$(abs_top_srcdir)/plugin/icedtea @@ -187,6 +196,9 @@ PLUGIN_PATCH = patches/icedtea-liveconne PLUGIN_PATCH = patches/icedtea-liveconnect.patch LIVECONNECT_DIR = sun/applet netscape JNLP_ABOUT_TARGET = extra-lib/about.jar +LIVECONNECT_CLASSES = $(abs_top_builddir)/liveconnect +LIVECONNECT_JAR = $(LIVECONNECT_CLASSES)/lib/classes.jar +LIVECONNECT_SRC = $(LIVECONNECT_CLASSES)/lib/src.zip else PLUGIN_PATCH = patches/icedtea-plugin.patch endif @@ -484,8 +496,8 @@ ICEDTEA_ENV = \ RHINO_JAR="$(RHINO_JAR)" \ DISTRIBUTION_ID="$(DIST_ID)" \ ALT_JIBX_LIBS_PATH="$(JIBX_DEPS_DIR)" \ - ALT_NETX_DIST="$(abs_top_builddir)/netx.build" \ - ALT_LIVECONNECT_DIST="$(abs_top_builddir)/liveconnect" \ + ALT_NETX_DIST="$(NETX_CLASSES)" \ + ALT_LIVECONNECT_DIST="$(LIVECONNECT_CLASSES)" \ DEBUG_CLASSFILES="true" \ DEBUG_BINARIES="true" \ DISABLE_INTREE_EC="true" \ @@ -2050,10 +2062,10 @@ liveconnect-source-files.txt: stamps/liveconnect.stamp: liveconnect-source-files.txt stamps/netx.stamp if test "x${LIVECONNECT_DIR}" != x; then \ - mkdir -p $(abs_top_builddir)/liveconnect ; \ + mkdir -p $(LIVECONNECT_CLASSES) ; \ $(ICEDTEA_BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \ - -d $(abs_top_builddir)/liveconnect \ - -classpath $(abs_top_builddir)/lib/rt:$(abs_top_builddir)/netx.build:$(SYSTEM_JDK_DIR)/jre/lib/rt.jar \ + -d $(LIVECONNECT_CLASSES) \ + -classpath $(ICEDTEA_RT):$(NETX_CLASSES) \ -sourcepath $(SOURCEPATH_DIRS) \ -bootclasspath \'\' \ @liveconnect-source-files.txt ; \ @@ -2063,19 +2075,19 @@ stamps/liveconnect.stamp: liveconnect-so stamps/liveconnect-dist.stamp: stamps/liveconnect.stamp if test "x${LIVECONNECT_DIR}" != x; then \ - (cd $(abs_top_builddir)/liveconnect ; \ + (cd $(LIVECONNECT_CLASSES) ; \ mkdir -p lib ; \ - $(ICEDTEA_BOOT_DIR)/bin/jar cf lib/classes.jar ${LIVECONNECT_DIR} ; \ + $(ICEDTEA_BOOT_DIR)/bin/jar cf $(LIVECONNECT_JAR) $(LIVECONNECT_DIR) ; \ cp -a $(PLUGIN_SRCDIR)/java src; \ find src -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}' ';'; \ cd src ; \ - $(ZIP) -qr $(abs_top_builddir)/liveconnect/lib/src.zip ${LIVECONNECT_DIR} ) ; \ + $(ZIP) -qr $(LIVECONNECT_SRC) ${LIVECONNECT_DIR} ) ; \ fi mkdir -p stamps touch $@ clean-liveconnect: - rm -rf $(abs_top_builddir)/liveconnect + rm -rf $(LIVECONNECT_CLASSES) rm -f stamps/liveconnect-dist.stamp rm -f liveconnect-source-files.txt rm -f stamps/liveconnect.stamp @@ -2087,11 +2099,11 @@ netx-source-files.txt: netx-source-files.txt: find $(NETX_SRCDIR) -name '*.java' | sort > $@ -stamps/netx.stamp: netx-source-files.txt stamps/rt-class-files.stamp - mkdir -p $(abs_top_builddir)/netx.build +stamps/netx.stamp: netx-source-files.txt stamps/rt.stamp + mkdir -p $(NETX_CLASSES) $(ICEDTEA_BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \ - -d $(abs_top_builddir)/netx.build \ - -classpath $(abs_top_builddir)/lib/rt:$(SYSTEM_JDK_DIR)/jre/lib/rt.jar \ + -d $(NETX_CLASSES) \ + -classpath $(ICEDTEA_RT) \ -sourcepath $(NETX_SRCDIR):$(SOURCEPATH_DIRS) \ -bootclasspath \'\' \ @netx-source-files.txt ; @@ -2099,20 +2111,20 @@ stamps/netx.stamp: netx-source-files.txt touch $@ stamps/netx-dist.stamp: stamps/netx.stamp - (cd $(abs_top_builddir)/netx.build ; \ + (cd $(NETX_CLASSES) ; \ mkdir -p lib ; \ - $(ICEDTEA_BOOT_DIR)/bin/jar cf lib/classes.jar javax/jnlp net ; \ + $(ICEDTEA_BOOT_DIR)/bin/jar cf $(NETX_JAR) javax/jnlp net ; \ cp -a $(NETX_SRCDIR) src; \ find src -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}' ';'; \ cd src ; \ - $(ICEDTEA_BOOT_DIR)/bin/jar uf $(abs_top_builddir)/netx.build/lib/classes.jar \ + $(ICEDTEA_BOOT_DIR)/bin/jar uf $(NETX_JAR) \ `find . -type f -not -name '*.java'` ; \ - $(ZIP) -qr $(abs_top_builddir)/netx.build/lib/src.zip javax net ) + $(ZIP) -qr $(NETX_SRC) javax net ) mkdir -p stamps touch $@ clean-netx: - rm -rf $(abs_top_builddir)/netx.build + rm -rf $(NETX_CLASSES) rm -f stamps/netx-dist.stamp rm -f netx-source-files.txt rm -f stamps/netx.stamp @@ -2123,10 +2135,10 @@ stamps/extra-class-files.stamp: extra-so stamps/extra-class-files.stamp: extra-source-files.txt stamps/netx.stamp mkdir -p extra-lib $(ICEDTEA_BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) -d extra-lib \ - -classpath $(abs_top_builddir)/lib/rt:$(SYSTEM_JDK_DIR)/jre/lib/rt.jar \ + -classpath $(ICEDTEA_RT):$(NETX_CLASSES) \ -sourcepath $(abs_top_srcdir)/extra:$(SOURCEPATH_DIRS) \ -bootclasspath \'\' \ - @extra-source-files.txt ; \ + @extra-source-files.txt cp -r $(abs_top_srcdir)/extra/net/sourceforge/jnlp/about/resources \ extra-lib/net/sourceforge/jnlp/about find extra-lib/net/sourceforge/jnlp/about -type f -exec chmod 640 '{}' ';' \ From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 12:27:11 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 19:27:11 +0000 Subject: [Bug 421] Support for building without X11 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=421 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #1 from jon.vanalten at redhat.com 2010-04-27 19:27 ------- The problem with this request is that the end result would not be a complete JDK, and could not be called Java. This is beyond the current scope of IcedTea. You might consider proposing this as a subproject, either upstream (http://openjdk.java.net/projects/) or possibly even hosted here (join the mailing list). Call it Decaf? The lack of other response to this bug, however, suggests that anyone proposing such a project be willing to spearhead the effort. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 12:29:49 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 19:29:49 +0000 Subject: [Bug 422] JRE crash Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=422 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #278|application/octet-stream |text/plain mime type| | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 12:35:12 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 19:35:12 +0000 Subject: [Bug 332] An unexpected error has been detected by Java Runtime Environment: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=332 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #3 from jon.vanalten at redhat.com 2010-04-27 19:35 ------- Please reopen if more info can be provided as noted in Comment #2. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 12:39:23 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 19:39:23 +0000 Subject: [Bug 422] JRE crash Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=422 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from jon.vanalten at redhat.com 2010-04-27 19:39 ------- Crashes in compile thread while compiling same method. *** This bug has been marked as a duplicate of bug 397 *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 12:39:23 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 19:39:23 +0000 Subject: [Bug 397] SIGSEGV while running Vuze with icedtea6-1.6.1 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=397 jon.vanalten at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mothlight at fastmail.fm ------- Comment #4 from jon.vanalten at redhat.com 2010-04-27 19:39 ------- *** Bug 422 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 13:10:08 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 20:10:08 +0000 Subject: [Bug 476] New: icedtea fail to build with gcc 4.5 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=476 Summary: icedtea fail to build with gcc 4.5 Product: IcedTea Version: 6-1.7 Platform: all OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: uzytkownik2 at gmail.com ++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I../generated/adfiles -I../generated/jvmtifiles -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/asm -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/ci -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/classfile -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/code -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/compiler -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/g1 -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/parNew -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/shared -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_interface -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/interpreter -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/libadt -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/memory -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/oops -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/opto -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/runtime -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/services -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/shark -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/utilities -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/cpu/x86/vm -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/os/linux/vm -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/os_cpu/linux_x86/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"16.0-b13\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.6.0_17-b17\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea6 1.7.3\"" -DDISTRIBUTION_ID="\"Built on Gentoo Base System release 2.0.1 (Mon Apr 26 19:28:03 BST 2010)\"" -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -DCOMPILER2 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m64 -pipe -g -DCOMPILER2 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m64 -pipe -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -Werror -Wpointer-arith -Wsign-compare -DDTRACE_ENABLED -c -o jni.o /var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims/jni.cpp cc1plus: warnings being treated as errors /var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims/jni.cpp: In function '_jobject* jni_NewDirectByteBuffer(JNIEnv*, void*, jlong)': /var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims/jni.cpp:2726:7: error: converting to non-pointer type 'long int' from NULL make[6]: *** [jni.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[6]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product' make[5]: *** [the_vm] Error 2 make[5]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product' make[4]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/build/linux-amd64/hotspot/outputdir' make[4]: *** [product] Error 2 make[3]: *** [generic_build2] Error 2 make[3]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/make' make[2]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/make' make[2]: *** [product] Error 2 make[1]: *** [hotspot-build] Error 2 make[1]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk' make: *** [stamps/icedtea.stamp] Error 2 IIRC the same with 1.8 (which I don't use due to bug #472). -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 13:18:41 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 20:18:41 +0000 Subject: [Bug 476] icedtea fail to build with gcc 4.5 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=476 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from gnu_andrew at member.fsf.org 2010-04-27 20:18 ------- Given GCC 4.5 is newer than IcedTea6 1.7.3, it's not that unexpected that it doesn't work. We need to look at getting OpenJDK building with GCC 4.5 generally and can then backport the fix to older versions. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 13:18:58 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 20:18:58 +0000 Subject: [Bug 476] icedtea fail to build with gcc 4.5 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=476 gnu_andrew at member.fsf.org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at icedtea.classpath|gnu_andrew at member.fsf.org |.org | Status|ASSIGNED |NEW -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 13:50:12 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 20:50:12 +0000 Subject: [Bug 438] PulseAudioSourceDataLine falsely returns true to isControlSupported(Gain) Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=438 ------- Comment #1 from jon.vanalten at redhat.com 2010-04-27 20:50 ------- Hi, Looking at the source, I think I know why. Would you happen to have an example that reproduces this, to save me the time of throwing one together? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Apr 27 14:01:56 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 27 Apr 2010 21:01:56 +0000 Subject: [Bug 397] SIGSEGV while running Vuze with icedtea6-1.6.1 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=397 ------- Comment #5 from mothlight at fastmail.fm 2010-04-27 21:01 ------- For bug 422, it is pretty consistently reproducible. Run Vuze, suspend your computer, then about a minute or two after coming back from the suspend, the JRE will crash. I assume it has something to do with the loss of the network and how it gets re established after a restart. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Apr 28 00:15:51 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 28 Apr 2010 07:15:51 +0000 Subject: [Bug 454] Jetty running on shark fails in HttpURI.getDecodedPath() Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=454 ------- Comment #7 from xerxes at zafena.se 2010-04-28 07:15 ------- this bug looks to be a duplicate of bug 324 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From andrew at icedtea.classpath.org Wed Apr 28 06:20:40 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 28 Apr 2010 13:20:40 +0000 Subject: /hg/icedtea6: Fix building with --enable-systemtap and GCC 4.5. Message-ID: changeset b86fa01ca5ca in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b86fa01ca5ca author: Andrew John Hughes date: Wed Apr 28 14:20:33 2010 +0100 Fix building with --enable-systemtap and GCC 4.5. 2010-04-28 Andrew John Hughes * Makefile.am: Add patch when SystemTap is enabled to support building with GCC 4.5. * patches/systemtap-gcc-4.5.patch: Add cast to NULL (doesn't apply to DTrace due to differences between SystemTap and DTrace macros). diffstat: 3 files changed, 22 insertions(+), 1 deletion(-) ChangeLog | 9 +++++++++ Makefile.am | 3 ++- patches/systemtap-gcc-4.5.patch | 11 +++++++++++ diffs (44 lines): diff -r 727bee274d9e -r b86fa01ca5ca ChangeLog --- a/ChangeLog Sat Apr 24 15:32:51 2010 +0200 +++ b/ChangeLog Wed Apr 28 14:20:33 2010 +0100 @@ -1,3 +1,12 @@ 2010-04-24 Matthias Klose + + * Makefile.am: + Add patch when SystemTap is enabled to support + building with GCC 4.5. + * patches/systemtap-gcc-4.5.patch: + Add cast to NULL (doesn't apply to DTrace due + to differences between SystemTap and DTrace macros). + 2010-04-24 Matthias Klose * Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm diff -r 727bee274d9e -r b86fa01ca5ca Makefile.am --- a/Makefile.am Sat Apr 24 15:32:51 2010 +0200 +++ b/Makefile.am Wed Apr 28 14:20:33 2010 +0100 @@ -354,7 +354,8 @@ endif endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/systemtap.patch +ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/systemtap.patch \ + patches/systemtap-gcc-4.5.patch endif if ENABLE_NSS diff -r 727bee274d9e -r b86fa01ca5ca patches/systemtap-gcc-4.5.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/systemtap-gcc-4.5.patch Wed Apr 28 14:20:33 2010 +0100 @@ -0,0 +1,11 @@ +--- openjdk.orig/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 08:51:29.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 09:29:22.000000000 +0100 +@@ -2723,7 +2723,7 @@ + + if (!directBufferSupportInitializeEnded) { + if (!initializeDirectBufferSupport(env, thread)) { +- DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, NULL); ++ DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, (uintptr_t) NULL); + return NULL; + } + } From ahughes at redhat.com Wed Apr 28 07:02:13 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Wed, 28 Apr 2010 15:02:13 +0100 Subject: /hg/icedtea6: Fix building with --enable-systemtap and GCC 4.5. In-Reply-To: References: Message-ID: Mark, Does this fix for PR476 (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=476) look ok to backport to the release branches? Thanks. On 28 April 2010 14:20, wrote: > changeset b86fa01ca5ca in /hg/icedtea6 > details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b86fa01ca5ca > author: Andrew John Hughes > date: Wed Apr 28 14:20:33 2010 +0100 > > ? ? ? ?Fix building with --enable-systemtap and GCC 4.5. > > ? ? ? ?2010-04-28 Andrew John Hughes > > ? ? ? ? * Makefile.am: Add patch when SystemTap is enabled > ? ? ? ?to support building with GCC 4.5. > ? ? ? ? ? ? ? ?* patches/systemtap-gcc-4.5.patch: Add cast to NULL (doesn't > ? ? ? ?apply to DTrace due to differences between SystemTap and > ? ? ? ?DTrace macros). > > > diffstat: > > 3 files changed, 22 insertions(+), 1 deletion(-) > ChangeLog ? ? ? ? ? ? ? ? ? ? ? | ? ?9 +++++++++ > Makefile.am ? ? ? ? ? ? ? ? ? ? | ? ?3 ++- > patches/systemtap-gcc-4.5.patch | ? 11 +++++++++++ > > diffs (44 lines): > > diff -r 727bee274d9e -r b86fa01ca5ca ChangeLog > --- a/ChangeLog Sat Apr 24 15:32:51 2010 +0200 > +++ b/ChangeLog Wed Apr 28 14:20:33 2010 +0100 > @@ -1,3 +1,12 @@ 2010-04-24 ?Matthias Klose ? +2010-04-28 ?Andrew John Hughes ? > + > + ? ? ? * Makefile.am: > + ? ? ? Add patch when SystemTap is enabled to support > + ? ? ? building with GCC 4.5. > + ? ? ? * patches/systemtap-gcc-4.5.patch: > + ? ? ? Add cast to NULL (doesn't apply to DTrace due > + ? ? ? to differences between SystemTap and DTrace macros). > + > ?2010-04-24 ?Matthias Klose ? > > ? ? ? ?* Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm > diff -r 727bee274d9e -r b86fa01ca5ca Makefile.am > --- a/Makefile.am ? ? ? Sat Apr 24 15:32:51 2010 +0200 > +++ b/Makefile.am ? ? ? Wed Apr 28 14:20:33 2010 +0100 > @@ -354,7 +354,8 @@ endif > ?endif > > ?if ENABLE_SYSTEMTAP > -ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/systemtap.patch > +ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/systemtap.patch \ > + ? ? ? patches/systemtap-gcc-4.5.patch > ?endif > > ?if ENABLE_NSS > diff -r 727bee274d9e -r b86fa01ca5ca patches/systemtap-gcc-4.5.patch > --- /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > +++ b/patches/systemtap-gcc-4.5.patch ? Wed Apr 28 14:20:33 2010 +0100 > @@ -0,0 +1,11 @@ > +--- openjdk.orig/hotspot/src/share/vm/prims/jni.cpp ? ?2010-04-28 08:51:29.000000000 +0100 > ++++ openjdk/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 09:29:22.000000000 +0100 > +@@ -2723,7 +2723,7 @@ > + > + ? if (!directBufferSupportInitializeEnded) { > + ? ? if (!initializeDirectBufferSupport(env, thread)) { > +- ? ? ?DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, NULL); > ++ ? ? ?DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, (uintptr_t) NULL); > + ? ? ? return NULL; > + ? ? } > + ? } > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From mjw at redhat.com Wed Apr 28 07:09:58 2010 From: mjw at redhat.com (Mark Wielaard) Date: Wed, 28 Apr 2010 16:09:58 +0200 Subject: /hg/icedtea6: Fix building with --enable-systemtap and GCC 4.5. In-Reply-To: References: Message-ID: <1272463798.6109.37.camel@springer.wildebeest.org> Hi Andrew, On Wed, 2010-04-28 at 15:02 +0100, Andrew John Hughes wrote: > Does this fix for PR476 > (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=476) look ok to > backport to the release branches? Yes, thanks. This is the correct thing to do in this case. dtrace defines it as probe NewDirectByteBuffer-entry(void*, void*, uintptr_t); so the cast is correct. The difference between SystemTap and dtrace are a little subtle here. SystemTap will try to use the actual type directly from the C/C++ definition, while dtrace will convert everything to unsigned longs (and then encode the correct type in the .d file). Cheers, Mark From bugzilla-daemon at icedtea.classpath.org Wed Apr 28 07:40:50 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 28 Apr 2010 14:40:50 +0000 Subject: [Bug 397] SIGSEGV while running Vuze with icedtea6-1.6.1 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=397 ------- Comment #6 from jon.vanalten at redhat.com 2010-04-28 14:40 ------- Not surprised to hear that, as this class seems to be handling the sending/receiving of data (from my brief examination, never having looked at the Vuze source before). If you run with "-client" added to the java command, do you still reproduce the problem? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Apr 28 08:55:57 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 28 Apr 2010 15:55:57 +0000 Subject: [Bug 397] SIGSEGV while running Vuze with icedtea6-1.6.1 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=397 ------- Comment #7 from jon.vanalten at redhat.com 2010-04-28 15:55 ------- Another potential workaround (which in theory would have less of an impact on performance): "-XX:CompileCommand=exclude,com/aelitis/net/udp/uc/impl/PRUDPPacketHandlerImpl$5,runSupport" -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From andrew at icedtea.classpath.org Wed Apr 28 09:18:55 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 28 Apr 2010 16:18:55 +0000 Subject: /hg/release/icedtea6-1.8: PR476: Enable building SystemTap on GC... Message-ID: changeset c8d38c28900e in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=c8d38c28900e author: Andrew John Hughes date: Wed Apr 28 17:18:35 2010 +0100 PR476: Enable building SystemTap on GCC 4.5. 2010-04-28 Andrew John Hughes PR icedtea/476 * Makefile.am: Add patch when SystemTap is enabled to support building with GCC 4.5. * patches/systemtap-gcc-4.5.patch: Add cast to NULL (doesn't apply to DTrace due to differences between SystemTap and DTrace macros). diffstat: 3 files changed, 23 insertions(+), 1 deletion(-) ChangeLog | 10 ++++++++++ Makefile.am | 3 ++- patches/systemtap-gcc-4.5.patch | 11 +++++++++++ diffs (45 lines): diff -r c30ad3953745 -r c8d38c28900e ChangeLog --- a/ChangeLog Mon Apr 26 14:11:34 2010 +0200 +++ b/ChangeLog Wed Apr 28 17:18:35 2010 +0100 @@ -1,3 +1,13 @@ 2010-04-24 Matthias Klose + + PR icedtea/476 + * Makefile.am: + Add patch when SystemTap is enabled to support + building with GCC 4.5. + * patches/systemtap-gcc-4.5.patch: + Add cast to NULL (doesn't apply to DTrace due + to differences between SystemTap and DTrace macros). + 2010-04-24 Matthias Klose * Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm diff -r c30ad3953745 -r c8d38c28900e Makefile.am --- a/Makefile.am Mon Apr 26 14:11:34 2010 +0200 +++ b/Makefile.am Wed Apr 28 17:18:35 2010 +0100 @@ -374,7 +374,8 @@ endif endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += patches/icedtea-systemtap.patch +ICEDTEA_PATCHES += patches/icedtea-systemtap.patch \ + patches/systemtap-gcc-4.5.patch endif if ENABLE_NSS diff -r c30ad3953745 -r c8d38c28900e patches/systemtap-gcc-4.5.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/systemtap-gcc-4.5.patch Wed Apr 28 17:18:35 2010 +0100 @@ -0,0 +1,11 @@ +--- openjdk.orig/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 08:51:29.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 09:29:22.000000000 +0100 +@@ -2723,7 +2723,7 @@ + + if (!directBufferSupportInitializeEnded) { + if (!initializeDirectBufferSupport(env, thread)) { +- DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, NULL); ++ DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, (uintptr_t) NULL); + return NULL; + } + } From bugzilla-daemon at icedtea.classpath.org Wed Apr 28 10:23:01 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 28 Apr 2010 17:23:01 +0000 Subject: [Bug 438] PulseAudioSourceDataLine falsely returns true to isControlSupported(Gain) Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=438 ------- Comment #2 from masory at sas.upenn.edu 2010-04-28 17:22 ------- (In reply to comment #1) > Hi, > > Looking at the source, I think I know why. Would you happen to have an example > that reproduces this, to save me the time of throwing one together? > Here is an example of audio playback: http://www.jsresources.org/examples/SimpleAudioPlayer.java.html To see the gain behavior add this code after line.start(): if (outputLine.isControlSupported(FloatControl.Type.MASTER_GAIN)) { try { gainControl = (FloatControl) outputLine.getControl(FloatControl.Type.MASTER_GAIN); } catch(Exception e) { //OpenJDK throws exception stating master gain control not available, despite returning true to isControlSupported e.printStackTrace(); } } -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From andrew at icedtea.classpath.org Wed Apr 28 13:29:23 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 28 Apr 2010 20:29:23 +0000 Subject: /hg/release/icedtea6-1.7: PR476: Enable building SystemTap on GC... Message-ID: changeset 261595447146 in /hg/release/icedtea6-1.7 details: http://icedtea.classpath.org/hg/release/icedtea6-1.7?cmd=changeset;node=261595447146 author: Andrew John Hughes date: Wed Apr 28 17:18:35 2010 +0100 PR476: Enable building SystemTap on GCC 4.5. 2010-04-28 Andrew John Hughes PR icedtea/476 * Makefile.am: Add patch when SystemTap is enabled to support building with GCC 4.5. * patches/systemtap-gcc-4.5.patch: Add cast to NULL (doesn't apply to DTrace due to differences between SystemTap and DTrace macros). diffstat: 3 files changed, 23 insertions(+), 1 deletion(-) ChangeLog | 10 ++++++++++ Makefile.am | 3 ++- patches/systemtap-gcc-4.5.patch | 11 +++++++++++ diffs (45 lines): diff -r ca8875e4a89d -r 261595447146 ChangeLog --- a/ChangeLog Thu Apr 01 01:54:30 2010 +0100 +++ b/ChangeLog Wed Apr 28 17:18:35 2010 +0100 @@ -1,3 +1,13 @@ 2010-03-31 Andrew John Hughes + + PR icedtea/476 + * Makefile.am: + Add patch when SystemTap is enabled to support + building with GCC 4.5. + * patches/systemtap-gcc-4.5.patch: + Add cast to NULL (doesn't apply to DTrace due + to differences between SystemTap and DTrace macros). + 2010-03-31 Andrew John Hughes * Makefile.am: Add Ant patch. diff -r ca8875e4a89d -r 261595447146 Makefile.am --- a/Makefile.am Thu Apr 01 01:54:30 2010 +0100 +++ b/Makefile.am Wed Apr 28 17:18:35 2010 +0100 @@ -371,7 +371,8 @@ endif endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += patches/icedtea-systemtap.patch +ICEDTEA_PATCHES += patches/icedtea-systemtap.patch \ + patches/systemtap-gcc-4.5.patch endif if ENABLE_NSS diff -r ca8875e4a89d -r 261595447146 patches/systemtap-gcc-4.5.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/systemtap-gcc-4.5.patch Wed Apr 28 17:18:35 2010 +0100 @@ -0,0 +1,11 @@ +--- openjdk.orig/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 08:51:29.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 09:29:22.000000000 +0100 +@@ -2723,7 +2723,7 @@ + + if (!directBufferSupportInitializeEnded) { + if (!initializeDirectBufferSupport(env, thread)) { +- DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, NULL); ++ DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, (uintptr_t) NULL); + return NULL; + } + } From andrew at icedtea.classpath.org Wed Apr 28 15:05:04 2010 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 28 Apr 2010 22:05:04 +0000 Subject: /hg/release/icedtea6-1.6: PR476: Enable building SystemTap on GC... Message-ID: changeset 54c929c868e4 in /hg/release/icedtea6-1.6 details: http://icedtea.classpath.org/hg/release/icedtea6-1.6?cmd=changeset;node=54c929c868e4 author: Andrew John Hughes date: Wed Apr 28 23:04:32 2010 +0100 PR476: Enable building SystemTap on GCC 4.5. 2010-04-28 Andrew John Hughes PR icedtea/476 * Makefile.am: Add patch when SystemTap is enabled to support building with GCC 4.5. * patches/systemtap-gcc-4.5.patch: Add cast to NULL (doesn't apply to DTrace due to differences between SystemTap and DTrace macros). diffstat: 3 files changed, 23 insertions(+), 1 deletion(-) ChangeLog | 10 ++++++++++ Makefile.am | 3 ++- patches/systemtap-gcc-4.5.patch | 11 +++++++++++ diffs (45 lines): diff -r e78e331c336a -r 54c929c868e4 ChangeLog --- a/ChangeLog Wed Mar 31 22:57:45 2010 +0100 +++ b/ChangeLog Wed Apr 28 23:04:32 2010 +0100 @@ -1,3 +1,13 @@ 2010-03-31 Andrew John Hughes + + PR icedtea/476 + * Makefile.am: + Add patch when SystemTap is enabled to support + building with GCC 4.5. + * patches/systemtap-gcc-4.5.patch: + Add cast to NULL (doesn't apply to DTrace due + to differences between SystemTap and DTrace macros). + 2010-03-31 Andrew John Hughes * Makefile.am: Add Ant patch. diff -r e78e331c336a -r 54c929c868e4 Makefile.am --- a/Makefile.am Wed Mar 31 22:57:45 2010 +0100 +++ b/Makefile.am Wed Apr 28 23:04:32 2010 +0100 @@ -720,7 +720,8 @@ endif endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/systemtap.patch +ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/systemtap.patch \ + patches/systemtap-gcc-4.5.patch endif if ENABLE_NSS diff -r e78e331c336a -r 54c929c868e4 patches/systemtap-gcc-4.5.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/systemtap-gcc-4.5.patch Wed Apr 28 23:04:32 2010 +0100 @@ -0,0 +1,11 @@ +--- openjdk.orig/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 08:51:29.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 09:29:22.000000000 +0100 +@@ -2723,7 +2723,7 @@ + + if (!directBufferSupportInitializeEnded) { + if (!initializeDirectBufferSupport(env, thread)) { +- DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, NULL); ++ DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, (uintptr_t) NULL); + return NULL; + } + } From ptisnovs at icedtea.classpath.org Thu Apr 29 00:01:55 2010 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 29 Apr 2010 07:01:55 +0000 Subject: /hg/icedtea6: overlays/openjdk/jdk/test/com: Removed because cor... Message-ID: changeset f882c327935a in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=f882c327935a author: ptisnovs date: Thu Apr 29 08:59:57 2010 +0200 overlays/openjdk/jdk/test/com: Removed because correct version of these tests are now available in OpenJDK itself. diffstat: 245 files changed, 7 insertions(+), 18407 deletions(-) AUTHORS | 1 ChangeLog | 6 overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/GetFormat.java | 41 - overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/ToFloatArray.java | 162 ------ overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Available.java | 81 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Close.java | 72 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFormat.java | 74 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFrameLength.java | 74 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/MarkSupported.java | 74 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Read.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/ReadFloatArray.java | 81 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/ReadFloatArrayIntInt.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Reset.java | 87 --- overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Skip.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankFile.java | 52 -- overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankInputStream.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankInputStream2.java | 119 ----- overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankUrl.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/EmergencySoundbank/TestCreateSoundbank.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/GetInputStream.java | 91 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/GetRoot.java | 82 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/Load.java | 89 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/LoadAll.java | 93 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferByteArray.java | 84 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferByteArrayIntInt.java | 86 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferFile.java | 88 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferFileLongLong.java | 88 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Available.java | 107 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Close.java | 104 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/MarkReset.java | 129 ----- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/MarkSupported.java | 106 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Read.java | 117 ----- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/ReadByte.java | 118 ----- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/ReadByteIntInt.java | 118 ----- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Skip.java | 131 ----- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/SubbufferLong.java | 92 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/SubbufferLongLong.java | 92 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/SubbufferLongLongBoolean.java | 98 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/Unload.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/WriteTo.java | 92 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetAttenuation.java | 97 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetChannels.java | 97 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetLoopLength.java | 96 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetLoopStart.java | 96 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetPitchCorrection.java | 97 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBuffer.java | 94 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBufferAudioFormat.java | 94 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBufferAudioFormatFloat.java | 94 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBufferFloat.java | 96 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/Open.java | 92 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/Set8BitExtensionBuffer.java | 119 ----- overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/SetLoopType.java | 96 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/NewModelDestination.java | 46 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/NewModelDestinationModelIdentifier.java | 46 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/SetIdentifier.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/SetTransform.java | 46 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/EqualsObject.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierString.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierStringInt.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierStringString.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierStringStringInt.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/SetInstance.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/SetObject.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/SetVariable.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/GetOscillators.java | 44 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetConnectionBlocks.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetDefaultConnectionsEnabled.java | 49 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetExclusiveClass.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetKeyFrom.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetKeyTo.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetName.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetSelfNonExclusive.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetVelFrom.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetVelTo.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSource.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifier.java | 46 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierBoolean.java | 49 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierBooleanBoolean.java | 51 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierBooleanBooleanInt.java | 56 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierModelTransform.java | 47 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/SetIdentifier.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/SetTransform.java | 46 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransform.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransformBoolean.java | 48 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransformBooleanBoolean.java | 50 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransformBooleanBooleanInt.java | 51 -- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/SetDirection.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/SetPolarity.java | 45 - overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/SetTransform.java | 74 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformAbsolute.java | 73 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformConcave.java | 98 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformConvex.java | 98 ---- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformLinear.java | 90 --- overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformSwitch.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Available.java | 78 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Close.java | 72 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/GetFilePointer.java | 78 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/GetSize.java | 77 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/HasNextChunk.java | 85 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Read.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadByte.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadByteArrayIntInt.java | 81 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadInt.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadLong.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadShort.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadString.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadUnsignedByte.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadUnsignedInt.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadUnsignedShort.java | 79 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Skip.java | 78 --- overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/WriteOutputStream.java | 81 --- overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankFile.java | 52 -- overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankInputStream.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankInputStream2.java | 119 ----- overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankUrl.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrument.java | 86 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrumentIntInt.java | 91 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrumentIntIntIntInt.java | 97 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrumentIntIntIntIntInt.java | 97 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformer.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArray.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArrayIntInt.java | 89 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArrayIntIntIntInt.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArrayIntIntIntIntInt.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerIntInt.java | 89 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerIntIntIntInt.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerIntIntIntIntInt.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/Clear.java | 73 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/SetName.java | 72 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/SetPatch.java | 75 --- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/AddInstrument.java | 51 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/AddResource.java | 52 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/GetInstrument.java | 50 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/RemoveInstrument.java | 58 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetDescription.java | 47 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetName.java | 47 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetVendor.java | 47 -- overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetVersion.java | 47 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/Array.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/Clear.java | 56 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/Get.java | 68 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/NewSoftAudioBuffer.java | 55 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/DummySourceDataLine.java | 232 ---------- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/GetFormat.java | 61 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/GetPropertyInfo.java | 53 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/Open.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/OpenStream.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/AllNotesOff.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/AllSoundOff.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/ChannelPressure.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Controller.java | 62 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/LocalControl.java | 60 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Mono.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Mute.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/NoteOff.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/NoteOff2.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/NoteOn.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Omni.java | 61 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/PitchBend.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/PolyPressure.java | 61 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/ProgramChange.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/ResetAllControllers.java | 132 ----- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/SoftTestUtils.java | 111 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Solo.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftCubicResampler/Interpolate.java | 113 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftFilter/TestProcessAudio.java | 99 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLanczosResampler/Interpolate.java | 113 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix.java | 96 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix_mono.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix_mono_overdrive.java | 84 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix_overdrive.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_normal.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_normal_mono.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_overdrive.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_overdrive_mono.java | 83 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLinearResampler/Interpolate.java | 113 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLinearResampler2/Interpolate.java | 113 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftLowFrequencyOscillator/TestProcessControlLogic.java | 106 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftPointResampler/Interpolate.java | 113 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftProvider/GetDevice.java | 70 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Close.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ActiveSense.java | 82 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_AllNotesOff.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_AllSoundOff.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ChannelPressure.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_Controller.java | 66 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_Mono.java | 75 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOff.java | 65 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn.java | 65 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn_AllChannels.java | 71 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn_Delayed.java | 67 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn_Multiple.java | 76 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_Omni.java | 74 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_PitchBend.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_PolyPressure.java | 65 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ProgramChange.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ResetAllControllers.java | 136 ----- overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/SoftTestUtils.java | 111 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSincResampler/Interpolate.java | 113 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/Close.java | 58 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/DummySourceDataLine.java | 232 ---------- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetAvailableInstruments.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetChannels.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetDefaultSoundbank.java | 58 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetDeviceInfo.java | 56 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetLatency.java | 58 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetLoadedInstruments.java | 65 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMaxPolyphony.java | 58 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMaxReceivers.java | 56 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMaxTransmitters.java | 56 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMicrosecondPosition.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetReceiver.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetReceiver2.java | 62 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetReceivers.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetTransmitter.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetTransmitters.java | 58 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetVoiceStatus.java | 61 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/ImplicitOpenClose.java | 105 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/IsOpen.java | 59 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/IsSoundbankSupported.java | 95 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/LoadAllInstruments.java | 73 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/LoadInstrument.java | 73 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/LoadInstruments.java | 73 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/Open.java | 64 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/OpenStream.java | 58 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/RemapInstrument.java | 76 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/TestRender1.java | 214 --------- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/UnloadAllInstruments.java | 69 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/UnloadInstrument.java | 75 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/UnloadInstruments.java | 75 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/GetName.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/GetTuning.java | 56 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/GetTuningInt.java | 53 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load1.java | 101 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load2.java | 71 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load4.java | 104 ---- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load5.java | 87 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load6.java | 91 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load7.java | 72 --- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load8.java | 65 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load9.java | 69 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuning.java | 56 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuningByteArray.java | 63 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuningPatch.java | 54 -- overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuningPatchByteArray.java | 65 -- diffs (truncated from 19416 to 500 lines): diff -r b86fa01ca5ca -r f882c327935a AUTHORS --- a/AUTHORS Wed Apr 28 14:20:33 2010 +0100 +++ b/AUTHORS Thu Apr 29 08:59:57 2010 +0200 @@ -31,6 +31,7 @@ Marc Schoenefeld Marc Schoenefeld Keith Seitz Joshua Sumali +Pavel Tisnovsky Christian Thalinger Dalibor Topic Arnaud Vandyck diff -r b86fa01ca5ca -r f882c327935a ChangeLog --- a/ChangeLog Wed Apr 28 14:20:33 2010 +0100 +++ b/ChangeLog Thu Apr 29 08:59:57 2010 +0200 @@ -1,3 +1,9 @@ 2010-04-28 Andrew John Hughes + + * overlays/openjdk/jdk/test/com: Removed, correct + version of these tests are now available in OpenJDK + itself. + 2010-04-28 Andrew John Hughes * Makefile.am: diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/GetFormat.java --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/GetFormat.java Wed Apr 28 14:20:33 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ -/* - * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * 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. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * 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. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - */ - -/* @test - @summary Test AudioFloatConverter getFormat method */ - -import javax.sound.sampled.*; -import com.sun.media.sound.*; - -public class GetFormat { - - public static void main(String[] args) throws Exception { - AudioFormat frm = new AudioFormat(8000, 16, 1, true, false); - AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); - if(!conv.getFormat().matches(frm)) - throw new RuntimeException("Incorrect audio format returned."); - } - -} diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/ToFloatArray.java --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/ToFloatArray.java Wed Apr 28 14:20:33 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,162 +0,0 @@ -/* - * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * 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. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * 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. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - */ - -/* @test - @summary Test AudioFloatConverter toFloatArray method */ - -import javax.sound.sampled.*; - -import com.sun.media.sound.*; - -public class ToFloatArray { - - public static void main(String[] args) throws Exception { - - float[] testarray = new float[1024]; - for (int i = 0; i < 1024; i++) { - double ii = i / 1024.0; - ii = ii * ii; - testarray[i] = (float)Math.sin(10*ii*2*Math.PI); - testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); - testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); - testarray[i] *= 0.3; - } - - // Check conversion using PCM_FLOAT - for (int big = 0; big < 2; big+=1) - for (int bits = 32; bits <= 64; bits+=32) { - AudioFormat frm = new AudioFormat( - AudioFloatConverter.PCM_FLOAT, - 44100, bits, 1, bits/8, - 44100, big==1); - byte[] buff = new byte[testarray.length * frm.getFrameSize()]; - float[] testarray2 = new float[testarray.length]; - AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); - conv.toByteArray(testarray, buff); - conv.toFloatArray(buff, testarray2); - for (int i = 0; i < testarray2.length; i++) { - if(Math.abs(testarray[i] - testarray2[i]) > 0.05) - throw new RuntimeException("Conversion failed for " + frm +" , arrays not equal enough!\n"); - } - - } - - // Check conversion from float2byte and byte2float. - for (int big = 0; big < 2; big+=1) - for (int signed = 0; signed < 2; signed+=1) - for (int bits = 6; bits <= 40; bits+=2) { - AudioFormat frm = new AudioFormat(44100, bits, 1, signed==1, big==1); - byte[] buff = new byte[testarray.length * frm.getFrameSize()]; - float[] testarray2 = new float[testarray.length]; - AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); - conv.toByteArray(testarray, buff); - conv.toFloatArray(buff, testarray2); - for (int i = 0; i < testarray2.length; i++) { - if(Math.abs(testarray[i] - testarray2[i]) > 0.05) - throw new RuntimeException("Conversion failed for " + frm +" , arrays not equal enough!\n"); - } - } - - // Check big/little - for (int big = 0; big < 2; big+=1) - for (int signed = 0; signed < 2; signed+=1) - for (int bits = 6; bits <= 40; bits+=2) { - AudioFormat frm = new AudioFormat(44100, bits, 1, signed==1, big==1); - byte[] buff = new byte[testarray.length * frm.getFrameSize()]; - AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); - conv.toByteArray(testarray, buff); - byte[] buff2 = new byte[testarray.length * frm.getFrameSize()]; - int fs = frm.getFrameSize(); - for (int i = 0; i < buff2.length; i+=fs) { - for (int j = 0; j < fs; j++) { - buff2[i+(fs-j-1)] = buff[i+j]; - } - } - float[] testarray2 = new float[testarray.length]; - AudioFormat frm2 = new AudioFormat(44100, bits, 1, signed==1, big==0); - AudioFloatConverter.getConverter(frm2).toFloatArray(buff2, testarray2); - for (int i = 0; i < testarray2.length; i++) { - if(Math.abs(testarray[i] - testarray2[i]) > 0.05) - { - throw new RuntimeException("Conversion failed for " + frm +" to " + frm2 + " , arrays not equal enough!\n"); - } - } - } - - // Check signed/unsigned - for (int big = 0; big < 2; big+=1) - for (int signed = 0; signed < 2; signed+=1) - for (int bits = 6; bits <= 40; bits+=2) { - AudioFormat frm = new AudioFormat(44100, bits, 1, signed==1, big==1); - byte[] b = new byte[testarray.length * frm.getFrameSize()]; - AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); - conv.toByteArray(testarray, b); - int fs = frm.getFrameSize(); - if(big==1) - { - for(int i=0; i < b.length; i+= fs ) - b[i] = (b[i] >= 0) ? (byte)(0x80 | b[i]) : (byte)(0x7F & b[i]); - } - else - { - for(int i=(0+fs-1); i < b.length; i+= fs ) - b[i] = (b[i] >= 0) ? (byte)(0x80 | b[i]) : (byte)(0x7F & b[i]); - } - float[] testarray2 = new float[testarray.length]; - AudioFormat frm2 = new AudioFormat(44100, bits, 1, signed==0, big==1); - AudioFloatConverter.getConverter(frm2).toFloatArray(b, testarray2); - for (int i = 0; i < testarray2.length; i++) { - if(Math.abs(testarray[i] - testarray2[i]) > 0.05) - { - throw new RuntimeException("Conversion failed for " + frm +" to " + frm2 + " , arrays not equal enough!\n"); - } - } - } - - // Check if conversion 32->24, 24->16, 16->8 result in same float data - AudioFormat frm = new AudioFormat(44100, 40, 1, true, true); - byte[] b = new byte[testarray.length * frm.getFrameSize()]; - AudioFloatConverter.getConverter(frm).toByteArray(testarray, b); - for (int bits = 6; bits <= 40; bits+=2) { - AudioFormat frm2 = new AudioFormat(44100, bits, 1, true, true); - byte[] b2 = new byte[testarray.length * frm2.getFrameSize()]; - int fs1 = frm.getFrameSize(); - int fs2 = frm2.getFrameSize(); - int ii = 0; - for (int i = 0; i < b.length; i+=fs1) - for (int j = 0; j < fs2; j++) - b2[ii++] = b[i+j]; - float[] testarray2 = new float[testarray.length]; - AudioFloatConverter.getConverter(frm2).toFloatArray(b2, testarray2); - for (int i = 0; i < testarray2.length; i++) { - if(Math.abs(testarray[i] - testarray2[i]) > 0.05) - { - throw new RuntimeException("Conversion failed for " + frm +" to " + frm2 + " , arrays not equal enough!\n"); - } - } - } - } - -} diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Available.java --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Available.java Wed Apr 28 14:20:33 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ -/* - * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * 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. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * 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. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - */ - -/* @test - @summary Test AudioFloatInputStream available method */ - -import java.io.*; - -import javax.sound.sampled.*; - -import com.sun.media.sound.*; - -public class Available { - - static float[] test_float_array; - static byte[] test_byte_array; - static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); - - static AudioFloatInputStream getStream1() - { - return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); - } - - static AudioFloatInputStream getStream2() - { - AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); - return AudioFloatInputStream.getInputStream(strm); - } - - static void setUp() throws Exception { - test_float_array = new float[1024]; - test_byte_array = new byte[1024*format.getFrameSize()]; - for (int i = 0; i < 1024; i++) { - double ii = i / 1024.0; - ii = ii * ii; - test_float_array[i] = (float)Math.sin(10*ii*2*Math.PI); - test_float_array[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); - test_float_array[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); - test_float_array[i] *= 0.3; - } - AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array); - } - - public static void main(String[] args) throws Exception { - setUp(); - for (int i = 0; i < 2; i++) { - AudioFloatInputStream stream = null; - if(i == 0) stream = getStream1(); - if(i == 1) stream = getStream2(); - float[] buff = new float[512]; - if(stream.available() != 1024) - throw new RuntimeException("stream.available return incorrect value."); - stream.read(buff); - if(stream.available() != 512) - throw new RuntimeException("stream.available return incorrect value."); - } - } - -} diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Close.java --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Close.java Wed Apr 28 14:20:33 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ -/* - * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * 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. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * 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. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - */ - -/* @test - @summary Test AudioFloatInputStream close method */ - -import java.io.*; - -import javax.sound.sampled.*; - -import com.sun.media.sound.*; - -public class Close { - - static float[] test_float_array; - static byte[] test_byte_array; - static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); - - static AudioFloatInputStream getStream1() - { - return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); - } - - static AudioFloatInputStream getStream2() - { - AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); - return AudioFloatInputStream.getInputStream(strm); - } - - static void setUp() throws Exception { - test_float_array = new float[1024]; - test_byte_array = new byte[1024*format.getFrameSize()]; - for (int i = 0; i < 1024; i++) { - double ii = i / 1024.0; - ii = ii * ii; - test_float_array[i] = (float)Math.sin(10*ii*2*Math.PI); - test_float_array[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); - test_float_array[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); - test_float_array[i] *= 0.3; - } - AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array); - } - - public static void main(String[] args) throws Exception { - setUp(); - getStream1().close(); - getStream2().close(); - } - -} diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFormat.java --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFormat.java Wed Apr 28 14:20:33 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ -/* - * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * 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. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * 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. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. - */ - -/* @test - @summary Test AudioFloatInputStream getFormat method */ - -import java.io.*; - -import javax.sound.sampled.*; - -import com.sun.media.sound.*; - -public class GetFormat { - - static float[] test_float_array; - static byte[] test_byte_array; - static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); - - static AudioFloatInputStream getStream1() - { - return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); - } - - static AudioFloatInputStream getStream2() - { - AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); - return AudioFloatInputStream.getInputStream(strm); - } - - static void setUp() throws Exception { - test_float_array = new float[1024]; - test_byte_array = new byte[1024*format.getFrameSize()]; - for (int i = 0; i < 1024; i++) { - double ii = i / 1024.0; - ii = ii * ii; - test_float_array[i] = (float)Math.sin(10*ii*2*Math.PI); - test_float_array[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); - test_float_array[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); - test_float_array[i] *= 0.3; - } - AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array); - } - - public static void main(String[] args) throws Exception { - setUp(); - if(!getStream1().getFormat().matches(format)) - throw new RuntimeException("Incorrect audio format returned."); - if(!getStream2().getFormat().matches(format)) - throw new RuntimeException("Incorrect audio format returned."); - } - -} diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFrameLength.java --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFrameLength.java Wed Apr 28 14:20:33 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ -/* - * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * 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. Sun designates this - * particular file as subject to the "Classpath" exception as provided - * by Sun in the LICENSE file that accompanied this code. - * - * 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. - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or From jon.vanalten at redhat.com Thu Apr 29 11:59:41 2010 From: jon.vanalten at redhat.com (jon.vanalten at redhat.com) Date: Thu, 29 Apr 2010 14:59:41 -0400 (EDT) Subject: Request to push: Port libjpeg fix from icedtea6 to icedtea In-Reply-To: <1871026174.46701272567366340.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: <565936909.46901272567581324.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Hi, The attached diff ports the fix for http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=367 to icedtea, as suggested in http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=442 OK to push? cheers, jon -------------- next part -------------- A non-text attachment was scrubbed... Name: port442.diff Type: text/x-patch Size: 7743 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100429/a3e8198a/port442.diff From jon.vanalten at redhat.com Thu Apr 29 12:04:51 2010 From: jon.vanalten at redhat.com (jon.vanalten at redhat.com) Date: Thu, 29 Apr 2010 15:04:51 -0400 (EDT) Subject: RFC: Fix for http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=383 In-Reply-To: <1500477669.47571272567798297.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: <1050544282.47981272567891691.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Hi, Sorry about the bump. Does anyone have a chance to review this? thanks, jon ----- "jon vanalten" wrote: > Hello, > > The attached diff allows encap decorations to be drawn for lines of > zero length. I am pretty sure that I have limited any change in > behaviour to the special case of (zero line length, stroke width > greater than 1, endcaps square or rounded) in which this bug exhibits > itself. With this patch the behaviour is now same as closed JDK. Any > comments? Any objections if I push this? > > cheers, > > jon From bugzilla-daemon at icedtea.classpath.org Thu Apr 29 12:06:49 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 29 Apr 2010 19:06:49 +0000 Subject: [Bug 477] New: NullPointerEx in swing class CompoundBorder method getBorderInsets Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=477 Summary: NullPointerEx in swing class CompoundBorder method getBorderInsets Product: IcedTea Version: 6-1.6.1 Platform: x86_64 OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: jacobsallanster at gmail.com The OpenDS control panel aborts when run using openjdk 6. It functions correctly when using the JDK from Sun. The OpenJDK version that fails is the one that is shipping with Ubuntu. $ /usr/lib/jvm/java-6-openjdk/bin/java -version java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu3) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) For testing purposes, I installed and used a JDK from Sun. $ /opt/oracle/java/jdk1.6.0_20/bin/java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) $ uname -a Linux ceshannon 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux OpenDS is obtained from http://www.opends.org/ or from http://www.opends.org/promoted-builds/2.2.0/. Installation instructions are at https://www.opends.org/wiki/page/InstallationGuide. The installation will choose a JDK and write this choice into a configuration file. Use the environmental variable OPENDS_JAVA_HOME to override this configuration step. The directory server OpenDS is installed into a directory OpenDS-2.2.0, which I will call $OPENDS_HOME for documentation purposes. To run the directory server: $ $OPENDS_HOME/bin/start_ds To start up the control panel: $ $OPENDS_HOME/bin/control-panel The stderr trace reads: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.border.CompoundBorder.getBorderInsets(CompoundBorder.java:135) at javax.swing.border.CompoundBorder.getBorderInsets(CompoundBorder.java:157) at javax.swing.JComponent.setBorder(JComponent.java:1768) at org.opends.guitools.controlpanel.ui.components.ActionButton.(ActionButton.java:131) at org.opends.guitools.controlpanel.ui.MainActionsPane.(MainActionsPane.java:96) at org.opends.guitools.controlpanel.ui.ControlCenterMainPane.(ControlCenterMainPane.java:80) at org.opends.guitools.controlpanel.ControlPanel$2.run(ControlPanel.java:123) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From doko at ubuntu.com Thu Apr 29 12:12:13 2010 From: doko at ubuntu.com (Matthias Klose) Date: Thu, 29 Apr 2010 21:12:13 +0200 Subject: Request to push: Port libjpeg fix from icedtea6 to icedtea In-Reply-To: <565936909.46901272567581324.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> References: <565936909.46901272567581324.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: <4BD9DA0D.6010401@ubuntu.com> On 29.04.2010 20:59, jon.vanalten at redhat.com wrote: > Hi, > > The attached diff ports the fix for http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=367 to icedtea, as suggested in http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=442 > > OK to push? didn't we revert this patch? IMO it's only safe to use the jpeg version that openjdk was built with. Matthias From jon.vanalten at redhat.com Thu Apr 29 12:25:41 2010 From: jon.vanalten at redhat.com (Jon VanAlten) Date: Thu, 29 Apr 2010 15:25:41 -0400 (EDT) Subject: Request to push: Port libjpeg fix from icedtea6 to icedtea In-Reply-To: <4BD9DA0D.6010401@ubuntu.com> Message-ID: <1857571364.50891272569141356.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Urp, thanks and you're right... I based this on browsing repo via http, didn't realize I was in an older revision... Better port to follow. ----- "Matthias Klose" wrote: > On 29.04.2010 20:59, jon.vanalten at redhat.com wrote: > > Hi, > > > > The attached diff ports the fix for > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=367 to icedtea, > as suggested in > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=442 > > > > OK to push? > > didn't we revert this patch? IMO it's only safe to use the jpeg > version that > openjdk was built with. > > Matthias From bugzilla-daemon at icedtea.classpath.org Thu Apr 29 13:48:12 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 29 Apr 2010 20:48:12 +0000 Subject: [Bug 478] New: Fatal error when running tests in Eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=478 Summary: Fatal error when running tests in Eclipse Product: IcedTea Version: 6-1.6 Platform: all OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: IcedTea6 AssignedTo: unassigned at icedtea.classpath.org ReportedBy: charley.wang at gmail.com Steps to reproduce: (Short) Run AST2Test in Eclipse CDT 7.0, in Eclipse 3.6 (Detailed) - Download Eclipse 3.6 - Window --> Show View --> CVS Repositories - Right click --> Add new repository - Paste this string into the top box: :pserver:anonymous at dev.eclipse.org:2401/cvsroot/tools - Expand the tools repository --> HEAD --> org.eclipse.cdt --> all - Select everything - Right click, check out as --> Next --> Next --> Refresh Tags - Select tag v201004271740 under Versions After a build, press ctrl+shift+T and type AST2Test. Open that class, and attempt to run as a JUnit test. Result: Crash in test testDeepElseIf. Expected result: No crash. I will attach the crash log. -Charley -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Apr 29 13:50:25 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 29 Apr 2010 20:50:25 +0000 Subject: [Bug 478] Fatal error when running tests in Eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=478 ------- Comment #1 from charley.wang at gmail.com 2010-04-29 20:50 ------- Created an attachment (id=331) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=331&action=view) Crash log testDeepElseIf tests a large block of text. If I reduce this block of text by about 85% the crash no longer occurs. If I reduce it by about 75% the test still crashes, but no log appears to be generated. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From jon.vanalten at redhat.com Thu Apr 29 14:00:50 2010 From: jon.vanalten at redhat.com (jon.vanalten at redhat.com) Date: Thu, 29 Apr 2010 17:00:50 -0400 (EDT) Subject: Request to push: Port libjpeg fix from icedtea6 to icedtea In-Reply-To: <856776032.69471272574751454.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: <126912136.69721272574850980.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Diff of *correct* fix, attached. jon ----- "Jon VanAlten" wrote: > Urp, thanks and you're right... I based this on browsing repo via > http, didn't realize I was in an older revision... Better port to > follow. > > > ----- "Matthias Klose" wrote: > > > On 29.04.2010 20:59, jon.vanalten at redhat.com wrote: > > > Hi, > > > > > > The attached diff ports the fix for > > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=367 to > icedtea, > > as suggested in > > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=442 > > > > > > OK to push? > > > > didn't we revert this patch? IMO it's only safe to use the jpeg > > version that > > openjdk was built with. > > > > Matthias -------------- next part -------------- A non-text attachment was scrubbed... Name: port442.diff Type: text/x-patch Size: 7886 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100429/7fc82bec/port442.diff From ahughes at redhat.com Thu Apr 29 16:00:05 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Fri, 30 Apr 2010 00:00:05 +0100 Subject: Request to push: Port libjpeg fix from icedtea6 to icedtea In-Reply-To: <126912136.69721272574850980.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> References: <856776032.69471272574751454.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> <126912136.69721272574850980.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: On 29 April 2010 22:00, wrote: > Diff of *correct* fix, attached. > > jon > > > ----- "Jon VanAlten" wrote: > >> Urp, thanks and you're right... I based this on browsing repo via >> http, didn't realize I was in an older revision... ?Better port to >> follow. >> >> >> ----- "Matthias Klose" wrote: >> >> > On 29.04.2010 20:59, jon.vanalten at redhat.com wrote: >> > > Hi, >> > > >> > > The attached diff ports the fix for >> > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=367 to >> icedtea, >> > as suggested in >> > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=442 >> > > >> > > OK to push? >> > >> > didn't we revert this patch? IMO it's only safe to use the jpeg >> > version that >> > openjdk was built with. >> > >> > ? ?Matthias > This patch looks horribly broken, there are numerous diff segments with no changes. When forwardporting, the original changesets should preferably be used: changeset: 1841:fcd85ef6c2ae user: Andrew John Hughes date: Mon Jan 25 15:35:21 2010 +0000 summary: Support libjpeg8 and always choose the dlopen invocation at build time. changeset: 1818:8577904b8e6f user: Andrew John Hughes date: Mon Jan 11 20:12:43 2010 +0000 summary: Decide on libjpeg library at compile-time not runtime. The current plan for IcedTea7 is to: * Bump to b89 * Review and forwardport all appropriate IcedTea6 patches to 7 * Release 1.13 and I'd prefer this fix was added as part of that process rather than this patch being applied. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Thu Apr 29 16:14:22 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Fri, 30 Apr 2010 00:14:22 +0100 Subject: RFC: Fix for http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=383 In-Reply-To: <1050544282.47981272567891691.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> References: <1500477669.47571272567798297.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> <1050544282.47981272567891691.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Message-ID: On 29 April 2010 20:04, wrote: > Hi, > > Sorry about the bump. ?Does anyone have a chance to review this? > > thanks, > > jon > > > ----- "jon vanalten" wrote: > >> Hello, >> >> The attached diff allows encap decorations to be drawn for lines of >> zero length. ?I am pretty sure that I have limited any change in >> behaviour to the special case of (zero line length, stroke width >> greater than 1, endcaps square or rounded) in which this bug exhibits >> itself. ?With this patch the behaviour is now same as closed JDK. ?Any >> comments? ?Any objections if I push this? >> >> cheers, >> >> jon > Have you sent this to 2d-dev at openjdk.java.net for review? -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ahughes at redhat.com Thu Apr 29 16:37:02 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Fri, 30 Apr 2010 00:37:02 +0100 Subject: /hg/icedtea6: overlays/openjdk/jdk/test/com: Removed because cor... In-Reply-To: References: Message-ID: Minor issue; your ChangeLog doesn't mention your (long needed) update to AUTHORS :-) On 29 April 2010 08:01, wrote: > changeset f882c327935a in /hg/icedtea6 > details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=f882c327935a > author: ptisnovs > date: Thu Apr 29 08:59:57 2010 +0200 > > ? ? ? ?overlays/openjdk/jdk/test/com: Removed because correct version of > ? ? ? ?these tests are now available in OpenJDK itself. > > > diffstat: > > 245 files changed, 7 insertions(+), 18407 deletions(-) > AUTHORS ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?1 > ChangeLog ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?6 > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/GetFormat.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 41 - > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/ToFloatArray.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?162 ------ > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Available.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 81 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Close.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 72 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFormat.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 74 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFrameLength.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 74 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/MarkSupported.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 74 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Read.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/ReadFloatArray.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 81 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/ReadFloatArrayIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Reset.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 87 --- > overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Skip.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankFile.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 52 -- > overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankInputStream.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankInputStream2.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?119 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/DLSSoundbankReader/TestGetSoundbankUrl.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/EmergencySoundbank/TestCreateSoundbank.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/GetInputStream.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 91 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/GetRoot.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 82 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/Load.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 89 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/LoadAll.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 93 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferByteArray.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 84 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferByteArrayIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 86 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferFile.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 88 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/NewModelByteBufferFileLongLong.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 88 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Available.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?107 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Close.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?104 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/MarkReset.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?129 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/MarkSupported.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?106 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Read.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?117 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/ReadByte.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?118 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/ReadByteIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?118 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/RandomFileInputStream/Skip.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?131 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/SubbufferLong.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 92 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/SubbufferLongLong.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 92 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/SubbufferLongLongBoolean.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 98 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/Unload.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBuffer/WriteTo.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 92 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetAttenuation.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 97 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetChannels.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 97 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetLoopLength.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 96 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetLoopStart.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 96 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/GetPitchCorrection.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 97 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBuffer.java ? ? ? ? ? ? ? ? | ? 94 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBufferAudioFormat.java ? ? ?| ? 94 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBufferAudioFormatFloat.java | ? 94 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/NewModelByteBufferWavetableModelByteBufferFloat.java ? ? ? ? ? ?| ? 96 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/Open.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 92 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/Set8BitExtensionBuffer.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?119 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelByteBufferWavetable/SetLoopType.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 96 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/NewModelDestination.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 46 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/NewModelDestinationModelIdentifier.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 46 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/SetIdentifier.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelDestination/SetTransform.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 46 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/EqualsObject.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierString.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierStringInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierStringString.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/NewModelIdentifierStringStringInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/SetInstance.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/SetObject.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelIdentifier/SetVariable.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/GetOscillators.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 44 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetConnectionBlocks.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetDefaultConnectionsEnabled.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 49 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetExclusiveClass.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetKeyFrom.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetKeyTo.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetName.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetSelfNonExclusive.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetVelFrom.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelPerformer/SetVelTo.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSource.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifier.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 46 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierBoolean.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 49 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierBooleanBoolean.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 51 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierBooleanBooleanInt.java ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 56 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/NewModelSourceModelIdentifierModelTransform.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 47 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/SetIdentifier.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelSource/SetTransform.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 46 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransform.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransformBoolean.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 48 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransformBooleanBoolean.java ? ? ? ? ? ? ? ? ? ? ?| ? 50 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/NewModelStandardTransformBooleanBooleanInt.java ? ? ? ? ? ? ? ? ? | ? 51 -- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/SetDirection.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/SetPolarity.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 45 - > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/SetTransform.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 74 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformAbsolute.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 73 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformConcave.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 98 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformConvex.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 98 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformLinear.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 90 --- > overlays/openjdk/jdk/test/com/sun/media/sound/ModelStandardTransform/TransformSwitch.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Available.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 78 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Close.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 72 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/GetFilePointer.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 78 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/GetSize.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 77 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/HasNextChunk.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 85 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Read.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadByte.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadByteArrayIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 81 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadLong.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadShort.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadString.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadUnsignedByte.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadUnsignedInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/ReadUnsignedShort.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 79 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/Skip.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 78 --- > overlays/openjdk/jdk/test/com/sun/media/sound/RiffReaderWriter/WriteOutputStream.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 81 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankFile.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 52 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankInputStream.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankInputStream2.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?119 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/SF2SoundbankReader/TestGetSoundbankUrl.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrument.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 86 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrumentIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 91 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrumentIntIntIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 97 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelInstrumentIntIntIntIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 97 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformer.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArray.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArrayIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 89 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArrayIntIntIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerArrayIntIntIntIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 89 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerIntIntIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/AddModelPerformerIntIntIntIntInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/Clear.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 73 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/SetName.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 72 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleInstrument/SetPatch.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 75 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/AddInstrument.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 51 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/AddResource.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 52 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/GetInstrument.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 50 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/RemoveInstrument.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 58 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetDescription.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 47 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetName.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 47 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetVendor.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 47 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SimpleSoundbank/SetVersion.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 47 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/Array.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/Clear.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 56 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/Get.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 68 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioBuffer/NewSoftAudioBuffer.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 55 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/DummySourceDataLine.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?232 ---------- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/GetFormat.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 61 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/GetPropertyInfo.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 53 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/Open.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftAudioSynthesizer/OpenStream.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/AllNotesOff.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/AllSoundOff.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/ChannelPressure.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Controller.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 62 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/LocalControl.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 60 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Mono.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Mute.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/NoteOff.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/NoteOff2.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/NoteOn.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Omni.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 61 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/PitchBend.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/PolyPressure.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 61 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/ProgramChange.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/ResetAllControllers.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?132 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/SoftTestUtils.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?111 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftChannel/Solo.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftCubicResampler/Interpolate.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?113 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftFilter/TestProcessAudio.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 99 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLanczosResampler/Interpolate.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?113 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 96 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix_mono.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix_mono_overdrive.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 84 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_mix_overdrive.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_normal.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_normal_mono.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_overdrive.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLimiter/ProcessAudio_replace_overdrive_mono.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 83 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLinearResampler/Interpolate.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?113 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLinearResampler2/Interpolate.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?113 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftLowFrequencyOscillator/TestProcessControlLogic.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?106 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftPointResampler/Interpolate.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?113 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftProvider/GetDevice.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 70 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Close.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ActiveSense.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 82 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_AllNotesOff.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_AllSoundOff.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ChannelPressure.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_Controller.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 66 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_Mono.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 75 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOff.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 65 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 65 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn_AllChannels.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 71 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn_Delayed.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 67 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_NoteOn_Multiple.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 76 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_Omni.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 74 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_PitchBend.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_PolyPressure.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 65 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ProgramChange.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/Send_ResetAllControllers.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?136 ----- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftReceiver/SoftTestUtils.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?111 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSincResampler/Interpolate.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?113 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/Close.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 58 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/DummySourceDataLine.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?232 ---------- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetAvailableInstruments.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetChannels.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetDefaultSoundbank.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 58 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetDeviceInfo.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 56 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetLatency.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 58 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetLoadedInstruments.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 65 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMaxPolyphony.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 58 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMaxReceivers.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 56 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMaxTransmitters.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 56 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetMicrosecondPosition.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetReceiver.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetReceiver2.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 62 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetReceivers.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetTransmitter.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetTransmitters.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 58 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/GetVoiceStatus.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 61 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/ImplicitOpenClose.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?105 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/IsOpen.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 59 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/IsSoundbankSupported.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 95 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/LoadAllInstruments.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 73 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/LoadInstrument.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 73 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/LoadInstruments.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 73 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/Open.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 64 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/OpenStream.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 58 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/RemapInstrument.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 76 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/TestRender1.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ?214 --------- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/UnloadAllInstruments.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 69 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/UnloadInstrument.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 75 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftSynthesizer/UnloadInstruments.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 75 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/GetName.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/GetTuning.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 56 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/GetTuningInt.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 53 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load1.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?101 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load2.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 71 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load4.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ?104 ---- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load5.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 87 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load6.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 91 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load7.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 72 --- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load8.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 65 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/Load9.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 69 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuning.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 56 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuningByteArray.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 63 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuningPatch.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 54 -- > overlays/openjdk/jdk/test/com/sun/media/sound/SoftTuning/NewSoftTuningPatchByteArray.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? 65 -- > > diffs (truncated from 19416 to 500 lines): > > diff -r b86fa01ca5ca -r f882c327935a AUTHORS > --- a/AUTHORS ? Wed Apr 28 14:20:33 2010 +0100 > +++ b/AUTHORS ? Thu Apr 29 08:59:57 2010 +0200 > @@ -31,6 +31,7 @@ Marc Schoenefeld > ?Marc Schoenefeld > ?Keith Seitz > ?Joshua Sumali > +Pavel Tisnovsky > ?Christian Thalinger > ?Dalibor Topic > ?Arnaud Vandyck > diff -r b86fa01ca5ca -r f882c327935a ChangeLog > --- a/ChangeLog Wed Apr 28 14:20:33 2010 +0100 > +++ b/ChangeLog Thu Apr 29 08:59:57 2010 +0200 > @@ -1,3 +1,9 @@ 2010-04-28 ?Andrew John Hughes ? +2010-04-29 ?Pavel Tisnovsky ? > + > + ? ? ? * overlays/openjdk/jdk/test/com: Removed, correct > + ? ? ? version of these tests are now available in OpenJDK > + ? ? ? itself. > + > ?2010-04-28 ?Andrew John Hughes ? > > ? ? ? ?* Makefile.am: > diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/GetFormat.java > --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/GetFormat.java ?Wed Apr 28 14:20:33 2010 +0100 > +++ /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > @@ -1,41 +0,0 @@ > -/* > - * Copyright 2007 Sun Microsystems, Inc. ?All Rights Reserved. > - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. > - * > - * 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. ?Sun designates this > - * particular file as subject to the "Classpath" exception as provided > - * by Sun in the LICENSE file that accompanied this code. > - * > - * 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. > - * > - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, > - * CA 95054 USA or visit www.sun.com if you need additional information or > - * have any questions. > - */ > - > -/* @test > - ? @summary Test AudioFloatConverter getFormat method */ > - > -import javax.sound.sampled.*; > -import com.sun.media.sound.*; > - > -public class GetFormat { > - > - ? ? ? public static void main(String[] args) throws Exception { > - ? ? ? ? ? ? ? AudioFormat frm = new AudioFormat(8000, 16, 1, true, false); > - ? ? ? ? ? ? ? AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); > - ? ? ? ? ? ? ? if(!conv.getFormat().matches(frm)) > - ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("Incorrect audio format returned."); > - ? ? ? } > - > -} > diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/ToFloatArray.java > --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatConverter/ToFloatArray.java ? ? ? Wed Apr 28 14:20:33 2010 +0100 > +++ /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > @@ -1,162 +0,0 @@ > -/* > - * Copyright 2007 Sun Microsystems, Inc. ?All Rights Reserved. > - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. > - * > - * 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. ?Sun designates this > - * particular file as subject to the "Classpath" exception as provided > - * by Sun in the LICENSE file that accompanied this code. > - * > - * 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. > - * > - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, > - * CA 95054 USA or visit www.sun.com if you need additional information or > - * have any questions. > - */ > - > -/* @test > - ? @summary Test AudioFloatConverter toFloatArray method */ > - > -import javax.sound.sampled.*; > - > -import com.sun.media.sound.*; > - > -public class ToFloatArray { > - > - ? ? ? public static void main(String[] args) throws Exception { > - > - ? ? ? ? ? ? ? float[] testarray = new float[1024]; > - ? ? ? ? ? ? ? for (int i = 0; i < 1024; i++) { > - ? ? ? ? ? ? ? ? ? ? ? double ii = i / 1024.0; > - ? ? ? ? ? ? ? ? ? ? ? ii = ii * ii; > - ? ? ? ? ? ? ? ? ? ? ? testarray[i] = (float)Math.sin(10*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? testarray[i] *= 0.3; > - ? ? ? ? ? ? ? } > - > - ? ? ? ?// Check conversion using PCM_FLOAT > - ? ? ? ?for (int big = 0; big < 2; big+=1) > - ? ? ? ?for (int bits = 32; bits <= 64; bits+=32) { > - ? ? ? ? ? ?AudioFormat frm = new AudioFormat( > - ? ? ? ? ? ? ? ? ? ?AudioFloatConverter.PCM_FLOAT, > - ? ? ? ? ? ? ? ? ? ?44100, bits, 1, bits/8, > - ? ? ? ? ? ? ? ? ? ?44100, big==1); > - ? ? ? ? ? ?byte[] buff = new byte[testarray.length * frm.getFrameSize()]; > - ? ? ? ? ? ?float[] testarray2 = new float[testarray.length]; > - ? ? ? ? ? ?AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); > - ? ? ? ? ? ?conv.toByteArray(testarray, buff); > - ? ? ? ? ? ?conv.toFloatArray(buff, testarray2); > - ? ? ? ? ? ?for (int i = 0; i < testarray2.length; i++) { > - ? ? ? ? ? ? ? ?if(Math.abs(testarray[i] - testarray2[i]) > 0.05) > - ? ? ? ? ? ? ? ? ? ?throw new RuntimeException("Conversion failed for " + frm ?+" , arrays not equal enough!\n"); > - ? ? ? ? ? ?} > - > - ? ? ? ?} > - > - ? ? ? ? ? ? ? // Check conversion from float2byte and byte2float. > - ? ? ? ? ? ? ? for (int big = 0; big < 2; big+=1) > - ? ? ? ? ? ? ? for (int signed = 0; signed < 2; signed+=1) > - ? ? ? ? ? ? ? for (int bits = 6; bits <= 40; bits+=2) { > - ? ? ? ? ? ? ? ? ? ? ? AudioFormat frm = new AudioFormat(44100, bits, 1, signed==1, big==1); > - ? ? ? ? ? ? ? ? ? ? ? byte[] buff = new byte[testarray.length * frm.getFrameSize()]; > - ? ? ? ? ? ? ? ? ? ? ? float[] testarray2 = new float[testarray.length]; > - ? ? ? ? ? ? ? ? ? ? ? AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); > - ? ? ? ? ? ? ? ? ? ? ? conv.toByteArray(testarray, buff); > - ? ? ? ? ? ? ? ? ? ? ? conv.toFloatArray(buff, testarray2); > - ? ? ? ? ? ? ? ? ? ? ? for (int i = 0; i < testarray2.length; i++) { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if(Math.abs(testarray[i] - testarray2[i]) > 0.05) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("Conversion failed for " + frm ?+" , arrays not equal enough!\n"); > - ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? } > - > - ? ? ? ? ? ? ? // Check big/little > - ? ? ? ? ? ? ? for (int big = 0; big < 2; big+=1) > - ? ? ? ? ? ? ? for (int signed = 0; signed < 2; signed+=1) > - ? ? ? ? ? ? ? for (int bits = 6; bits <= 40; bits+=2) { > - ? ? ? ? ? ? ? ? ? ? ? AudioFormat frm = new AudioFormat(44100, bits, 1, signed==1, big==1); > - ? ? ? ? ? ? ? ? ? ? ? byte[] buff = new byte[testarray.length * frm.getFrameSize()]; > - ? ? ? ? ? ? ? ? ? ? ? AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); > - ? ? ? ? ? ? ? ? ? ? ? conv.toByteArray(testarray, buff); > - ? ? ? ? ? ? ? ? ? ? ? byte[] buff2 = new byte[testarray.length * frm.getFrameSize()]; > - ? ? ? ? ? ? ? ? ? ? ? int fs = frm.getFrameSize(); > - ? ? ? ? ? ? ? ? ? ? ? for (int i = 0; i < buff2.length; i+=fs) { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? for (int j = 0; j < fs; j++) { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? buff2[i+(fs-j-1)] = buff[i+j]; > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? ? ? ? ? float[] testarray2 = new float[testarray.length]; > - ? ? ? ? ? ? ? ? ? ? ? AudioFormat frm2 = new AudioFormat(44100, bits, 1, signed==1, big==0); > - ? ? ? ? ? ? ? ? ? ? ? AudioFloatConverter.getConverter(frm2).toFloatArray(buff2, testarray2); > - ? ? ? ? ? ? ? ? ? ? ? for (int i = 0; i < testarray2.length; i++) { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if(Math.abs(testarray[i] - testarray2[i]) > 0.05) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("Conversion failed for " + frm ?+" to " + frm2 + " , arrays not equal enough!\n"); > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? } > - > - ? ? ? ? ? ? ? // Check signed/unsigned > - ? ? ? ? ? ? ? for (int big = 0; big < 2; big+=1) > - ? ? ? ? ? ? ? for (int signed = 0; signed < 2; signed+=1) > - ? ? ? ? ? ? ? for (int bits = 6; bits <= 40; bits+=2) { > - ? ? ? ? ? ? ? ? ? ? ? AudioFormat frm = new AudioFormat(44100, bits, 1, signed==1, big==1); > - ? ? ? ? ? ? ? ? ? ? ? byte[] b = new byte[testarray.length * frm.getFrameSize()]; > - ? ? ? ? ? ? ? ? ? ? ? AudioFloatConverter conv = AudioFloatConverter.getConverter(frm); > - ? ? ? ? ? ? ? ? ? ? ? conv.toByteArray(testarray, b); > - ? ? ? ? ? ? ? ? ? ? ? int fs = frm.getFrameSize(); > - ? ? ? ? ? ? ? ? ? ? ? if(big==1) > - ? ? ? ? ? ? ? ? ? ? ? { > - ? ? ? ? ? ? ? ? ? for(int i=0; i < b.length; i+= fs ) > - ? ? ? ? ? ? ? ? ? ? ? b[i] = (b[i] >= 0) ? (byte)(0x80 | b[i]) : (byte)(0x7F & b[i]); > - ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? ? ? ? ? else > - ? ? ? ? ? ? ? ? ? ? ? { > - ? ? ? ? ? ? ? ? ? for(int i=(0+fs-1); i < b.length; i+= fs ) > - ? ? ? ? ? ? ? ? ? ? ? b[i] = (b[i] >= 0) ? (byte)(0x80 | b[i]) : (byte)(0x7F & b[i]); > - ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? ? ? ? ? float[] testarray2 = new float[testarray.length]; > - ? ? ? ? ? ? ? ? ? ? ? AudioFormat frm2 = new AudioFormat(44100, bits, 1, signed==0, big==1); > - ? ? ? ? ? ? ? ? ? ? ? AudioFloatConverter.getConverter(frm2).toFloatArray(b, testarray2); > - ? ? ? ? ? ? ? ? ? ? ? for (int i = 0; i < testarray2.length; i++) { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if(Math.abs(testarray[i] - testarray2[i]) > 0.05) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("Conversion failed for " + frm ?+" to " + frm2 + " , arrays not equal enough!\n"); > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? } > - > - ? ? ? ? ? ? ? // Check if conversion 32->24, 24->16, 16->8 result in same float data > - ? ? ? ? ? ? ? AudioFormat frm = new AudioFormat(44100, 40, 1, true, true); > - ? ? ? ? ? ? ? byte[] b = new byte[testarray.length * frm.getFrameSize()]; > - ? ? ? ? ? ? ? AudioFloatConverter.getConverter(frm).toByteArray(testarray, b); > - ? ? ? ? ? ? ? for (int bits = 6; bits <= 40; bits+=2) { > - ? ? ? ? ? ? ? ? ? ? ? AudioFormat frm2 = new AudioFormat(44100, bits, 1, true, true); > - ? ? ? ? ? ? ? ? ? ? ? byte[] b2 = new byte[testarray.length * frm2.getFrameSize()]; > - ? ? ? ? ? ? ? ? ? ? ? int fs1 = frm.getFrameSize(); > - ? ? ? ? ? ? ? ? ? ? ? int fs2 = frm2.getFrameSize(); > - ? ? ? ? ? ? ? ? ? ? ? int ii = 0; > - ? ? ? ? ? ? ? ? ? ? ? for (int i = 0; i < b.length; i+=fs1) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? for (int j = 0; j < fs2; j++) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? b2[ii++] = b[i+j]; > - ? ? ? ? ? ? ? ? ? ? ? float[] testarray2 = new float[testarray.length]; > - ? ? ? ? ? ? ? ? ? ? ? AudioFloatConverter.getConverter(frm2).toFloatArray(b2, testarray2); > - ? ? ? ? ? ? ? ? ? ? ? for (int i = 0; i < testarray2.length; i++) { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if(Math.abs(testarray[i] - testarray2[i]) > 0.05) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? { > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("Conversion failed for " + frm ?+" to " + frm2 + " , arrays not equal enough!\n"); > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? } > - ? ? ? } > - > -} > diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Available.java > --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Available.java ? ? ? ?Wed Apr 28 14:20:33 2010 +0100 > +++ /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > @@ -1,81 +0,0 @@ > -/* > - * Copyright 2007 Sun Microsystems, Inc. ?All Rights Reserved. > - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. > - * > - * 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. ?Sun designates this > - * particular file as subject to the "Classpath" exception as provided > - * by Sun in the LICENSE file that accompanied this code. > - * > - * 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. > - * > - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, > - * CA 95054 USA or visit www.sun.com if you need additional information or > - * have any questions. > - */ > - > -/* @test > - ? @summary Test AudioFloatInputStream available method */ > - > -import java.io.*; > - > -import javax.sound.sampled.*; > - > -import com.sun.media.sound.*; > - > -public class Available { > - > - ? ? ? static float[] test_float_array; > - ? ? ? static byte[] test_byte_array; > - ? ? ? static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); > - > - ? ? ? static AudioFloatInputStream getStream1() > - ? ? ? { > - ? ? ? ? ? ? ? return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); > - ? ? ? } > - > - ? ? ? static AudioFloatInputStream getStream2() > - ? ? ? { > - ? ? ? ? ? ? ? AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); > - ? ? ? ? ? ? ? return AudioFloatInputStream.getInputStream(strm); > - ? ? ? } > - > - ? ? ? static void setUp() throws Exception { > - ? ? ? ? ? ? ? test_float_array = new float[1024]; > - ? ? ? ? ? ? ? test_byte_array = new byte[1024*format.getFrameSize()]; > - ? ? ? ? ? ? ? for (int i = 0; i < 1024; i++) { > - ? ? ? ? ? ? ? ? ? ? ? double ii = i / 1024.0; > - ? ? ? ? ? ? ? ? ? ? ? ii = ii * ii; > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] = (float)Math.sin(10*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] *= 0.3; > - ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array); > - ? ? ? } > - > - ? ? ? public static void main(String[] args) throws Exception { > - ? ? ? ? ? ? ? setUp(); > - ? ? ? ? ? ? ? for (int i = 0; i < 2; i++) { > - ? ? ? ? ? ? ? ? ? ? ? AudioFloatInputStream stream = null; > - ? ? ? ? ? ? ? ? ? ? ? if(i == 0) stream = getStream1(); > - ? ? ? ? ? ? ? ? ? ? ? if(i == 1) stream = getStream2(); > - ? ? ? ? ? ? ? ? ? ? ? float[] buff = new float[512]; > - ? ? ? ? ? ? ? ? ? ? ? if(stream.available() != 1024) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("stream.available return incorrect value."); > - ? ? ? ? ? ? ? ? ? ? ? stream.read(buff); > - ? ? ? ? ? ? ? ? ? ? ? if(stream.available() != 512) > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("stream.available return incorrect value."); > - ? ? ? ? ? ? ? } > - ? ? ? } > - > -} > diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Close.java > --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/Close.java ? ?Wed Apr 28 14:20:33 2010 +0100 > +++ /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > @@ -1,72 +0,0 @@ > -/* > - * Copyright 2007 Sun Microsystems, Inc. ?All Rights Reserved. > - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. > - * > - * 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. ?Sun designates this > - * particular file as subject to the "Classpath" exception as provided > - * by Sun in the LICENSE file that accompanied this code. > - * > - * 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. > - * > - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, > - * CA 95054 USA or visit www.sun.com if you need additional information or > - * have any questions. > - */ > - > -/* @test > - ? @summary Test AudioFloatInputStream close method */ > - > -import java.io.*; > - > -import javax.sound.sampled.*; > - > -import com.sun.media.sound.*; > - > -public class Close { > - > - ? ? ? static float[] test_float_array; > - ? ? ? static byte[] test_byte_array; > - ? ? ? static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); > - > - ? ? ? static AudioFloatInputStream getStream1() > - ? ? ? { > - ? ? ? ? ? ? ? return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); > - ? ? ? } > - > - ? ? ? static AudioFloatInputStream getStream2() > - ? ? ? { > - ? ? ? ? ? ? ? AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); > - ? ? ? ? ? ? ? return AudioFloatInputStream.getInputStream(strm); > - ? ? ? } > - > - ? ? ? static void setUp() throws Exception { > - ? ? ? ? ? ? ? test_float_array = new float[1024]; > - ? ? ? ? ? ? ? test_byte_array = new byte[1024*format.getFrameSize()]; > - ? ? ? ? ? ? ? for (int i = 0; i < 1024; i++) { > - ? ? ? ? ? ? ? ? ? ? ? double ii = i / 1024.0; > - ? ? ? ? ? ? ? ? ? ? ? ii = ii * ii; > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] = (float)Math.sin(10*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] *= 0.3; > - ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array); > - ? ? ? } > - > - ? ? ? public static void main(String[] args) throws Exception { > - ? ? ? ? ? ? ? setUp(); > - ? ? ? ? ? ? ? getStream1().close(); > - ? ? ? ? ? ? ? getStream2().close(); > - ? ? ? } > - > -} > diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFormat.java > --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFormat.java ? ? ? ?Wed Apr 28 14:20:33 2010 +0100 > +++ /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > @@ -1,74 +0,0 @@ > -/* > - * Copyright 2007 Sun Microsystems, Inc. ?All Rights Reserved. > - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. > - * > - * 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. ?Sun designates this > - * particular file as subject to the "Classpath" exception as provided > - * by Sun in the LICENSE file that accompanied this code. > - * > - * 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. > - * > - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, > - * CA 95054 USA or visit www.sun.com if you need additional information or > - * have any questions. > - */ > - > -/* @test > - ? @summary Test AudioFloatInputStream getFormat method */ > - > -import java.io.*; > - > -import javax.sound.sampled.*; > - > -import com.sun.media.sound.*; > - > -public class GetFormat { > - > - ? ? ? static float[] test_float_array; > - ? ? ? static byte[] test_byte_array; > - ? ? ? static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); > - > - ? ? ? static AudioFloatInputStream getStream1() > - ? ? ? { > - ? ? ? ? ? ? ? return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); > - ? ? ? } > - > - ? ? ? static AudioFloatInputStream getStream2() > - ? ? ? { > - ? ? ? ? ? ? ? AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); > - ? ? ? ? ? ? ? return AudioFloatInputStream.getInputStream(strm); > - ? ? ? } > - > - ? ? ? static void setUp() throws Exception { > - ? ? ? ? ? ? ? test_float_array = new float[1024]; > - ? ? ? ? ? ? ? test_byte_array = new byte[1024*format.getFrameSize()]; > - ? ? ? ? ? ? ? for (int i = 0; i < 1024; i++) { > - ? ? ? ? ? ? ? ? ? ? ? double ii = i / 1024.0; > - ? ? ? ? ? ? ? ? ? ? ? ii = ii * ii; > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] = (float)Math.sin(10*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); > - ? ? ? ? ? ? ? ? ? ? ? test_float_array[i] *= 0.3; > - ? ? ? ? ? ? ? } > - ? ? ? ? ? ? ? AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array); > - ? ? ? } > - > - ? ? ? public static void main(String[] args) throws Exception { > - ? ? ? ? ? ? ? setUp(); > - ? ? ? ? ? ? ? if(!getStream1().getFormat().matches(format)) > - ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("Incorrect audio format returned."); > - ? ? ? ? ? ? ? if(!getStream2().getFormat().matches(format)) > - ? ? ? ? ? ? ? ? ? ? ? throw new RuntimeException("Incorrect audio format returned."); > - ? ? ? } > - > -} > diff -r b86fa01ca5ca -r f882c327935a overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFrameLength.java > --- a/overlays/openjdk/jdk/test/com/sun/media/sound/AudioFloatInputStream/GetFrameLength.java ? Wed Apr 28 14:20:33 2010 +0100 > +++ /dev/null ? Thu Jan 01 00:00:00 1970 +0000 > @@ -1,74 +0,0 @@ > -/* > - * Copyright 2007 Sun Microsystems, Inc. ?All Rights Reserved. > - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. > - * > - * 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. ?Sun designates this > - * particular file as subject to the "Classpath" exception as provided > - * by Sun in the LICENSE file that accompanied this code. > - * > - * 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. > - * > - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, > - * CA 95054 USA or visit www.sun.com if you need additional information or > -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From gbenson at icedtea.classpath.org Fri Apr 30 02:25:03 2010 From: gbenson at icedtea.classpath.org (gbenson at icedtea.classpath.org) Date: Fri, 30 Apr 2010 09:25:03 +0000 Subject: /hg/icedtea6: Fix PR icedtea/324 Message-ID: changeset d1be9b22e65a in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=d1be9b22e65a author: Gary Benson date: Fri Apr 30 10:24:39 2010 +0100 Fix PR icedtea/324 diffstat: 2 files changed, 24 insertions(+), 14 deletions(-) ChangeLog | 8 ++++ ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp | 30 ++++++++------- diffs (76 lines): diff -r f882c327935a -r d1be9b22e65a ChangeLog --- a/ChangeLog Thu Apr 29 08:59:57 2010 +0200 +++ b/ChangeLog Fri Apr 30 10:24:39 2010 +0100 @@ -1,3 +1,11 @@ 2010-04-29 Pavel Tisnovsky + + PR icedtea/324 + * ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp + (SharkTopLevelBlock::do_aload): Cope with cases where + the array's type is unknown. + (SharkTopLevelBlock::do_astore): Likewise. + 2010-04-29 Pavel Tisnovsky * overlays/openjdk/jdk/test/com: Removed, correct diff -r f882c327935a -r d1be9b22e65a ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp --- a/ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp Thu Apr 29 08:59:57 2010 +0200 +++ b/ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp Fri Apr 30 10:24:39 2010 +0100 @@ -691,12 +691,6 @@ void SharkTopLevelBlock::do_aload(BasicT SharkValue *index = pop(); SharkValue *array = pop(); - assert(array->type()->is_array_klass(), "should be"); - ciType *element_type = ((ciArrayKlass *) array->type())->element_type(); - assert((element_type->basic_type() == T_BOOLEAN && basic_type == T_BYTE) || - (element_type->basic_type() == T_ARRAY && basic_type == T_OBJECT) || - (element_type->basic_type() == basic_type), "type mismatch"); - check_null(array); check_bounds(array, index); @@ -729,7 +723,21 @@ void SharkTopLevelBlock::do_aload(BasicT break; case T_OBJECT: - push(SharkValue::create_generic(element_type, value, false)); + // You might expect that array->type()->is_array_klass() would + // always be true, but it isn't. If ciTypeFlow detects that a + // value is always null then that value becomes an untyped null + // object. Shark doesn't presently support this, so a generic + // T_OBJECT is created. In this case we guess the type using + // the BasicType we were supplied. In reality the generated + // code will never be used, as the null value will be caught + // by the above null pointer check. + // http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=324 + push( + SharkValue::create_generic( + array->type()->is_array_klass() ? + ((ciArrayKlass *) array->type())->element_type() : + ciType::make(basic_type), + value, false)); break; default: @@ -742,12 +750,6 @@ void SharkTopLevelBlock::do_astore(Basic SharkValue *svalue = pop(); SharkValue *index = pop(); SharkValue *array = pop(); - - assert(array->type()->is_array_klass(), "should be"); - ciType *element_type = ((ciArrayKlass *) array->type())->element_type(); - assert((element_type->basic_type() == T_BOOLEAN && basic_type == T_BYTE) || - (element_type->basic_type() == T_ARRAY && basic_type == T_OBJECT) || - (element_type->basic_type() == basic_type), "type mismatch"); check_null(array); check_bounds(array, index); @@ -792,7 +794,7 @@ void SharkTopLevelBlock::do_astore(Basic builder()->CreateStore(value, addr); - if (!element_type->is_primitive_type()) + if (basic_type == T_OBJECT) // XXX or T_ARRAY? builder()->CreateUpdateBarrierSet(oopDesc::bs(), addr); } From gbenson at redhat.com Fri Apr 30 02:36:51 2010 From: gbenson at redhat.com (Gary Benson) Date: Fri, 30 Apr 2010 10:36:51 +0100 Subject: Fix Shark where array type is unknown Message-ID: <20100430093650.GA27914@redhat.com> Hi all, This commit fixes a long standing bug in Shark where the compilation would fail if an array's type was not supplied by typeflow. This most commonly showed up in Gervill code. PR icedtea/324. Cheers, Gary -- http://gbenson.net/ -------------- next part -------------- diff -r f882c327935a ChangeLog --- a/ChangeLog Thu Apr 29 08:59:57 2010 +0200 +++ b/ChangeLog Fri Apr 30 10:24:23 2010 +0100 @@ -1,3 +1,11 @@ +2010-04-30 Gary Benson + + PR icedtea/324 + * ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp + (SharkTopLevelBlock::do_aload): Cope with cases where + the array's type is unknown. + (SharkTopLevelBlock::do_astore): Likewise. + 2010-04-29 Pavel Tisnovsky * overlays/openjdk/jdk/test/com: Removed, correct diff -r f882c327935a ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp --- a/ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp Thu Apr 29 08:59:57 2010 +0200 +++ b/ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp Fri Apr 30 10:24:23 2010 +0100 @@ -691,12 +691,6 @@ SharkValue *index = pop(); SharkValue *array = pop(); - assert(array->type()->is_array_klass(), "should be"); - ciType *element_type = ((ciArrayKlass *) array->type())->element_type(); - assert((element_type->basic_type() == T_BOOLEAN && basic_type == T_BYTE) || - (element_type->basic_type() == T_ARRAY && basic_type == T_OBJECT) || - (element_type->basic_type() == basic_type), "type mismatch"); - check_null(array); check_bounds(array, index); @@ -729,7 +723,21 @@ break; case T_OBJECT: - push(SharkValue::create_generic(element_type, value, false)); + // You might expect that array->type()->is_array_klass() would + // always be true, but it isn't. If ciTypeFlow detects that a + // value is always null then that value becomes an untyped null + // object. Shark doesn't presently support this, so a generic + // T_OBJECT is created. In this case we guess the type using + // the BasicType we were supplied. In reality the generated + // code will never be used, as the null value will be caught + // by the above null pointer check. + // http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=324 + push( + SharkValue::create_generic( + array->type()->is_array_klass() ? + ((ciArrayKlass *) array->type())->element_type() : + ciType::make(basic_type), + value, false)); break; default: @@ -743,12 +751,6 @@ SharkValue *index = pop(); SharkValue *array = pop(); - assert(array->type()->is_array_klass(), "should be"); - ciType *element_type = ((ciArrayKlass *) array->type())->element_type(); - assert((element_type->basic_type() == T_BOOLEAN && basic_type == T_BYTE) || - (element_type->basic_type() == T_ARRAY && basic_type == T_OBJECT) || - (element_type->basic_type() == basic_type), "type mismatch"); - check_null(array); check_bounds(array, index); @@ -792,7 +794,7 @@ builder()->CreateStore(value, addr); - if (!element_type->is_primitive_type()) + if (basic_type == T_OBJECT) // XXX or T_ARRAY? builder()->CreateUpdateBarrierSet(oopDesc::bs(), addr); } From bugzilla-daemon at icedtea.classpath.org Fri Apr 30 03:09:09 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 30 Apr 2010 10:09:09 +0000 Subject: [Bug 454] Jetty running on shark fails in HttpURI.getDecodedPath() Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=454 xerxes at zafena.se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE ------- Comment #8 from xerxes at zafena.se 2010-04-30 10:09 ------- We belive this bug to fixed in the icedtea6 hg trunk. http://icedtea.classpath.org/hg/icedtea6/rev/d1be9b22e65a please reopen this bug if the problem presist when using icedtea6 compiled from the hg icedtea6 sourcetree. *** This bug has been marked as a duplicate of bug 324 *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Apr 30 03:10:02 2010 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 30 Apr 2010 10:10:02 +0000 Subject: [Bug 458] shark test crashes on arm Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=458 xerxes at zafena.se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #3 from xerxes at zafena.se 2010-04-30 10:10 ------- We belive this bug to fixed in the icedtea6 trunk http://icedtea.classpath.org/hg/icedtea6/rev/d1be9b22e65a please reopen this bug if the problem presist when using icedtea6 compiled from the hg icedtea6 sourcetree. *** This bug has been marked as a duplicate of bug 324 *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From xranby at icedtea.classpath.org Fri Apr 30 05:42:53 2010 From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org) Date: Fri, 30 Apr 2010 12:42:53 +0000 Subject: /hg/release/icedtea6-1.8: Fix PR icedtea/324 Message-ID: changeset 16943314ca9a in /hg/release/icedtea6-1.8 details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=16943314ca9a author: Gary Benson date: Fri Apr 30 10:24:39 2010 +0100 Fix PR icedtea/324 diffstat: 2 files changed, 24 insertions(+), 14 deletions(-) ChangeLog | 8 ++++ ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp | 30 ++++++++------- diffs (76 lines): diff -r c8d38c28900e -r 16943314ca9a ChangeLog --- a/ChangeLog Wed Apr 28 17:18:35 2010 +0100 +++ b/ChangeLog Fri Apr 30 10:24:39 2010 +0100 @@ -1,3 +1,11 @@ 2010-04-28 Andrew John Hughes + + PR icedtea/324 + * ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp + (SharkTopLevelBlock::do_aload): Cope with cases where + the array's type is unknown. + (SharkTopLevelBlock::do_astore): Likewise. + 2010-04-28 Andrew John Hughes PR icedtea/476 diff -r c8d38c28900e -r 16943314ca9a ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp --- a/ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp Wed Apr 28 17:18:35 2010 +0100 +++ b/ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp Fri Apr 30 10:24:39 2010 +0100 @@ -691,12 +691,6 @@ void SharkTopLevelBlock::do_aload(BasicT SharkValue *index = pop(); SharkValue *array = pop(); - assert(array->type()->is_array_klass(), "should be"); - ciType *element_type = ((ciArrayKlass *) array->type())->element_type(); - assert((element_type->basic_type() == T_BOOLEAN && basic_type == T_BYTE) || - (element_type->basic_type() == T_ARRAY && basic_type == T_OBJECT) || - (element_type->basic_type() == basic_type), "type mismatch"); - check_null(array); check_bounds(array, index); @@ -729,7 +723,21 @@ void SharkTopLevelBlock::do_aload(BasicT break; case T_OBJECT: - push(SharkValue::create_generic(element_type, value, false)); + // You might expect that array->type()->is_array_klass() would + // always be true, but it isn't. If ciTypeFlow detects that a + // value is always null then that value becomes an untyped null + // object. Shark doesn't presently support this, so a generic + // T_OBJECT is created. In this case we guess the type using + // the BasicType we were supplied. In reality the generated + // code will never be used, as the null value will be caught + // by the above null pointer check. + // http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=324 + push( + SharkValue::create_generic( + array->type()->is_array_klass() ? + ((ciArrayKlass *) array->type())->element_type() : + ciType::make(basic_type), + value, false)); break; default: @@ -742,12 +750,6 @@ void SharkTopLevelBlock::do_astore(Basic SharkValue *svalue = pop(); SharkValue *index = pop(); SharkValue *array = pop(); - - assert(array->type()->is_array_klass(), "should be"); - ciType *element_type = ((ciArrayKlass *) array->type())->element_type(); - assert((element_type->basic_type() == T_BOOLEAN && basic_type == T_BYTE) || - (element_type->basic_type() == T_ARRAY && basic_type == T_OBJECT) || - (element_type->basic_type() == basic_type), "type mismatch"); check_null(array); check_bounds(array, index); @@ -792,7 +794,7 @@ void SharkTopLevelBlock::do_astore(Basic builder()->CreateStore(value, addr); - if (!element_type->is_primitive_type()) + if (basic_type == T_OBJECT) // XXX or T_ARRAY? builder()->CreateUpdateBarrierSet(oopDesc::bs(), addr); } From xerxes at zafena.se Fri Apr 30 05:45:34 2010 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Fri, 30 Apr 2010 14:45:34 +0200 Subject: Fix Shark where array type is unknown In-Reply-To: <20100430093650.GA27914@redhat.com> References: <20100430093650.GA27914@redhat.com> Message-ID: <4BDAD0EE.6030307@zafena.se> On 2010-04-30 11:36, Gary Benson wrote: > Hi all, > > This commit fixes a long standing bug in Shark where the compilation > would fail if an array's type was not supplied by typeflow. This most > commonly showed up in Gervill code. PR icedtea/324. > > Cheers, > Gary > > Thanks Gary! I have forwarded this fix to the icedtea6-1.8 release branch http://icedtea.classpath.org/hg/release/icedtea6-1.8/rev/16943314ca9a Cheers, Xerxes From gbenson at redhat.com Fri Apr 30 05:47:51 2010 From: gbenson at redhat.com (Gary Benson) Date: Fri, 30 Apr 2010 13:47:51 +0100 Subject: Fix Shark where array type is unknown In-Reply-To: <4BDAD0EE.6030307@zafena.se> References: <20100430093650.GA27914@redhat.com> <4BDAD0EE.6030307@zafena.se> Message-ID: <20100430124751.GB27914@redhat.com> Xerxes R?nby wrote: > On 2010-04-30 11:36, Gary Benson wrote: > > This commit fixes a long standing bug in Shark where the > > compilation would fail if an array's type was not supplied > > by typeflow. This most commonly showed up in Gervill code. > > PR icedtea/324. > > Thanks Gary! > I have forwarded this fix to the icedtea6-1.8 release branch > http://icedtea.classpath.org/hg/release/icedtea6-1.8/rev/16943314ca9a Awesome, thanks Xerxes. Cheers, Gary -- http://gbenson.net/