From ptisnovs at icedtea.classpath.org Fri Jul 1 02:22:12 2011
From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org)
Date: Fri, 01 Jul 2011 09:22:12 +0000
Subject: /hg/icedtea6: S7029152: Ideal nodes for String intrinsics miss m...
Message-ID:
changeset 643ec5879fdd in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=643ec5879fdd
author: ptisnovs
date: Fri Jul 01 11:22:01 2011 +0200
S7029152: Ideal nodes for String intrinsics miss memory edge
optimization.
diffstat:
ChangeLog | 7 +
Makefile.am | 3 +-
NEWS | 1 +
patches/openjdk/7029152-String_intrinsics_miss_optimization.patch | 379 ++++++++++
4 files changed, 389 insertions(+), 1 deletions(-)
diffs (425 lines):
diff -r 0bb30eda4814 -r 643ec5879fdd ChangeLog
--- a/ChangeLog Wed Jun 29 23:30:27 2011 +0100
+++ b/ChangeLog Fri Jul 01 11:22:01 2011 +0200
@@ -1,3 +1,10 @@
+2011-07-01 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/7029152-String_intrinsics_miss_optimization.patch:
+ Backport of 7029152 fix.
+
2011-06-29 Andrew John Hughes
* NEWS: Updated with latest bug fixes.
diff -r 0bb30eda4814 -r 643ec5879fdd Makefile.am
--- a/Makefile.am Wed Jun 29 23:30:27 2011 +0100
+++ b/Makefile.am Fri Jul 01 11:22:01 2011 +0200
@@ -381,7 +381,8 @@
patches/hotspot/$(HSBUILD)/powerpc-stacksize.patch \
patches/jtreg-remove-test-6987555.patch \
patches/jtreg-remove-test-6991596.patch \
- patches/hotspot/$(HSBUILD)/7036220-shark_llvm_29_headers.patch
+ patches/hotspot/$(HSBUILD)/7036220-shark_llvm_29_headers.patch \
+ patches/openjdk/7029152-String_intrinsics_miss_optimization.patch
else
ICEDTEA_PATCHES += \
patches/hotspot/$(HSBUILD)/no-precompiled-headers.patch \
diff -r 0bb30eda4814 -r 643ec5879fdd NEWS
--- a/NEWS Wed Jun 29 23:30:27 2011 +0100
+++ b/NEWS Fri Jul 01 11:22:01 2011 +0200
@@ -44,6 +44,7 @@
- S7047069: Array can dynamically change size when assigned to an object field
- S6796786: invalid FP identity transform - (a - b) -> b - a
- S7042070: Typo in Test6796786.java
+ - S7029152: Ideal nodes for String intrinsics miss memory edge optimization
* Bug fixes
- PR637: make check should exit with an error code if any regression test failed.
- G356743: Support libpng 1.5.
diff -r 0bb30eda4814 -r 643ec5879fdd patches/openjdk/7029152-String_intrinsics_miss_optimization.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/openjdk/7029152-String_intrinsics_miss_optimization.patch Fri Jul 01 11:22:01 2011 +0200
@@ -0,0 +1,383 @@
+# HG changeset patch
+# User kvn
+# Date 1301512129 25200
+# Node ID f9424955eb1894f874b73cb7596f19ee53a79149
+# Parent 63997f575155c27cbc193a345f814e5b59db5054
+7029152: Ideal nodes for String intrinsics miss memory edge optimization
+Summary: In Ideal() method of String intrinsics nodes look for TypeAryPtr::CHARS memory slice if memory is MergeMem. Do not unroll a loop with String intrinsics code.
+Reviewed-by: never
+
+diff -r 63997f575155 -r f9424955eb18 src/share/vm/opto/loopTransform.cpp
+--- openjdk.orig/hotspot/src/share/vm/opto/loopTransform.cpp Wed Mar 30 07:47:19 2011 -0700
++++ openjdk/hotspot/src/share/vm/opto/loopTransform.cpp Wed Mar 30 12:08:49 2011 -0700
+@@ -396,16 +396,16 @@
+ // Return exact loop trip count, or 0 if not maximally unrolling
+ bool IdealLoopTree::policy_maximally_unroll( PhaseIdealLoop *phase ) const {
+ CountedLoopNode *cl = _head->as_CountedLoop();
+- assert( cl->is_normal_loop(), "" );
++ assert(cl->is_normal_loop(), "");
+
+ Node *init_n = cl->init_trip();
+ Node *limit_n = cl->limit();
+
+ // Non-constant bounds
+- if( init_n == NULL || !init_n->is_Con() ||
++ if (init_n == NULL || !init_n->is_Con() ||
+ limit_n == NULL || !limit_n->is_Con() ||
+ // protect against stride not being a constant
+- !cl->stride_is_con() ) {
++ !cl->stride_is_con()) {
+ return false;
+ }
+ int init = init_n->get_int();
+@@ -428,7 +428,25 @@
+ uint unroll_limit = (uint)LoopUnrollLimit * 4;
+ assert( (intx)unroll_limit == LoopUnrollLimit * 4, "LoopUnrollLimit must fit in 32bits");
+ cl->set_trip_count(trip_count);
+- if( trip_count <= unroll_limit && body_size <= unroll_limit ) {
++ if (trip_count > unroll_limit || body_size > unroll_limit) {
++ return false;
++ }
++
++ // Do not unroll a loop with String intrinsics code.
++ // String intrinsics are large and have loops.
++ for (uint k = 0; k < _body.size(); k++) {
++ Node* n = _body.at(k);
++ switch (n->Opcode()) {
++ case Op_StrComp:
++ case Op_StrEquals:
++ case Op_StrIndexOf:
++ case Op_AryEq: {
++ return false;
++ }
++ } // switch
++ }
++
++ if (body_size <= unroll_limit) {
+ uint new_body_size = body_size * trip_count;
+ if (new_body_size <= unroll_limit &&
+ body_size == new_body_size / trip_count &&
+@@ -448,13 +466,13 @@
+ bool IdealLoopTree::policy_unroll( PhaseIdealLoop *phase ) const {
+
+ CountedLoopNode *cl = _head->as_CountedLoop();
+- assert( cl->is_normal_loop() || cl->is_main_loop(), "" );
++ assert(cl->is_normal_loop() || cl->is_main_loop(), "");
+
+ // protect against stride not being a constant
+- if( !cl->stride_is_con() ) return false;
++ if (!cl->stride_is_con()) return false;
+
+ // protect against over-unrolling
+- if( cl->trip_count() <= 1 ) return false;
++ if (cl->trip_count() <= 1) return false;
+
+ int future_unroll_ct = cl->unrolled_count() * 2;
+
+@@ -485,21 +503,21 @@
+ // Non-constant bounds.
+ // Protect against over-unrolling when init or/and limit are not constant
+ // (so that trip_count's init value is maxint) but iv range is known.
+- if( init_n == NULL || !init_n->is_Con() ||
+- limit_n == NULL || !limit_n->is_Con() ) {
++ if (init_n == NULL || !init_n->is_Con() ||
++ limit_n == NULL || !limit_n->is_Con()) {
+ Node* phi = cl->phi();
+- if( phi != NULL ) {
++ if (phi != NULL) {
+ assert(phi->is_Phi() && phi->in(0) == _head, "Counted loop should have iv phi.");
+ const TypeInt* iv_type = phase->_igvn.type(phi)->is_int();
+ int next_stride = cl->stride_con() * 2; // stride after this unroll
+- if( next_stride > 0 ) {
+- if( iv_type->_lo + next_stride <= iv_type->_lo || // overflow
+- iv_type->_lo + next_stride > iv_type->_hi ) {
++ if (next_stride > 0) {
++ if (iv_type->_lo + next_stride <= iv_type->_lo || // overflow
++ iv_type->_lo + next_stride > iv_type->_hi) {
+ return false; // over-unrolling
+ }
+- } else if( next_stride < 0 ) {
+- if( iv_type->_hi + next_stride >= iv_type->_hi || // overflow
+- iv_type->_hi + next_stride < iv_type->_lo ) {
++ } else if (next_stride < 0) {
++ if (iv_type->_hi + next_stride >= iv_type->_hi || // overflow
++ iv_type->_hi + next_stride < iv_type->_lo) {
+ return false; // over-unrolling
+ }
+ }
+@@ -511,24 +529,33 @@
+ // Key test to unroll CaffeineMark's Logic test
+ int xors_in_loop = 0;
+ // Also count ModL, DivL and MulL which expand mightly
+- for( uint k = 0; k < _body.size(); k++ ) {
+- switch( _body.at(k)->Opcode() ) {
+- case Op_XorI: xors_in_loop++; break; // CaffeineMark's Logic test
+- case Op_ModL: body_size += 30; break;
+- case Op_DivL: body_size += 30; break;
+- case Op_MulL: body_size += 10; break;
+- }
++ for (uint k = 0; k < _body.size(); k++) {
++ Node* n = _body.at(k);
++ switch (n->Opcode()) {
++ case Op_XorI: xors_in_loop++; break; // CaffeineMark's Logic test
++ case Op_ModL: body_size += 30; break;
++ case Op_DivL: body_size += 30; break;
++ case Op_MulL: body_size += 10; break;
++ case Op_StrComp:
++ case Op_StrEquals:
++ case Op_StrIndexOf:
++ case Op_AryEq: {
++ // Do not unroll a loop with String intrinsics code.
++ // String intrinsics are large and have loops.
++ return false;
++ }
++ } // switch
+ }
+
+ // Check for being too big
+- if( body_size > (uint)LoopUnrollLimit ) {
+- if( xors_in_loop >= 4 && body_size < (uint)LoopUnrollLimit*4) return true;
++ if (body_size > (uint)LoopUnrollLimit) {
++ if (xors_in_loop >= 4 && body_size < (uint)LoopUnrollLimit*4) return true;
+ // Normal case: loop too big
+ return false;
+ }
+
+ // Check for stride being a small enough constant
+- if( abs(cl->stride_con()) > (1<<3) ) return false;
++ if (abs(cl->stride_con()) > (1<<3)) return false;
+
+ // Unroll once! (Each trip will soon do double iterations)
+ return true;
+diff -r 63997f575155 -r f9424955eb18 src/share/vm/opto/memnode.cpp
+--- openjdk.orig/hotspot/src/share/vm/opto/memnode.cpp Wed Mar 30 07:47:19 2011 -0700
++++ openjdk/hotspot/src/share/vm/opto/memnode.cpp Wed Mar 30 12:08:49 2011 -0700
+@@ -2617,54 +2617,24 @@
+ }
+
+ //=============================================================================
+-// Do we match on this edge? No memory edges
+-uint StrCompNode::match_edge(uint idx) const {
+- return idx == 2 || idx == 3; // StrComp (Binary str1 cnt1) (Binary str2 cnt2)
++// Do not match memory edge.
++uint StrIntrinsicNode::match_edge(uint idx) const {
++ return idx == 2 || idx == 3;
+ }
+
+ //------------------------------Ideal------------------------------------------
+ // Return a node which is more "ideal" than the current node. Strip out
+ // control copies
+-Node *StrCompNode::Ideal(PhaseGVN *phase, bool can_reshape){
+- return remove_dead_region(phase, can_reshape) ? this : NULL;
+-}
+-
+-//=============================================================================
+-// Do we match on this edge? No memory edges
+-uint StrEqualsNode::match_edge(uint idx) const {
+- return idx == 2 || idx == 3; // StrEquals (Binary str1 str2) cnt
+-}
+-
+-//------------------------------Ideal------------------------------------------
+-// Return a node which is more "ideal" than the current node. Strip out
+-// control copies
+-Node *StrEqualsNode::Ideal(PhaseGVN *phase, bool can_reshape){
+- return remove_dead_region(phase, can_reshape) ? this : NULL;
+-}
+-
+-//=============================================================================
+-// Do we match on this edge? No memory edges
+-uint StrIndexOfNode::match_edge(uint idx) const {
+- return idx == 2 || idx == 3; // StrIndexOf (Binary str1 cnt1) (Binary str2 cnt2)
+-}
+-
+-//------------------------------Ideal------------------------------------------
+-// Return a node which is more "ideal" than the current node. Strip out
+-// control copies
+-Node *StrIndexOfNode::Ideal(PhaseGVN *phase, bool can_reshape){
+- return remove_dead_region(phase, can_reshape) ? this : NULL;
+-}
+-
+-//=============================================================================
+-// Do we match on this edge? No memory edges
+-uint AryEqNode::match_edge(uint idx) const {
+- return idx == 2 || idx == 3; // StrEquals ary1 ary2
+-}
+-//------------------------------Ideal------------------------------------------
+-// Return a node which is more "ideal" than the current node. Strip out
+-// control copies
+-Node *AryEqNode::Ideal(PhaseGVN *phase, bool can_reshape){
+- return remove_dead_region(phase, can_reshape) ? this : NULL;
++Node *StrIntrinsicNode::Ideal(PhaseGVN *phase, bool can_reshape) {
++ if (remove_dead_region(phase, can_reshape)) return this;
++
++ Node* mem = phase->transform(in(MemNode::Memory));
++ // If transformed to a MergeMem, get the desired slice
++ uint alias_idx = phase->C->get_alias_index(adr_type());
++ mem = mem->is_MergeMem() ? mem->as_MergeMem()->memory_at(alias_idx) : mem;
++ if (mem != in(MemNode::Memory))
++ set_req(MemNode::Memory, mem);
++ return NULL;
+ }
+
+ //=============================================================================
+diff -r 63997f575155 -r f9424955eb18 src/share/vm/opto/memnode.hpp
+--- openjdk.orig/hotspot/src/share/vm/opto/memnode.hpp Wed Mar 30 07:47:19 2011 -0700
++++ openjdk/hotspot/src/share/vm/opto/memnode.hpp Wed Mar 30 12:08:49 2011 -0700
+@@ -776,67 +776,69 @@
+ static bool step_through(Node** np, uint instance_id, PhaseTransform* phase);
+ };
+
+-//------------------------------StrComp-------------------------------------
+-class StrCompNode: public Node {
++//------------------------------StrIntrinsic-------------------------------
++// Base class for Ideal nodes used in String instrinsic code.
++class StrIntrinsicNode: public Node {
+ public:
+- StrCompNode(Node* control, Node* char_array_mem,
+- Node* s1, Node* c1,
+- Node* s2, Node* c2): Node(control, char_array_mem,
+- s1, c1,
+- s2, c2) {};
+- virtual int Opcode() const;
++ StrIntrinsicNode(Node* control, Node* char_array_mem,
++ Node* s1, Node* c1, Node* s2, Node* c2):
++ Node(control, char_array_mem, s1, c1, s2, c2) {
++ }
++
++ StrIntrinsicNode(Node* control, Node* char_array_mem,
++ Node* s1, Node* s2, Node* c):
++ Node(control, char_array_mem, s1, s2, c) {
++ }
++
++ StrIntrinsicNode(Node* control, Node* char_array_mem,
++ Node* s1, Node* s2):
++ Node(control, char_array_mem, s1, s2) {
++ }
++
+ virtual bool depends_only_on_test() const { return false; }
+- virtual const Type* bottom_type() const { return TypeInt::INT; }
+ virtual const TypePtr* adr_type() const { return TypeAryPtr::CHARS; }
+ virtual uint match_edge(uint idx) const;
+ virtual uint ideal_reg() const { return Op_RegI; }
+ virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
+ };
+
++//------------------------------StrComp-------------------------------------
++class StrCompNode: public StrIntrinsicNode {
++public:
++ StrCompNode(Node* control, Node* char_array_mem,
++ Node* s1, Node* c1, Node* s2, Node* c2):
++ StrIntrinsicNode(control, char_array_mem, s1, c1, s2, c2) {};
++ virtual int Opcode() const;
++ virtual const Type* bottom_type() const { return TypeInt::INT; }
++};
++
+ //------------------------------StrEquals-------------------------------------
+-class StrEqualsNode: public Node {
++class StrEqualsNode: public StrIntrinsicNode {
+ public:
+ StrEqualsNode(Node* control, Node* char_array_mem,
+- Node* s1, Node* s2, Node* c): Node(control, char_array_mem,
+- s1, s2, c) {};
++ Node* s1, Node* s2, Node* c):
++ StrIntrinsicNode(control, char_array_mem, s1, s2, c) {};
+ virtual int Opcode() const;
+- virtual bool depends_only_on_test() const { return false; }
+ virtual const Type* bottom_type() const { return TypeInt::BOOL; }
+- virtual const TypePtr* adr_type() const { return TypeAryPtr::CHARS; }
+- virtual uint match_edge(uint idx) const;
+- virtual uint ideal_reg() const { return Op_RegI; }
+- virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
+ };
+
+ //------------------------------StrIndexOf-------------------------------------
+-class StrIndexOfNode: public Node {
++class StrIndexOfNode: public StrIntrinsicNode {
+ public:
+ StrIndexOfNode(Node* control, Node* char_array_mem,
+- Node* s1, Node* c1,
+- Node* s2, Node* c2): Node(control, char_array_mem,
+- s1, c1,
+- s2, c2) {};
++ Node* s1, Node* c1, Node* s2, Node* c2):
++ StrIntrinsicNode(control, char_array_mem, s1, c1, s2, c2) {};
+ virtual int Opcode() const;
+- virtual bool depends_only_on_test() const { return false; }
+ virtual const Type* bottom_type() const { return TypeInt::INT; }
+- virtual const TypePtr* adr_type() const { return TypeAryPtr::CHARS; }
+- virtual uint match_edge(uint idx) const;
+- virtual uint ideal_reg() const { return Op_RegI; }
+- virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
+ };
+
+ //------------------------------AryEq---------------------------------------
+-class AryEqNode: public Node {
++class AryEqNode: public StrIntrinsicNode {
+ public:
+- AryEqNode(Node* control, Node* char_array_mem,
+- Node* s1, Node* s2): Node(control, char_array_mem, s1, s2) {};
++ AryEqNode(Node* control, Node* char_array_mem, Node* s1, Node* s2):
++ StrIntrinsicNode(control, char_array_mem, s1, s2) {};
+ virtual int Opcode() const;
+- virtual bool depends_only_on_test() const { return false; }
+ virtual const Type* bottom_type() const { return TypeInt::BOOL; }
+- virtual const TypePtr* adr_type() const { return TypeAryPtr::CHARS; }
+- virtual uint match_edge(uint idx) const;
+- virtual uint ideal_reg() const { return Op_RegI; }
+- virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
+ };
+
+ //------------------------------MemBar-----------------------------------------
+diff -r 63997f575155 -r f9424955eb18 test/compiler/7029152/Test.java
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ openjdk/hotspot/test/compiler/7029152/Test.java Wed Mar 30 12:08:49 2011 -0700
+@@ -0,0 +1,49 @@
++/*
++ * Copyright (c) 2011, Oracle and/or its affiliates. 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.
++ *
++ * 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
++ * or visit www.oracle.com if you need additional information or have any
++ * questions.
++ */
++
++/**
++ * @test
++ * @bug 7029152
++ * @summary Ideal nodes for String intrinsics miss memory edge optimization
++ *
++ * @run main/othervm -Xbatch Test
++ */
++
++public class Test {
++
++ static final String str = "11111xx11111xx1x";
++ static int idx = 0;
++
++ static int IndexOfTest(String str) {
++ return str.indexOf("11111xx1x");
++ }
++
++ public static void main(String args[]) {
++ final int ITERS=2000000;
++
++ for (int i=0; i
References: <4E0C6E2A.7090100@redhat.com>
Message-ID: <4E0DA4CA.9040404@redhat.com>
On 06/30/2011 02:38 PM, Pavel Tisnovsky wrote:
> Hi all,
>
> I'd like to push backport of "679308: Poor text rendering on translucent
> image" fix into IcedTea6 HEAD. This fix and it's regression test were
> successfully checked on RHEL 5.6 x86_64.
>
>
> ChangeLog entry:
>
> 2011-06-30 Pavel Tisnovsky
>
> * Makefile.am: added new patches
> * NEWS: updated with backports
> *
> patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch:
> Backport of 6679308.
>
>
>
> Can anybody please review this change?
>
> Thank you in advance,
> Pavel
>
>
> PS: I don't plan to send another patch today ;-)
Give sense, works fine in f13.
reviewed.
J.
From ptisnovs at icedtea.classpath.org Fri Jul 1 05:41:53 2011
From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org)
Date: Fri, 01 Jul 2011 12:41:53 +0000
Subject: /hg/icedtea6: S6679308: Poor text rendering on translucent image
Message-ID:
changeset 73e0d37b9ec3 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=73e0d37b9ec3
author: ptisnovs
date: Fri Jul 01 14:41:45 2011 +0200
S6679308: Poor text rendering on translucent image
diffstat:
ChangeLog | 7 +
Makefile.am | 3 +-
NEWS | 1 +
patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch | 511 ++++++++++
4 files changed, 521 insertions(+), 1 deletions(-)
diffs (truncated from 577 to 500 lines):
diff -r 643ec5879fdd -r 73e0d37b9ec3 ChangeLog
--- a/ChangeLog Fri Jul 01 11:22:01 2011 +0200
+++ b/ChangeLog Fri Jul 01 14:41:45 2011 +0200
@@ -1,3 +1,10 @@
+2011-07-01 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch:
+ Backport of 6679308.
+
2011-07-01 Pavel Tisnovsky
* Makefile.am: added new patch
diff -r 643ec5879fdd -r 73e0d37b9ec3 Makefile.am
--- a/Makefile.am Fri Jul 01 11:22:01 2011 +0200
+++ b/Makefile.am Fri Jul 01 14:41:45 2011 +0200
@@ -373,7 +373,8 @@
patches/openjdk/6785424-SecurityException_locating_physical_fonts.patch \
patches/openjdk/7047069-Array_can_dynamically_change_size.patch \
patches/openjdk/6796786-invalid_FP_identity_transform.patch \
- patches/openjdk/7042070-Typo_in_Test6796786.patch
+ patches/openjdk/7042070-Typo_in_Test6796786.patch \
+ patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch
if WITH_ALT_HSBUILD
ICEDTEA_PATCHES += \
diff -r 643ec5879fdd -r 73e0d37b9ec3 NEWS
--- a/NEWS Fri Jul 01 11:22:01 2011 +0200
+++ b/NEWS Fri Jul 01 14:41:45 2011 +0200
@@ -45,6 +45,7 @@
- S6796786: invalid FP identity transform - (a - b) -> b - a
- S7042070: Typo in Test6796786.java
- S7029152: Ideal nodes for String intrinsics miss memory edge optimization
+ - S6679308: Poor text rendering on translucent image
* Bug fixes
- PR637: make check should exit with an error code if any regression test failed.
- G356743: Support libpng 1.5.
diff -r 643ec5879fdd -r 73e0d37b9ec3 patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch Fri Jul 01 14:41:45 2011 +0200
@@ -0,0 +1,535 @@
+# HG changeset patch
+# User prr
+# Date 1209423466 25200
+# Node ID d7accc312aec0905bb1ad1685c8aa8f66cfd84cb
+# Parent f50304904b8f181be07595be0e88416186001088
+6679308: Poor text rendering on translucent image.
+Reviewed-by: flar, campbell
+
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/AlphaMacros.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/AlphaMacros.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/AlphaMacros.h Mon Apr 28 15:57:46 2008 -0700
+@@ -416,7 +416,8 @@
+ MultiplyAndStore ## STRATEGY ## Comps(res, \
+ srcF, res);\
+ } \
+- if (!(DST ## IsPremultiplied) && resA && \
++ if (!(DST ## IsOpaque) && \
++ !(DST ## IsPremultiplied) && resA && \
+ resA < MaxValFor ## STRATEGY) \
+ { \
+ DivideAndStore ## STRATEGY ## Comps(res, \
+@@ -475,7 +476,8 @@
+ MultiplyAndStore ## STRATEGY ## Comps(res, \
+ srcF, res); \
+ } \
+- if (!(DST ## IsPremultiplied) && resA && \
++ if (!(DST ## IsOpaque) && \
++ !(DST ## IsPremultiplied) && resA && \
+ resA < MaxValFor ## STRATEGY) \
+ { \
+ DivideAndStore ## STRATEGY ## Comps(res, res, resA); \
+@@ -797,7 +799,8 @@
+ Store ## STRATEGY ## CompsUsingOp(res, +=, tmp); \
+ } \
+ } \
+- if (!(TYPE ## IsPremultiplied) && resA && \
++ if (!(TYPE ## IsOpaque) && \
++ !(TYPE ## IsPremultiplied) && resA && \
+ resA < MaxValFor ## STRATEGY) \
+ { \
+ DivideAndStore ## STRATEGY ## Comps(res, res, resA); \
+@@ -831,7 +834,8 @@
+ Postload ## STRATEGY ## From ## TYPE(pRas, DstPix, res); \
+ MultiplyAddAndStore ## STRATEGY ## Comps(res, \
+ dstF, res, src); \
+- if (!(TYPE ## IsPremultiplied) && resA && \
++ if (!(TYPE ## IsOpaque) && \
++ !(TYPE ## IsPremultiplied) && resA && \
+ resA < MaxValFor ## STRATEGY) \
+ { \
+ DivideAndStore ## STRATEGY ## Comps(res, res, resA); \
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/ByteGray.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/ByteGray.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/ByteGray.h Mon Apr 28 15:57:46 2008 -0700
+@@ -36,6 +36,8 @@
+ typedef jubyte ByteGrayPixelType;
+ typedef jubyte ByteGrayDataType;
+
++#define ByteGrayIsOpaque 1
++
+ #define ByteGrayPixelStride 1
+ #define ByteGrayBitsPerPixel 8
+
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/FourByteAbgr.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/FourByteAbgr.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/FourByteAbgr.h Mon Apr 28 15:57:46 2008 -0700
+@@ -34,6 +34,8 @@
+ typedef jint FourByteAbgrPixelType;
+ typedef jubyte FourByteAbgrDataType;
+
++#define FourByteAbgrIsOpaque 0
++
+ #define FourByteAbgrPixelStride 4
+
+ #define DeclareFourByteAbgrLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/FourByteAbgrPre.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/FourByteAbgrPre.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/FourByteAbgrPre.h Mon Apr 28 15:57:46 2008 -0700
+@@ -34,6 +34,8 @@
+ typedef jint FourByteAbgrPrePixelType;
+ typedef jubyte FourByteAbgrPreDataType;
+
++#define FourByteAbgrPreIsOpaque 0
++
+ #define FourByteAbgrPrePixelStride 4
+
+ #define DeclareFourByteAbgrPreLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/Index12Gray.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/Index12Gray.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/Index12Gray.h Mon Apr 28 15:57:46 2008 -0700
+@@ -37,6 +37,8 @@
+ typedef jushort Index12GrayPixelType;
+ typedef jushort Index12GrayDataType;
+
++#define Index12GrayIsOpaque 1
++
+ #define Index12GrayPixelStride 2
+ #define Index12GrayBitsPerPixel 12
+
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/Index8Gray.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/Index8Gray.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/Index8Gray.h Mon Apr 28 15:57:46 2008 -0700
+@@ -37,6 +37,8 @@
+ typedef jubyte Index8GrayPixelType;
+ typedef jubyte Index8GrayDataType;
+
++#define Index8GrayIsOpaque 1
++
+ #define Index8GrayPixelStride 1
+ #define Index8GrayBitsPerPixel 8
+
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/IntArgb.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/IntArgb.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/IntArgb.h Mon Apr 28 15:57:46 2008 -0700
+@@ -38,6 +38,8 @@
+ typedef jint IntArgbPixelType;
+ typedef jint IntArgbDataType;
+
++#define IntArgbIsOpaque 0
++
+ #define IntArgbPixelStride 4
+
+ #define DeclareIntArgbLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/IntArgbBm.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/IntArgbBm.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/IntArgbBm.h Mon Apr 28 15:57:46 2008 -0700
+@@ -38,6 +38,8 @@
+ typedef jint IntArgbBmPixelType;
+ typedef jint IntArgbBmDataType;
+
++#define IntArgbBmIsOpaque 0
++
+ #define IntArgbBmPixelStride 4
+
+ #define DeclareIntArgbBmLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/IntArgbPre.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/IntArgbPre.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/IntArgbPre.h Mon Apr 28 15:57:46 2008 -0700
+@@ -36,6 +36,8 @@
+ typedef jint IntArgbPrePixelType;
+ typedef jint IntArgbPreDataType;
+
++#define IntArgbPreIsOpaque 0
++
+ #define IntArgbPrePixelStride 4
+
+ #define DeclareIntArgbPreLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/IntBgr.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/IntBgr.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/IntBgr.h Mon Apr 28 15:57:46 2008 -0700
+@@ -38,6 +38,8 @@
+ typedef jint IntBgrPixelType;
+ typedef jint IntBgrDataType;
+
++#define IntBgrIsOpaque 1
++
+ #define IntBgrPixelStride 4
+
+ #define DeclareIntBgrLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/IntRgb.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/IntRgb.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/IntRgb.h Mon Apr 28 15:57:46 2008 -0700
+@@ -38,6 +38,8 @@
+ typedef jint IntRgbPixelType;
+ typedef jint IntRgbDataType;
+
++#define IntRgbIsOpaque 1
++
+ #define IntRgbPixelStride 4
+
+ #define DeclareIntRgbLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/IntRgbx.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/IntRgbx.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/IntRgbx.h Mon Apr 28 15:57:46 2008 -0700
+@@ -36,6 +36,8 @@
+ typedef jint IntRgbxPixelType;
+ typedef jint IntRgbxDataType;
+
++#define IntRgbxIsOpaque 1
++
+ #define IntRgbxPixelStride 4
+
+ #define DeclareIntRgbxLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/LoopMacros.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/LoopMacros.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/LoopMacros.h Mon Apr 28 15:57:46 2008 -0700
+@@ -1610,8 +1610,12 @@
+ MUL8(SRC_PREFIX ## A, mixValSrc); \
+ MultMultAddAndStore4ByteArgbComps(dst, mixValDst, dst, \
+ mixValSrc, SRC_PREFIX); \
+- Store ## DST ## From4ByteArgb(DST_PTR, pix, PIXEL_INDEX, \
+- dstA, dstR, dstG, dstB); \
++ if (!(DST ## IsOpaque) && \
++ !(DST ## IsPremultiplied) && dstA && dstA < 255) { \
++ DivideAndStore4ByteArgbComps(dst, dst, dstA); \
++ } \
++ Store ## DST ## From4ByteArgbComps(DST_PTR, pix, \
++ PIXEL_INDEX, dst); \
+ } else { \
+ Store ## DST ## PixelData(DST_PTR, PIXEL_INDEX, \
+ FG_PIXEL, PREFIX); \
+@@ -1793,8 +1797,12 @@
+ dstR = gammaLut[dstR]; \
+ dstG = gammaLut[dstG]; \
+ dstB = gammaLut[dstB]; \
+- Store ## DST ## From4ByteArgb(DST_PTR, pix, PIXEL_INDEX, \
+- dstA, dstR, dstG, dstB); \
++ if (!(DST ## IsOpaque) && \
++ !(DST ## IsPremultiplied) && dstA && dstA < 255) { \
++ DivideAndStore4ByteArgbComps(dst, dst, dstA); \
++ } \
++ Store ## DST ## From4ByteArgbComps(DST_PTR, pix, \
++ PIXEL_INDEX, dst); \
+ } else { \
+ Store ## DST ## PixelData(DST_PTR, PIXEL_INDEX, \
+ FG_PIXEL, PREFIX); \
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/ThreeByteBgr.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/ThreeByteBgr.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/ThreeByteBgr.h Mon Apr 28 15:57:46 2008 -0700
+@@ -34,6 +34,8 @@
+ typedef jint ThreeByteBgrPixelType;
+ typedef jubyte ThreeByteBgrDataType;
+
++#define ThreeByteBgrIsOpaque 1
++
+ #define ThreeByteBgrPixelStride 3
+
+ #define DeclareThreeByteBgrLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/Ushort4444Argb.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/Ushort4444Argb.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/Ushort4444Argb.h Mon Apr 28 15:57:46 2008 -0700
+@@ -34,6 +34,8 @@
+ typedef jushort Ushort4444ArgbPixelType;
+ typedef jushort Ushort4444ArgbDataType;
+
++#define Ushort4444ArgbIsOpaque 0
++
+ #define Ushort4444ArgbPixelStride 2
+
+ #define DeclareUshort4444ArgbLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/Ushort555Rgb.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/Ushort555Rgb.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/Ushort555Rgb.h Mon Apr 28 15:57:46 2008 -0700
+@@ -34,6 +34,8 @@
+ typedef jushort Ushort555RgbPixelType;
+ typedef jushort Ushort555RgbDataType;
+
++#define Ushort555RgbIsOpaque 1
++
+ #define Ushort555RgbPixelStride 2
+
+ #define DeclareUshort555RgbLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/Ushort555Rgbx.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/Ushort555Rgbx.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/Ushort555Rgbx.h Mon Apr 28 15:57:46 2008 -0700
+@@ -34,6 +34,8 @@
+ typedef jushort Ushort555RgbxPixelType;
+ typedef jushort Ushort555RgbxDataType;
+
++#define Ushort555RgbxIsOpaque 1
++
+ #define Ushort555RgbxPixelStride 2
+
+ #define DeclareUshort555RgbxLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/Ushort565Rgb.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/Ushort565Rgb.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/Ushort565Rgb.h Mon Apr 28 15:57:46 2008 -0700
+@@ -34,6 +34,8 @@
+ typedef jushort Ushort565RgbPixelType;
+ typedef jushort Ushort565RgbDataType;
+
++#define Ushort565RgbIsOpaque 1
++
+ #define Ushort565RgbPixelStride 2
+
+ #define DeclareUshort565RgbLoadVars(PREFIX)
+diff -r f50304904b8f -r d7accc312aec src/share/native/sun/java2d/loops/UshortGray.h
+--- openjdk.orig/jdk/src/share/native/sun/java2d/loops/UshortGray.h Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/share/native/sun/java2d/loops/UshortGray.h Mon Apr 28 15:57:46 2008 -0700
+@@ -36,6 +36,8 @@
+ typedef jushort UshortGrayPixelType;
+ typedef jushort UshortGrayDataType;
+
++#define UshortGrayIsOpaque 1
++
+ #define UshortGrayPixelStride 2
+ #define UshortGrayBitsPerPixel 16
+
+diff -r f50304904b8f -r d7accc312aec src/solaris/native/sun/java2d/loops/vis_FourByteAbgr.c
+--- openjdk.orig/jdk/src/solaris/native/sun/java2d/loops/vis_FourByteAbgr.c Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/solaris/native/sun/java2d/loops/vis_FourByteAbgr.c Mon Apr 28 15:57:46 2008 -0700
+@@ -1936,6 +1936,7 @@
+ for (j = 0; j < height; j++) {
+ mlib_u8 *src = (void*)pixels;
+ mlib_s32 *dst, *dst_end;
++ mlib_u8 *dst_start;
+
+ if ((mlib_s32)dstBase & 3) {
+ COPY_NA(dstBase, pbuff, width*sizeof(mlib_s32));
+@@ -1943,8 +1944,14 @@
+ } else {
+ dst = (void*)dstBase;
+ }
++ dst_start = (void*)dst;
+ dst_end = dst + width;
+
++ /* Need to reset the GSR from the values set by the
++ * convert call near the end of this loop.
++ */
++ vis_write_gsr(7 << 0);
++
+ if ((mlib_s32)dst & 7) {
+ pix = *src++;
+ dd = vis_fpadd16(MUL8_VIS(srcG_f, pix), d_half);
+@@ -1984,8 +1991,13 @@
+ dst++;
+ }
+
++ ADD_SUFF(IntArgbPreToIntArgbConvert)(dst_start, dst_start,
++ width, 1,
++ pRasInfo, pRasInfo,
++ pPrim, pCompInfo);
++
+ if ((mlib_s32)dstBase & 3) {
+- COPY_NA(pbuff, dstBase, width*sizeof(mlib_s32));
++ COPY_NA(dst_start, dstBase, width*sizeof(mlib_s32));
+ }
+
+ PTR_ADD(dstBase, scan);
+diff -r f50304904b8f -r d7accc312aec src/solaris/native/sun/java2d/loops/vis_FourByteAbgrPre.c
+--- openjdk.orig/jdk/src/solaris/native/sun/java2d/loops/vis_FourByteAbgrPre.c Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/solaris/native/sun/java2d/loops/vis_FourByteAbgrPre.c Mon Apr 28 15:57:46 2008 -0700
+@@ -181,6 +181,7 @@
+ d_half = vis_to_double_dup((1 << (16 + 6)) | (1 << 6));
+
+ srcG_f = vis_to_float(argbcolor);
++ ARGB2ABGR_FL(srcG_f);
+
+ for (glyphCounter = 0; glyphCounter < totalGlyphs; glyphCounter++) {
+ const jubyte *pixels;
+@@ -238,8 +239,33 @@
+ mlib_u8 *src = (void*)pixels;
+ mlib_s32 *dst, *dst_end;
+ mlib_u8 *dst8;
++ mlib_u8* dst_start = dstBase;
+
+- ADD_SUFF(FourByteAbgrPreToIntArgbConvert)(dstBase, pbuff, width, 1,
++ /*
++ * Typically the inner loop here works on Argb input data, an
++ * Argb color, and produces ArgbPre output data. To use that
++ * standard approach we would need a FourByteAbgrPre to IntArgb
++ * converter for the front end and an IntArgbPre to FourByteAbgrPre
++ * converter for the back end. The converter exists for the
++ * front end, but it is a workaround implementation that uses a 2
++ * stage conversion and an intermediate buffer that is allocated
++ * on every call. The converter for the back end doesn't really
++ * exist, but we could reuse the IntArgb to FourByteAbgr converter
++ * to do the same work - at the cost of swapping the components as
++ * we copy the data back. All of this is more work than we really
++ * need so we use an alternate procedure:
++ * - Copy the data into an int-aligned temporary buffer (if needed)
++ * - Convert the data from FourByteAbgrPre to IntAbgr by using the
++ * IntArgbPre to IntArgb converter in the int-aligned buffer.
++ * - Swap the color data to Abgr so that the inner loop goes from
++ * IntAbgr data to IntAbgrPre data
++ * - Simply copy the IntAbgrPre data back into place.
++ */
++ if (((mlib_s32)dstBase) & 3) {
++ COPY_NA(dstBase, pbuff, width*sizeof(mlib_s32));
++ dst_start = pbuff;
++ }
++ ADD_SUFF(IntArgbPreToIntArgbConvert)(dst_start, pbuff, width, 1,
+ pRasInfo, pRasInfo,
+ pPrim, pCompInfo);
+
+@@ -283,9 +309,7 @@
+ dst++;
+ }
+
+- ADD_SUFF(IntArgbToFourByteAbgrPreConvert)(pbuff, dstBase, width, 1,
+- pRasInfo, pRasInfo,
+- pPrim, pCompInfo);
++ COPY_NA(pbuff, dstBase, width*sizeof(mlib_s32));
+
+ src = (void*)pixels;
+ dst8 = (void*)dstBase;
+diff -r f50304904b8f -r d7accc312aec src/solaris/native/sun/java2d/loops/vis_IntArgb.c
+--- openjdk.orig/jdk/src/solaris/native/sun/java2d/loops/vis_IntArgb.c Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/solaris/native/sun/java2d/loops/vis_IntArgb.c Mon Apr 28 15:57:46 2008 -0700
+@@ -428,6 +428,11 @@
+ dst = (void*)dstBase;
+ dst_end = dst + width;
+
++ /* Clearing the Graphics Status Register is necessary otherwise
++ * left over scale settings affect the pack instructions.
++ */
++ vis_write_gsr(0 << 3);
++
+ if ((mlib_s32)dst & 7) {
+ pix = *src++;
+ dd = vis_fpadd16(MUL8_VIS(srcG_f, pix), d_half);
+@@ -467,6 +472,9 @@
+ dst++;
+ }
+
++ ADD_SUFF(IntArgbPreToIntArgbConvert)(dstBase, dstBase, width, 1,
++ pRasInfo, pRasInfo,
++ pPrim, pCompInfo);
+ PTR_ADD(dstBase, scan);
+ pixels += rowBytes;
+ }
+diff -r f50304904b8f -r d7accc312aec src/solaris/native/sun/java2d/loops/vis_IntArgbPre.c
+--- openjdk.orig/jdk/src/solaris/native/sun/java2d/loops/vis_IntArgbPre.c Mon Apr 28 11:06:18 2008 -0700
++++ openjdk/jdk/src/solaris/native/sun/java2d/loops/vis_IntArgbPre.c Mon Apr 28 15:57:46 2008 -0700
+@@ -1193,10 +1193,6 @@
+ dst++;
+ }
+
+- ADD_SUFF(IntArgbToIntArgbPreConvert)(dstBase, dstBase, width, 1,
+- pRasInfo, pRasInfo,
+- pPrim, pCompInfo);
+-
+ PTR_ADD(dstBase, scan);
+ pixels += rowBytes;
+ }
+diff -r f50304904b8f -r d7accc312aec test/java/awt/Graphics2D/DrawString/AlphaSurfaceText.java
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ openjdk/test/java/awt/Graphics2D/DrawString/AlphaSurfaceText.java Mon Apr 28 15:57:46 2008 -0700
+@@ -0,0 +1,106 @@
++/*
++ * Copyright 2008 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.
++ *
++ * 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
++ * @bug 6679308
++ * @summary test drawing to Alpha surfaces
++ */
++
From ptisnovs at redhat.com Fri Jul 1 07:47:25 2011
From: ptisnovs at redhat.com (Pavel Tisnovsky)
Date: Fri, 01 Jul 2011 16:47:25 +0200
Subject: Reviewer needed: backport of 6842838 and 6882768 fixes into IcedTea6
HEAD
Message-ID: <4E0DDDFD.2030909@redhat.com>
Hi,
I'd like to push backport of two fixes:
- S6842838: 64-bit failure in handling invalid manifest in launcher.
- S6882768: Test for 6842838 is broken
ChangeLog entry:
2011-07-01 Pavel Tisnovsky
* Makefile.am: added new patches
* NEWS: updated with backports
*
patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch:
* patches/openjdk/6882768-test_for_6842838_is_broken.patch:
Backport of 6842838 and 6882768.
Can anybody please review this change?
Thank you in advance,
Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 6842838_hg.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110701/5192fa21/6842838_hg.diff
From bugzilla-daemon at icedtea.classpath.org Sat Jul 2 00:04:27 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sat, 02 Jul 2011 07:04:27 +0000
Subject: [Bug 749] New: sun.applet.PluginStreamHandler#handleMessage(String)
really slow
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=749
Summary: sun.applet.PluginStreamHandler#handleMessage(String)
really slow
Product: IcedTea-Web
Version: unspecified
Platform: 64-bit
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Plugin
AssignedTo: dbhole at redhat.com
ReportedBy: rickyepoderi at yahoo.es
CC: unassigned at icedtea.classpath.org
Testing an old portlet I worked with some time ago inside your plugin I've
discovered that the communication from the browser to the JVM is extremely
slow. I'm using debian packaged version 1.1 (testing). This applet renders
scatter plots which can have a lot of data. More or less the applet works well
when the number of points is not very big but when the points to draw are many
(around ten thousand) it works painfully slow. The data is requested via
browser and then received by the applet.
Checking with jconsole I saw the time was consumed inside the following method
sun.applet.PluginStreamHandler#handleMessage(String) and exactly in this loop:
161 // rest
162 for (int i = nextIndex; i < msgComponents.length; i++) {
163 rest += msgComponents[i];
164 rest += " ";
165 }
The problem here is that msgComponents var has more than 100.000 elements and
the concatenating part lasts for more than 5 minutes. I did some changes in
your code to try to increase performance. My idea is simple, I don't split the
message and just pick up the pairs using indexOf and substring methods, the
rest is again computed using substring. I've implemented a new readPair method
in order to do that. Now icedtea plugin renders the plot more or less in the
same time that the non-free plugin. I'm going to attach the patch right now.
It's only an idea but please change the way you deal with the message in this
method, it's really slow when it's very long (in my case more than 100.000
words). You can check the applet here:
http://www.puertos.es/en/oceanografia_y_meteorologia/redes_de_medida/index.html
Select Sea Level (this magnitude is the one with a lot of samples), select any
gauge in the map and then mark Plot. The plot opens in a new div below. I'm not
a current developer of the applet so please consider I have no access to the
code.
Thank you very much!
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Sat Jul 2 00:07:05 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sat, 02 Jul 2011 07:07:05 +0000
Subject: [Bug 749] sun.applet.PluginStreamHandler#handleMessage(String)
really slow
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=749
--- Comment #1 from ricky 2011-07-02 07:07:05 ---
Created an attachment (id=549)
--> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=549)
commented patch
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From tisnik at centrum.cz Mon Jul 4 05:24:03 2011
From: tisnik at centrum.cz (Pavel Tisnovsky)
Date: Mon, 04 Jul 2011 14:24:03 +0200
Subject: RFC: Separation of JTreg tool into independent project
Message-ID: <4E11B0E3.7040605@centrum.cz>
Hi all,
some time ago I discussed with Andrew John Hughes about the separation
of JTreg tool from the IcedTea6 and IcedTea7 projects. In summary (ie
how I understand this task): JTreg should be developed as independent
project and in the future they should be synchronized with recent JTreg
version (used by Oracle guys AFAIK).
In the attachment there's very first version of patched Makefile.am from
IcedTea6 HEAD. When user call command 'make jtreg' from command line,
archive containing stable version of JTreg tool sources is downloaded
into 'drops/' subdirectory, then this archive is unzipped into 'test/'
subdirectory and then JTreg is compiled & run as usual.
This functionality is similar as in the case of JAXP and JAXWS - these
two parts of JDK are also separated from JDK sources.
What do you think about this solution (which could be the same for
IcedTea6 and IcedTea7, also *probably* for IcedTea-web)?
Cheers,
Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.am.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110704/5d930891/Makefile.am.diff
From bugzilla-daemon at icedtea.classpath.org Mon Jul 4 05:33:35 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 04 Jul 2011 12:33:35 +0000
Subject: [Bug 750] New: Crash of JVM when started BOS
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=750
Summary: Crash of JVM when started BOS
Product: VisualVM Harness
Version: 1.1
Platform: all
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: VisualVM
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: dmatijacic at gmail.com
[root at mdrazen BOS-5.5.1]# ./BonitaStudio.sh
>FULL BUILD STATS for: local_default_My Extensions
> compiled 196 lines in 1217ms:161.0lines/s
> parse: 246 ms (20.2%), resolve: 704 ms (57.8%), analyze: 0 ms (0.0%), generate: 111 ms (9.1%)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0019aadc, pid=4916, tid=3079370432
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK Client VM (20.0-b11 mixed mode linux-x86 )
# Derivative: IcedTea6 1.10.2
# Distribution: Fedora release 15 (Lovelock), package
fedora-58.1.10.2.fc15-i386
# Problematic frame:
# C [UTF-16.so+0xadc] gconv+0x3cc
#
# An error report file with more information is saved as:
# /opt/BOS-5.5.1/studio/hs_err_pid4916.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./BonitaStudio.sh: line 9: 4916 Aborted (core dumped)
./BonitaStudio-linux -data ./workspace -vmargs
-Dbonita_client_home="$source_path" $vmArgs
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From doko at ubuntu.com Mon Jul 4 05:50:27 2011
From: doko at ubuntu.com (Matthias Klose)
Date: Mon, 04 Jul 2011 14:50:27 +0200
Subject: RFC: Separation of JTreg tool into independent project
In-Reply-To: <4E11B0E3.7040605@centrum.cz>
References: <4E11B0E3.7040605@centrum.cz>
Message-ID: <4E11B713.4050705@ubuntu.com>
On 07/04/2011 02:24 PM, Pavel Tisnovsky wrote:
> Hi all,
>
> some time ago I discussed with Andrew John Hughes about the separation
> of JTreg tool from the IcedTea6 and IcedTea7 projects. In summary (ie
> how I understand this task): JTreg should be developed as independent
> project and in the future they should be synchronized with recent JTreg
> version (used by Oracle guys AFAIK).
>
> In the attachment there's very first version of patched Makefile.am from
> IcedTea6 HEAD. When user call command 'make jtreg' from command line,
> archive containing stable version of JTreg tool sources is downloaded
> into 'drops/' subdirectory, then this archive is unzipped into 'test/'
> subdirectory and then JTreg is compiled & run as usual.
>
> This functionality is similar as in the case of JAXP and JAXWS - these
> two parts of JDK are also separated from JDK sources.
>
> What do you think about this solution (which could be the same for
> IcedTea6 and IcedTea7, also *probably* for IcedTea-web)?
you may want to contact Guillaume Mazoyer ,
who prepared a package for Debian, and see what could be shared/extracted into
an IcedTea jtreg.
Matthias
From dbhole at redhat.com Mon Jul 4 15:35:14 2011
From: dbhole at redhat.com (Deepak Bhole)
Date: Mon, 4 Jul 2011 18:35:14 -0400
Subject: RFC: Patch for Bug#749
(sun.applet.PluginStreamHandler#handleMessage(String) really slow)
Message-ID: <20110704223514.GB10339@redhat.com>
Hi,
This is a cleaned up version of the patch posted for Bug# 749:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=749
I have reviewed the patch myself and found no issues. The patch is
fairly straightforward and if there are no emails by tomorrow,
I will go ahead and commit to 1.0, 1.1 and HEAD.
Cheers,
Deepak
-------------- next part --------------
diff -r 86abbf8be0b1 AUTHORS
--- a/AUTHORS Thu Jun 23 15:29:45 2011 +0200
+++ b/AUTHORS Mon Jul 04 18:29:15 2011 -0400
@@ -3,6 +3,7 @@
Lillian Angel
Deepak Bhole
+Ricardo Mart?n Camarero
Thomas Fitzsimmons
Mark Greenwood
Andrew John Hughes
diff -r 86abbf8be0b1 ChangeLog
--- a/ChangeLog Thu Jun 23 15:29:45 2011 +0200
+++ b/ChangeLog Mon Jul 04 18:29:15 2011 -0400
@@ -1,3 +1,12 @@
+2011-07-04 Deepak Bhole
+
+ PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
+ Patch from: Ricardo Mart?n Camarero (Ricky)
+ * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
+ (readPair): New function.
+ (handleMessage): Use readPair to incrementally tokenize message, rather
+ than using String.split().
+
2011-06-22 Jiri Vanek
* tests/report-styles/jreport.xsl: part with classes statistics is now collapsable
diff -r 86abbf8be0b1 NEWS
--- a/NEWS Thu Jun 23 15:29:45 2011 +0200
+++ b/NEWS Mon Jul 04 18:29:15 2011 -0400
@@ -8,6 +8,10 @@
CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
+New in release 1.2 (2011-XX-XX):
+* Plugin
+ - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
+
New in release 1.1 (2011-XX-XX):
* Security updates
- S6983554, CVE-2010-4450: Launcher incorrect processing of empty library path entries
diff -r 86abbf8be0b1 plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
--- a/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Thu Jun 23 15:29:45 2011 +0200
+++ b/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Mon Jul 04 18:29:15 2011 -0400
@@ -113,18 +113,60 @@
listenerThread.start();
}
+ /**
+ * Given a string, separates the first (space separated) token and puts the
+ * rest into another string.
+ *
+ * @param message The string to read
+ * @param start The position to start reading at
+ * @param array The array into which the first token and rest are to be placed
+ * @return Position where the next token starts
+ */
+
+ private int readPair(String message, int start, String[] array) {
+
+ int end = start;
+ array[0] = null;
+ array[1] = null;
+
+ if (message.length() > start) {
+ int firstSpace = message.indexOf(' ', start);
+ if (firstSpace == -1) {
+ array[0] = message.substring(start);
+ end = message.length();
+ } else {
+ array[0] = message.substring(start, firstSpace);
+ if (message.length() > firstSpace + 1) {
+ int secondSpace = message.indexOf(' ', firstSpace + 1);
+ if (secondSpace == -1) {
+ array[1] = message.substring(firstSpace + 1);
+ end = message.length();
+ } else {
+ array[1] = message.substring(firstSpace + 1, secondSpace);
+ end = secondSpace + 1;
+ }
+ }
+ }
+ }
+
+ PluginDebug.debug("readPair: '", array[0], "' - '", array[1], "' ", end);
+ return end;
+ }
+
public void handleMessage(String message) throws PluginException {
- int nextIndex = 0;
int reference = -1;
String src = null;
String[] privileges = null;
String rest = "";
+ String[] msgComponents = new String[2];
+ int pos = 0;
+ int oldPos = 0;
- String[] msgComponents = message.split(" ");
-
- if (msgComponents.length < 2)
+ pos = readPair(message, oldPos, msgComponents);
+ if (msgComponents[0] == null || msgComponents[1] == null) {
return;
+ }
if (msgComponents[0].startsWith("plugin")) {
handlePluginMessage(message);
@@ -134,38 +176,38 @@
// type and identifier are guaranteed to be there
String type = msgComponents[0];
final int identifier = Integer.parseInt(msgComponents[1]);
- nextIndex = 2;
// reference, src and privileges are optional components,
// and are guaranteed to be in that order, if they occur
+ oldPos = pos;
+ pos = readPair(message, oldPos, msgComponents);
// is there a reference ?
- if (msgComponents[nextIndex].equals("reference")) {
- reference = Integer.parseInt(msgComponents[nextIndex + 1]);
- nextIndex += 2;
+ if ("reference".equals(msgComponents[0])) {
+ reference = Integer.parseInt(msgComponents[1]);
+ oldPos = pos;
+ pos = readPair(message, oldPos, msgComponents);
}
// is there a src?
- if (msgComponents[nextIndex].equals("src")) {
- src = msgComponents[nextIndex + 1];
- nextIndex += 2;
+ if ("src".equals(msgComponents[0])) {
+ src = msgComponents[1];
+ oldPos = pos;
+ pos = readPair(message, oldPos, msgComponents);
}
// is there a privileges?
- if (msgComponents[nextIndex].equals("privileges")) {
- String privs = msgComponents[nextIndex + 1];
+ if ("privileges".equals(msgComponents[0])) {
+ String privs = msgComponents[1];
privileges = privs.split(",");
- nextIndex += 2;
+ oldPos = pos;
}
// rest
- for (int i = nextIndex; i < msgComponents.length; i++) {
- rest += msgComponents[i];
- rest += " ";
+ if (message.length() > oldPos) {
+ rest = message.substring(oldPos);
}
- rest = rest.trim();
-
try {
PluginDebug.debug("Breakdown -- type: ", type, " identifier: ", identifier, " reference: ", reference, " src: ", src, " privileges: ", privileges, " rest: \"", rest, "\"");
From ahughes at redhat.com Mon Jul 4 18:07:06 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Tue, 5 Jul 2011 02:07:06 +0100
Subject: RFC: IcedTea7 JamVM selfhost patch -
remove-sun.misc.Perf-debug-code
In-Reply-To: <1309444645.10301.16.camel@xranby-ESPRIMO-P7935>
References: <1309444645.10301.16.camel@xranby-ESPRIMO-P7935>
Message-ID: <20110705010706.GA17947@shelob.middle-earth.co.uk>
On Thu, Jun 30, 2011 at 04:37:25PM +0200, Xerxes R?nby wrote:
> Hi team,
>
> The attached patch makes it possible for IcedTea 7 JamVM builds to be
> selfhosting.
>
> Some OpenJDK 7 classes makes internal use of the unofficial
> sun.misc.Perf API to keep track of startup time. sun.misc.Perf itself
> implements its functionality by using some special jni calls inside of
> Hotspot.
>
> By reducing the internal use of sun.misc.Perf in the OpenJDK 7 classes
> makes it possible to use the OpenJDK 7 classes with non-Hotspot JVMs.
>
>
> Ok to push?
>
> The alternative are to implement this unofficial sun.misc.Perf JNI API
> in JamVM and in every other JVM that wants to use the OpenJDK classes.
>
> Cheers
> Xerxes
No. If this is needed for JamVM, it should be a JamVM-specific patch,
not applied generally.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Mon Jul 4 18:19:48 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Tue, 5 Jul 2011 02:19:48 +0100
Subject: RFC: Separation of JTreg tool into independent project
In-Reply-To: <4E11B0E3.7040605@centrum.cz>
References: <4E11B0E3.7040605@centrum.cz>
Message-ID: <20110705011948.GC17947@shelob.middle-earth.co.uk>
On Mon, Jul 04, 2011 at 02:24:03PM +0200, Pavel Tisnovsky wrote:
> Hi all,
>
> some time ago I discussed with Andrew John Hughes about the separation
> of JTreg tool from the IcedTea6 and IcedTea7 projects. In summary (ie
> how I understand this task): JTreg should be developed as independent
> project and in the future they should be synchronized with recent JTreg
> version (used by Oracle guys AFAIK).
>
Yes, but that's not what this patch seems to do. It just moves the source
code out of the tree into a zip somewhere. I was envisaging jtreg being
a separate project like the visualvm one with its own build infrastructure.
You'd then point configure at an installed jtreg.jar. That could be built
from the IcedTea jtreg project or alternatively, you could use the one
Oracle provide if you were willing to accept the proprietary licensing
this entails.
> In the attachment there's very first version of patched Makefile.am from
> IcedTea6 HEAD. When user call command 'make jtreg' from command line,
> archive containing stable version of JTreg tool sources is downloaded
> into 'drops/' subdirectory, then this archive is unzipped into 'test/'
> subdirectory and then JTreg is compiled & run as usual.
>
> This functionality is similar as in the case of JAXP and JAXWS - these
> two parts of JDK are also separated from JDK sources.
>
Yes, and it's one of the most annoying things Oracle have ever done, as
there's no change visibility. I've been thinking about reverting it
in the IcedTea tree so at least we can see the changes between zips
if not at the changeset level.
> What do you think about this solution (which could be the same for
> IcedTea6 and IcedTea7, also *probably* for IcedTea-web)?
>
Why would IcedTea-Web need jtreg?
> Cheers,
> Pavel
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From bugzilla-daemon at icedtea.classpath.org Mon Jul 4 18:24:34 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 01:24:34 +0000
Subject: [Bug 745] Error Google App Engine Plugins
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=745
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #545|text/x-log |text/plain
mime type| |
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 4 18:25:00 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 01:25:00 +0000
Subject: [Bug 745] Error Google App Engine Plugins
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=745
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #546|text/x-log |text/plain
mime type| |
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 4 18:25:31 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 01:25:31 +0000
Subject: [Bug 745] Error Google App Engine Plugins
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=745
--- Comment #5 from Andrew John Hughes 2011-07-05 01:25:31 ---
/opt/eclipse-javaee/configuration/org.eclipse.osgi/bundles/61/1/.cp/os/linux/x86/libunixfile_1_0_0.so
suggests so and a personal install too by the looks of it.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From ahughes at redhat.com Mon Jul 4 18:28:18 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Tue, 5 Jul 2011 02:28:18 +0100
Subject: Reviewer needed: backport of 6842838 and 6882768 fixes into
IcedTea6 HEAD
In-Reply-To: <4E0DDDFD.2030909@redhat.com>
References: <4E0DDDFD.2030909@redhat.com>
Message-ID: <20110705012818.GF17947@shelob.middle-earth.co.uk>
On Fri, Jul 01, 2011 at 04:47:25PM +0200, Pavel Tisnovsky wrote:
> Hi,
>
> I'd like to push backport of two fixes:
>
> - S6842838: 64-bit failure in handling invalid manifest in launcher.
> - S6882768: Test for 6842838 is broken
>
>
> ChangeLog entry:
>
> 2011-07-01 Pavel Tisnovsky
>
> * Makefile.am: added new patches
> * NEWS: updated with backports
> *
> patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch:
> * patches/openjdk/6882768-test_for_6842838_is_broken.patch:
> Backport of 6842838 and 6882768.
>
>
>
> Can anybody please review this change?
>
> Thank you in advance,
> Pavel
>
>
>
Looks ok, assuming it builds.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Mon Jul 4 18:48:10 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Tue, 5 Jul 2011 02:48:10 +0100
Subject: RFC: Patch for Bug#749
(sun.applet.PluginStreamHandler#handleMessage(String) really slow)
In-Reply-To: <20110704223514.GB10339@redhat.com>
References: <20110704223514.GB10339@redhat.com>
Message-ID: <20110705014810.GG17947@shelob.middle-earth.co.uk>
On Mon, Jul 04, 2011 at 06:35:14PM -0400, Deepak Bhole wrote:
> Hi,
>
> This is a cleaned up version of the patch posted for Bug# 749:
> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=749
>
> I have reviewed the patch myself and found no issues. The patch is
> fairly straightforward and if there are no emails by tomorrow,
> I will go ahead and commit to 1.0, 1.1 and HEAD.
>
> Cheers,
> Deepak
I've commented inline. The code itself looks ok, but it needs to be
better documented.
However, your comment about applying this patch, given no response
disturbs me. We don't have a policy of doing this and I strongly
think we should not do so. Please wait for a review, especially
for release branch patches. You can't take no response after some
short period (and 'tomorrow' is quite vague) as implicit approval
of your patch. People do have other stuff to work on.
> diff -r 86abbf8be0b1 AUTHORS
> --- a/AUTHORS Thu Jun 23 15:29:45 2011 +0200
> +++ b/AUTHORS Mon Jul 04 18:29:15 2011 -0400
> @@ -3,6 +3,7 @@
>
> Lillian Angel
> Deepak Bhole
> +Ricardo Mart?n Camarero
> Thomas Fitzsimmons
> Mark Greenwood
> Andrew John Hughes
> diff -r 86abbf8be0b1 ChangeLog
> --- a/ChangeLog Thu Jun 23 15:29:45 2011 +0200
> +++ b/ChangeLog Mon Jul 04 18:29:15 2011 -0400
> @@ -1,3 +1,12 @@
> +2011-07-04 Deepak Bhole
> +
> + PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
> + Patch from: Ricardo Mart?n Camarero (Ricky)
> + * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
> + (readPair): New function.
> + (handleMessage): Use readPair to incrementally tokenize message, rather
> + than using String.split().
> +
> 2011-06-22 Jiri Vanek
>
> * tests/report-styles/jreport.xsl: part with classes statistics is now collapsable
> diff -r 86abbf8be0b1 NEWS
> --- a/NEWS Thu Jun 23 15:29:45 2011 +0200
> +++ b/NEWS Mon Jul 04 18:29:15 2011 -0400
> @@ -8,6 +8,10 @@
>
> CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
>
> +New in release 1.2 (2011-XX-XX):
> +* Plugin
> + - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
> +
> New in release 1.1 (2011-XX-XX):
> * Security updates
> - S6983554, CVE-2010-4450: Launcher incorrect processing of empty library path entries
> diff -r 86abbf8be0b1 plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
> --- a/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Thu Jun 23 15:29:45 2011 +0200
> +++ b/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Mon Jul 04 18:29:15 2011 -0400
> @@ -113,18 +113,60 @@
> listenerThread.start();
> }
>
> + /**
> + * Given a string, separates the first (space separated) token and puts the
> + * rest into another string.
> + *
> + * @param message The string to read
> + * @param start The position to start reading at
> + * @param array The array into which the first token and rest are to be placed
> + * @return Position where the next token starts
> + */
This documentation is inaccurate. It puts a string up to the first space into the
first element of the array, and then a string up to the second space into the
second element of the array.
So in the following cases:
"foo" -> array[0] = "foo", array[1] = null
"foo bar" -> array[0] = "foo", array[1] = "bar"
"foo bar baz" -> array[0] = "foo", array[1] = "bar"
Note that the second and third examples have identical output and anything after the
second space is discarded.
It wasn't immediately clear why this is so different to what split was
doing. Reading the bug it seems this is done for performance reasons
(so a regexp is not matched against a long string, creating a huge
array). This should be documented in the Javadoc and probably in the
Changelog too.
> +
> + private int readPair(String message, int start, String[] array) {
> +
> + int end = start;
> + array[0] = null;
> + array[1] = null;
> +
> + if (message.length() > start) {
> + int firstSpace = message.indexOf(' ', start);
> + if (firstSpace == -1) {
> + array[0] = message.substring(start);
> + end = message.length();
> + } else {
> + array[0] = message.substring(start, firstSpace);
> + if (message.length() > firstSpace + 1) {
> + int secondSpace = message.indexOf(' ', firstSpace + 1);
> + if (secondSpace == -1) {
> + array[1] = message.substring(firstSpace + 1);
> + end = message.length();
> + } else {
> + array[1] = message.substring(firstSpace + 1, secondSpace);
> + end = secondSpace + 1;
> + }
> + }
> + }
> + }
> +
> + PluginDebug.debug("readPair: '", array[0], "' - '", array[1], "' ", end);
> + return end;
> + }
> +
> public void handleMessage(String message) throws PluginException {
>
> - int nextIndex = 0;
> int reference = -1;
> String src = null;
> String[] privileges = null;
> String rest = "";
> + String[] msgComponents = new String[2];
> + int pos = 0;
> + int oldPos = 0;
>
> - String[] msgComponents = message.split(" ");
> -
> - if (msgComponents.length < 2)
> + pos = readPair(message, oldPos, msgComponents);
> + if (msgComponents[0] == null || msgComponents[1] == null) {
> return;
> + }
>
> if (msgComponents[0].startsWith("plugin")) {
> handlePluginMessage(message);
> @@ -134,38 +176,38 @@
> // type and identifier are guaranteed to be there
> String type = msgComponents[0];
> final int identifier = Integer.parseInt(msgComponents[1]);
> - nextIndex = 2;
>
> // reference, src and privileges are optional components,
> // and are guaranteed to be in that order, if they occur
> + oldPos = pos;
> + pos = readPair(message, oldPos, msgComponents);
>
> // is there a reference ?
> - if (msgComponents[nextIndex].equals("reference")) {
> - reference = Integer.parseInt(msgComponents[nextIndex + 1]);
> - nextIndex += 2;
> + if ("reference".equals(msgComponents[0])) {
> + reference = Integer.parseInt(msgComponents[1]);
> + oldPos = pos;
> + pos = readPair(message, oldPos, msgComponents);
> }
>
> // is there a src?
> - if (msgComponents[nextIndex].equals("src")) {
> - src = msgComponents[nextIndex + 1];
> - nextIndex += 2;
> + if ("src".equals(msgComponents[0])) {
> + src = msgComponents[1];
> + oldPos = pos;
> + pos = readPair(message, oldPos, msgComponents);
> }
>
> // is there a privileges?
> - if (msgComponents[nextIndex].equals("privileges")) {
> - String privs = msgComponents[nextIndex + 1];
> + if ("privileges".equals(msgComponents[0])) {
> + String privs = msgComponents[1];
> privileges = privs.split(",");
> - nextIndex += 2;
> + oldPos = pos;
> }
>
> // rest
> - for (int i = nextIndex; i < msgComponents.length; i++) {
> - rest += msgComponents[i];
> - rest += " ";
> + if (message.length() > oldPos) {
> + rest = message.substring(oldPos);
> }
>
> - rest = rest.trim();
> -
> try {
>
> PluginDebug.debug("Breakdown -- type: ", type, " identifier: ", identifier, " reference: ", reference, " src: ", src, " privileges: ", privileges, " rest: \"", rest, "\"");
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 00:28:30 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 07:28:30 +0000
Subject: [Bug 712] [TRACKER] IcedTea7 2.0 release
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=712
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |751
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 00:28:30 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 07:28:30 +0000
Subject: [Bug 716] IcedTea7 should bootstrap with IcedTea6
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=716
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |751
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 00:28:30 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 07:28:30 +0000
Subject: [Bug 751] New: IcedTea7 should bootstrap with IcedTea7
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=751
Summary: IcedTea7 should bootstrap with IcedTea7
Product: IcedTea
Version: 7-hg
Platform: all
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea7
AssignedTo: ahughes at redhat.com
ReportedBy: ahughes at redhat.com
CC: unassigned at icedtea.classpath.org
Blocks: 712,716
IcedTea7 should be able to build with IcedTea7 in bootstrap mode.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 03:37:45 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 10:37:45 +0000
Subject: [Bug 751] IcedTea7 should bootstrap with IcedTea7
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=751
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Andrew John Hughes 2011-07-05 10:37:45 ---
First failure; HotSpot compiles the serviceability agent with 1.6 options but
our bootstrap patches bring in 1.7 JDK code:
/mnt/builder/icedtea7/openjdk-boot/jdk/src/share/classes/java/lang/String.java:2333:
error: diamond operator is not supported in -source 1.6
ArrayList list = new ArrayList<>();
Should be an easy fix to make it use 1.7
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 05:43:56 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 12:43:56 +0000
Subject: [Bug 751] IcedTea7 should bootstrap with IcedTea7
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=751
--- Comment #2 from Andrew John Hughes 2011-07-05 12:43:56 ---
Fixed that, now the gjavah patch is causing trouble:
../../../src/share/native/sun/java2d/opengl/OGLContext.c: In function
'OGLContext_GetExtensionInfo':
../../../src/share/native/sun/java2d/opengl/OGLContext.c:872:18: error:
'sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_TEXRECT' undeclared
(first use in this function)
../../../src/share/native/sun/java2d/opengl/OGLContext.c:872:18: note: each
undeclared identifier is reported only once for each function it appears in
../../../src/share/native/sun/java2d/opengl/OGLContext.c:875:18: error:
'sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_FBOBJECT' undeclared
(first use in this function)
../../../src/share/native/sun/java2d/opengl/OGLContext.c:878:18: error:
'sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_LCD_SHADER'
undeclared (first use in this function)
../../../src/share/native/sun/java2d/opengl/OGLContext.c:881:18: error:
'sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_BIOP_SHADER'
undeclared (first use in this function)
../../../src/share/native/sun/java2d/opengl/OGLContext.c:884:18: error:
'sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_GRAD_SHADER'
undeclared (first use in this function)
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From andrew at icedtea.classpath.org Tue Jul 5 05:49:13 2011
From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 12:49:13 +0000
Subject: /hg/icedtea: PR icedtea/751: Make IcedTea7 bootstrap IcedTea7
Message-ID:
changeset 91be8105cfa7 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=91be8105cfa7
author: Andrew John Hughes
date: Tue Jul 05 13:48:51 2011 +0100
PR icedtea/751: Make IcedTea7 bootstrap IcedTea7
2011-07-05 Andrew John Hughes
PR icedtea/751
* Makefile.am: (ICEDTEA_BOOT_PATCHES): Include compile-for-7
patch if javac supports diamond. This makes the HotSpot
build use source/target 7, allowing it to compile the JDK
code it depends on.
* javac.in: Add -XDignore.symbol.file=true when using javac to
avoid numerous proprietary warnings.
* patches/boot/compile-for-7.patch: Set
SOURCE_LANGUAGE_VERSION/TARGET_CLASS_VERSION use 7 in
HotSpot instead of 6.
* patches/boot/hotspot-jdk-dependency.patch: Include the *nix-
specific code in solaris/classes.
diffstat:
ChangeLog | 17 +++++++++++++
Makefile.am | 2 +
javac.in | 3 +-
patches/boot/compile-for-7.patch | 39 +++++++++++++++++++++++++++++++
patches/boot/hotspot-jdk-dependency.patch | 4 +-
5 files changed, 62 insertions(+), 3 deletions(-)
diffs (109 lines):
diff -r 9ec64ff41e91 -r 91be8105cfa7 ChangeLog
--- a/ChangeLog Wed Jun 29 18:16:57 2011 +0100
+++ b/ChangeLog Tue Jul 05 13:48:51 2011 +0100
@@ -1,3 +1,20 @@
+2011-07-05 Andrew John Hughes
+
+ PR icedtea/751
+ * Makefile.am:
+ (ICEDTEA_BOOT_PATCHES): Include compile-for-7
+ patch if javac supports diamond. This makes
+ the HotSpot build use source/target 7, allowing
+ it to compile the JDK code it depends on.
+ * javac.in: Add -XDignore.symbol.file=true
+ when using javac to avoid numerous proprietary
+ warnings.
+ * patches/boot/compile-for-7.patch:
+ Set SOURCE_LANGUAGE_VERSION/TARGET_CLASS_VERSION
+ use 7 in HotSpot instead of 6.
+ * patches/boot/hotspot-jdk-dependency.patch:
+ Include the *nix-specific code in solaris/classes.
+
2011-06-29 Andrew John Hughes
* acinclude.m4:
diff -r 9ec64ff41e91 -r 91be8105cfa7 Makefile.am
--- a/Makefile.am Wed Jun 29 18:16:57 2011 +0100
+++ b/Makefile.am Tue Jul 05 13:48:51 2011 +0100
@@ -398,6 +398,8 @@
if JAVAC_LACKS_DIAMOND
ICEDTEA_BOOT_PATCHES += patches/boot/ecj-diamond.patch
+else
+ICEDTEA_BOOT_PATCHES += patches/boot/compile-for-7.patch
endif
ICEDTEA_BOOT_PATCHES += $(DISTRIBUTION_BOOT_PATCHES)
diff -r 9ec64ff41e91 -r 91be8105cfa7 javac.in
--- a/javac.in Wed Jun 29 18:16:57 2011 +0100
+++ b/javac.in Tue Jul 05 13:48:51 2011 +0100
@@ -20,7 +20,8 @@
push @bcoption, '-bootclasspath', glob '@abs_top_builddir@/bootstrap/jdk1.6.0/jre/lib/rt.jar'
unless grep {$_ eq '-bootclasspath'} @ARGV;
my @ecj_parms = ($ECJ_WARNINGS, @bcoption);
-my @javac_parms = ($JAVAC_WARNINGS, '-Xprefer:source', '-J-Xmx1024m');
+my @javac_parms = ($JAVAC_WARNINGS, '-Xprefer:source',
+ '-XDignore.symbol.file=true', '-J-Xmx1024m');
# Work around ecj's inability to handle duplicate command-line
# options and unknown javac options.
diff -r 9ec64ff41e91 -r 91be8105cfa7 patches/boot/compile-for-7.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/boot/compile-for-7.patch Tue Jul 05 13:48:51 2011 +0100
@@ -0,0 +1,42 @@
+diff -r f7e8b10f51c6 make/linux/makefiles/rules.make
+--- openjdk-boot/hotspot/make/linux/makefiles/rules.make Tue Jun 28 00:25:25 2011 +0100
++++ openjdk-boot/hotspot/make/linux/makefiles/rules.make Tue Jul 05 11:59:08 2011 +0100
+@@ -139,8 +139,8 @@
+ RUN.JAR$(MAKE_VERBOSE) += >/dev/null
+
+ # Settings for javac
+-BOOT_SOURCE_LANGUAGE_VERSION = 6
+-BOOT_TARGET_CLASS_VERSION = 6
++BOOT_SOURCE_LANGUAGE_VERSION = 7
++BOOT_TARGET_CLASS_VERSION = 7
+ JAVAC_FLAGS = -g -encoding ascii
+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
+
+diff -r f7e8b10f51c6 make/solaris/makefiles/rules.make
+--- openjdk-boot/hotspot/make/solaris/makefiles/rules.make Tue Jun 28 00:25:25 2011 +0100
++++ openjdk-boot/hotspot/make/solaris/makefiles/rules.make Tue Jul 05 11:59:08 2011 +0100
+@@ -131,8 +131,8 @@
+ RUN.JAR$(MAKE_VERBOSE) += >/dev/null
+
+ # Settings for javac
+-BOOT_SOURCE_LANGUAGE_VERSION = 6
+-BOOT_TARGET_CLASS_VERSION = 6
++BOOT_SOURCE_LANGUAGE_VERSION = 7
++BOOT_TARGET_CLASS_VERSION = 7
+ JAVAC_FLAGS = -g -encoding ascii
+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
+
+diff -r f7e8b10f51c6 make/windows/makefiles/rules.make
+--- openjdk-boot/hotspot/make/windows/makefiles/rules.make Tue Jun 28 00:25:25 2011 +0100
++++ openjdk-boot/hotspot/make/windows/makefiles/rules.make Tue Jul 05 11:59:08 2011 +0100
+@@ -43,8 +43,8 @@
+ !endif
+
+ # Settings for javac
+-BOOT_SOURCE_LANGUAGE_VERSION=6
+-BOOT_TARGET_CLASS_VERSION=6
++BOOT_SOURCE_LANGUAGE_VERSION=7
++BOOT_TARGET_CLASS_VERSION=7
+ JAVAC_FLAGS=-g -encoding ascii
+ BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
+
diff -r 9ec64ff41e91 -r 91be8105cfa7 patches/boot/hotspot-jdk-dependency.patch
--- a/patches/boot/hotspot-jdk-dependency.patch Wed Jun 29 18:16:57 2011 +0100
+++ b/patches/boot/hotspot-jdk-dependency.patch Tue Jul 05 13:48:51 2011 +0100
@@ -7,8 +7,8 @@
- $(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) @$(AGENT_FILES1_LIST)
- $(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) @$(AGENT_FILES2_LIST)
-+ $(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR):$(JDK_TOPDIR)/src/share/classes:$(GENSRCDIR) -d $(SA_CLASSDIR) @$(AGENT_FILES1_LIST)
-+ $(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR):$(JDK_TOPDIR)/src/share/classes:$(GENSRCDIR) -d $(SA_CLASSDIR) @$(AGENT_FILES2_LIST)
++ $(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR):$(JDK_TOPDIR)/src/share/classes:$(JDK_TOPDIR)/src/solaris/classes:$(GENSRCDIR) -d $(SA_CLASSDIR) @$(AGENT_FILES1_LIST)
++ $(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR):$(JDK_TOPDIR)/src/share/classes:$(JDK_TOPDIR)/src/solaris/classes:$(GENSRCDIR) -d $(SA_CLASSDIR) @$(AGENT_FILES2_LIST)
$(QUIETLY) $(REMOTE) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
From xerxes at zafena.se Tue Jul 5 06:45:22 2011
From: xerxes at zafena.se (Xerxes =?ISO-8859-1?Q?R=E5nby?=)
Date: Tue, 05 Jul 2011 15:45:22 +0200
Subject: RFC: IcedTea7 JamVM selfhost patch -
remove-sun.misc.Perf-debug-code
In-Reply-To: <20110705010706.GA17947@shelob.middle-earth.co.uk>
References: <1309444645.10301.16.camel@xranby-ESPRIMO-P7935>
<20110705010706.GA17947@shelob.middle-earth.co.uk>
Message-ID: <1309873522.3727.5.camel@xranby-ESPRIMO-P7935>
tis 2011-07-05 klockan 02:07 +0100 skrev Andrew John Hughes:
> On Thu, Jun 30, 2011 at 04:37:25PM +0200, Xerxes R?nby wrote:
> > Hi team,
> >
> > The attached patch makes it possible for IcedTea 7 JamVM builds to be
> > selfhosting.
> >
> > Some OpenJDK 7 classes makes internal use of the unofficial
> > sun.misc.Perf API to keep track of startup time. sun.misc.Perf itself
> > implements its functionality by using some special jni calls inside of
> > Hotspot.
> >
> > By reducing the internal use of sun.misc.Perf in the OpenJDK 7 classes
> > makes it possible to use the OpenJDK 7 classes with non-Hotspot JVMs.
>
> No. If this is needed for JamVM, it should be a JamVM-specific patch,
> not applied generally.
OK, I have attached a new JamVM-specific patch that only get applied
when performing a JamVM build.
ChangeLog entry would be:
2011-07-05 Xerxes R?nby
JamVM: Is self-hosting.
* patches/jamvm/remove-sun.misc.Perf-debug-code.patch: New
patch.
* Makefile.am:
(ICEDTEA_PATCHES): Apply new patch when building JamVM.
* HACKING: Updated.
* NEWS: Updated.
Ok to push?
Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jamvm-decouple-openjdk-from-hotspot.patch
Type: text/x-patch
Size: 4626 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110705/4dff7c9b/jamvm-decouple-openjdk-from-hotspot.patch
From dbhole at redhat.com Tue Jul 5 08:16:16 2011
From: dbhole at redhat.com (Deepak Bhole)
Date: Tue, 5 Jul 2011 11:16:16 -0400
Subject: RFC: Patch for Bug#749
(sun.applet.PluginStreamHandler#handleMessage(String) really slow)
In-Reply-To: <20110705014810.GG17947@shelob.middle-earth.co.uk>
References: <20110704223514.GB10339@redhat.com>
<20110705014810.GG17947@shelob.middle-earth.co.uk>
Message-ID: <20110705151616.GD10339@redhat.com>
* Andrew John Hughes [2011-07-04 21:48]:
> On Mon, Jul 04, 2011 at 06:35:14PM -0400, Deepak Bhole wrote:
> > Hi,
> >
> > This is a cleaned up version of the patch posted for Bug# 749:
> > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=749
> >
> > I have reviewed the patch myself and found no issues. The patch is
> > fairly straightforward and if there are no emails by tomorrow,
> > I will go ahead and commit to 1.0, 1.1 and HEAD.
> >
> > Cheers,
> > Deepak
>
> I've commented inline. The code itself looks ok, but it needs to be
> better documented.
>
> However, your comment about applying this patch, given no response
> disturbs me. We don't have a policy of doing this and I strongly
> think we should not do so. Please wait for a review, especially
> for release branch patches. You can't take no response after some
> short period (and 'tomorrow' is quite vague) as implicit approval
> of your patch. People do have other stuff to work on.
>
The fix looked quite harmless so I didn't think much of it. Nonetheless,
I will wait for approval next time.
New patch with updated docs attached. Thanks for taking a look!
Cheers,
Deepak
> > diff -r 86abbf8be0b1 AUTHORS
> > --- a/AUTHORS Thu Jun 23 15:29:45 2011 +0200
> > +++ b/AUTHORS Mon Jul 04 18:29:15 2011 -0400
> > @@ -3,6 +3,7 @@
> >
> > Lillian Angel
> > Deepak Bhole
> > +Ricardo Mart?n Camarero
> > Thomas Fitzsimmons
> > Mark Greenwood
> > Andrew John Hughes
> > diff -r 86abbf8be0b1 ChangeLog
> > --- a/ChangeLog Thu Jun 23 15:29:45 2011 +0200
> > +++ b/ChangeLog Mon Jul 04 18:29:15 2011 -0400
> > @@ -1,3 +1,12 @@
> > +2011-07-04 Deepak Bhole
> > +
> > + PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
> > + Patch from: Ricardo Mart?n Camarero (Ricky)
> > + * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
> > + (readPair): New function.
> > + (handleMessage): Use readPair to incrementally tokenize message, rather
> > + than using String.split().
> > +
> > 2011-06-22 Jiri Vanek
> >
> > * tests/report-styles/jreport.xsl: part with classes statistics is now collapsable
> > diff -r 86abbf8be0b1 NEWS
> > --- a/NEWS Thu Jun 23 15:29:45 2011 +0200
> > +++ b/NEWS Mon Jul 04 18:29:15 2011 -0400
> > @@ -8,6 +8,10 @@
> >
> > CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
> >
> > +New in release 1.2 (2011-XX-XX):
> > +* Plugin
> > + - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
> > +
> > New in release 1.1 (2011-XX-XX):
> > * Security updates
> > - S6983554, CVE-2010-4450: Launcher incorrect processing of empty library path entries
> > diff -r 86abbf8be0b1 plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
> > --- a/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Thu Jun 23 15:29:45 2011 +0200
> > +++ b/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Mon Jul 04 18:29:15 2011 -0400
> > @@ -113,18 +113,60 @@
> > listenerThread.start();
> > }
> >
> > + /**
> > + * Given a string, separates the first (space separated) token and puts the
> > + * rest into another string.
> > + *
> > + * @param message The string to read
> > + * @param start The position to start reading at
> > + * @param array The array into which the first token and rest are to be placed
> > + * @return Position where the next token starts
> > + */
>
> This documentation is inaccurate. It puts a string up to the first space into the
> first element of the array, and then a string up to the second space into the
> second element of the array.
>
> So in the following cases:
>
> "foo" -> array[0] = "foo", array[1] = null
> "foo bar" -> array[0] = "foo", array[1] = "bar"
> "foo bar baz" -> array[0] = "foo", array[1] = "bar"
>
> Note that the second and third examples have identical output and anything after the
> second space is discarded.
>
> It wasn't immediately clear why this is so different to what split was
> doing. Reading the bug it seems this is done for performance reasons
> (so a regexp is not matched against a long string, creating a huge
> array). This should be documented in the Javadoc and probably in the
> Changelog too.
>
> > +
> > + private int readPair(String message, int start, String[] array) {
> > +
> > + int end = start;
> > + array[0] = null;
> > + array[1] = null;
> > +
> > + if (message.length() > start) {
> > + int firstSpace = message.indexOf(' ', start);
> > + if (firstSpace == -1) {
> > + array[0] = message.substring(start);
> > + end = message.length();
> > + } else {
> > + array[0] = message.substring(start, firstSpace);
> > + if (message.length() > firstSpace + 1) {
> > + int secondSpace = message.indexOf(' ', firstSpace + 1);
> > + if (secondSpace == -1) {
> > + array[1] = message.substring(firstSpace + 1);
> > + end = message.length();
> > + } else {
> > + array[1] = message.substring(firstSpace + 1, secondSpace);
> > + end = secondSpace + 1;
> > + }
> > + }
> > + }
> > + }
> > +
> > + PluginDebug.debug("readPair: '", array[0], "' - '", array[1], "' ", end);
> > + return end;
> > + }
> > +
> > public void handleMessage(String message) throws PluginException {
> >
> > - int nextIndex = 0;
> > int reference = -1;
> > String src = null;
> > String[] privileges = null;
> > String rest = "";
> > + String[] msgComponents = new String[2];
> > + int pos = 0;
> > + int oldPos = 0;
> >
> > - String[] msgComponents = message.split(" ");
> > -
> > - if (msgComponents.length < 2)
> > + pos = readPair(message, oldPos, msgComponents);
> > + if (msgComponents[0] == null || msgComponents[1] == null) {
> > return;
> > + }
> >
> > if (msgComponents[0].startsWith("plugin")) {
> > handlePluginMessage(message);
> > @@ -134,38 +176,38 @@
> > // type and identifier are guaranteed to be there
> > String type = msgComponents[0];
> > final int identifier = Integer.parseInt(msgComponents[1]);
> > - nextIndex = 2;
> >
> > // reference, src and privileges are optional components,
> > // and are guaranteed to be in that order, if they occur
> > + oldPos = pos;
> > + pos = readPair(message, oldPos, msgComponents);
> >
> > // is there a reference ?
> > - if (msgComponents[nextIndex].equals("reference")) {
> > - reference = Integer.parseInt(msgComponents[nextIndex + 1]);
> > - nextIndex += 2;
> > + if ("reference".equals(msgComponents[0])) {
> > + reference = Integer.parseInt(msgComponents[1]);
> > + oldPos = pos;
> > + pos = readPair(message, oldPos, msgComponents);
> > }
> >
> > // is there a src?
> > - if (msgComponents[nextIndex].equals("src")) {
> > - src = msgComponents[nextIndex + 1];
> > - nextIndex += 2;
> > + if ("src".equals(msgComponents[0])) {
> > + src = msgComponents[1];
> > + oldPos = pos;
> > + pos = readPair(message, oldPos, msgComponents);
> > }
> >
> > // is there a privileges?
> > - if (msgComponents[nextIndex].equals("privileges")) {
> > - String privs = msgComponents[nextIndex + 1];
> > + if ("privileges".equals(msgComponents[0])) {
> > + String privs = msgComponents[1];
> > privileges = privs.split(",");
> > - nextIndex += 2;
> > + oldPos = pos;
> > }
> >
> > // rest
> > - for (int i = nextIndex; i < msgComponents.length; i++) {
> > - rest += msgComponents[i];
> > - rest += " ";
> > + if (message.length() > oldPos) {
> > + rest = message.substring(oldPos);
> > }
> >
> > - rest = rest.trim();
> > -
> > try {
> >
> > PluginDebug.debug("Breakdown -- type: ", type, " identifier: ", identifier, " reference: ", reference, " src: ", src, " privileges: ", privileges, " rest: \"", rest, "\"");
>
>
> --
> Andrew :)
>
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
>
> Support Free Java!
> Contribute to GNU Classpath and IcedTea
> http://www.gnu.org/software/classpath
> http://icedtea.classpath.org
> PGP Key: F5862A37 (https://keys.indymedia.org/)
> Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
-------------- next part --------------
diff -r 86abbf8be0b1 AUTHORS
--- a/AUTHORS Thu Jun 23 15:29:45 2011 +0200
+++ b/AUTHORS Tue Jul 05 11:12:20 2011 -0400
@@ -3,6 +3,7 @@
Lillian Angel
Deepak Bhole
+Ricardo Mart?n Camarero
Thomas Fitzsimmons
Mark Greenwood
Andrew John Hughes
diff -r 86abbf8be0b1 ChangeLog
--- a/ChangeLog Thu Jun 23 15:29:45 2011 +0200
+++ b/ChangeLog Tue Jul 05 11:12:20 2011 -0400
@@ -1,3 +1,12 @@
+2011-07-05 Deepak Bhole
+
+ PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
+ Patch from: Ricardo Mart?n Camarero (Ricky)
+ * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
+ (readPair): New function.
+ (handleMessage): Use readPair to incrementally tokenize message, rather
+ than using String.split().
+
2011-06-22 Jiri Vanek
* tests/report-styles/jreport.xsl: part with classes statistics is now collapsable
diff -r 86abbf8be0b1 NEWS
--- a/NEWS Thu Jun 23 15:29:45 2011 +0200
+++ b/NEWS Tue Jul 05 11:12:20 2011 -0400
@@ -8,6 +8,10 @@
CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
+New in release 1.2 (2011-XX-XX):
+* Plugin
+ - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
+
New in release 1.1 (2011-XX-XX):
* Security updates
- S6983554, CVE-2010-4450: Launcher incorrect processing of empty library path entries
diff -r 86abbf8be0b1 plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
--- a/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Thu Jun 23 15:29:45 2011 +0200
+++ b/plugin/icedteanp/java/sun/applet/PluginStreamHandler.java Tue Jul 05 11:12:20 2011 -0400
@@ -113,18 +113,58 @@
listenerThread.start();
}
+ /**
+ * Given a string, reads the first two (space separated) tokens.
+ *
+ * @param message The string to read
+ * @param start The position to start reading at
+ * @param array The array into which the first two tokens are placed
+ * @return Position where the next token starts
+ */
+ private int readPair(String message, int start, String[] array) {
+
+ int end = start;
+ array[0] = null;
+ array[1] = null;
+
+ if (message.length() > start) {
+ int firstSpace = message.indexOf(' ', start);
+ if (firstSpace == -1) {
+ array[0] = message.substring(start);
+ end = message.length();
+ } else {
+ array[0] = message.substring(start, firstSpace);
+ if (message.length() > firstSpace + 1) {
+ int secondSpace = message.indexOf(' ', firstSpace + 1);
+ if (secondSpace == -1) {
+ array[1] = message.substring(firstSpace + 1);
+ end = message.length();
+ } else {
+ array[1] = message.substring(firstSpace + 1, secondSpace);
+ end = secondSpace + 1;
+ }
+ }
+ }
+ }
+
+ PluginDebug.debug("readPair: '", array[0], "' - '", array[1], "' ", end);
+ return end;
+ }
+
public void handleMessage(String message) throws PluginException {
- int nextIndex = 0;
int reference = -1;
String src = null;
String[] privileges = null;
String rest = "";
+ String[] msgComponents = new String[2];
+ int pos = 0;
+ int oldPos = 0;
- String[] msgComponents = message.split(" ");
-
- if (msgComponents.length < 2)
+ pos = readPair(message, oldPos, msgComponents);
+ if (msgComponents[0] == null || msgComponents[1] == null) {
return;
+ }
if (msgComponents[0].startsWith("plugin")) {
handlePluginMessage(message);
@@ -134,38 +174,38 @@
// type and identifier are guaranteed to be there
String type = msgComponents[0];
final int identifier = Integer.parseInt(msgComponents[1]);
- nextIndex = 2;
// reference, src and privileges are optional components,
// and are guaranteed to be in that order, if they occur
+ oldPos = pos;
+ pos = readPair(message, oldPos, msgComponents);
// is there a reference ?
- if (msgComponents[nextIndex].equals("reference")) {
- reference = Integer.parseInt(msgComponents[nextIndex + 1]);
- nextIndex += 2;
+ if ("reference".equals(msgComponents[0])) {
+ reference = Integer.parseInt(msgComponents[1]);
+ oldPos = pos;
+ pos = readPair(message, oldPos, msgComponents);
}
// is there a src?
- if (msgComponents[nextIndex].equals("src")) {
- src = msgComponents[nextIndex + 1];
- nextIndex += 2;
+ if ("src".equals(msgComponents[0])) {
+ src = msgComponents[1];
+ oldPos = pos;
+ pos = readPair(message, oldPos, msgComponents);
}
// is there a privileges?
- if (msgComponents[nextIndex].equals("privileges")) {
- String privs = msgComponents[nextIndex + 1];
+ if ("privileges".equals(msgComponents[0])) {
+ String privs = msgComponents[1];
privileges = privs.split(",");
- nextIndex += 2;
+ oldPos = pos;
}
// rest
- for (int i = nextIndex; i < msgComponents.length; i++) {
- rest += msgComponents[i];
- rest += " ";
+ if (message.length() > oldPos) {
+ rest = message.substring(oldPos);
}
- rest = rest.trim();
-
try {
PluginDebug.debug("Breakdown -- type: ", type, " identifier: ", identifier, " reference: ", reference, " src: ", src, " privileges: ", privileges, " rest: \"", rest, "\"");
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 08:19:40 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 15:19:40 +0000
Subject: [Bug 746] eclipse crashes on start due to native library failure in
libxul.so
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=746
Deepak Bhole changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spyworldxp at gmail.com
--- Comment #4 from Deepak Bhole 2011-07-05 15:19:39 ---
*** Bug 745 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.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 08:19:39 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 15:19:39 +0000
Subject: [Bug 745] Error Google App Engine Plugins
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=745
Deepak Bhole changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #6 from Deepak Bhole 2011-07-05 15:19:39 ---
(In reply to comment #5)
> /opt/eclipse-javaee/configuration/org.eclipse.osgi/bundles/61/1/.cp/os/linux/x86/libunixfile_1_0_0.so
>
> suggests so and a personal install too by the looks of it.
>
Ah, thanks. This is an issue in Eclipse then.
Closing as dupe of Bug# 746. Please see the second comment there for a
workaround.
*** This bug has been marked as a duplicate of bug 746 ***
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 12:28:03 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 19:28:03 +0000
Subject: [Bug 752] New: ImageFormatException extends Exception not
RuntimeException
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=752
Summary: ImageFormatException extends Exception not
RuntimeException
Product: IcedTea
Version: 6-hg
Platform: 64-bit
URL: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800
082
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea6
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: james.page at ubuntu.com
Operating System:
OS - Ubuntu Development Release - Oneiric Ocelot
java -version:
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre2-0ubuntu2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Prior to 6b23 com.sun.image.codec.jpeg.ImageFormatException extended
RuntimeException rather than Exception so it did not need to be caught or
declared as throw in code that was using this internal API.
>= 6b23 is class extends Exception - this has caused a couple of build failures in packages that use this package - see linked bug report in Ubuntu.
This change was introduced with changeset
http://icedtea.classpath.org/hg/icedtea6/rev/8720a7df46e3?revcount=120
It would appear that this makes the IcedTea6 implementation API different from
the original Java 1.5 API for this class.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 12:50:49 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 19:50:49 +0000
Subject: [Bug 753] New: Zero FTBFS on stack_zero.cpp :
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=753
Summary: Zero FTBFS on stack_zero.cpp :
Product: IcedTea
Version: 7-hg
Platform: all
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Zero
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: drazzib at drazzib.com
Hi,
ZeroVM on icedtea hg just FTBFS on stack_zero.cpp with the following error :
g++ -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DAMD64 -DZERO_LIBARCH=\"amd64\"
-DPRODUCT -I.
-I/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/share/vm/prims
-I/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/share/vm
-I/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/cpu/zero/vm
-I/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/os_cpu/linux_zero/vm
-I/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/os/linux/vm
-I/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/os/posix/vm
-I../generated -DHOTSPOT_RELEASE_VERSION="\"21.0-b14\""
-DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"buildslave\""
-DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0_143-b143\""
-DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea7
2.0pre+r9ec64ff41e91\"" -DDISTRIBUTION_ID="\"Built on Debian GNU/Linux 6.0.2
(squeeze) (Wed Jun 29 20:45:25 UTC 2011)\"" -DTARGET_OS_FAMILY_linux
-DTARGET_ARCH_zero -DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero
-DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc -DSHARK
-I/usr/lib/llvm-2.7/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -DSHARK_LLVM_VERSION=27 -fpic -fno-rtti
-fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -O3
-fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith
-Wsign-compare -c -MMD -MP -MF ../generated/dependencies/statSampler.o.d -o
statSampler.o
/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/share/vm/runtime/statSampler.cpp
/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/cpu/zero/vm/stack_zero.cpp:
In static member function 'static void ZeroStack::handle_overflow(Thread*)':
/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/cpu/zero/vm/stack_zero.cpp:72:
error: no matching function for call to
'Exceptions::throw_stack_overflow_exception(JavaThread*&, const char [110],
int)'
/usr/local/build/buildslave/icedtea/icedtea7-full/build/zerovm/openjdk/hotspot/src/share/vm/utilities/exceptions.hpp:147:
note: candidates are: static void
Exceptions::throw_stack_overflow_exception(Thread*, const char*, int,
methodHandle)
make[7]: *** [stack_zero.o] Error 1
Full log is here :
http://builder.classpath.org/icedtea/buildbot/builders/icedtea7-squeeze-x86_64-full/builds/35/steps/compile/logs/stdio
This API changes seems linked to upstream (ID:7009923) :
http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/01147d8aac1d
(Zero has not been adapted to this new API)
Cheers,
--
Damien Raude-Morvan
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 12:51:01 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 19:51:01 +0000
Subject: [Bug 712] [TRACKER] IcedTea7 2.0 release
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=712
Damien Raude-Morvan changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drazzib at drazzib.com
Depends on| |753
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Tue Jul 5 12:51:01 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Tue, 05 Jul 2011 19:51:01 +0000
Subject: [Bug 753] Zero FTBFS on stack_zero.cpp :
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=753
Damien Raude-Morvan changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |712
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Wed Jul 6 08:30:14 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Wed, 06 Jul 2011 15:30:14 +0000
Subject: [Bug 753] Zero FTBFS on stack_zero.cpp :
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=753
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|712 |
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Wed Jul 6 08:30:14 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Wed, 06 Jul 2011 15:30:14 +0000
Subject: [Bug 712] [TRACKER] IcedTea7 2.0 release
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=712
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on|753 |
Status|NEW |ASSIGNED
--- Comment #1 from Andrew John Hughes 2011-07-06 15:30:13 ---
Only those involved in IcedTea releases should add dependencies to this bug.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Wed Jul 6 08:54:07 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Wed, 06 Jul 2011 15:54:07 +0000
Subject: [Bug 752] ImageFormatException extends Exception not RuntimeException
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=752
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahughes at redhat.com
AssignedTo|unassigned at icedtea.classpath|ahughes at redhat.com
|.org |
Platform|64-bit |x86_64
--- Comment #1 from Andrew John Hughes 2011-07-06 15:54:07 ---
I'll look into fixing this. Note that the version concerned is a pre-release
of IcedTea6 1.11 and not '6b23' which confused me at first (I thought you were
referring to a proprietary Oracle JDK).
What disturbs me is that this is not yet in a release of IcedTea6 yet, but you
seem to have acquired it via an Ubuntu package.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From smohammad at redhat.com Wed Jul 6 12:36:32 2011
From: smohammad at redhat.com (Saad Mohammad)
Date: Wed, 06 Jul 2011 15:36:32 -0400
Subject: [RFC][PATCH][icedtea-web]: Added support for signed JNLP file- Updated
Patch
Message-ID: <4E14B940.6080109@redhat.com>
This is the updated patch for adding support of signed JNLP file. I have
attached two patches.
More Info:
http://jcp.org/aboutJava/communityprocess/maintenance/jsr056/jnlp-7_0-changes.html
(Change 3)
Patch 1 Contains:
- JNLPMatcher.java (renamed from JNLPVerify)
- JNLPMatcherException.java (renamed from JNLPVerifyException)
- Modification of Node.java
- JNLPMatcherTest (Unit test that tests JNLPMatcher class)
- Contains 10 templates JNLP files, 9 application JNLP files and
one launching JNLP file for test (Resources for JNLPMatcherTest)
Patch 2 Contains:
- Modification to JNLPClassLoader.java
CHANGELOG:
2011-07-06 Saad Mohammad
* netx/net/sourceforge/jnlp/JNLPMatcher.java:
Created this class to compare signed JNLP file with the launching
JNLP file.
When comparing, it has support for both method of signing of a
JNLP file: APPLICATION_TEMPLATE.JNLP
and APPLICATION.JNLP
* netx/net/sourceforge/jnlp/JNLPMatcherException.java:
Added a custom exception: JNLPMatcherException. Thrown if
verifying signed JNLP files fails
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
Added JNLPMatcherException to methods that throws the custom
exception.
(initializeResources): Checks if there are any signed JNLP files
within the signed jars.
If signed JNLP file fails to match or fails to be verified, the
application throws
a JNLPMatcherException.
* netx/net/sourceforge/jnlp/Node.java:
Created a method that retrieves the attribute names of the Node
and stores it in
private string [] member. The method returns the attribute names.
* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java:
This is a test case that tests the functionality of JNLPMatcher.
It tests the algorithm
with a variety of template and application JNLP files.
* tests/netx/unit/net/sourceforge/jnlp/launchApp.jnlp:
Launching JNLP file: This is the launching JNLP file used to
compare with templates and
application JNLP files in JNLPMatcherTest.java
* tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp:
Test Template JNLP file: Contains CDATA
* tests/netx/unit/net/sourceforge/jnlp/templates/template1.jnlp:
Test Template JNLP file: An exact duplicate of the launching JNLP
file
* tests/netx/unit/net/sourceforge/jnlp/templates/template2.jnlp:
Test Template JNLP file: Contains wildchars as attribute/element
values
* tests/netx/unit/net/sourceforge/jnlp/templates/template3.jnlp:
Test Template JNLP file: Different order of element/attributes
(but same value)
* tests/netx/unit/net/sourceforge/jnlp/templates/template4.jnlp:
Test Template JNLP file: Contains wildchars as values of ALL
elements and attribute
* tests/netx/unit/net/sourceforge/jnlp/templates/template5.jnlp:
Test Template JNLP file: Contains comments
* tests/netx/unit/net/sourceforge/jnlp/templates/template6.jnlp:
Test Template JNLP file: Contains different attribute and element
values
* tests/netx/unit/net/sourceforge/jnlp/templates/template7.jnlp:
Test Template JNLP file: Contains additional children in element
* tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp:
Test Template JNLP file: Contains fewer children in element
* tests/netx/unit/net/sourceforge/jnlp/templates/template9.jnlp:
Test Template JNLP file: All values are different from the
launching JNLP file
* tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp:
Test Application JNLP file: Contains CDATA
* tests/netx/unit/net/sourceforge/jnlp/application/application1.jnlp:
Test Application JNLP file: An exact duplicate of the launching
JNLP file
* tests/netx/unit/net/sourceforge/jnlp/application/application2.jnlp:
Test Application JNLP file: Different order of element/attributes
(but same value)
* tests/netx/unit/net/sourceforge/jnlp/application/application3.jnlp:
Test Application JNLP file: Contains comments
* tests/netx/unit/net/sourceforge/jnlp/application/application4.jnlp:
Test Application JNLP file: Contains wildchars as
attribute/element values
* tests/netx/unit/net/sourceforge/jnlp/application/application5.jnlp:
Test Application JNLP file: Contains a different attribute
(codebase) value
* tests/netx/unit/net/sourceforge/jnlp/application/application6.jnlp:
Test Application JNLP file: Contains additional children in element
* tests/netx/unit/net/sourceforge/jnlp/application/application7.jnlp:
Test Application JNLP file: Contains fewer children in element
* tests/netx/unit/net/sourceforge/jnlp/application/application8.jnlp:
Test Application JNLP file: All values are different from the
launching JNLP file
* Makefile.am:
(run-netx-unit-tests) Creates directories and copies resources
(JNLP files) to test.build before
running unit test: JNLPMatcherTest
--
Cheers,
Saad Mohammad
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Patch1.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110706/702aa2d4/Patch1.patch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Patch2.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110706/702aa2d4/Patch2.patch
From andrew at icedtea.classpath.org Wed Jul 6 12:45:31 2011
From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org)
Date: Wed, 06 Jul 2011 19:45:31 +0000
Subject: /hg/icedtea6-hg: 56 new changesets
Message-ID:
changeset 6db2808d2844 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=6db2808d2844
author: ptisnovs
date: Thu Jun 09 18:32:28 2011 +0200
Added patch which ensures, that only one fontconfig file will be
needed on particular RHEL version.
changeset 43513a59c031 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=43513a59c031
author: Denis Lila
date: Thu Jun 09 11:16:32 2011 -0400
Fix PR677 and RH711900
changeset 5754a0969579 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=5754a0969579
author: Denis Lila
date: Thu Jun 09 13:26:53 2011 -0400
merge
changeset 349dee8c337a in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=349dee8c337a
author: Denis Lila
date: Thu Jun 09 13:42:07 2011 -0400
Fix a date on the ChangeLog.
changeset 78244a1d4649 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=78244a1d4649
author: ptisnovs
date: Fri Jun 10 16:17:11 2011 +0200
Patch updated: use only major RHEL version, not minor one.
changeset 0a4cdcd1c6c6 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=0a4cdcd1c6c6
author: ptisnovs
date: Fri Jun 10 16:45:31 2011 +0200
Fix build failure.
changeset 542e1eeba6ed in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=542e1eeba6ed
author: Denis Lila
date: Fri Jun 10 16:21:38 2011 -0400
Fix pulse audio header generation problem.
changeset c86fdd28db8f in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=c86fdd28db8f
author: Denis Lila
date: Fri Jun 10 16:23:25 2011 -0400
merge
changeset 1bb1af172bea in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=1bb1af172bea
author: Denis Lila
date: Fri Jun 10 17:42:18 2011 -0400
Fix whitespace.
changeset d35c67901351 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=d35c67901351
author: Andrew John Hughes
date: Fri Jun 10 22:53:54 2011 +0100
Security patches for 2011/06/07.
2011-05-23 Andrew John Hughes
* Makefile.am: Add security patches.
* patches/nio2.patch: Rerolled post-security patching.
* patches/security/20110607/6213702.patch,
* patches/security/20110607/6618658.patch,
* patches/security/20110607/7012520.patch,
* patches/security/20110607/7013519.patch,
* patches/security/20110607/7013969.patch,
* patches/security/20110607/7013971.patch,
* patches/security/20110607/7016495.patch,
* patches/security/20110607/7020198.patch,
* patches/security/20110607/7020373.patch: New security
patches.
* patches/xjc.patch: Rerolled after 7013971.
changeset c51663f190c9 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=c51663f190c9
author: Andrew John Hughes
date: Fri Jun 10 22:58:13 2011 +0100
Merge
changeset abce9adb58ce in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=abce9adb58ce
author: Danesh Dadachanji
date: Mon Jun 13 16:43:37 2011 -0400
Fix Makefile dependencies issue with xalan/xerces for F15 builds.
changeset 038d0687d646 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=038d0687d646
author: Danesh Dadachanji
date: Mon Jun 13 17:13:51 2011 -0400
Backed out changeset abce9adb58ce
changeset cfb9d61da90f in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=cfb9d61da90f
author: ptisnovs
date: Tue Jun 14 11:18:01 2011 +0200
Make sure that the regression test
openjdk/jdk/test/tools/jar/ChangeDir.java deletes all its work
files.
changeset e71f6f90abb6 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=e71f6f90abb6
author: ptisnovs
date: Tue Jun 14 13:00:21 2011 +0200
Make sure that the regression test
openjdk/jdk/test/sun/nio/ch/TempBuffer.java deletes all its work
files.
changeset c15364504892 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=c15364504892
author: Denis Lila
date: Mon Jun 13 16:53:55 2011 -0400
Fix NPE in swing.
changeset 855179997c0a in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=855179997c0a
author: Denis Lila
date: Mon Jun 13 16:58:32 2011 -0400
merge
changeset 0e134aa56ccc in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=0e134aa56ccc
author: Denis Lila
date: Tue Jun 14 09:02:14 2011 -0400
merge
changeset 78a0ce4fd551 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=78a0ce4fd551
author: ptisnovs
date: Tue Jun 14 17:25:06 2011 +0200
Added patch which fixes regression test
openjdk/jdk/test/sun/net/www/protocol/file/EncodedMultiByteChar.java
changeset f2acaead4723 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=f2acaead4723
author: ptisnovs
date: Wed Jun 15 16:38:01 2011 +0200
Added patch for a regression test
openjdk/jdk/test/sun/misc/URLClassPath/FileLoaderTest.java
changeset 8927956c3b6b in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=8927956c3b6b
author: Denis Lila
date: Wed Jun 15 10:35:39 2011 -0400
Fix build regression.
changeset 7d491356b6d9 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=7d491356b6d9
author: Denis Lila
date: Wed Jun 15 11:57:46 2011 -0400
merge
changeset 830e2c11d9f3 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=830e2c11d9f3
author: Danesh Dadachanji
date: Wed Jun 15 15:29:46 2011 -0400
Fix Makefile dependencies issue with xalan/xerces for F15 builds.
changeset f5b82f792313 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=f5b82f792313
author: ptisnovs
date: Thu Jun 16 13:19:25 2011 +0200
Regression test fix: Make sure that the regression test
openjdk/jdk/test/sun/net/www/protocol/file/FileMap.java deletes all
its work files.
changeset fe70aef2215d in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=fe70aef2215d
author: ptisnovs
date: Thu Jun 16 14:44:34 2011 +0200
Fixed indentation (spaces2tabs) in Makefile.am
changeset 5c6d4ea2f55d in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=5c6d4ea2f55d
author: Denis Lila
date: Thu Jun 16 10:58:30 2011 -0400
Replace pulse audio enums with static longs.
changeset 2eef438960e4 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=2eef438960e4
author: Denis Lila
date: Thu Jun 16 11:11:35 2011 -0400
Fix a few concurrency problems in pulse audio.
changeset 9dbcfded2579 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=9dbcfded2579
author: Denis Lila
date: Thu Jun 16 12:57:43 2011 -0400
merge
changeset 1d4ca38b3440 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=1d4ca38b3440
author: ptisnovs
date: Fri Jun 17 11:10:49 2011 +0200
Patch for regression test
openjdk/jdk/test/java/nio/channels/Channels/Write.java
changeset 2962ab27cd01 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=2962ab27cd01
author: Denis Lila
date: Fri Jun 17 16:16:47 2011 -0400
Start PulseAudioTargetDataLines in the corked state.
changeset 628bfb4cd6c1 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=628bfb4cd6c1
author: Denis Lila
date: Mon Jun 20 11:23:24 2011 -0400
PR734. Fix pulse-java latency problem.
changeset 50b12236cc6d in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=50b12236cc6d
author: Denis Lila
date: Mon Jun 20 11:38:07 2011 -0400
Fix hanging jtreg test.
changeset be0c585e6d35 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=be0c585e6d35
author: Denis Lila
date: Mon Jun 20 14:14:56 2011 -0400
Fix pulse audio regression.
changeset 62f0bbb8d3db in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=62f0bbb8d3db
author: ptisnovs
date: Wed Jun 22 09:39:13 2011 +0200
Added new regression test which check if PNG images read by ImageIO
subsytstem contains proper pixel values.
changeset 6775ce70b2cd in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=6775ce70b2cd
author: ptisnovs
date: Wed Jun 22 10:36:22 2011 +0200
Added regression test missing from 6733501 backport.
changeset 4a46bd6fb3a5 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=4a46bd6fb3a5
author: ptisnovs
date: Wed Jun 22 10:52:24 2011 +0200
Backport of 6818312 regression test.
changeset 561f0d6f3934 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=561f0d6f3934
author: ptisnovs
date: Thu Jun 23 10:57:47 2011 +0200
Make sure that the regression test
openjdk/jdk/test/java/nio/MappedByteBuffer/Basic.java deletes all
its work files.
changeset 24a5884be0de in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=24a5884be0de
author: ptisnovs
date: Thu Jun 23 11:08:51 2011 +0200
Backport of 7008106 regression test fix.
changeset 58c56aeb3e79 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=58c56aeb3e79
author: ptisnovs
date: Fri Jun 24 09:07:40 2011 +0200
Backport of 6956668 fix.
changeset de842a17c6d5 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=de842a17c6d5
author: ptisnovs
date: Fri Jun 24 17:41:56 2011 +0200
Backport of 6699843 fix.
changeset 6c45515ce78a in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=6c45515ce78a
author: Xerxes R?nby
date: Mon Jun 27 16:21:50 2011 +0200
JamVM: Update to 2011-06-13 revision.
2011-06-27 Xerxes R?nby
JamVM
- Make classlib init functions consistent + warnings.
- Correctly implement sun.misc.Unsafe freeMemory().
- Move lazy-loading to init function.
- Fix various warnings with -Wall.
- PrintThreadsDump needs "self" as argument.
- CopyMemory, etc. handle negative or truncation in length.
- Extra sun.misc.Unsafe functions.
- Ignore options for jtreg tests.
- Enable shutdownVM to be called with OpenJDK classlib.
- Initial implementation of JVM_FindClassFromBootLoader.
- Fix callJNIMethod on i386 with -fomit-frame-pointer.
- Fix backwards cache conflict resolution code.
- Unify command line options parsing.
- Remove debug printf.
* NEWS: Updated.
* Makefile.am (ICEDTEA_PATCHES): Remove upstreamed JamVM
patch. (JAMVM_VERSION): Updated JamVM to 2011-06-13
revision. (JAMVM_SHA256SUM): Updated.
(stamps/jamvm.stamp): Add -f when creating client symlink to
handle repeat builds. Link the fake libjsig.so to JamVM
libjvm.so to work with latest OpenJDK
ALT_HOTSPOT_IMPORT_PATH functionality.
* patches/jamvm/ignore-unknown-options.patch: Removed.
Replaced by upstream, unify command line options parsing,
changeset 1b248439e88ae6cbd1471addc49e2666b8964ced.
changeset 562d984677e8 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=562d984677e8
author: ptisnovs
date: Mon Jun 27 17:46:58 2011 +0200
Backport of 6918065 fix.
changeset ec4f9f18e7b6 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=ec4f9f18e7b6
author: ptisnovs
date: Tue Jun 28 09:51:50 2011 +0200
S6623219: Font.canDisplayUpTo does not work with supplementary
characters
changeset 2a3b854d6940 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=2a3b854d6940
author: ptisnovs
date: Tue Jun 28 17:17:59 2011 +0200
S6783910: java.awt.Color.brighter()/darker() methods make color
opaque
changeset 411743c2dd64 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=411743c2dd64
author: ptisnovs
date: Tue Jun 28 17:31:50 2011 +0200
S6785424: SecurityException locating physical fonts on Windows
Terminal Server
changeset 7183dbf25d56 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=7183dbf25d56
author: Andrew John Hughes
date: Tue Jun 28 17:18:45 2011 +0100
Allow Linux 3* to pass through the HotSpot OS version filter.
2011-06-28 Andrew John Hughes
* Makefile.am: Add new patch.
* patches/support_linux_3.patch: Allow Linux 3* through the
HotSpot OS version filter.
changeset 93fe1e8a9277 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=93fe1e8a9277
author: Andrew John Hughes
date: Tue Jun 28 17:21:18 2011 +0100
Merge
changeset 3c66636f2c6f in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=3c66636f2c6f
author: ptisnovs
date: Wed Jun 29 10:26:39 2011 +0200
S7047069: Array can dynamically change size when assigned to an
object field
changeset 70ed85d57999 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=70ed85d57999
author: ptisnovs
date: Wed Jun 29 12:06:12 2011 +0200
S6796786: invalid FP identity transform - (a - b) -> b - a S7042070:
Typo in Test6796786.java
changeset e481486df309 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=e481486df309
author: Andrew John Hughes
date: Wed Jun 29 18:16:57 2011 +0100
Check that JDK binaries are files in addition to being executable.
2011-06-29 Andrew John Hughes
* acinclude.m4: (IT_FIND_JAVA): Check that the
binary is also a regular file as well as executable.
(IT_FIND_JAVAH): Likewise. (IT_FIND_JAR): Likewise.
(IT_FIND_RMIC): Likewise. (IT_FIND_NATIVE2ASCII): Likewise.
changeset 446bbf94ddcc in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=446bbf94ddcc
author: Andrew John Hughes
date: Wed Jun 29 23:15:25 2011 +0100
Make the old gcj jaxws patch still apply, given the recent security
updates.
2011-06-29 Andrew John Hughes
* patches/ecj/jaxws-getdtdtype.patch: Fix patch to
still apply after recent security updates.
changeset 0bb30eda4814 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=0bb30eda4814
author: Andrew John Hughes
date: Wed Jun 29 23:30:27 2011 +0100
Update NEWS with latest bug fixes.
2011-06-29 Andrew John Hughes
* NEWS: Updated with latest bug fixes.
changeset 643ec5879fdd in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=643ec5879fdd
author: ptisnovs
date: Fri Jul 01 11:22:01 2011 +0200
S7029152: Ideal nodes for String intrinsics miss memory edge
optimization.
changeset 73e0d37b9ec3 in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=73e0d37b9ec3
author: ptisnovs
date: Fri Jul 01 14:41:45 2011 +0200
S6679308: Poor text rendering on translucent image
changeset 5deef52b5a9c in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=5deef52b5a9c
author: Andrew John Hughes
date: Wed Jul 06 17:11:34 2011 +0100
Merge
changeset 23404f48955e in /hg/icedtea6-hg
details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=23404f48955e
author: Andrew John Hughes
date: Wed Jul 06 20:45:21 2011 +0100
Support hg, post security patches.
2011-07-06 Andrew John Hughes
* patches/security/20110215/6878713.patch,
* patches/security/20110607/6213702.patch,
* patches/security/20110607/6618658.patch,
* patches/security/20110607/7012520.patch,
* patches/security/20110607/7013519.patch,
* patches/security/20110607/7013969.patch,
* patches/security/20110607/7013971.patch,
* patches/security/20110607/7016495.patch,
* patches/security/20110607/7020198.patch,
* patches/security/20110607/7020373.patch: Removed; upstream.
* Makefile.am: (JAXWS_DROP_ZIP): Updatede.
(JAXWS_DROP_SHA256SUM): Likewise. (JAXP_DROP_ZIP): Likewise.
(JAXP_DROP_SHA256SUM): Likewise. (SECURITY_PATCHES): Set to
empty.
* patches/xjc.patch: Revert to pre-security patch version
(security patch is now part of the tarball, not a patch)
diffstat:
AUTHORS | 1 +
ChangeLog | 531 +++
INSTALL | 16 +-
Makefile.am | 117 +-
NEWS | 33 +-
acinclude.m4 | 117 +-
configure.ac | 9 +
hotspot.map | 1 -
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p01.pam | 7 +
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p01.pam | 7 +
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgai4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgai4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgan6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgan6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgbn4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bggn4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgwn6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgyn6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ccwn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ccwn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdfn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdhn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdsn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdun2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ch1n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ch2n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cm0n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cm7n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cm9n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs3n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs3n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs5n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs5n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs8n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs8n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ct0n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ct1n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ctzn0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f00n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f00n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f01n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f01n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f02n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f02n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f03n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f03n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f04n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f04n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g03n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g03n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g03n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g04n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g04n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g04n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g05n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g05n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g05n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g07n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g07n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g07n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g10n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g10n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g10n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g25n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g25n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g25n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi1n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi1n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi2n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi2n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi4n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi4n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi9n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi9n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/pngsuite_logo.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/pp0n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/pp0n6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps1n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps1n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps2n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps2n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s01i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s01n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s02i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s02n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s03i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s03n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s04i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s04n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s05i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s05n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s06i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s06n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s07i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s07n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s08i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s08n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s09i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s09n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s32i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s32n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s33i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s33n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s34i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s34n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s35i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s35n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s36i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s36n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s37i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s37n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s38i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s38n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s39i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s39n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s40i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s40n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbbn1g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbbn2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbbn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbgn2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbgn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbrn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbwn1g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbwn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbyn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp0n1g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp0n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp0n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp1n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z00n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z03n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z06n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z09n2c08.pam | 0
patches/arm.patch | 56 +
patches/ecj/jaxws-getdtdtype.patch | 7 +-
patches/f14-fonts.patch | 2 +-
patches/fonts-gentoo.patch | 4 +-
patches/fonts-rhel-version.patch | 32 +
patches/fonts-rhel.patch | 3 +-
patches/gcc-suffix.patch | 29 +
patches/hotspot/hs20/7032388-work_without_cmov_instruction.patch | 173 -
patches/hotspot/hs20/7036220-shark_llvm_29_headers.patch | 43 -
patches/hotspot/hs20/arm.patch | 56 -
patches/hotspot/hs20/gcc-suffix.patch | 29 -
patches/hotspot/hs20/ia64-fix.patch | 14 -
patches/hotspot/hs20/params-cast-size_t.patch | 259 -
patches/hotspot/hs20/powerpc-stacksize.patch | 39 -
patches/hotspot/hs20/sparc-buildfixes.patch | 24 -
patches/hotspot/hs20/systemtap.patch | 99 -
patches/hotspot/hs20/text-relocations.patch | 60 -
patches/hotspot/original/7032388-work_without_cmov_instruction.patch | 152 -
patches/hotspot/original/arm.patch | 54 -
patches/hotspot/original/gcc-suffix.patch | 29 -
patches/hotspot/original/ia64-fix.patch | 28 -
patches/hotspot/original/no-precompiled-headers.patch | 33 -
patches/hotspot/original/params-cast-size_t.patch | 284 -
patches/hotspot/original/sparc-buildfixes.patch | 32 -
patches/hotspot/original/systemtap.patch | 97 -
patches/hotspot/original/text-relocations.patch | 58 -
patches/hotspot/original/too-many-args.patch | 45 -
patches/ia64-fix.patch | 14 +
patches/jamvm/ignore-unknown-options.patch | 12 -
patches/jaxp-serial-version-uid.patch | 51 -
patches/jtreg-ChangeDir.patch | 32 +
patches/jtreg-ChannelsWrite.patch | 50 +
patches/jtreg-EncodedMultiByteChar.patch | 23 +
patches/jtreg-FileLoaderTest.patch | 35 +
patches/jtreg-FileMap.patch | 23 +
patches/jtreg-MappedByteBuffer-Basic.patch | 94 +
patches/jtreg-ReadWriteProfileTest.patch | 123 +
patches/jtreg-TempBuffer.patch | 60 +
patches/jtreg-bug7036148-test.patch | 23 +
patches/jtreg-png-reader.patch | 412 ++-
patches/nio2.patch | 69 +-
patches/openjdk/6578583-modality-broken-vista.patch | 1439 ++++++++++
patches/openjdk/6599601-mark_sun_toolkit_privileged_code.patch | 21 -
patches/openjdk/6610244-modal-fatal-error-windows.patch | 121 +
patches/openjdk/6623219-Font_canDisplayUpTo_does_not_work.patch | 202 +
patches/openjdk/6633275-shaped_translucent_windows.patch | 117 +-
patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch | 511 +++
patches/openjdk/6693253-security_warning.patch | 25 +-
patches/openjdk/6699843-IllegalArgumentException_drawString.patch | 131 +
patches/openjdk/6768387-jtable_not_serializable.patch | 104 -
patches/openjdk/6769607-modal-hangs.patch | 161 +
patches/openjdk/6783910-java_awt_Color_brighter_darker_fix.patch | 139 +
patches/openjdk/6785424-SecurityException_locating_physical_fonts.patch | 95 +
patches/openjdk/6796786-invalid_FP_identity_transform.patch | 102 +
patches/openjdk/6818312-com.sun.awt.SecurityWarning.getSize.patch | 404 ++
patches/openjdk/6918065-Crash_in_Java2D_blit_loop.patch | 56 +
patches/openjdk/6956668-misbehavior_of_XOR_operator_with_int.patch | 91 +
patches/openjdk/6997495-test_correction_6857159.patch | 20 -
patches/openjdk/7008106-WindowOpacity.patch | 18 +
patches/openjdk/7029152-String_intrinsics_miss_optimization.patch | 379 ++
patches/openjdk/7029905-demo_applet_html_files.patch | 52 -
patches/openjdk/7032388-work_without_cmov_instruction.patch | 173 +
patches/openjdk/7036148-npe-null-jmenu-name.patch | 83 +
patches/openjdk/7036220-shark_llvm_29_headers.patch | 43 +
patches/openjdk/7042040-no_disk_space_check.patch | 112 -
patches/openjdk/7042070-Typo_in_Test6796786.patch | 32 +
patches/openjdk/7047069-Array_can_dynamically_change_size.patch | 237 +
patches/params-cast-size_t.patch | 259 +
patches/powerpc-stacksize.patch | 39 +
patches/security/20110215/6878713.patch | 138 -
patches/sparc-buildfixes.patch | 24 +
patches/support_linux_3.patch | 18 +
patches/systemtap.patch | 99 +
patches/text-relocations.patch | 60 +
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/ContextEvent.java | 68 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/ContextListener.java | 2 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Debug.java | 102 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/EventLoop.java | 332 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Operation.java | 184 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java | 826 ++--
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java | 724 ++--
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioLine.java | 120 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixer.java | 1147 +++---
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixerInfo.java | 28 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixerProvider.java | 32 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioPlaybackLine.java | 72 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioPort.java | 180 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java | 455 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourcePort.java | 68 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java | 582 ++-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java | 60 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioVolumeControl.java | 86 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/SecurityWrapper.java | 28 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java | 1289 ++++----
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/StreamBufferAttributes.java | 66 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/StreamSampleSpecification.java | 44 +-
pulseaudio/src/native/jni-common.c | 232 +-
pulseaudio/src/native/jni-common.h | 22 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_ContextEvent.c | 63 +
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_EventLoop.c | 298 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Operation.c | 41 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_PulseAudioSourcePort.c | 136 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_PulseAudioTargetPort.c | 140 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c | 1188 ++++---
266 files changed, 11198 insertions(+), 6523 deletions(-)
diffs (truncated from 21368 to 500 lines):
diff -r e191909a7c6e -r 23404f48955e AUTHORS
--- a/AUTHORS Mon May 30 19:21:44 2011 +0100
+++ b/AUTHORS Wed Jul 06 20:45:21 2011 +0100
@@ -8,6 +8,7 @@
Deepak Bhole
Tom Callaway
Pablo del Campo
+Danesh Dadachanji
Thomas Fitzsimmons
Matthew Flaschen
Michael Franz
diff -r e191909a7c6e -r 23404f48955e ChangeLog
--- a/ChangeLog Mon May 30 19:21:44 2011 +0100
+++ b/ChangeLog Wed Jul 06 20:45:21 2011 +0100
@@ -1,3 +1,468 @@
+2011-07-06 Andrew John Hughes
+
+ * patches/security/20110215/6878713.patch,
+ * patches/security/20110607/6213702.patch,
+ * patches/security/20110607/6618658.patch,
+ * patches/security/20110607/7012520.patch,
+ * patches/security/20110607/7013519.patch,
+ * patches/security/20110607/7013969.patch,
+ * patches/security/20110607/7013971.patch,
+ * patches/security/20110607/7016495.patch,
+ * patches/security/20110607/7020198.patch,
+ * patches/security/20110607/7020373.patch:
+ Removed; upstream.
+ * Makefile.am:
+ (JAXWS_DROP_ZIP): Updatede.
+ (JAXWS_DROP_SHA256SUM): Likewise.
+ (JAXP_DROP_ZIP): Likewise.
+ (JAXP_DROP_SHA256SUM): Likewise.
+ (SECURITY_PATCHES): Set to empty.
+ * patches/xjc.patch: Revert to pre-security
+ patch version (security patch is now part of the
+ tarball, not a patch)
+
+2011-07-01 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch:
+ Backport of 6679308.
+
+2011-07-01 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/7029152-String_intrinsics_miss_optimization.patch:
+ Backport of 7029152 fix.
+
+2011-06-29 Andrew John Hughes
+
+ * NEWS: Updated with latest bug fixes.
+
+2011-06-29 Andrew John Hughes
+
+ * patches/ecj/jaxws-getdtdtype.patch:
+ Fix patch to still apply after recent
+ security updates.
+
+2011-06-29 Andrew John Hughes
+
+ * acinclude.m4:
+ (IT_FIND_JAVA): Check that the binary is also
+ a regular file as well as executable.
+ (IT_FIND_JAVAH): Likewise.
+ (IT_FIND_JAR): Likewise.
+ (IT_FIND_RMIC): Likewise.
+ (IT_FIND_NATIVE2ASCII): Likewise.
+
+2011-06-29 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/6796786-invalid_FP_identity_transform.patch:
+ * patches/openjdk/7042070-Typo_in_Test6796786.patch:
+ Backport of 6796786 and 7042070 fixes.
+
+2011-06-29 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/7047069-Array_can_dynamically_change_size.patch:
+ Backport of 7047069 fix.
+
+2011-06-28 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6785424-SecurityException_locating_physical_fonts.patch:
+ Backport of 6785424 fix.
+
+2011-06-28 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6783910-java_awt_Color_brighter_darker_fix.patch:
+ Backport of 6783910 fix.
+
+2011-06-28 Andrew John Hughes
+
+ * Makefile.am: Add new patch.
+ * patches/support_linux_3.patch:
+ Allow Linux 3* through the HotSpot OS version
+ filter.
+
+2011-06-27 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6623219-Font_canDisplayUpTo_does_not_work.patch
+ Backport of 6623219 fix.
+
+2011-06-27 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6918065-Crash_in_Java2D_blit_loop.patch:
+ Backport of 6918065 fix.
+
+2011-06-27 Xerxes R??nby
+
+ JamVM
+ - Make classlib init functions consistent + warnings.
+ - Correctly implement sun.misc.Unsafe freeMemory().
+ - Move lazy-loading to init function.
+ - Fix various warnings with -Wall.
+ - PrintThreadsDump needs "self" as argument.
+ - CopyMemory, etc. handle negative or truncation in length.
+ - Extra sun.misc.Unsafe functions.
+ - Ignore options for jtreg tests.
+ - Enable shutdownVM to be called with OpenJDK classlib.
+ - Initial implementation of JVM_FindClassFromBootLoader.
+ - Fix callJNIMethod on i386 with -fomit-frame-pointer.
+ - Fix backwards cache conflict resolution code.
+ - Unify command line options parsing.
+ - Remove debug printf.
+ * NEWS: Updated.
+ * Makefile.am
+ (ICEDTEA_PATCHES): Remove upstreamed JamVM patch.
+ (JAMVM_VERSION): Updated JamVM to 2011-06-13 revision.
+ (JAMVM_SHA256SUM): Updated.
+ (stamps/jamvm.stamp):
+ Add -f when creating client symlink to handle repeat builds.
+ Link the fake libjsig.so to JamVM libjvm.so to work
+ with latest OpenJDK ALT_HOTSPOT_IMPORT_PATH functionality.
+ * patches/jamvm/ignore-unknown-options.patch: Removed.
+ Replaced by upstream, unify command line options parsing,
+ changeset 1b248439e88ae6cbd1471addc49e2666b8964ced.
+
+2011-06-24 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6699843-IllegalArgumentException_drawString.patch:
+ Backport of 6699843 fix.
+
+2011-06-24 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6956668-misbehavior_of_XOR_operator_with_int:
+ Backport of 6956668 fix.
+
+2011-06-23 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/7008106-WindowOpacity.patch:
+ Backport of 7008106 regression test fix.
+
+2011-06-23 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-MappedByteBuffer-Basic.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/java/nio/MappedByteBuffer/Basic.java
+ deletes all its work files.
+
+2011-06-22 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/openjdk/6818312-com.sun.awt.SecurityWarning.getSize.patch:
+ Backport of 6818312 regression test.
+
+2011-06-22 Pavel Tisnovsky
+
+ * Makefile.am: Added new patch.
+ * patches/jtreg-ReadWriteProfileTest.patch:
+ Added regression test missing from 6733501 backport.
+
+2011-06-22 Pavel Tisnovsky
+
+ * patches/jtreg-png-reader.patch:
+ Added new regression test which check if PNG
+ images read by ImageIO subsytstem contains
+ proper pixel values.
+
+2011-06-20 Denis Lila
+
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (SET_STREAM_ENUM): Add an underscore after java_prefix so that
+ the produced string matches the names in Stream.java.
+
+2011-06-20 Denis Lila
+
+ * Makefile.am: Add patch.
+ * patches/jtreg-bug7036148-test.patch:
+ Fix regression test. It used to never end, regardless of
+ success/failure.
+
+2011-06-20 Denis Lila
+
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
+ (bufferSize): Remove.
+ (getBufferSize): Return stream.getBufferSize().
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java
+ (connectLine): Improve formatting.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java
+ (connectLine): Set up flags to adjust the latency, if needed.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java
+ (bufAttr, bufAttrMutex): New members.
+ (setBufAttr, bufferAttrCallback): New methods. They both set bufAttr.
+ (getBufferSize): Return the current buffer size.
+ (connectForRecording): Add a flags argument to allow callers to chose the
+ flags.
+ (stateCallback): When the stream is ready, set the buffer attributes to
+ the actual ones used by the server.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (buf_attr_changed_callback): New function.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1new):
+ Set the buffer attribute callback.
+
+2011-06-17 Denis Lila
+
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java
+ (FLAG_NOFLAGS, FLAG_START_CORKED, FLAG_INTERPOLATE_TIMING,
+ FLAG_NOT_MONOTONIC, FLAG_AUTO_TIMING_UPDATE, FLAG_NO_REMAP_CHANNELS,
+ FLAG_NO_REMIX_CHANNELS, FLAG_FIX_FORMAT, FLAG_FIX_RATE,
+ FLAG_FIX_CHANNELS, FLAG_DONT_MOVE, FLAG_VARIABLE_RATE, FLAG_PEAK_DETECT,
+ FLAG_START_MUTED, FLAG_ADJUST_LATENCY, FLAG_EARLY_REQUESTS,
+ FLAG_DONT_INHIBIT_AUTO_SUSPEND, FLAG_START_UNMUTED, FLAG_FAIL_ON_SUSPEND):
+ New static long variables mirroring pa_stream_flag_t values.
+ (STATE_UNCONNECTED, STATE_CREATING, STATE_READY, STATE_FAILED,
+ STATE_TERMINATED): Add the STATE_ prefix to distinguish them from
+ the flag variables.
+ (native_pa_stream_connect_playback, native_pa_stream_connect_record):
+ Change flags parameter to long.
+ (connectForPlayback, connectForRecording): Start the stream corked.
+ Change formatting to make it more readable.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (SET_STREAM_ENUM): Renamed from SET_STREAM_STATE_ENUM, since the
+ macro could have been used for any PA_STREAM constants, not just
+ stream states (and indeed, we now use it for flag constants too).
+ (Java_org_classpath_icedtea_pulseaudio_Stream_init_1constants):
+ Initialize flag constants in addition to the stream states.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1connect_1playback):
+ Change flags parameter to jlong (from jint), remove commented out
+ dead code, remove obsolete comment, and start the stream with whatever
+ flags were passed in the flags parameter, instead of ignoring that
+ parameter and using PA_STREAM_START_CORKED.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1connect_1record):
+ Change flags parameter to jlong (from jint), remove commented out
+ dead code.
+
+2011-06-17 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-ChannelsWrite.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/java/nio/channels/Channels/Write.java
+ deletes all its work files.
+
+2011-06-16 Denis Lila
+
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
+ (addStreamListeners): Remove this.notifyAll() from
+ openCloseListener.update; change this.notifyAll() to
+ PulseAudioDataLine.this.notifyAll() in startedListener.update.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java
+ (read): Put fragmentBuffer null check in the synchronized block.
+ (flush): Make it synchronized to avoid race condition with read().
+
+2011-06-16 Denis Lila
+
+ * Makefile.am: Add ContextEvent to the list of pulse audio classes that
+ need javah run on them.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/ContextEvent.java
+ (Type): Remove and replace with...
+ (UNCONNECTED, CONNECTING, AUTHORIZING, SETTING_NAME, READY, FAILED,
+ TERMINATED): New static long variables replacing enum Type.
+ (init_constants): New native method to initialize the above variables.
+ (checkNativeEnumReturn): Make sure that the input is one of the longs
+ representing the type of ContextEvent.
+ (type): Change type from Type to long.
+ (ContextEvent): Take a long argument, instead of a Type.
+ (getType): Return a long, not a Type.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/EventLoop.java
+ (status): Change from int to long.
+ (native_set_sink_volume): Remove. It was unimplemented in the JNI side.
+ (getStatus): Return long instead of int.
+ (update): Replace int argument with long argument. Remove the switch
+ statement.
+ (setVolume): Remove. Unused.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Operation.java
+ (State): Remove and replace with...
+ (Running, Done, Cancelled): Static longs, enumerating the possible
+ operation states.
+ (init_constants): New native method to initialize the above variables.
+ (checkNativeOperationState): Make sure that the input is one of the longs
+ representing the operation state.
+ (native_get_state): Change return type from int to long.
+ (getState): Change return type to long; remove switch.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
+ Remove the names of enums from the names of constants since most of them
+ were changed to static longs.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixer.java
+ Same changes as in PulseAudioDataLine.java.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java
+ (State): Remove and replace with...
+ (UNCONNECTED, CREATING, READY, FAILED, TERMINATED): New static long variables
+ replacing enum Type.
+ (init_constants): New native method to initialize the above variables.
+ (checkNativeStreamState): Make sure that the input is one of the longs
+ representing the kind of StreamState.
+ (native_pa_stream_get_state): Change the return from int to long.
+ (getState): Remove the switch.
+ * pulseaudio/src/native/jni-common.h
+ (SET_JAVA_STATIC_LONG_FIELD_TO_PA_ENUM): Macro that sets one of the java
+ static longs to the corresponding pa_constant.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_ContextEvent.c
+ New file.
+ (SET_CONTEXT_ENUM): Macro that sets the ContextEvent types.
+ (Java_org_classpath_icedtea_pulseaudio_ContextEvent_init_1constants):
+ Implementation of ContextEvent.init_constants.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_EventLoop.c
+ (context_change_callback): Change the fourth argument of GetMethodID
+ to "(J)V" to reflect the change in the signature of EventLoop.update.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Operation.c
+ (SET_OP_ENUM): Macro that sets the operation types.
+ (Java_org_classpath_icedtea_pulseaudio_Operation_init_1constants):
+ Implementation of Operation.init_constants.
+ (Java_org_classpath_icedtea_pulseaudio_Operation_native_1get_1state):
+ Change return type to jlong.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (SET_STREAM_ENUM): Macro that sets the stream states.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_init_1constants):
+ Implementation of Stream.init_constants.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1get_1state):
+ Change return type to jlong.
+
+2011-06-16 Pavel Tisnovsky
+
+ * Makefile.am: fixed indentation (spaces2tabs)
+
+2011-06-16 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-FileMap.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/sun/net/www/protocol/file/FileMap.java
+ deletes all its work files.
+
+2011-06-15 Danesh Dadachanji
+
+ * AUTHORS: Added myself.
+ * Makefile.am: Use explicit xml-commons locations if necessary.
+ * acinclude.m4: Added explicit xml-commons check.
+ (IT_CHECK_IF_INSTANTIABLE): Added generic macro to instantiate any
+ class. Paramaters are the define, name of the class, paramaters
+ for instatiation and (optional) classpath.
+ * configure.ac: Invoke IT_FIND_XML_COMMONS_APIS_JAR macro after
+ IT_FIND_XERCES2_JAR, assigns XML_COMMONS_APIS_JAR if necessary.
+
+2011-06-15 Denis Lila
+
+ * Makefile.am: Add back the -classpath option to javah in
+ building the pulse audio header files. The bootstrap javah
+ doesn't recognize -J-Xbootclasspath/p: so it couldn't find
+ the classfiles.
+
+2011-06-15 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-EncodedMultiByteChar.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/sun/net/www/protocol/file/EncodedMultiByteChar.java
+ deletes all its work files.
+
+2011-06-14 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-FileLoaderTest.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/sun/misc/URLClassPath/FileLoaderTest.java
+ deletes all its work files.
+
+2011-06-14 Denis Lila
+
+ * Makefile.am: Add patch.
+ * NEWS: Update with backports.
+ * patches/openjdk/7036148-npe-null-jmenu-name.patch:
+ Backport of S7036148. Fixes RH712211 too.
+
+2011-06-14 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-TempBuffer.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/sun/nio/ch/TempBuffer.java
+ deletes all its work files.
+
+2011-06-14 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-ChangeDir.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/tools/jar/ChangeDir.java
+ deletes all its work files.
+
+2011-05-23 Andrew John Hughes
+
+ * Makefile.am: Add security patches.
+ * patches/nio2.patch: Rerolled post-security
+ patching.
+ * patches/security/20110607/6213702.patch,
+ * patches/security/20110607/6618658.patch,
+ * patches/security/20110607/7012520.patch,
+ * patches/security/20110607/7013519.patch,
+ * patches/security/20110607/7013969.patch,
+ * patches/security/20110607/7013971.patch,
+ * patches/security/20110607/7016495.patch,
+ * patches/security/20110607/7020198.patch,
+ * patches/security/20110607/7020373.patch:
+ New security patches.
+ * patches/xjc.patch: Rerolled after 7013971.
+
+2011-06-10 Denis Lila
+
+ * pulseaudio/*: Fix whitespace.
+
+2011-06-10 Denis Lila
+
+ * Makefile.am
+ (stamps/pulse-java-headers.stamp): Prepend the java build directory
+ to the boot class path to avoid generating headers for the system
+ pulse-java classes.
+
+2011-06-10 Pavel Tisnovsky
+
+ * patches/font-rhel.patch:
+ * patches/f14-fonts.patch:
+ * patches/fonts-gentoo.patch:
+ Patch updated: use only major RHEL version, not minor one.
+
+2011-06-09 Denis Lila
+
+ * Makefile.am: Apply patches.
+ * NEWS: Update with backports.
+ * patches/openjdk/6578583-modality-broken-vista.patch:
+ * patches/openjdk/6610244-modal-fatal-error-windows.patch:
+ * patches/openjdk/6769607-modal-hangs.patch:
+ New patches. The last fixes PR677. The other two are
+ necessary for the last to fully apply.
+ * patches/openjdk/6693253-security_warning.patch:
+ Replsace the awt_Dialog.cpp hunk with the corresponding hunk
+ from the OpenJDK7 changeset of which this patch is a backport.
+ Without this change, this patch doesn't apply unless the
+ previous 3 are removed.
+
+2011-06-09 Pavel Tisnovsky
+
+ * Makefile.am: Added new patch
+ * patches/fonts-rhel-version.patch:
+ Patch which ensures, that only one fontconfig file
+ will be needed on particular RHEL version
+ (ie. only one file for RHEL 6.0, RHEL 6.1 and RHEL 6.2)
+
2011-05-30 Andrew John Hughes
* patches/openjdk/7036220-shark_llvm_29_headers.patch:
@@ -36,6 +501,54 @@
make the test compatible with OpenJDK7/IcedTea7, disabling printing
unnecessary information to error output.
+2011-05-18 Andrew John Hughes
+
+ * patches/hotspot/hs20/7032388-work_without_cmov_instruction.patch,
+ * patches/hotspot/hs20/arm.patch,
+ * patches/hotspot/hs20/gcc-suffix.patch,
+ * patches/hotspot/hs20/ia64-fix.patch,
+ * patches/hotspot/hs20/params-cast-size_t.patch,
+ * patches/hotspot/hs20/powerpc-stacksize.patch,
+ * patches/hotspot/hs20/sparc-buildfixes.patch,
+ * patches/hotspot/hs20/systemtap.patch,
+ * patches/hotspot/hs20/text-relocations.patch:
+ Moved to main tree.
+ * patches/hotspot/original/7032388-work_without_cmov_instruction.patch,
From smohamma at redhat.com Wed Jul 6 13:21:48 2011
From: smohamma at redhat.com (Saad Mohammad)
Date: Wed, 6 Jul 2011 16:21:48 -0400 (EDT)
Subject: [RFC][PATCH][icedtea-web]: Added support for signed JNLP file-
Updated Patch
In-Reply-To: <4E14B940.6080109@redhat.com>
Message-ID: <599542361.239417.1309983708911.JavaMail.root@zmail02.collab.prod.int.phx2.redhat.com>
My previous email did not have proper indentation for my changelog. There is something wrong with my email client. :\
2011-07-06 Saad Mohammad
* netx/net/sourceforge/jnlp/JNLPMatcher.java:
Created this class to compare signed JNLP file with the launching JNLP file.
When comparing, it has support for both method of signing of a JNLP file: APPLICATION_TEMPLATE.JNLP
and APPLICATION.JNLP
* netx/net/sourceforge/jnlp/JNLPMatcherException.java:
Added a custom exception: JNLPMatcherException. Thrown if verifying signed JNLP files fails
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
Added JNLPMatcherException to methods that throws the custom exception.
(initializeResources): Checks if there are any signed JNLP files within the signed jars.
If signed JNLP file fails to match or fails to be verified, the application throws
a JNLPMatcherException.
* netx/net/sourceforge/jnlp/Node.java:
Created a method that retrieves the attribute names of the Node and stores it in
private string [] member. The method returns the attribute names.
* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java:
This is a test case that tests the functionality of JNLPMatcher. It tests the algorithm
with a variety of template and application JNLP files.
* tests/netx/unit/net/sourceforge/jnlp/launchApp.jnlp:
Launching JNLP file: This is the launching JNLP file used to compare with templates and
application JNLP files in JNLPMatcherTest.java
* tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp:
Test Template JNLP file: Contains CDATA
* tests/netx/unit/net/sourceforge/jnlp/templates/template1.jnlp:
Test Template JNLP file: An exact duplicate of the launching JNLP file
* tests/netx/unit/net/sourceforge/jnlp/templates/template2.jnlp:
Test Template JNLP file: Contains wildchars as attribute/element values
* tests/netx/unit/net/sourceforge/jnlp/templates/template3.jnlp:
Test Template JNLP file: Different order of element/attributes (but same value)
* tests/netx/unit/net/sourceforge/jnlp/templates/template4.jnlp:
Test Template JNLP file: Contains wildchars as values of ALL elements and attribute
* tests/netx/unit/net/sourceforge/jnlp/templates/template5.jnlp:
Test Template JNLP file: Contains comments
* tests/netx/unit/net/sourceforge/jnlp/templates/template6.jnlp:
Test Template JNLP file: Contains different attribute and element values
* tests/netx/unit/net/sourceforge/jnlp/templates/template7.jnlp:
Test Template JNLP file: Contains additional children in element
* tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp:
Test Template JNLP file: Contains fewer children in element
* tests/netx/unit/net/sourceforge/jnlp/templates/template9.jnlp:
Test Template JNLP file: All values are different from the launching JNLP file
* tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp:
Test Application JNLP file: Contains CDATA
* tests/netx/unit/net/sourceforge/jnlp/application/application1.jnlp:
Test Application JNLP file: An exact duplicate of the launching JNLP file
* tests/netx/unit/net/sourceforge/jnlp/application/application2.jnlp:
Test Application JNLP file: Different order of element/attributes (but same value)
* tests/netx/unit/net/sourceforge/jnlp/application/application3.jnlp:
Test Application JNLP file: Contains comments
* tests/netx/unit/net/sourceforge/jnlp/application/application4.jnlp:
Test Application JNLP file: Contains wildchars as attribute/element values
* tests/netx/unit/net/sourceforge/jnlp/application/application5.jnlp:
Test Application JNLP file: Contains a different attribute (codebase) value
* tests/netx/unit/net/sourceforge/jnlp/application/application6.jnlp:
Test Application JNLP file: Contains additional children in element
* tests/netx/unit/net/sourceforge/jnlp/application/application7.jnlp:
Test Application JNLP file: Contains fewer children in element
* tests/netx/unit/net/sourceforge/jnlp/application/application8.jnlp:
Test Application JNLP file: All values are different from the launching JNLP file
* Makefile.am:
(run-netx-unit-tests) Creates directories and copies resources (JNLP files) to test.build before
running unit test: JNLPMatcherTest
From andrew at icedtea.classpath.org Wed Jul 6 15:24:37 2011
From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org)
Date: Wed, 06 Jul 2011 22:24:37 +0000
Subject: /hg/icedtea6: 2 new changesets
Message-ID:
changeset bfbd7ccaa20c in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=bfbd7ccaa20c
author: Andrew John Hughes
date: Wed Jul 06 20:55:06 2011 +0100
Normalise whitespace in JPEG code.
2011-07-06 Andrew John Hughes
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/
codec/jpeg/ImageFormatException.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGCodec.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGDecodeParam.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGEncodeParam.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGHuffmanTable.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGImageDecoder.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGImageEncoder.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGQTable.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/TruncatedFileException.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEG
ImageDecoderImpl.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEG
ImageEncoderImpl.java,
* overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEG
Param.java: Normalise whitespace using Oracle normaliser.
changeset 944778c61e3c in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=944778c61e3c
author: Andrew John Hughes
date: Wed Jul 06 23:24:30 2011 +0100
PR icedtea/752: Increase binary compatibility of JPEG classes.
2011-07-06 Andrew John Hughes
Make JPEG classes more binary compatible with Oracle
versions.
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/ImageFormatException.java: Extend RuntimeException.
(ImageFormatException()): Call superclass constructor.
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGCodec.java: (JPEGCodec()): Make explicit private
constructor to prevent implicit public one.
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGHuffmanTable.java: Don't extend
javax.imageio.plugins.jpeg.JPEGHuffmanTable. (lengths):
Added. (symbols): Added. (JPEGHuffmanTable(short[],
short[])): Perform checks outlined in documentation.
(getLengths()): Added. (getSymbols()): Return symbols.
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/JPEGImageEncoder.java: (getDefaultColorId(ColorModel)): Fix
typo (was DefaultColorID).
* overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg
/TruncatedFileException.java:
(TruncatedFileException(BufferedImage)): Add missing constructor.
(TruncatedFileException(Raster)): Likewise.
(getBufferedImage()): Implemented. (getRaster()): Add
missing method. (TruncatedFileException()): Removed.
(TruncatedFileException(String)): Likewise.
* overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEG
ImageDecoderImpl.java: (decodeAsBufferedImage()): Remove
unneeded qualification and convert from com.sun JPEGHuffmanTable
to javax.imageio one.
* overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEG
ImageEncoderImpl.java: (getDefaultColorId(ColorModel)): Fix
typo (was DefaultColorID).
* NEWS: Updated.
diffstat:
ChangeLog | 48 +
NEWS | 1 +
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java | 20 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java | 118 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGDecodeParam.java | 74 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGEncodeParam.java | 60 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGHuffmanTable.java | 70 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageDecoder.java | 14 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java | 40 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGQTable.java | 64 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/TruncatedFileException.java | 48 +-
overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageDecoderImpl.java | 65 +-
overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageEncoderImpl.java | 154 +-
overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGParam.java | 846 +++++-----
14 files changed, 875 insertions(+), 747 deletions(-)
diffs (truncated from 2788 to 500 lines):
diff -r 73e0d37b9ec3 -r 944778c61e3c ChangeLog
--- a/ChangeLog Fri Jul 01 14:41:45 2011 +0200
+++ b/ChangeLog Wed Jul 06 23:24:30 2011 +0100
@@ -1,3 +1,51 @@
+2011-07-06 Andrew John Hughes
+
+ Make JPEG classes more binary compatible with
+ Oracle versions.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java:
+ Extend RuntimeException.
+ (ImageFormatException()): Call superclass constructor.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java:
+ (JPEGCodec()): Make explicit private constructor to prevent implicit public one.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGHuffmanTable.java:
+ Don't extend javax.imageio.plugins.jpeg.JPEGHuffmanTable.
+ (lengths): Added.
+ (symbols): Added.
+ (JPEGHuffmanTable(short[], short[])): Perform checks outlined in documentation.
+ (getLengths()): Added.
+ (getSymbols()): Return symbols.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java:
+ (getDefaultColorId(ColorModel)): Fix typo (was DefaultColorID).
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/TruncatedFileException.java:
+ (TruncatedFileException(BufferedImage)): Add missing constructor.
+ (TruncatedFileException(Raster)): Likewise.
+ (getBufferedImage()): Implemented.
+ (getRaster()): Add missing method.
+ (TruncatedFileException()): Removed.
+ (TruncatedFileException(String)): Likewise.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageDecoderImpl.java:
+ (decodeAsBufferedImage()): Remove unneeded qualification and convert from com.sun JPEGHuffmanTable
+ to javax.imageio one.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageEncoderImpl.java:
+ (getDefaultColorId(ColorModel)): Fix typo (was DefaultColorID).
+ * NEWS: Updated.
+
+2011-07-06 Andrew John Hughes
+
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGDecodeParam.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGEncodeParam.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGHuffmanTable.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageDecoder.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGQTable.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/TruncatedFileException.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageDecoderImpl.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageEncoderImpl.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGParam.java:
+ Normalise whitespace using Oracle normaliser.
+
2011-07-01 Pavel Tisnovsky
* Makefile.am: added new patches
diff -r 73e0d37b9ec3 -r 944778c61e3c NEWS
--- a/NEWS Fri Jul 01 14:41:45 2011 +0200
+++ b/NEWS Wed Jul 06 23:24:30 2011 +0100
@@ -52,6 +52,7 @@
- S7031385, PR680: Incorrect register allocation in orderAccess_linux_x86.inline.hpp
- PR748: Icedtea6 fails to build with Linux 3.0.
- PR744: icedtea6-1.10.2 : patching error
+ - PR752: ImageFormatException extends Exception not RuntimeException
* Allow selection of test suites using the jtreg_checks argument e.g. jtreg_checks="langtools"
* CACAO
- Threadlist & threadobject improvements.
diff -r 73e0d37b9ec3 -r 944778c61e3c overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java
--- a/overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java Fri Jul 01 14:41:45 2011 +0200
+++ b/overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java Wed Jul 06 23:24:30 2011 +0100
@@ -1,28 +1,29 @@
/* ImageFormatException.java
* Copyright (C) 2007 Matthew Flaschen
- *
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
* This file is part of IcedTea
- *
+ *
* IcedTea is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; 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 GNU Classpath; see the file COPYING. If not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
- *
+ *
* Linking this library statically or dynamically with other modules is
* making a combined work based on this library. Thus, the terms and
* conditions of the GNU General Public License cover the whole
* combination.
- *
+ *
* As a special exception, the copyright holders of this library give you
* permission to link this library with independent modules to produce an
* executable, regardless of the license terms of these independent
@@ -38,12 +39,13 @@
package com.sun.image.codec.jpeg;
-public class ImageFormatException extends Exception {
+public class ImageFormatException extends RuntimeException {
+
public ImageFormatException() {
- this("");
+ super();
}
public ImageFormatException(String s) {
- super(s);
+ super(s);
}
}
diff -r 73e0d37b9ec3 -r 944778c61e3c overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java
--- a/overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java Fri Jul 01 14:41:45 2011 +0200
+++ b/overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java Wed Jul 06 23:24:30 2011 +0100
@@ -1,29 +1,29 @@
/* JPEGCodec.java --
* Copyright (C) 2007 Free Software Foundation, Inc.
* Copyright (C) 2007 Matthew Flaschen
- *
+ *
* This file is part of GNU Classpath.
- *
+ *
* GNU Classpath 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.
- *
+ *
* GNU Classpath 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 GNU Classpath; see the file COPYING. If not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
- *
+ *
* Linking this library statically or dynamically with other modules is
* making a combined work based on this library. Thus, the terms and
* conditions of the GNU General Public License cover the whole
* combination.
- *
+ *
* As a special exception, the copyright holders of this library give you
* permission to link this library with independent modules to produce an
* executable, regardless of the license terms of these independent
@@ -56,136 +56,138 @@
*/
public class JPEGCodec {
+ private JPEGCodec() {}
+
/**
* This creates an instance of a JPEGImageDecoder that can be used to decode
* JPEG Data streams.
- *
+ *
* @param src
* @return
*/
public static JPEGImageDecoder createJPEGDecoder(InputStream src) {
- return new JPEGImageDecoderImpl(src);
+ return new JPEGImageDecoderImpl(src);
}
/**
* This creates an instance of a JPEGImageDecoder that can be used to decode
* JPEG Data streams.
- *
+ *
* @param src
* @param jdp
* @return
*/
public static JPEGImageDecoder createJPEGDecoder(InputStream src,
- JPEGDecodeParam jdp) {
- return new JPEGImageDecoderImpl(src, jdp);
+ JPEGDecodeParam jdp) {
+ return new JPEGImageDecoderImpl(src, jdp);
}
/**
* This creates an instance of a JPEGImageEncoder that can be used to encode
* image data as JPEG Data streams.
- *
+ *
* @param os
* @return
*/
public static JPEGImageEncoder createJPEGEncoder(OutputStream os) {
- return new JPEGImageEncoderImpl(os);
+ return new JPEGImageEncoderImpl(os);
}
/**
* This creates an instance of a JPEGImageEncoder that can be used to encode
* image data as JPEG Data streams.
- *
+ *
* @param dest
* @param jep
* @return
*/
public static JPEGImageEncoder createJPEGEncoder(OutputStream dest,
- JPEGEncodeParam jep) {
- return new JPEGImageEncoderImpl(dest, jep);
+ JPEGEncodeParam jep) {
+ return new JPEGImageEncoderImpl(dest, jep);
}
/**
* This is a factory method for creating JPEGEncodeParam objects.
- *
+ *
* @param bi
* @return
*/
public static JPEGEncodeParam getDefaultJPEGEncodeParam(BufferedImage bi) {
- return getDefaultJPEGEncodeParam(bi.getRaster(),
- getDefaultColorID(bi.getColorModel()));
+ return getDefaultJPEGEncodeParam(bi.getRaster(),
+ getDefaultColorID(bi.getColorModel()));
}
/**
* This is a factory method for creating JPEGEncodeParam objects.
- *
+ *
* @param numBands
* @param colorID
* @return
*/
public static JPEGEncodeParam getDefaultJPEGEncodeParam(int numBands,
- int colorID) {
- return new JPEGParam(colorID, numBands);
+ int colorID) {
+ return new JPEGParam(colorID, numBands);
}
/**
* This is a factory method for creating a JPEGEncodeParam from a
* JPEGDecodeParam.
- *
+ *
* @param jdp
* @return
*/
public static JPEGEncodeParam getDefaultJPEGEncodeParam(JPEGDecodeParam jdp) {
- return new JPEGParam(jdp);
+ return new JPEGParam(jdp);
}
/**
* This is a factory method for creating JPEGEncodeParam objects.
- *
+ *
* @param ras
* @param colorID
* @return
*/
public static JPEGEncodeParam getDefaultJPEGEncodeParam(Raster ras,
- int colorID) {
- return getDefaultJPEGEncodeParam(ras.getNumBands(), colorID);
+ int colorID) {
+ return getDefaultJPEGEncodeParam(ras.getNumBands(), colorID);
}
private static int getDefaultColorID(ColorModel cm) {
- ColorSpace cs = cm.getColorSpace();
- int type = cs.getType();
- int id = -1;
- switch (type) {
- case ColorSpace.TYPE_GRAY:
- id = JPEGEncodeParam.COLOR_ID_GRAY;
- break;
+ ColorSpace cs = cm.getColorSpace();
+ int type = cs.getType();
+ int id = -1;
+ switch (type) {
+ case ColorSpace.TYPE_GRAY:
+ id = JPEGEncodeParam.COLOR_ID_GRAY;
+ break;
- case ColorSpace.TYPE_RGB:
- id = cm.hasAlpha() ? JPEGEncodeParam.COLOR_ID_RGBA
- : JPEGEncodeParam.COLOR_ID_RGB;
+ case ColorSpace.TYPE_RGB:
+ id = cm.hasAlpha() ? JPEGEncodeParam.COLOR_ID_RGBA
+ : JPEGEncodeParam.COLOR_ID_RGB;
- case ColorSpace.TYPE_YCbCr:
- try {
- if (cs == ColorSpace.getInstance(ColorSpace.CS_PYCC)) {
- id = cm.hasAlpha() ? JPEGEncodeParam.COLOR_ID_PYCCA
- : JPEGEncodeParam.COLOR_ID_PYCC;
- }
- } catch (IllegalArgumentException e) {
- /* We know it isn't PYCC type, nothing to handle */
- }
- if (id == -1) {
- id = cm.hasAlpha() ? JPEGEncodeParam.COLOR_ID_YCbCrA
- : JPEGEncodeParam.COLOR_ID_YCbCr;
- }
- break;
+ case ColorSpace.TYPE_YCbCr:
+ try {
+ if (cs == ColorSpace.getInstance(ColorSpace.CS_PYCC)) {
+ id = cm.hasAlpha() ? JPEGEncodeParam.COLOR_ID_PYCCA
+ : JPEGEncodeParam.COLOR_ID_PYCC;
+ }
+ } catch (IllegalArgumentException e) {
+ /* We know it isn't PYCC type, nothing to handle */
+ }
+ if (id == -1) {
+ id = cm.hasAlpha() ? JPEGEncodeParam.COLOR_ID_YCbCrA
+ : JPEGEncodeParam.COLOR_ID_YCbCr;
+ }
+ break;
- case ColorSpace.TYPE_CMYK:
- id = JPEGEncodeParam.COLOR_ID_CMYK;
- break;
+ case ColorSpace.TYPE_CMYK:
+ id = JPEGEncodeParam.COLOR_ID_CMYK;
+ break;
- default:
- id = JPEGEncodeParam.COLOR_ID_UNKNOWN;
- }
+ default:
+ id = JPEGEncodeParam.COLOR_ID_UNKNOWN;
+ }
- return id;
+ return id;
}
}
diff -r 73e0d37b9ec3 -r 944778c61e3c overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGDecodeParam.java
--- a/overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGDecodeParam.java Fri Jul 01 14:41:45 2011 +0200
+++ b/overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGDecodeParam.java Wed Jul 06 23:24:30 2011 +0100
@@ -1,29 +1,29 @@
/* JPEGImageDecoder.java --
* Copyright (C) 2007 Free Software Foundation, Inc.
* Copyright (C) 2007 Matthew Flaschen
- *
+ *
* This file is part of GNU Classpath.
- *
+ *
* GNU Classpath 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.
- *
+ *
* GNU Classpath 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 GNU Classpath; see the file COPYING. If not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
- *
+ *
* Linking this library statically or dynamically with other modules is
* making a combined work based on this library. Thus, the terms and
* conditions of the GNU General Public License cover the whole
* combination.
- *
+ *
* As a special exception, the copyright holders of this library give you
* permission to link this library with independent modules to produce an
* executable, regardless of the license terms of these independent
@@ -72,20 +72,20 @@
* with the BufferedImage returned rather than make assumptions.
*
* DECODING:
- *
+ *
*
- * JPEG (Encoded) Color ID BufferedImage ColorSpace
- * ======================= ========================
- * COLOR_ID_UNKNOWN ** Invalid **
+ * JPEG (Encoded) Color ID BufferedImage ColorSpace
+ * ======================= ========================
+ * COLOR_ID_UNKNOWN ** Invalid **
* COLOR_ID_GRAY CS_GRAY
- * COLOR_ID_RGB CS_sRGB
- * COLOR_ID_YCbCr CS_sRGB
+ * COLOR_ID_RGB CS_sRGB
+ * COLOR_ID_YCbCr CS_sRGB
* COLOR_ID_CMYK ** Invalid **
- * COLOR_ID_PYCC CS_PYCC
- * COLOR_ID_RGBA CS_sRGB (w/ alpha)
- * COLOR_ID_YCbCrA CS_sRGB (w/ alpha)
+ * COLOR_ID_PYCC CS_PYCC
+ * COLOR_ID_RGBA CS_sRGB (w/ alpha)
+ * COLOR_ID_YCbCrA CS_sRGB (w/ alpha)
* COLOR_ID_RGBA_INVERTED ** Invalid **
- * COLOR_ID_YCbCrA_INVERTED ** Invalid **
+ * COLOR_ID_YCbCrA_INVERTED ** Invalid **
* COLOR_ID_PYCCA CS_PYCC (w/ alpha)
* COLOR_ID_YCCK ** Invalid **
*
@@ -173,14 +173,14 @@
/**
* Get the image width.
- *
+ *
* @return int the width of the image data in pixels.
*/
public int getWidth();
/**
* Get the image height.
- *
+ *
* @return The height of the image data in pixels.
*/
public int getHeight();
@@ -191,7 +191,7 @@
* output pixel. This is distinct from the way the JPEG to each output
* pixel. This is distinct from the way the JPEG standard defines this
* quantity, because fractional subsampling factors are not allowed.
- *
+ *
* @param component
* The component of the encoded image to return the subsampling
* factor for.
@@ -205,7 +205,7 @@
* output pixel. This is distinct from the way the JPEG to each output
* pixel. This is distinct from the way the JPEG standard defines this
* quantity, because fractional subsampling factors are not allowed.
- *
+ *
* @param component
* The component of the encoded image to return the subsampling
* factor for.
@@ -216,7 +216,7 @@
/**
* Returns the coefficient quantization tables or NULL if not defined.
* tableNum must range in value from 0 - 3.
- *
+ *
* @param tableNum
* the index of the table to be returned.
* @return Quantization table stored at index tableNum.
@@ -225,7 +225,7 @@
/**
* Returns the Quantization table for the requested component.
- *
+ *
* @param component
* the image component of interest.
* @return Quantization table associated with component
@@ -234,7 +234,7 @@
/**
* Returns the DC Huffman coding table requested or null if not defined
- *
+ *
* @param tableNum
* the index of the table to be returned.
* @return Huffman table stored at index tableNum.
@@ -243,7 +243,7 @@
/**
* Returns the DC Huffman coding table for the requested component.
- *
+ *
* @param component
* the image component of interest.
* @return Huffman table associated with component
@@ -252,7 +252,7 @@
/**
* Returns the AC Huffman coding table requested or null if not defined
- *
+ *
* @param tableNum
From bugzilla-daemon at icedtea.classpath.org Wed Jul 6 15:36:15 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Wed, 06 Jul 2011 22:36:15 +0000
Subject: [Bug 706] b136 fails to build with gas trunk 20110501 on ix86
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=706
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Andrew John Hughes 2011-07-06 22:36:15 ---
Closing; IcedTea7 uses b143 now.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From ptisnovs at icedtea.classpath.org Thu Jul 7 02:47:19 2011
From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org)
Date: Thu, 07 Jul 2011 09:47:19 +0000
Subject: /hg/icedtea6: Fixed test location (added missing prefix 'jdk' in...
Message-ID:
changeset 922f35a6bf90 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=922f35a6bf90
author: ptisnovs
date: Thu Jul 07 11:47:06 2011 +0200
Fixed test location (added missing prefix 'jdk' into path).
diffstat:
ChangeLog | 5 +++++
patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch | 1 -
2 files changed, 5 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 944778c61e3c -r 922f35a6bf90 ChangeLog
--- a/ChangeLog Wed Jul 06 23:24:30 2011 +0100
+++ b/ChangeLog Thu Jul 07 11:47:06 2011 +0200
@@ -1,3 +1,8 @@
+2011-07-07 Pavel Tisnovsky
+
+ * patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch:
+ Fixed test location (added missing prefix 'jdk' into path).
+
2011-07-06 Andrew John Hughes
Make JPEG classes more binary compatible with
diff -r 944778c61e3c -r 922f35a6bf90 patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch
--- a/patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch Wed Jul 06 23:24:30 2011 +0100
+++ b/patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch Thu Jul 07 11:47:06 2011 +0200
@@ -425,7 +425,7 @@
}
diff -r f50304904b8f -r d7accc312aec test/java/awt/Graphics2D/DrawString/AlphaSurfaceText.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
-+++ openjdk/test/java/awt/Graphics2D/DrawString/AlphaSurfaceText.java Mon Apr 28 15:57:46 2008 -0700
++++ openjdk/jdk/test/java/awt/Graphics2D/DrawString/AlphaSurfaceText.java Mon Apr 28 15:57:46 2008 -0700
@@ -0,0 +1,106 @@
+/*
+ * Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
From jvanek at redhat.com Thu Jul 7 02:57:57 2011
From: jvanek at redhat.com (Jiri Vanek)
Date: Thu, 07 Jul 2011 11:57:57 +0200
Subject: RFC: Separation of JTreg tool into independent project
In-Reply-To: <20110705011948.GC17947@shelob.middle-earth.co.uk>
References: <4E11B0E3.7040605@centrum.cz>
<20110705011948.GC17947@shelob.middle-earth.co.uk>
Message-ID: <4E158325.5070807@redhat.com>
On 07/05/2011 03:19 AM, Andrew John Hughes wrote:
> On Mon, Jul 04, 2011 at 02:24:03PM +0200, Pavel Tisnovsky wrote:
>> Hi all,
>>
>> some time ago I discussed with Andrew John Hughes about the separation
>> of JTreg tool from the IcedTea6 and IcedTea7 projects. In summary (ie
>> how I understand this task): JTreg should be developed as independent
>> project and in the future they should be synchronized with recent JTreg
>> version (used by Oracle guys AFAIK).
>>
>
> Yes, but that's not what this patch seems to do. It just moves the source
> code out of the tree into a zip somewhere. I was envisaging jtreg being
> a separate project like the visualvm one with its own build infrastructure.
> You'd then point configure at an installed jtreg.jar. That could be built
> from the IcedTea jtreg project or alternatively, you could use the one
> Oracle provide if you were willing to accept the proprietary licensing
> this entails.
When you are writing "like visualvm" you mean also specfile? I guess (and hope) not - as I do not see any reason why to make an distribution package for this suite.
For the rest - you suggest to have hg repository beside icedteas, inside jtreg sources with its makefile.am and configure scripts and possible patches. Yes?
Tests itself will remain in openjdk. (?)
Build of icedtea will remain untouched unless some "test yourself" will be enabled. In case of enabled, it will download some released tarball and will use it [rfc].
In similar scenarios I will be happy to have jtreg in separate "package".
>
>> In the attachment there's very first version of patched Makefile.am from
>> IcedTea6 HEAD. When user call command 'make jtreg' from command line,
>> archive containing stable version of JTreg tool sources is downloaded
>> into 'drops/' subdirectory, then this archive is unzipped into 'test/'
>> subdirectory and then JTreg is compiled& run as usual.
>>
>> This functionality is similar as in the case of JAXP and JAXWS - these
>> two parts of JDK are also separated from JDK sources.
>>
>
> Yes, and it's one of the most annoying things Oracle have ever done, as
> there's no change visibility. I've been thinking about reverting it
> in the IcedTea tree so at least we can see the changes between zips
> if not at the changeset level.
>
>> What do you think about this solution (which could be the same for
>> IcedTea6 and IcedTea7, also *probably* for IcedTea-web)?
>>
>
> Why would IcedTea-Web need jtreg?
IcedTea-web do not have jtreg, but have its own set of unit-tests and reproducers-tests which are worthy to be run in daily report.
Now it is some 40 tests together, and its grow-rate will not be to fast, so for now I do not thing it is good idea to separate them.
They are run as 'make check' and 'make run-netx-dist-tests' commands.
>
>> Cheers,
>> Pavel
Regards J.
From jvanek at redhat.com Thu Jul 7 02:59:41 2011
From: jvanek at redhat.com (Jiri Vanek)
Date: Thu, 07 Jul 2011 11:59:41 +0200
Subject: [ping] [RFC] Re: [RFC] Re: RFC: make IcedTea-web to be compatible
with RHEL5 libraries
Message-ID: <4E15838D.2020509@redhat.com>
-------- Original Message --------
Subject: [RFC] Re: [RFC] Re: RFC: make IcedTea-web to be compatible with RHEL5 libraries
Date: Thu, 30 Jun 2011 13:40:03 +0200
From: Jiri Vanek
To: Andrew John Hughes
CC: distro-pkg-dev at openjdk.java.net
Based also on http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-June/014879.html
Hi!
This patch is another attempt o make icedtea-web buildable on rhel 5 with older libraries. Before build of plugin itself is started, then testing c++ program is tried to be linked with same options. If this compilation fails, then original IcedTeaNPPlugin.cc is backuped, glibBuildable.patch is applied to IcedTeaNPPlugin.cc and then plugin is linked.
During clean-plugin original IcedTeaNPPlugin.cc is restored from backup (and when test application is compiled, then this binary is deleted, also backup is delete)
Please, when you will ask me to include this "solution" more to configure (or autotools or anywhere) then I will need a little bit of help.
cc - Deepak as maintainer of icedtea-web, Andrew as head of idea, Pavel as author of original patch
changelog :
Makefile.am: added PLUGIN_TOBEPATCHED* variables to work with patched file, TESTGLIBS* variables to work with testing code
(stamps/patch-for-glib): new goal to test compilation and patch IcedTeaNPPlugin.cc if necessary
(clean-IcedTeaPlugin): added deleting of compiled test, reverting patched file,and deleting backup of it.
(stamps/plugin.stamp): now depends on stamps/patch-for-glib
glibBuildable.patch: new file with patch to plugin/icedteanp/IcedTeaNPPlugin.cc
testGlibs.cc: testing file which not-successful compilation will leed to patching of IcedTeaNPPlugin.cc
ps: Is funny hat looking for hell, in hello by g_strcmp0 will return -111 ;)
Regards J.
On 06/30/2011 12:24 AM, Andrew John Hughes wrote:
> On Mon, Jun 27, 2011 at 02:05:36PM +0200, Jiri Vanek wrote:
>> On 06/16/2011 08:10 PM, Jiri Vanek wrote:
>>> On 05/18/2011 07:08 PM, Dr Andrew John Hughes wrote:
>>>> On 12:48 Wed 18 May , Pavel Tisnovsky wrote:
>>>>> Hi all,
>>>>>
>>>>> I've found that IcedTea-web can not be build on RHEL5 because this
>>>>> system has older glibc libraries (2.5-*) and some code in
>>>>> IcedTeaNPPlugin.cc depends on newer functions.
>>>>>
>>>>> I've tried to rewrite this class not to use these functions. Can anybody
>>>>> please look at these changes? They are stored in an attachments as patch
>>>>> file.
>>>>>
>>>>> Any comments are welcome!
>>>>>
>>>>> Cheers,
>>>>> Pavel
>>>>
>>>> Looking at the changes, I think you mean glib not glibc.
>>>>
>>>> I don't think this is the right way to fix this. If RHEL5 is missing these
>>>> glib functions, we should test for that in configure and use local definitions
>>>> of those functions, rather than using inferior functions on all platforms.
>>>
>>> As there was no reply to this issue, I have an idea to add configure otion --with-rhel5-buildable, which will include pavel's patch to icedtea-web and compile it on rhel 5 so he will be able to run it on his rhel 5 test machines. What do you think?
>>>
>
> No, I've already outlined the correct solution above. configure should check for
> the availability of the missing functions (g_hash_table_iter and g_strcmp0 from what
> I can see in the patch below) and use alternatives if they are unavailable (via
> #ifdef in the code). The patch below seems to require the user to know how to
> invoke a specific make command to apply a patch, whereas the process should be
> automated. It's also nothing to do with rhel5 as such; it's to do with supporting
> older versions of glib.
>
>>> Regards J.
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoRhel5patching.diff
Type: text/x-patch
Size: 5685 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110707/233c7e42/autoRhel5patching.diff
From ptisnovs at icedtea.classpath.org Thu Jul 7 04:43:50 2011
From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org)
Date: Thu, 07 Jul 2011 11:43:50 +0000
Subject: /hg/icedtea6: Backport of 6842838 and 6882768.
Message-ID:
changeset b98c208a3244 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b98c208a3244
author: ptisnovs
date: Thu Jul 07 13:43:41 2011 +0200
Backport of 6842838 and 6882768.
diffstat:
ChangeLog | 8 +
Makefile.am | 4 +-
NEWS | 2 +
patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch | 269 ++++++++++
patches/openjdk/6882768-test_for_6842838_is_broken.patch | 94 +++
5 files changed, 376 insertions(+), 1 deletions(-)
diffs (416 lines):
diff -r 922f35a6bf90 -r b98c208a3244 ChangeLog
--- a/ChangeLog Thu Jul 07 11:47:06 2011 +0200
+++ b/ChangeLog Thu Jul 07 13:43:41 2011 +0200
@@ -1,3 +1,11 @@
+2011-07-07 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch:
+ * patches/openjdk/6882768-test_for_6842838_is_broken.patch:
+ Backport of 6842838 and 6882768.
+
2011-07-07 Pavel Tisnovsky
* patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch:
diff -r 922f35a6bf90 -r b98c208a3244 Makefile.am
--- a/Makefile.am Thu Jul 07 11:47:06 2011 +0200
+++ b/Makefile.am Thu Jul 07 13:43:41 2011 +0200
@@ -374,7 +374,9 @@
patches/openjdk/7047069-Array_can_dynamically_change_size.patch \
patches/openjdk/6796786-invalid_FP_identity_transform.patch \
patches/openjdk/7042070-Typo_in_Test6796786.patch \
- patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch
+ patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch \
+ patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch \
+ patches/openjdk/6882768-test_for_6842838_is_broken.patch
if WITH_ALT_HSBUILD
ICEDTEA_PATCHES += \
diff -r 922f35a6bf90 -r b98c208a3244 NEWS
--- a/NEWS Thu Jul 07 11:47:06 2011 +0200
+++ b/NEWS Thu Jul 07 13:43:41 2011 +0200
@@ -46,6 +46,8 @@
- S7042070: Typo in Test6796786.java
- S7029152: Ideal nodes for String intrinsics miss memory edge optimization
- S6679308: Poor text rendering on translucent image
+ - S6842838: 64-bit failure in handling invalid manifest in launcher.
+ - S6882768: Test for 6842838 is broken
* Bug fixes
- PR637: make check should exit with an error code if any regression test failed.
- G356743: Support libpng 1.5.
diff -r 922f35a6bf90 -r b98c208a3244 patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch Thu Jul 07 13:43:41 2011 +0200
@@ -0,0 +1,272 @@
+# HG changeset patch
+# User kevinw
+# Date 1252958108 -3600
+# Node ID eb19c5dc52bf5916c58972a3a08dec48950c7a38
+# Parent aac01ec2cec47f4bac17971a1d2bc60bf3dd2196
+6842838: 64-bit failure in handling invalid manifest in launcher.
+Summary: Don't compare with hard-coded 32-bit -1 when checking zip fields.
+Reviewed-by: ksrini
+
+diff -r aac01ec2cec4 -r eb19c5dc52bf src/share/bin/parse_manifest.c
+--- openjdk.orig/jdk/src/share/bin/parse_manifest.c Mon Sep 14 17:47:26 2009 +0100
++++ openjdk/jdk/src/share/bin/parse_manifest.c Mon Sep 14 20:55:08 2009 +0100
+@@ -59,7 +59,7 @@
+ char *out;
+ z_stream zs;
+
+- if (entry->csize == 0xffffffff || entry->isize == 0xffffffff)
++ if (entry->csize == (size_t) -1 || entry->isize == (size_t) -1 )
+ return (NULL);
+ if (lseek(fd, entry->offset, SEEK_SET) < (off_t)0)
+ return (NULL);
+diff -r aac01ec2cec4 -r eb19c5dc52bf test/tools/launcher/6842838/CreateBadJar.java
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ openjdk/jdk/test/tools/launcher/6842838/CreateBadJar.java Mon Sep 14 20:55:08 2009 +0100
+@@ -0,0 +1,168 @@
++/*
++ * Copyright 2009 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.
++ *
++ * 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.
++ */
++
++/*
++ * Borrowing significantly from Martin Buchholz's CorruptedZipFiles.java
++ *
++ * Needed a way of testing the checks for corrupt zip/jar entry in
++ * inflate_file from file j2se/src/share/bin/parse_manifest.c
++ * and running them with the 64-bit launcher. e.g.
++ * sparcv9/bin/java -jar badjar.jar
++ *
++ * Run from a script driver Test6842838.sh as we want to specifically run
++ * bin/sparcv9/java, the 64-bit launcher.
++ *
++ * So this program will create a zip file and damage it in the way
++ * required to tickle this bug.
++ *
++ * It will cause a buffer overrun: but that will not always crash.
++ * Use libumem preloaded by the script driver in order to
++ * abort quickly when the overrun happens. That makes the test
++ * Solaris-specific.
++ */
++
++import java.util.*;
++import java.util.zip.*;
++import java.io.*;
++import static java.lang.System.*;
++import static java.util.zip.ZipFile.*;
++
++public class CreateBadJar {
++
++public static void main(String [] arguments) {
++
++ if (arguments.length != 2) {
++ throw new RuntimeException("Arguments: jarfilename entryname");
++ }
++ String outFile = arguments[0];
++ String entryName = arguments[1];
++
++ try {
++ // If the named file doesn't exist, create it.
++ // If it does, we are expecting it to contain the named entry, for
++ // alteration.
++ if (!new File(outFile).exists()) {
++ System.out.println("Creating file " + outFile);
++
++ // Create the requested zip/jar file.
++ ZipOutputStream zos = null;
++ zos = new ZipOutputStream(
++ new FileOutputStream(outFile));
++
++ ZipEntry e = new ZipEntry(entryName);
++ zos.putNextEntry(e);
++ for (int j=0; j<50000; j++) {
++ zos.write((int)'a');
++ }
++ zos.closeEntry();
++ zos.close();
++ zos = null;
++ }
++
++ // Read it.
++ int len = (int)(new File(outFile).length());
++ byte[] good = new byte[len];
++ FileInputStream fis = new FileInputStream(outFile);
++ fis.read(good);
++ fis.close();
++ fis = null;
++
++ int endpos = len - ENDHDR;
++ int cenpos = u16(good, endpos+ENDOFF);
++ if (u32(good, cenpos) != CENSIG) throw new RuntimeException("Where's CENSIG?");
++
++ byte[] bad;
++ bad = good.clone();
++
++ // Corrupt it...
++ int pos = findInCEN(bad, cenpos, entryName);
++
++ // What bad stuff are we doing to it?
++ // Store a 32-bit -1 in uncomp size.
++ bad[pos+0x18]=(byte)0xff;
++ bad[pos+0x19]=(byte)0xff;
++ bad[pos+0x1a]=(byte)0xff;
++ bad[pos+0x1b]=(byte)0xff;
++
++ // Bad work complete, delete the original.
++ new File(outFile).delete();
++
++ // Write it.
++ FileOutputStream fos = new FileOutputStream(outFile);
++ fos.write(bad);
++ fos.close();
++ fos = null;
++
++ } catch (Exception e) {
++ e.printStackTrace();
++ }
++
++}
++
++ /*
++ * Scan Central Directory File Headers looking for the named entry.
++ */
++
++ static int findInCEN(byte[] bytes, int cenpos, String entryName) {
++ int pos = cenpos;
++ int nextPos = 0;
++ String filename = null;
++ do {
++ if (nextPos != 0) {
++ pos = nextPos;
++ }
++ System.out.println("entry at pos = " + pos);
++ if (u32(bytes, pos) != CENSIG) throw new RuntimeException ("entry not found in CEN or premature end...");
++
++ int csize = u32(bytes, pos+0x14); // +0x14 1 dword csize
++ int uncompsize = u32(bytes, pos+0x18); // +0x18 1 dword uncomp size
++ int filenameLength = u16(bytes, pos+0x1c); // +0x1c 1 word length of filename
++ int extraLength = u16(bytes, pos+0x1e); // +0x1e 1 world length of extra field
++ int commentLength = u16(bytes, pos+0x20); // +0x20 1 world length of file comment
++ filename = new String(bytes, pos+0x2e, filenameLength); // +0x2e chars of filename
++ int offset = u32(bytes, pos+0x2a); // +0x2a chars of filename
++
++ System.out.println("filename = " + filename + "\ncsize = " + csize +
++ " uncomp.size = " + uncompsize +" file offset = " + offset);
++ nextPos = pos + 0x2e + filenameLength + extraLength + commentLength;
++
++ } while (!filename.equals(entryName));
++
++ System.out.println("entry found at pos = " + pos);
++ return pos;
++ }
++
++ static int u8(byte[] data, int offset) {
++ return data[offset]&0xff;
++ }
++
++ static int u16(byte[] data, int offset) {
++ return u8(data,offset) + (u8(data,offset+1)<<8);
++ }
++
++ static int u32(byte[] data, int offset) {
++ return u16(data,offset) + (u16(data,offset+2)<<16);
++ }
++
++}
++
+diff -r aac01ec2cec4 -r eb19c5dc52bf test/tools/launcher/6842838/Test6842838.sh
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ openjdk/jdk/test/tools/launcher/6842838/Test6842838.sh Mon Sep 14 20:55:08 2009 +0100
+@@ -0,0 +1,75 @@
++#!/bin/sh -x
++
++#
++# @test @(#)Test6842838.sh
++# @bug 6842838
++# @summary Test 6842838 64-bit launcher failure due to corrupt jar
++# @run shell Test6842838.sh
++#
++
++#
++# Copyright 2009 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.
++#
++# 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.
++#
++
++if [ "${TESTSRC}" = "" ]
++then TESTSRC=.
++fi
++
++if [ "${TESTJAVA}" = "" ]
++then
++ PARENT=`dirname \`which java\``
++ TESTJAVA=`dirname ${PARENT}`
++ echo "TESTJAVA not set, selecting " ${TESTJAVA}
++ echo "If this is incorrect, try setting the variable manually."
++fi
++
++if [ "${TESTCLASSES}" = "" ]
++then
++ echo "TESTCLASSES not set. Test cannot execute. Failed."
++ exit 1
++fi
++
++# set platform-dependent variables
++OS=`uname -s`
++case "$OS" in
++ SunOS )
++ NULL=/dev/null
++ PS=":"
++ FS="/"
++ JAVA_EXE=${TESTJAVA}${FS}bin${FS}sparcv9${FS}java
++ ;;
++ * )
++ echo "Only testing on sparcv9 (use libumem to reliably catch buffer overrun)"
++ exit 0;
++ ;;
++esac
++
++BADFILE=newbadjar.jar
++
++${JAVA_EXE} -version
++rm -f ${BADFILE}
++${TESTJAVA}/bin/javac CreateBadJar.java
++${JAVA_EXE} CreateBadJar ${BADFILE} "META-INF/MANIFEST.MF"
++LD_PRELOAD=/lib/64/libumem.so ${JAVA_EXE} -jar ${BADFILE} > test.out 2>&1
++
++grep "Invalid or corrupt jarfile" test.out
++exit $?
diff -r 922f35a6bf90 -r b98c208a3244 patches/openjdk/6882768-test_for_6842838_is_broken.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/openjdk/6882768-test_for_6842838_is_broken.patch Thu Jul 07 13:43:41 2011 +0200
@@ -0,0 +1,95 @@
+# HG changeset patch
+# User kevinw
+# Date 1253635268 -3600
+# Node ID b8004f6f4812e560cf464cae85c18522727c72ef
+# Parent 81dffe63c91318e2821f5e3379e428aa4787c6fc
+6882768: (launcher) test for 6842838 is broken
+Summary: Testcase correction.
+Reviewed-by: ksrini
+
+diff -r 81dffe63c913 -r b8004f6f4812 test/tools/launcher/6842838/Test6842838.sh
+--- openjdk.orig/jdk/test/tools/launcher/6842838/Test6842838.sh Tue Sep 22 10:01:32 2009 +0800
++++ openjdk/jdk/test/tools/launcher/6842838/Test6842838.sh Tue Sep 22 17:01:08 2009 +0100
+@@ -1,12 +1,3 @@
+-#!/bin/sh -x
+-
+-#
+-# @test @(#)Test6842838.sh
+-# @bug 6842838
+-# @summary Test 6842838 64-bit launcher failure due to corrupt jar
+-# @run shell Test6842838.sh
+-#
+-
+ #
+ # Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
+ # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+@@ -30,21 +21,23 @@
+ # have any questions.
+ #
+
+-if [ "${TESTSRC}" = "" ]
+-then TESTSRC=.
++
++# @test Test6842838.sh
++# @bug 6842838
++# @summary Test 6842838 64-bit launcher failure due to corrupt jar
++# @compile CreateBadJar.java
++# @run shell Test6842838.sh
++
++set -x
++
++if [ "${TESTJAVA}" = "" ]; then
++ PARENT=`dirname \`which java\``
++ TESTJAVA=`dirname ${PARENT}`
++ printf "TESTJAVA not set. Test cannot execute. Failed.\n"
+ fi
+
+-if [ "${TESTJAVA}" = "" ]
+-then
+- PARENT=`dirname \`which java\``
+- TESTJAVA=`dirname ${PARENT}`
+- echo "TESTJAVA not set, selecting " ${TESTJAVA}
+- echo "If this is incorrect, try setting the variable manually."
+-fi
+-
+-if [ "${TESTCLASSES}" = "" ]
+-then
+- echo "TESTCLASSES not set. Test cannot execute. Failed."
++if [ "${TESTCLASSES}" = "" ]; then
++ printf "TESTCLASSES not set. Test cannot execute. Failed.\n"
+ exit 1
+ fi
+
+@@ -58,18 +51,26 @@
+ JAVA_EXE=${TESTJAVA}${FS}bin${FS}sparcv9${FS}java
+ ;;
+ * )
+- echo "Only testing on sparcv9 (use libumem to reliably catch buffer overrun)"
++ printf "Only testing on sparcv9 (use libumem to reliably catch buffer overrun)\n"
+ exit 0;
+ ;;
+ esac
+
++if [ ! -x ${JAVA_EXE} ]; then
++ printf "Warning: sparcv9 components not installed - skipping test.\n"
++ exit 0
++fi
++
++LIBUMEM=/lib/64/libumem.so
++if [ ! -x ${LIBUMEM} ]; then
++ printf "Warning: libumem not installed - skipping test.\n"
++ exit 0
++fi
++
+ BADFILE=newbadjar.jar
+-
+ ${JAVA_EXE} -version
+-rm -f ${BADFILE}
+-${TESTJAVA}/bin/javac CreateBadJar.java
+-${JAVA_EXE} CreateBadJar ${BADFILE} "META-INF/MANIFEST.MF"
+-LD_PRELOAD=/lib/64/libumem.so ${JAVA_EXE} -jar ${BADFILE} > test.out 2>&1
++${JAVA_EXE} -cp ${TESTCLASSES} CreateBadJar ${BADFILE} "META-INF/MANIFEST.MF"
++LD_PRELOAD=${LIBUMEM} ${JAVA_EXE} -jar ${BADFILE} > test.out 2>&1
+
+ grep "Invalid or corrupt jarfile" test.out
+ exit $?
From ahughes at redhat.com Thu Jul 7 05:07:25 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Thu, 7 Jul 2011 13:07:25 +0100
Subject: RFC: Separation of JTreg tool into independent project
In-Reply-To: <4E158325.5070807@redhat.com>
References: <4E11B0E3.7040605@centrum.cz>
<20110705011948.GC17947@shelob.middle-earth.co.uk>
<4E158325.5070807@redhat.com>
Message-ID: <20110707120725.GA11009@shelob.middle-earth.co.uk>
On Thu, Jul 07, 2011 at 11:57:57AM +0200, Jiri Vanek wrote:
> On 07/05/2011 03:19 AM, Andrew John Hughes wrote:
> >On Mon, Jul 04, 2011 at 02:24:03PM +0200, Pavel Tisnovsky wrote:
> >>Hi all,
> >>
> >>some time ago I discussed with Andrew John Hughes about the separation
> >>of JTreg tool from the IcedTea6 and IcedTea7 projects. In summary (ie
> >>how I understand this task): JTreg should be developed as independent
> >>project and in the future they should be synchronized with recent JTreg
> >>version (used by Oracle guys AFAIK).
> >>
> >
> >Yes, but that's not what this patch seems to do. It just moves the source
> >code out of the tree into a zip somewhere. I was envisaging jtreg being
> >a separate project like the visualvm one with its own build infrastructure.
> >You'd then point configure at an installed jtreg.jar. That could be built
> >from the IcedTea jtreg project or alternatively, you could use the one
> >Oracle provide if you were willing to accept the proprietary licensing
> >this entails.
>
> When you are writing "like visualvm" you mean also specfile? I guess (and hope) not - as I do not see any reason why to make an distribution package for this suite.
>
No, I'm not talking about anything related to specfiles. This is about a
development tree, not distro. packaging.
> For the rest - you suggest to have hg repository beside icedteas, inside jtreg sources with its makefile.am and configure scripts and possible patches. Yes?
Exactly, bar the patches. What would you need patches for? The source would be in there.
> Tests itself will remain in openjdk. (?)
Well yes they are part of OpenJDK.
> Build of icedtea will remain untouched unless some "test yourself" will be enabled. In case of enabled, it will download some released tarball and will use it [rfc].
No, the idea is to have --with-jtreg=.
IcedTea should not become some Maven clone.
>
> In similar scenarios I will be happy to have jtreg in separate "package".
>
> >
> >>In the attachment there's very first version of patched Makefile.am from
> >>IcedTea6 HEAD. When user call command 'make jtreg' from command line,
> >>archive containing stable version of JTreg tool sources is downloaded
> >>into 'drops/' subdirectory, then this archive is unzipped into 'test/'
> >>subdirectory and then JTreg is compiled& run as usual.
> >>
> >>This functionality is similar as in the case of JAXP and JAXWS - these
> >>two parts of JDK are also separated from JDK sources.
> >>
> >
> >Yes, and it's one of the most annoying things Oracle have ever done, as
> >there's no change visibility. I've been thinking about reverting it
> >in the IcedTea tree so at least we can see the changes between zips
> >if not at the changeset level.
> >
> >>What do you think about this solution (which could be the same for
> >>IcedTea6 and IcedTea7, also *probably* for IcedTea-web)?
> >>
> >
> >Why would IcedTea-Web need jtreg?
>
> IcedTea-web do not have jtreg, but have its own set of unit-tests and reproducers-tests which are worthy to be run in daily report.
> Now it is some 40 tests together, and its grow-rate will not be to fast, so for now I do not thing it is good idea to separate them.
> They are run as 'make check' and 'make run-netx-dist-tests' commands.
We're only talking about moving the jtreg code out, so there is one common repository
for IcedTea6, IcedTea7, IcedTea8 and all the release branches. I don't fancy the
alternative of patching all those with fixes (especially the release branches).
I'm thinking this should wait until 1.12 now though, as not enough progress has been
made for 1.11. I'd like to get 1.11 out soon-ish (next few months) and something
like this really needs time to soak.
>
>
> >
> >>Cheers,
> >>Pavel
>
> Regards J.
>
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From andrew at icedtea.classpath.org Thu Jul 7 05:10:41 2011
From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org)
Date: Thu, 07 Jul 2011 12:10:41 +0000
Subject: /hg/icedtea: PR icedtea/751: Make javah patch conditional so Ice...
Message-ID:
changeset b36e263a2d9c in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=b36e263a2d9c
author: Andrew John Hughes
date: Thu Jul 07 13:10:27 2011 +0100
PR icedtea/751: Make javah patch conditional so IcedTea7 can
bootstrap itself.
2011-07-05 Andrew John Hughes
PR icedtea/751: (ICEDTEA_BOOT_PATCHES): Make
application of javah.patch dependent on javah presenting
with bug 40188.
diffstat:
ChangeLog | 7 +++++++
Makefile.am | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 91be8105cfa7 -r b36e263a2d9c ChangeLog
--- a/ChangeLog Tue Jul 05 13:48:51 2011 +0100
+++ b/ChangeLog Thu Jul 07 13:10:27 2011 +0100
@@ -1,3 +1,10 @@
+2011-07-05 Andrew John Hughes
+
+ PR icedtea/751:
+ (ICEDTEA_BOOT_PATCHES): Make application of
+ javah.patch dependent on javah presenting
+ with bug 40188.
+
2011-07-05 Andrew John Hughes
PR icedtea/751
diff -r 91be8105cfa7 -r b36e263a2d9c Makefile.am
--- a/Makefile.am Tue Jul 05 13:48:51 2011 +0100
+++ b/Makefile.am Thu Jul 07 13:10:27 2011 +0100
@@ -345,7 +345,6 @@
patches/boot/xbootclasspath.patch \
patches/boot/icedteart.patch \
patches/boot/jar.patch \
- patches/boot/javah.patch \
patches/boot/symbols.patch \
patches/boot/tobin.patch \
patches/boot/test_gamma.patch \
@@ -373,7 +372,8 @@
endif
if CP40188_JAVAH
-ICEDTEA_BOOT_PATCHES += patches/boot/pr40188.patch
+ICEDTEA_BOOT_PATCHES += patches/boot/pr40188.patch \
+ patches/boot/javah.patch
endif
if CP40616
From ptisnovs at redhat.com Thu Jul 7 05:17:26 2011
From: ptisnovs at redhat.com (Pavel Tisnovsky)
Date: Thu, 07 Jul 2011 14:17:26 +0200
Subject: RFC: Separation of JTreg tool into independent project
In-Reply-To: <20110705011948.GC17947@shelob.middle-earth.co.uk>
References: <4E11B0E3.7040605@centrum.cz>
<20110705011948.GC17947@shelob.middle-earth.co.uk>
Message-ID: <4E15A3D6.2050701@redhat.com>
Andrew John Hughes wrote:
> On Mon, Jul 04, 2011 at 02:24:03PM +0200, Pavel Tisnovsky wrote:
>> Hi all,
>>
>> some time ago I discussed with Andrew John Hughes about the separation
>> of JTreg tool from the IcedTea6 and IcedTea7 projects. In summary (ie
>> how I understand this task): JTreg should be developed as independent
>> project and in the future they should be synchronized with recent JTreg
>> version (used by Oracle guys AFAIK).
>>
>
> Yes, but that's not what this patch seems to do. It just moves the source
> code out of the tree into a zip somewhere. I was envisaging jtreg being
> a separate project like the visualvm one with its own build infrastructure.
> You'd then point configure at an installed jtreg.jar. That could be built
> from the IcedTea jtreg project or alternatively, you could use the one
> Oracle provide if you were willing to accept the proprietary licensing
> this entails.
I see, thank you for explanation.
So I'll create new project (hopefully on icedtea.classpath.org - Mark?)
which will contains classic autotools-based build (configure & make &
make install) with the default output to /usr/share/java/jtreg.jar or to
a selected directory, right?
>
>> In the attachment there's very first version of patched Makefile.am from
>> IcedTea6 HEAD. When user call command 'make jtreg' from command line,
>> archive containing stable version of JTreg tool sources is downloaded
>> into 'drops/' subdirectory, then this archive is unzipped into 'test/'
>> subdirectory and then JTreg is compiled & run as usual.
>>
>> This functionality is similar as in the case of JAXP and JAXWS - these
>> two parts of JDK are also separated from JDK sources.
>>
>
> Yes, and it's one of the most annoying things Oracle have ever done, as
> there's no change visibility. I've been thinking about reverting it
> in the IcedTea tree so at least we can see the changes between zips
> if not at the changeset level.
>
>> What do you think about this solution (which could be the same for
>> IcedTea6 and IcedTea7, also *probably* for IcedTea-web)?
>>
>
> Why would IcedTea-Web need jtreg?
Personally I think that some work on IcedTea-web tests can be made more
easily using jtreg tool. To be more specific: jtreg is able to run only
selected tests using GUI and/or using various annotations, it could kill
the test which is in endless loop (or waiting for packer or so), store
standard output and error output into one JTR file etc. I don't think
that jtreg will replace JUnit, but for reproducers or more complex tests
it's IMHO more usable tool.
>
>> Cheers,
>> Pavel
From andrew at icedtea.classpath.org Thu Jul 7 06:19:51 2011
From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org)
Date: Thu, 07 Jul 2011 13:19:51 +0000
Subject: /hg/icedtea6: 12 new changesets
Message-ID:
changeset 611a31a7c5a1 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=611a31a7c5a1
author: Andrew John Hughes
date: Thu Mar 03 12:32:40 2011 +0000
Bump to b23.
2011-03-03 Andrew John Hughes
* Makefile.am: Bump to b23.
changeset b3627e530d7c in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b3627e530d7c
author: Andrew John Hughes
date: Wed Mar 09 23:47:23 2011 +0000
Merge
changeset 15ee0af0207b in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=15ee0af0207b
author: Andrew John Hughes
date: Wed Mar 30 23:14:30 2011 +0100
Merge
changeset bef042dcbb2a in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=bef042dcbb2a
author: Andrew John Hughes
date: Thu Mar 31 01:04:37 2011 +0100
Drop serialization patches for JAXP and JTable which are now
upstream.
2011-03-31 Andrew John Hughes
* patches/jaxp-serial-version-uid.patch,
* patches/openjdk/6768387-jtable_not_serializable.patch:
Dropped, upstream.
* Makefile.am: (JAXP_DROP_ZIP): Update.
(JAXP_DROP_SHA256SUM): Likewise. (ICEDTEA_PATCHES): Drop
above.
changeset 83034f3f172f in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=83034f3f172f
author: Andrew John Hughes
date: Wed May 18 15:46:37 2011 +0100
Merge
changeset 36e7e97a3702 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=36e7e97a3702
author: Andrew John Hughes
date: Wed May 18 22:49:21 2011 +0100
Update due to inclusion of hs20, 6599601, 6997495, 7029905 and
7042040.
2011-05-18 Andrew John Hughes
*
patches/hotspot/hs20/7032388-work_without_cmov_instruction.patch,
* patches/hotspot/hs20/arm.patch,
* patches/hotspot/hs20/gcc-suffix.patch,
* patches/hotspot/hs20/ia64-fix.patch,
* patches/hotspot/hs20/params-cast-size_t.patch,
* patches/hotspot/hs20/powerpc-stacksize.patch,
* patches/hotspot/hs20/sparc-buildfixes.patch,
* patches/hotspot/hs20/systemtap.patch,
* patches/hotspot/hs20/text-relocations.patch: Moved to main
tree.
* patches/hotspot/original/7032388-work_without_cmov_instruction.patch
,
* patches/hotspot/original/arm.patch,
* patches/hotspot/original/gcc-suffix.patch,
* patches/hotspot/original/ia64-fix.patch,
* patches/hotspot/original/no-precompiled-headers.patch,
* patches/hotspot/original/params-cast-size_t.patch,
* patches/hotspot/original/sparc-buildfixes.patch,
* patches/hotspot/original/systemtap.patch,
* patches/hotspot/original/text-relocations.patch,
* patches/hotspot/original/too-many-args.patch: Dropped; hs19
no longer supported.
* patches/openjdk/6599601-mark_sun_toolkit_privileged_code.patch,
* patches/openjdk/6997495-test_correction_6857159.patch,
* patches/openjdk/7029905-demo_applet_html_files.patch,
* patches/openjdk/7042040-no_disk_space_check.patch: Removed;
upstream in OpenJDK6.
* INSTALL: Update HotSpot documentation.
* Makefile.am: (ICEDTEA_PATCHES): Updated.
* acinclude.m4: (IT_WITH_HOTSPOT_BUILD): Set default back to
original.
* hotspot.map: Remove hs19.
* patches/arm.patch,
* patches/gcc-suffix.patch,
* patches/ia64-fix.patch: Extended with HotSpot segments from
hotspot/hs20.
* patches/openjdk/6633275-shaped_translucent_windows.patch:
Recreated due to copyright header change in Component.java.
* patches/openjdk/7032388-work_without_cmov_instruction.patch,
* patches/params-cast-size_t.patch,
* patches/powerpc-stacksize.patch,
* patches/sparc-buildfixes.patch,
* patches/systemtap.patch,
* patches/text-relocations.patch: Moved from hotspot/hs20.
changeset b1123c5a67f7 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b1123c5a67f7
author: Andrew John Hughes
date: Wed Jun 01 02:35:43 2011 +0100
Merge
changeset 5deef52b5a9c in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=5deef52b5a9c
author: Andrew John Hughes
date: Wed Jul 06 17:11:34 2011 +0100
Merge
changeset 23404f48955e in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=23404f48955e
author: Andrew John Hughes
date: Wed Jul 06 20:45:21 2011 +0100
Support hg, post security patches.
2011-07-06 Andrew John Hughes
* patches/security/20110215/6878713.patch,
* patches/security/20110607/6213702.patch,
* patches/security/20110607/6618658.patch,
* patches/security/20110607/7012520.patch,
* patches/security/20110607/7013519.patch,
* patches/security/20110607/7013969.patch,
* patches/security/20110607/7013971.patch,
* patches/security/20110607/7016495.patch,
* patches/security/20110607/7020198.patch,
* patches/security/20110607/7020373.patch: Removed; upstream.
* Makefile.am: (JAXWS_DROP_ZIP): Updatede.
(JAXWS_DROP_SHA256SUM): Likewise. (JAXP_DROP_ZIP): Likewise.
(JAXP_DROP_SHA256SUM): Likewise. (SECURITY_PATCHES): Set to
empty.
* patches/xjc.patch: Revert to pre-security patch version
(security patch is now part of the tarball, not a patch)
changeset 380a9db76b36 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=380a9db76b36
author: Andrew John Hughes
date: Thu Jul 07 13:14:02 2011 +0100
Merge
changeset d987bfbdfd8d in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=d987bfbdfd8d
author: Andrew John Hughes
date: Thu Jul 07 14:17:12 2011 +0100
Bump to b23 release tarball. Remove last vesitages of md5sum usage.
2011-07-06 Andrew John Hughes
* Makefile.am: (OPENJDK_DATE): Updated.
(OPENJDK_SHA256SUM): Replaces OPENJDK_MD5SUM. (download-
openjdk): Use sha256 as with all other bundles.
(download-hotspot): Likewise.
* configure.ac: Remove check for md5sum.
* hotspot.map: Move to sha256.
changeset 0911ad28ea98 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=0911ad28ea98
author: Andrew John Hughes
date: Thu Jul 07 14:19:34 2011 +0100
Merge
diffstat:
.hgtags | 6 +-
AUTHORS | 4 +
ChangeLog | 1200 ++++++++
INSTALL | 25 +-
Makefile.am | 217 +-
NEWS | 89 +
THANKYOU | 1 +
acinclude.m4 | 117 +-
configure.ac | 10 +-
generated/java/lang/CharacterData00.java | 12 +-
generated/java/lang/CharacterData01.java | 12 +-
generated/java/lang/CharacterData02.java | 12 +-
generated/java/lang/CharacterData0E.java | 12 +-
generated/java/lang/CharacterDataLatin1.java | 12 +-
generated/java/nio/DirectByteBuffer.java | 2 +-
generated/java/nio/DirectCharBufferS.java | 2 +-
generated/java/nio/DirectCharBufferU.java | 2 +-
generated/java/nio/DirectDoubleBufferS.java | 2 +-
generated/java/nio/DirectDoubleBufferU.java | 2 +-
generated/java/nio/DirectFloatBufferS.java | 2 +-
generated/java/nio/DirectFloatBufferU.java | 2 +-
generated/java/nio/DirectIntBufferS.java | 2 +-
generated/java/nio/DirectIntBufferU.java | 2 +-
generated/java/nio/DirectLongBufferS.java | 2 +-
generated/java/nio/DirectLongBufferU.java | 2 +-
generated/java/nio/DirectShortBufferS.java | 2 +-
generated/java/nio/DirectShortBufferU.java | 2 +-
generated/java/nio/HeapByteBuffer.java | 2 +-
generated/java/nio/HeapCharBuffer.java | 2 +-
generated/java/nio/HeapDoubleBuffer.java | 2 +-
generated/java/nio/HeapFloatBuffer.java | 2 +-
generated/java/nio/HeapIntBuffer.java | 2 +-
generated/java/nio/HeapLongBuffer.java | 2 +-
generated/java/nio/HeapShortBuffer.java | 2 +-
generated/sun/awt/X11/AwtGraphicsConfigData.java | 69 +-
generated/sun/awt/X11/AwtScreenData.java | 30 +-
generated/sun/awt/X11/ColorData.java | 62 +-
generated/sun/awt/X11/ColorEntry.java | 4 +-
generated/sun/awt/X11/Depth.java | 8 +-
generated/sun/awt/X11/PropMwmHints.java | 22 +-
generated/sun/awt/X11/Screen.java | 90 +-
generated/sun/awt/X11/ScreenFormat.java | 20 +-
generated/sun/awt/X11/Visual.java | 36 +-
generated/sun/awt/X11/XAnyEvent.java | 22 +-
generated/sun/awt/X11/XArc.java | 4 +-
generated/sun/awt/X11/XButtonEvent.java | 62 +-
generated/sun/awt/X11/XChar2b.java | 4 +-
generated/sun/awt/X11/XCharStruct.java | 4 +-
generated/sun/awt/X11/XCirculateEvent.java | 30 +-
generated/sun/awt/X11/XCirculateRequestEvent.java | 30 +-
generated/sun/awt/X11/XClassHint.java | 12 +-
generated/sun/awt/X11/XClientMessageEvent.java | 36 +-
generated/sun/awt/X11/XColor.java | 26 +-
generated/sun/awt/X11/XColormapEvent.java | 34 +-
generated/sun/awt/X11/XComposeStatus.java | 10 +-
generated/sun/awt/X11/XConfigureEvent.java | 54 +-
generated/sun/awt/X11/XConfigureRequestEvent.java | 58 +-
generated/sun/awt/X11/XCreateWindowEvent.java | 50 +-
generated/sun/awt/X11/XCrossingEvent.java | 70 +-
generated/sun/awt/X11/XDestroyWindowEvent.java | 26 +-
generated/sun/awt/X11/XErrorEvent.java | 30 +-
generated/sun/awt/X11/XEvent.java | 6 +-
generated/sun/awt/X11/XExposeEvent.java | 42 +-
generated/sun/awt/X11/XExtCodes.java | 4 +-
generated/sun/awt/X11/XExtData.java | 24 +-
generated/sun/awt/X11/XFocusChangeEvent.java | 30 +-
generated/sun/awt/X11/XFontProp.java | 10 +-
generated/sun/awt/X11/XFontSetExtents.java | 4 +-
generated/sun/awt/X11/XFontStruct.java | 64 +-
generated/sun/awt/X11/XGCValues.java | 94 +-
generated/sun/awt/X11/XGraphicsExposeEvent.java | 50 +-
generated/sun/awt/X11/XGravityEvent.java | 34 +-
generated/sun/awt/X11/XHostAddress.java | 6 +-
generated/sun/awt/X11/XIMCallback.java | 12 +-
generated/sun/awt/X11/XIMHotKeyTrigger.java | 14 +-
generated/sun/awt/X11/XIMHotKeyTriggers.java | 12 +-
generated/sun/awt/X11/XIMPreeditCaretCallbackStruct.java | 4 +-
generated/sun/awt/X11/XIMPreeditDrawCallbackStruct.java | 12 +-
generated/sun/awt/X11/XIMPreeditStateNotifyCallbackStruct.java | 6 +-
generated/sun/awt/X11/XIMStatusDrawCallbackStruct.java | 10 +-
generated/sun/awt/X11/XIMStringConversionCallbackStruct.java | 12 +-
generated/sun/awt/X11/XIMStringConversionText.java | 22 +-
generated/sun/awt/X11/XIMStyles.java | 12 +-
generated/sun/awt/X11/XIMText.java | 22 +-
generated/sun/awt/X11/XIMValuesList.java | 12 +-
generated/sun/awt/X11/XIconSize.java | 4 +-
generated/sun/awt/X11/XImage.java | 88 +-
generated/sun/awt/X11/XKeyEvent.java | 62 +-
generated/sun/awt/X11/XKeyboardControl.java | 4 +-
generated/sun/awt/X11/XKeyboardState.java | 16 +-
generated/sun/awt/X11/XKeymapEvent.java | 28 +-
generated/sun/awt/X11/XMapEvent.java | 30 +-
generated/sun/awt/X11/XMapRequestEvent.java | 26 +-
generated/sun/awt/X11/XMappingEvent.java | 34 +-
generated/sun/awt/X11/XModifierKeymap.java | 12 +-
generated/sun/awt/X11/XMotionEvent.java | 62 +-
generated/sun/awt/X11/XNoExposeEvent.java | 30 +-
generated/sun/awt/X11/XOMCharSetList.java | 12 +-
generated/sun/awt/X11/XOMFontInfo.java | 18 +-
generated/sun/awt/X11/XOMOrientation.java | 12 +-
generated/sun/awt/X11/XPixmapFormatValues.java | 4 +-
generated/sun/awt/X11/XPoint.java | 4 +-
generated/sun/awt/X11/XPropertyEvent.java | 34 +-
generated/sun/awt/X11/XRectangle.java | 4 +-
generated/sun/awt/X11/XReparentEvent.java | 42 +-
generated/sun/awt/X11/XResizeRequestEvent.java | 30 +-
generated/sun/awt/X11/XSegment.java | 4 +-
generated/sun/awt/X11/XSelectionClearEvent.java | 30 +-
generated/sun/awt/X11/XSelectionEvent.java | 38 +-
generated/sun/awt/X11/XSelectionRequestEvent.java | 42 +-
generated/sun/awt/X11/XSetWindowAttributes.java | 62 +-
generated/sun/awt/X11/XSizeHints.java | 74 +-
generated/sun/awt/X11/XStandardColormap.java | 42 +-
generated/sun/awt/X11/XTextItem.java | 18 +-
generated/sun/awt/X11/XTextItem16.java | 18 +-
generated/sun/awt/X11/XTextProperty.java | 18 +-
generated/sun/awt/X11/XTimeCoord.java | 14 +-
generated/sun/awt/X11/XUnmapEvent.java | 30 +-
generated/sun/awt/X11/XVisibilityEvent.java | 26 +-
generated/sun/awt/X11/XVisualInfo.java | 42 +-
generated/sun/awt/X11/XWMHints.java | 40 +-
generated/sun/awt/X11/XWindowAttributes.java | 74 +-
generated/sun/awt/X11/XWindowChanges.java | 14 +-
generated/sun/awt/X11/XdbeSwapInfo.java | 10 +-
generated/sun/awt/X11/XmbTextItem.java | 20 +-
generated/sun/awt/X11/XwcTextItem.java | 20 +-
generated/sun/awt/X11/awtImageData.java | 6 +-
generated/sun/misc/Version.java | 63 +-
generated/sun/nio/cs/StandardCharsets.java | 12 +-
hotspot.map | 3 +-
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java | 51 +
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java | 193 +
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGDecodeParam.java | 390 ++
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGEncodeParam.java | 307 ++
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGHuffmanTable.java | 129 +
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageDecoder.java | 102 +
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java | 208 +
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGQTable.java | 118 +
overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/TruncatedFileException.java | 92 +
overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageDecoderImpl.java | 108 +
overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageEncoderImpl.java | 183 +
overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGParam.java | 750 +++++
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p01.pam | 7 +
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basi6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p01.pam | 7 +
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/basn6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgai4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgai4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgan6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgan6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgbn4a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bggn4a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgwn6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/bgyn6a16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ccwn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ccwn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdfn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdhn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdsn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cdun2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ch1n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ch2n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cm0n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cm7n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cm9n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs3n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs3n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs5n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs5n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs8n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/cs8n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ct0n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ct1n0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ctzn0g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f00n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f00n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f01n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f01n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f02n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f02n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f03n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f03n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f04n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/f04n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g03n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g03n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g03n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g04n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g04n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g04n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g05n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g05n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g05n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g07n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g07n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g07n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g10n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g10n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g10n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g25n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g25n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/g25n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi1n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi1n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi2n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi2n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi4n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi4n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi9n0g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/oi9n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/pngsuite_logo.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/pp0n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/pp0n6a08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps1n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps1n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps2n0g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/ps2n2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s01i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s01n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s02i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s02n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s03i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s03n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s04i3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s04n3p01.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s05i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s05n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s06i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s06n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s07i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s07n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s08i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s08n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s09i3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s09n3p02.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s32i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s32n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s33i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s33n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s34i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s34n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s35i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s35n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s36i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s36n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s37i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s37n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s38i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s38n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s39i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s39n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s40i3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/s40n3p04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbbn1g04.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbbn2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbbn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbgn2c16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbgn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbrn2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbwn1g16.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbwn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tbyn3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp0n1g08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp0n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp0n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/tp1n3p08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z00n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z03n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z06n2c08.pam | 0
overlays/openjdk/jdk/test/javax/imageio/plugins/png/PngReader/pam_images/z09n2c08.pam | 0
patches/arm.patch | 56 +
patches/bytebuffer-compact.patch | 61 -
patches/cacao/arm-arch-defines.patch | 30 -
patches/demo-swingapplet.patch | 10 -
patches/ecj/endorsed-dir-for-jvmti.patch | 12 +
patches/ecj/javafiles.patch | 150 +
patches/ecj/jaxws-getdtdtype.patch | 7 +-
patches/f14-fonts.patch | 2 +-
patches/fonts-gentoo.patch | 4 +-
patches/fonts-rhel-version.patch | 32 +
patches/fonts-rhel.patch | 3 +-
patches/g356743-libpng-1.5.patch | 25 +
patches/gcc-stack-markings.patch | 12 -
patches/gcc-suffix.patch | 29 +
patches/headers-hotspot.patch | 12 -
patches/hotspot/hs20/arm.patch | 56 -
patches/hotspot/hs20/gcc-suffix.patch | 29 -
patches/hotspot/hs20/ia64-fix.patch | 14 -
patches/hotspot/hs20/params-cast-size_t.patch | 259 -
patches/hotspot/hs20/powerpc-stacksize.patch | 39 -
patches/hotspot/hs20/sparc-buildfixes.patch | 24 -
patches/hotspot/hs20/systemtap.patch | 99 -
patches/hotspot/hs20/text-relocations.patch | 60 -
patches/hotspot/original/arm.patch | 54 -
patches/hotspot/original/gcc-suffix.patch | 29 -
patches/hotspot/original/ia64-fix.patch | 28 -
patches/hotspot/original/no-precompiled-headers.patch | 33 -
patches/hotspot/original/params-cast-size_t.patch | 284 -
patches/hotspot/original/sparc-buildfixes.patch | 32 -
patches/hotspot/original/systemtap.patch | 97 -
patches/hotspot/original/text-relocations.patch | 58 -
patches/hotspot/original/too-many-args.patch | 45 -
patches/ia64-fix.patch | 14 +
patches/jamvm/ignore-more-XX-options.patch | 40 -
patches/javafiles.patch | 150 -
patches/jaxp-serial-version-uid.patch | 51 -
patches/jpegclasses.patch | 643 ----
patches/jtreg-6929067-fix.patch | 23 +-
patches/jtreg-ChangeDir.patch | 32 +
patches/jtreg-ChannelsWrite.patch | 50 +
patches/jtreg-EncodedMultiByteChar.patch | 23 +
patches/jtreg-FileLoaderTest.patch | 35 +
patches/jtreg-FileMap.patch | 23 +
patches/jtreg-MappedByteBuffer-Basic.patch | 94 +
patches/jtreg-ReadWriteProfileTest.patch | 123 +
patches/jtreg-TempBuffer.patch | 60 +
patches/jtreg-bug7036148-test.patch | 23 +
patches/jtreg-double-to-string.patch | 47 +
patches/jtreg-hotspot-bug-6196102.patch | 40 +
patches/jtreg-png-reader.patch | 412 ++-
patches/jtreg-remove-test-6987555.patch | 183 +
patches/jtreg-remove-test-6991596.patch | 471 +++
patches/libpng.patch | 11 -
patches/linux-separate-debuginfo.patch | 376 --
patches/nio2.patch | 69 +-
patches/no-sync.patch | 13 -
patches/nss-debug.patch | 54 -
patches/openjdk/4685768-focus.patch | 390 ++
patches/openjdk/6307603-xrender-01.patch | 6 +-
patches/openjdk/6578583-modality-broken-vista.patch | 1439 ++++++++++
patches/openjdk/6610244-modal-fatal-error-windows.patch | 121 +
patches/openjdk/6623219-Font_canDisplayUpTo_does_not_work.patch | 202 +
patches/openjdk/6633275-shaped_translucent_windows.patch | 117 +-
patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch | 511 +++
patches/openjdk/6693253-security_warning.patch | 25 +-
patches/openjdk/6699843-IllegalArgumentException_drawString.patch | 131 +
patches/openjdk/6708580-exa_slow.patch | 99 +
patches/openjdk/6748082-isDisplayLocal.patch | 111 +
patches/openjdk/6769607-modal-hangs.patch | 161 +
patches/openjdk/6783910-java_awt_Color_brighter_darker_fix.patch | 139 +
patches/openjdk/6785424-SecurityException_locating_physical_fonts.patch | 95 +
patches/openjdk/6796786-invalid_FP_identity_transform.patch | 102 +
patches/openjdk/6818312-com.sun.awt.SecurityWarning.getSize.patch | 404 ++
patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch | 269 +
patches/openjdk/6882768-test_for_6842838_is_broken.patch | 94 +
patches/openjdk/6918065-Crash_in_Java2D_blit_loop.patch | 56 +
patches/openjdk/6956668-misbehavior_of_XOR_operator_with_int.patch | 91 +
patches/openjdk/6959123-libpng_14.patch | 20 +
patches/openjdk/6986968-crash_on_xim_restart.patch | 22 +
patches/openjdk/6997495-test_correction_6857159.patch | 20 -
patches/openjdk/7008106-WindowOpacity.patch | 18 +
patches/openjdk/7018387-xrender_gc_leak.patch | 20 +
patches/openjdk/7019808-stack_noexec.patch | 22 +
patches/openjdk/7019861-AA-regression-fix.patch | 497 +++
patches/openjdk/7021314-no_javaws_man_page.patch | 23 +
patches/openjdk/7023591-AAShapePipe.patch | 19 +
patches/openjdk/7027667-AAShapePipeRegTest.patch | 61 +
patches/openjdk/7029152-String_intrinsics_miss_optimization.patch | 379 ++
patches/openjdk/7031385-gcc-register-allocation-fix.patch | 20 +
patches/openjdk/7032388-work_without_cmov_instruction.patch | 173 +
patches/openjdk/7034464-hugepage.patch | 454 +++
patches/openjdk/7036148-npe-null-jmenu-name.patch | 83 +
patches/openjdk/7036220-shark_llvm_29_headers.patch | 43 +
patches/openjdk/7036754-stroker-nan.patch | 488 +++
patches/openjdk/7037939-hugepage.patch | 69 +
patches/openjdk/7041156-gcc_export_dynamic.patch | 21 +
patches/openjdk/7042070-Typo_in_Test6796786.patch | 32 +
patches/openjdk/7043564-hugepage.patch | 20 +
patches/openjdk/7043921-java_rmi_cgi.patch | 39 +
patches/openjdk/7047069-Array_can_dynamically_change_size.patch | 237 +
patches/openjdk/mutter.patch | 307 ++
patches/openjdk/pgram-pipe-regression.patch | 543 +++
patches/params-cast-size_t.patch | 259 +
patches/powerpc-stacksize.patch | 39 +
patches/pr633-no_javaws_man_page.patch | 14 -
patches/revert-6885123.patch | 560 +++
patches/rh676659-gcc-export-dynamic.patch | 11 -
patches/rmi_amd64.patch | 14 -
patches/security/20110215/6878713.patch | 138 -
patches/shark-build-hotspot.patch | 260 -
patches/shark-debug-option.patch | 28 -
patches/shark_do_nothing_on_stub_frame.patch | 13 -
patches/sparc-buildfixes.patch | 24 +
patches/ssl.patch | 41 -
patches/support_linux_3.patch | 18 +
patches/systemtap.patch | 99 +
patches/text-relocations.patch | 60 +
patches/tools.patch | 79 -
patches/xrender-gc-cleanup.patch | 11 -
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/ContextEvent.java | 68 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/ContextListener.java | 2 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Debug.java | 102 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/EventLoop.java | 332 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Operation.java | 184 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioClip.java | 826 ++--
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java | 724 ++--
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioLine.java | 120 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixer.java | 1147 +++---
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixerInfo.java | 28 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixerProvider.java | 32 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioPlaybackLine.java | 72 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioPort.java | 180 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java | 455 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourcePort.java | 68 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java | 582 ++-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetPort.java | 60 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioVolumeControl.java | 86 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/SecurityWrapper.java | 28 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java | 1289 ++++----
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/StreamBufferAttributes.java | 66 +-
pulseaudio/src/java/org/classpath/icedtea/pulseaudio/StreamSampleSpecification.java | 44 +-
pulseaudio/src/native/jni-common.c | 232 +-
pulseaudio/src/native/jni-common.h | 22 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_ContextEvent.c | 63 +
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_EventLoop.c | 298 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Operation.c | 41 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_PulseAudioSourcePort.c | 136 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_PulseAudioTargetPort.c | 140 +-
pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c | 1188 ++++---
tapset/hotspot_jni.stp.in | 180 +-
446 files changed, 21276 insertions(+), 9236 deletions(-)
diffs (truncated from 38085 to 500 lines):
diff -r 84ca681adf9a -r 0911ad28ea98 .hgtags
--- a/.hgtags Thu Mar 03 01:49:30 2011 +0000
+++ b/.hgtags Thu Jul 07 14:19:34 2011 +0100
@@ -15,8 +15,8 @@
a7b9087df36ee2c9fe2831f9ff08d0e9070abffd icedtea6-1.5rc1
07de70c5883a637ea2ef4aba3f8472edd7e12f1e icedtea6-1.5rc2
926c38e2b2830971f6ca0dff2ce25f78a694b178 icedtea6-1.5rc3
-9420faca6468e1c75e9bfa73b31246ba0b73a77d icedtea-1.6-branchpoint
-8826d5735e2ca97ecdb35e7c977785d3e5b99556 icedtea-1.7-branchpoint
-9420faca6468e1c75e9bfa73b31246ba0b73a77d icedtea6-1.8-branchpoint
+9420faca6468e1c75e9bfa73b31246ba0b73a77d icedtea6-1.6-branchpoint
+8826d5735e2ca97ecdb35e7c977785d3e5b99556 icedtea6-1.7-branchpoint
+1188b1a313b9e968d57ff44eb879d70f543b20fd icedtea6-1.8-branchpoint
cb463b94b82da269ea089c481ed5e39700525a8a icedtea6-1.9-branchpoint
21f2a8d158545a161ba0d997c13bdba1e6166394 icedtea6-1.10-branchpoint
diff -r 84ca681adf9a -r 0911ad28ea98 AUTHORS
--- a/AUTHORS Thu Mar 03 01:49:30 2011 +0000
+++ b/AUTHORS Thu Jul 07 14:19:34 2011 +0100
@@ -8,6 +8,7 @@
Deepak Bhole
Tom Callaway
Pablo del Campo
+Danesh Dadachanji
Thomas Fitzsimmons
Matthew Flaschen
Michael Franz
@@ -19,9 +20,11 @@
Ioana Ivan
Matthias Klose
Francis Kung
+Denis Lila
DJ Lucas
Omair Majid
Casey Marshall
+Paul Maurer
Dan Munckton
Raif Naffah
Parag Nemade
@@ -30,6 +33,7 @@
Bernhard Rosenkr??nzer
Marc Schoenefeld
Keith Seitz
+Andrew Su
Joshua Sumali
Pavel Tisnovsky
Christian Thalinger
diff -r 84ca681adf9a -r 0911ad28ea98 ChangeLog
--- a/ChangeLog Thu Mar 03 01:49:30 2011 +0000
+++ b/ChangeLog Thu Jul 07 14:19:34 2011 +0100
@@ -1,3 +1,1203 @@
+2011-07-07 Andrew John Hughes
+
+ * Makefile.am:
+ (OPENJDK_DATE): Updated.
+ (OPENJDK_SHA256SUM): Replaces OPENJDK_MD5SUM.
+ (download-openjdk): Use sha256 as with all
+ other bundles.
+ (download-hotspot): Likewise.
+ * configure.ac: Remove check for md5sum.
+ * hotspot.map: Move to sha256.
+
+2011-07-07 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch:
+ * patches/openjdk/6882768-test_for_6842838_is_broken.patch:
+ Backport of 6842838 and 6882768.
+
+2011-07-07 Pavel Tisnovsky
+
+ * patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch:
+ Fixed test location (added missing prefix 'jdk' into path).
+
+2011-07-06 Andrew John Hughes
+
+ Make JPEG classes more binary compatible with
+ Oracle versions.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java:
+ Extend RuntimeException.
+ (ImageFormatException()): Call superclass constructor.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java:
+ (JPEGCodec()): Make explicit private constructor to prevent implicit public one.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGHuffmanTable.java:
+ Don't extend javax.imageio.plugins.jpeg.JPEGHuffmanTable.
+ (lengths): Added.
+ (symbols): Added.
+ (JPEGHuffmanTable(short[], short[])): Perform checks outlined in documentation.
+ (getLengths()): Added.
+ (getSymbols()): Return symbols.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java:
+ (getDefaultColorId(ColorModel)): Fix typo (was DefaultColorID).
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/TruncatedFileException.java:
+ (TruncatedFileException(BufferedImage)): Add missing constructor.
+ (TruncatedFileException(Raster)): Likewise.
+ (getBufferedImage()): Implemented.
+ (getRaster()): Add missing method.
+ (TruncatedFileException()): Removed.
+ (TruncatedFileException(String)): Likewise.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageDecoderImpl.java:
+ (decodeAsBufferedImage()): Remove unneeded qualification and convert from com.sun JPEGHuffmanTable
+ to javax.imageio one.
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageEncoderImpl.java:
+ (getDefaultColorId(ColorModel)): Fix typo (was DefaultColorID).
+ * NEWS: Updated.
+
+2011-07-06 Andrew John Hughes
+
+ * patches/security/20110215/6878713.patch,
+ * patches/security/20110607/6213702.patch,
+ * patches/security/20110607/6618658.patch,
+ * patches/security/20110607/7012520.patch,
+ * patches/security/20110607/7013519.patch,
+ * patches/security/20110607/7013969.patch,
+ * patches/security/20110607/7013971.patch,
+ * patches/security/20110607/7016495.patch,
+ * patches/security/20110607/7020198.patch,
+ * patches/security/20110607/7020373.patch:
+ Removed; upstream.
+ * Makefile.am:
+ (JAXWS_DROP_ZIP): Updatede.
+ (JAXWS_DROP_SHA256SUM): Likewise.
+ (JAXP_DROP_ZIP): Likewise.
+ (JAXP_DROP_SHA256SUM): Likewise.
+ (SECURITY_PATCHES): Set to empty.
+ * patches/xjc.patch: Revert to pre-security
+ patch version (security patch is now part of the
+ tarball, not a patch)
+
+2011-07-06 Andrew John Hughes
+
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/ImageFormatException.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGCodec.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGDecodeParam.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGEncodeParam.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGHuffmanTable.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageDecoder.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGImageEncoder.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/JPEGQTable.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/com/sun/image/codec/jpeg/TruncatedFileException.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageDecoderImpl.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGImageEncoderImpl.java,
+ * overlays/jpeg/openjdk/jdk/src/share/classes/sun/awt/image/codec/JPEGParam.java:
+ Normalise whitespace using Oracle normaliser.
+
+2011-07-01 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch:
+ Backport of 6679308.
+
+2011-07-01 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/7029152-String_intrinsics_miss_optimization.patch:
+ Backport of 7029152 fix.
+
+2011-06-29 Andrew John Hughes
+
+ * NEWS: Updated with latest bug fixes.
+
+2011-06-29 Andrew John Hughes
+
+ * patches/ecj/jaxws-getdtdtype.patch:
+ Fix patch to still apply after recent
+ security updates.
+
+2011-06-29 Andrew John Hughes
+
+ * acinclude.m4:
+ (IT_FIND_JAVA): Check that the binary is also
+ a regular file as well as executable.
+ (IT_FIND_JAVAH): Likewise.
+ (IT_FIND_JAR): Likewise.
+ (IT_FIND_RMIC): Likewise.
+ (IT_FIND_NATIVE2ASCII): Likewise.
+
+2011-06-29 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/6796786-invalid_FP_identity_transform.patch:
+ * patches/openjdk/7042070-Typo_in_Test6796786.patch:
+ Backport of 6796786 and 7042070 fixes.
+
+2011-06-29 Pavel Tisnovsky
+
+ * Makefile.am: added new patches
+ * NEWS: updated with backports
+ * patches/openjdk/7047069-Array_can_dynamically_change_size.patch:
+ Backport of 7047069 fix.
+
+2011-06-28 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6785424-SecurityException_locating_physical_fonts.patch:
+ Backport of 6785424 fix.
+
+2011-06-28 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6783910-java_awt_Color_brighter_darker_fix.patch:
+ Backport of 6783910 fix.
+
+2011-06-28 Andrew John Hughes
+
+ * Makefile.am: Add new patch.
+ * patches/support_linux_3.patch:
+ Allow Linux 3* through the HotSpot OS version
+ filter.
+
+2011-06-27 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6623219-Font_canDisplayUpTo_does_not_work.patch
+ Backport of 6623219 fix.
+
+2011-06-27 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6918065-Crash_in_Java2D_blit_loop.patch:
+ Backport of 6918065 fix.
+
+2011-06-27 Xerxes R??nby
+
+ JamVM
+ - Make classlib init functions consistent + warnings.
+ - Correctly implement sun.misc.Unsafe freeMemory().
+ - Move lazy-loading to init function.
+ - Fix various warnings with -Wall.
+ - PrintThreadsDump needs "self" as argument.
+ - CopyMemory, etc. handle negative or truncation in length.
+ - Extra sun.misc.Unsafe functions.
+ - Ignore options for jtreg tests.
+ - Enable shutdownVM to be called with OpenJDK classlib.
+ - Initial implementation of JVM_FindClassFromBootLoader.
+ - Fix callJNIMethod on i386 with -fomit-frame-pointer.
+ - Fix backwards cache conflict resolution code.
+ - Unify command line options parsing.
+ - Remove debug printf.
+ * NEWS: Updated.
+ * Makefile.am
+ (ICEDTEA_PATCHES): Remove upstreamed JamVM patch.
+ (JAMVM_VERSION): Updated JamVM to 2011-06-13 revision.
+ (JAMVM_SHA256SUM): Updated.
+ (stamps/jamvm.stamp):
+ Add -f when creating client symlink to handle repeat builds.
+ Link the fake libjsig.so to JamVM libjvm.so to work
+ with latest OpenJDK ALT_HOTSPOT_IMPORT_PATH functionality.
+ * patches/jamvm/ignore-unknown-options.patch: Removed.
+ Replaced by upstream, unify command line options parsing,
+ changeset 1b248439e88ae6cbd1471addc49e2666b8964ced.
+
+2011-06-24 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6699843-IllegalArgumentException_drawString.patch:
+ Backport of 6699843 fix.
+
+2011-06-24 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6956668-misbehavior_of_XOR_operator_with_int:
+ Backport of 6956668 fix.
+
+2011-06-23 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/7008106-WindowOpacity.patch:
+ Backport of 7008106 regression test fix.
+
+2011-06-23 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-MappedByteBuffer-Basic.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/java/nio/MappedByteBuffer/Basic.java
+ deletes all its work files.
+
+2011-06-22 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/openjdk/6818312-com.sun.awt.SecurityWarning.getSize.patch:
+ Backport of 6818312 regression test.
+
+2011-06-22 Pavel Tisnovsky
+
+ * Makefile.am: Added new patch.
+ * patches/jtreg-ReadWriteProfileTest.patch:
+ Added regression test missing from 6733501 backport.
+
+2011-06-22 Pavel Tisnovsky
+
+ * patches/jtreg-png-reader.patch:
+ Added new regression test which check if PNG
+ images read by ImageIO subsytstem contains
+ proper pixel values.
+
+2011-06-20 Denis Lila
+
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (SET_STREAM_ENUM): Add an underscore after java_prefix so that
+ the produced string matches the names in Stream.java.
+
+2011-06-20 Denis Lila
+
+ * Makefile.am: Add patch.
+ * patches/jtreg-bug7036148-test.patch:
+ Fix regression test. It used to never end, regardless of
+ success/failure.
+
+2011-06-20 Denis Lila
+
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
+ (bufferSize): Remove.
+ (getBufferSize): Return stream.getBufferSize().
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioSourceDataLine.java
+ (connectLine): Improve formatting.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java
+ (connectLine): Set up flags to adjust the latency, if needed.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java
+ (bufAttr, bufAttrMutex): New members.
+ (setBufAttr, bufferAttrCallback): New methods. They both set bufAttr.
+ (getBufferSize): Return the current buffer size.
+ (connectForRecording): Add a flags argument to allow callers to chose the
+ flags.
+ (stateCallback): When the stream is ready, set the buffer attributes to
+ the actual ones used by the server.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (buf_attr_changed_callback): New function.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1new):
+ Set the buffer attribute callback.
+
+2011-06-17 Denis Lila
+
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java
+ (FLAG_NOFLAGS, FLAG_START_CORKED, FLAG_INTERPOLATE_TIMING,
+ FLAG_NOT_MONOTONIC, FLAG_AUTO_TIMING_UPDATE, FLAG_NO_REMAP_CHANNELS,
+ FLAG_NO_REMIX_CHANNELS, FLAG_FIX_FORMAT, FLAG_FIX_RATE,
+ FLAG_FIX_CHANNELS, FLAG_DONT_MOVE, FLAG_VARIABLE_RATE, FLAG_PEAK_DETECT,
+ FLAG_START_MUTED, FLAG_ADJUST_LATENCY, FLAG_EARLY_REQUESTS,
+ FLAG_DONT_INHIBIT_AUTO_SUSPEND, FLAG_START_UNMUTED, FLAG_FAIL_ON_SUSPEND):
+ New static long variables mirroring pa_stream_flag_t values.
+ (STATE_UNCONNECTED, STATE_CREATING, STATE_READY, STATE_FAILED,
+ STATE_TERMINATED): Add the STATE_ prefix to distinguish them from
+ the flag variables.
+ (native_pa_stream_connect_playback, native_pa_stream_connect_record):
+ Change flags parameter to long.
+ (connectForPlayback, connectForRecording): Start the stream corked.
+ Change formatting to make it more readable.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (SET_STREAM_ENUM): Renamed from SET_STREAM_STATE_ENUM, since the
+ macro could have been used for any PA_STREAM constants, not just
+ stream states (and indeed, we now use it for flag constants too).
+ (Java_org_classpath_icedtea_pulseaudio_Stream_init_1constants):
+ Initialize flag constants in addition to the stream states.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1connect_1playback):
+ Change flags parameter to jlong (from jint), remove commented out
+ dead code, remove obsolete comment, and start the stream with whatever
+ flags were passed in the flags parameter, instead of ignoring that
+ parameter and using PA_STREAM_START_CORKED.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1connect_1record):
+ Change flags parameter to jlong (from jint), remove commented out
+ dead code.
+
+2011-06-17 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-ChannelsWrite.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/java/nio/channels/Channels/Write.java
+ deletes all its work files.
+
+2011-06-16 Denis Lila
+
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
+ (addStreamListeners): Remove this.notifyAll() from
+ openCloseListener.update; change this.notifyAll() to
+ PulseAudioDataLine.this.notifyAll() in startedListener.update.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioTargetDataLine.java
+ (read): Put fragmentBuffer null check in the synchronized block.
+ (flush): Make it synchronized to avoid race condition with read().
+
+2011-06-16 Denis Lila
+
+ * Makefile.am: Add ContextEvent to the list of pulse audio classes that
+ need javah run on them.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/ContextEvent.java
+ (Type): Remove and replace with...
+ (UNCONNECTED, CONNECTING, AUTHORIZING, SETTING_NAME, READY, FAILED,
+ TERMINATED): New static long variables replacing enum Type.
+ (init_constants): New native method to initialize the above variables.
+ (checkNativeEnumReturn): Make sure that the input is one of the longs
+ representing the type of ContextEvent.
+ (type): Change type from Type to long.
+ (ContextEvent): Take a long argument, instead of a Type.
+ (getType): Return a long, not a Type.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/EventLoop.java
+ (status): Change from int to long.
+ (native_set_sink_volume): Remove. It was unimplemented in the JNI side.
+ (getStatus): Return long instead of int.
+ (update): Replace int argument with long argument. Remove the switch
+ statement.
+ (setVolume): Remove. Unused.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Operation.java
+ (State): Remove and replace with...
+ (Running, Done, Cancelled): Static longs, enumerating the possible
+ operation states.
+ (init_constants): New native method to initialize the above variables.
+ (checkNativeOperationState): Make sure that the input is one of the longs
+ representing the operation state.
+ (native_get_state): Change return type from int to long.
+ (getState): Change return type to long; remove switch.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioDataLine.java
+ Remove the names of enums from the names of constants since most of them
+ were changed to static longs.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/PulseAudioMixer.java
+ Same changes as in PulseAudioDataLine.java.
+ * pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Stream.java
+ (State): Remove and replace with...
+ (UNCONNECTED, CREATING, READY, FAILED, TERMINATED): New static long variables
+ replacing enum Type.
+ (init_constants): New native method to initialize the above variables.
+ (checkNativeStreamState): Make sure that the input is one of the longs
+ representing the kind of StreamState.
+ (native_pa_stream_get_state): Change the return from int to long.
+ (getState): Remove the switch.
+ * pulseaudio/src/native/jni-common.h
+ (SET_JAVA_STATIC_LONG_FIELD_TO_PA_ENUM): Macro that sets one of the java
+ static longs to the corresponding pa_constant.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_ContextEvent.c
+ New file.
+ (SET_CONTEXT_ENUM): Macro that sets the ContextEvent types.
+ (Java_org_classpath_icedtea_pulseaudio_ContextEvent_init_1constants):
+ Implementation of ContextEvent.init_constants.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_EventLoop.c
+ (context_change_callback): Change the fourth argument of GetMethodID
+ to "(J)V" to reflect the change in the signature of EventLoop.update.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Operation.c
+ (SET_OP_ENUM): Macro that sets the operation types.
+ (Java_org_classpath_icedtea_pulseaudio_Operation_init_1constants):
+ Implementation of Operation.init_constants.
+ (Java_org_classpath_icedtea_pulseaudio_Operation_native_1get_1state):
+ Change return type to jlong.
+ * pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c
+ (SET_STREAM_ENUM): Macro that sets the stream states.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_init_1constants):
+ Implementation of Stream.init_constants.
+ (Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1get_1state):
+ Change return type to jlong.
+
+2011-06-16 Pavel Tisnovsky
+
+ * Makefile.am: fixed indentation (spaces2tabs)
+
+2011-06-16 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-FileMap.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/sun/net/www/protocol/file/FileMap.java
+ deletes all its work files.
+
+2011-06-15 Danesh Dadachanji
+
+ * AUTHORS: Added myself.
+ * Makefile.am: Use explicit xml-commons locations if necessary.
+ * acinclude.m4: Added explicit xml-commons check.
+ (IT_CHECK_IF_INSTANTIABLE): Added generic macro to instantiate any
+ class. Paramaters are the define, name of the class, paramaters
+ for instatiation and (optional) classpath.
+ * configure.ac: Invoke IT_FIND_XML_COMMONS_APIS_JAR macro after
+ IT_FIND_XERCES2_JAR, assigns XML_COMMONS_APIS_JAR if necessary.
+
+2011-06-15 Denis Lila
+
+ * Makefile.am: Add back the -classpath option to javah in
+ building the pulse audio header files. The bootstrap javah
+ doesn't recognize -J-Xbootclasspath/p: so it couldn't find
+ the classfiles.
+
+2011-06-15 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-EncodedMultiByteChar.patch:
+ Make sure that the regression test
+ openjdk/jdk/test/sun/net/www/protocol/file/EncodedMultiByteChar.java
+ deletes all its work files.
+
+2011-06-14 Pavel Tisnovsky
+
From bugzilla-daemon at icedtea.classpath.org Thu Jul 7 19:21:45 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 02:21:45 +0000
Subject: [Bug 754] New: error
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=754
Summary: error
Product: VisualVM Harness
Version: hg
Platform: 32-bit
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: VisualVM
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: changmingivy at yahoo.com.cn
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x4ed28e82, pid=6284, tid=3078837952
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK Client VM (20.0-b11 mixed mode linux-x86 )
# Derivative: IcedTea6 1.10.2
# Distribution: Fedora release 15 (Lovelock), package
fedora-58.1.10.2.fc15-i386
# Problematic frame:
# C [libxul.so+0xd88e82] CERT_GetCommonName+0xd88e82
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and 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 (0x0812f800): JavaThread "main" [_thread_in_native, id=6284,
stack(0xbfb15000,0xbfb65000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x0000005e
Registers:
EAX=0x00000066, EBX=0x4f4f3fc4, ECX=0x000000c5, EDX=0x00000000
ESP=0xbfb6081c, EBP=0x00000000, ESI=0xbfb61958, EDI=0x00121000
EIP=0x4ed28e82, EFLAGS=0x00210246, CR2=0x0000005e
Top of Stack: (sp=0xbfb6081c)
0xbfb6081c: 4ed29e2b bfb6087c 4f4f3fc4 ffffffff
0xbfb6082c: bfb608ac bfb60878 4a887a30 fffffe56
0xbfb6083c: 00001000 bfb61958 00120000 bfb6091c
0xbfb6084c: 4ed293cf bfb61958 00120000 00000000
0xbfb6085c: 00001000 bfb60878 00001000 00120000
0xbfb6086c: 00000000 00000000 00000000 00000000
0xbfb6087c: 00000000 bfb608a8 bfb60910 bfb608c8
0xbfb6088c: 4ecfc773 bfb608b8 bfb608bc bfb60910
Instructions: (pc=0x4ed28e82)
0x4ed28e62: 08 89 54 24 04 8b 00 89 04 24 e8 d1 0e 00 00 8d
0x4ed28e72: 64 24 1c c3 8b 48 08 f6 c1 04 74 10 8b 00 31 d2
0x4ed28e82: 83 78 f8 01 7f 1a 8b 50 fc 4a eb 14 f6 c1 10 74
0x4ed28e92: 05 8b 50 0c eb 0a 31 d2 80 e1 08 74 03 8b 50 04
Register to memory mapping:
EAX=0x00000066 is an unknown value
EBX=0x4f4f3fc4: in /usr/lib/xulrunner-2/libxul.so at
0x4dfa0000
ECX=0x000000c5 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0xbfb6081c is pointing into the stack for thread: 0x0812f800
EBP=0x00000000 is an unknown value
ESI=0xbfb61958 is pointing into the stack for thread: 0x0812f800
EDI=0x00121000: in
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-atk-gtk-3550.so
at 0x00121000
Stack: [0xbfb15000,0xbfb65000], sp=0xbfb6081c, free space=302k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libxul.so+0xd88e82] CERT_GetCommonName+0xd88e82
[error occurred during error reporting (printing native stack), id 0xb]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
[error occurred during error reporting (printing Java stack), id 0xb]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x08737800 JavaThread "Additional info timer" [_thread_blocked, id=6384,
stack(0x667f3000,0x66844000)]
0x085b3000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler"
daemon [_thread_blocked, id=6374, stack(0x66844000,0x66895000)]
0x64e0f800 JavaThread "Worker-9" [_thread_blocked, id=6368,
stack(0x64baf000,0x64c00000)]
0x68fc4800 JavaThread "Worker-8" [_thread_blocked, id=6367,
stack(0x64d0d000,0x64d5e000)]
0x68df9400 JavaThread "Worker-7" [_thread_blocked, id=6366,
stack(0x64d5e000,0x64daf000)]
0x0866a000 JavaThread "Worker-6" [_thread_blocked, id=6365,
stack(0x64daf000,0x64e00000)]
0x083f5800 JavaThread "Worker-5" [_thread_blocked, id=6364,
stack(0x64f45000,0x64f96000)]
0x68f62000 JavaThread "Worker-4" [_thread_blocked, id=6363,
stack(0x667a2000,0x667f3000)]
0x68df8c00 JavaThread "Worker-3" [_thread_blocked, id=6362,
stack(0x688af000,0x68900000)]
0x64e02800 JavaThread "Worker-2" [_thread_blocked, id=6361,
stack(0x674af000,0x67500000)]
0x68f54c00 JavaThread "Java indexing" daemon [_thread_blocked, id=6313,
stack(0x67303000,0x67354000)]
0x67547800 JavaThread "Worker-1" [_thread_blocked, id=6311,
stack(0x673a3000,0x673f4000)]
0x083af000 JavaThread "Worker-0" [_thread_blocked, id=6309,
stack(0x67634000,0x67685000)]
0x68f03400 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked,
id=6308, stack(0x6885e000,0x688af000)]
0x68c4dc00 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked,
id=6306, stack(0x68a0b000,0x68a5c000)]
0x0824a800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked,
id=6305, stack(0x68a5c000,0x68aad000)]
0x0825e000 JavaThread "State Data Manager" daemon [_thread_blocked, id=6304,
stack(0x68aad000,0x68afe000)]
0x0819a000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6302,
stack(0x68e0d000,0x68e5e000)]
0x08198400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=6301,
stack(0x68b7f000,0x68c00000)]
0x08196c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6300,
stack(0x68e5e000,0x68eaf000)]
0x08187c00 JavaThread "Finalizer" daemon [_thread_blocked, id=6299,
stack(0x68eaf000,0x68f00000)]
0x08186400 JavaThread "Reference Handler" daemon [_thread_blocked, id=6298,
stack(0x69032000,0x69083000)]
=>0x0812f800 JavaThread "main" [_thread_in_native, id=6284,
stack(0xbfb15000,0xbfb65000)]
Other Threads:
0x08182800 VMThread [stack: 0x69083000,0x69104000] [id=6297]
0x081a4800 WatcherThread [stack: 0x68afe000,0x68b7f000] [id=6303]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 104576K, used 5615K [0x696f0000, 0x70860000,
0x7d590000)
eden space 92992K, 6% used [0x696f0000, 0x69c6bf00, 0x6f1c0000)
from space 11584K, 0% used [0x6fd10000, 0x6fd10000, 0x70860000)
to space 11584K, 0% used [0x6f1c0000, 0x6f1c0000, 0x6fd10000)
tenured generation total 232128K, used 32783K [0x7d590000, 0x8b840000,
0xa52f0000)
the space 232128K, 14% used [0x7d590000, 0x7f593d38, 0x7f593e00,
0x8b840000)
compacting perm gen total 46336K, used 46143K [0xa52f0000, 0xa8030000,
0xb52f0000)
the space 46336K, 99% used [0xa52f0000, 0xa7fffe48, 0xa8000000, 0xa8030000)
No shared spaces configured.
Code Cache [0xb537f000, 0xb5c07000, 0xb737f000)
total_blobs=3425 nmethods=3204 adapters=153 free_code_cache=24634752
largest_free_block=320
Dynamic libraries:
00110000-00117000 r-xp 00000000 fd:01 1582696
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libzip.so
00117000-00118000 rw-p 00006000 fd:01 1582696
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libzip.so
00118000-0011d000 r-xp 00000000 fd:01 1449973
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so
0011d000-0011e000 rw-p 00005000 fd:01 1449973
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so
0011e000-00120000 r-xp 00000000 fd:01 2360032 /lib/libnss_mdns4_minimal.so.2
00120000-00121000 rw-p 00001000 fd:01 2360032 /lib/libnss_mdns4_minimal.so.2
00121000-00127000 r-xp 00000000 fd:02 15205658
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-atk-gtk-3550.so
00127000-00128000 rw-p 00005000 fd:02 15205658
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-atk-gtk-3550.so
00128000-00168000 r-xp 00000000 fd:01 1076584 /usr/lib/libibus-1.0.so.0.0.0
00168000-0016a000 rw-p 0003f000 fd:01 1076584 /usr/lib/libibus-1.0.so.0.0.0
0016a000-00180000 r-xp 00000000 fd:01 1057651
/usr/lib/libgvfscommon.so.0.0.0
00180000-00181000 rw-p 00016000 fd:01 1057651
/usr/lib/libgvfscommon.so.0.0.0
00181000-00186000 r-xp 00000000 fd:02 15205660
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-xpcominit-gtk-3550.so
00186000-00188000 rw-p 00005000 fd:02 15205660
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-xpcominit-gtk-3550.so
00188000-0019f000 r-xp 00000000 fd:02 15205661
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-mozilla-gtk-3550.so
0019f000-001a0000 rw-p 00017000 fd:02 15205661
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-mozilla-gtk-3550.so
001a0000-001f9000 r-xp 00000000 fd:01 1057646 /usr/lib/libXt.so.6.0.0
001f9000-001fd000 rw-p 00059000 fd:01 1057646 /usr/lib/libXt.so.6.0.0
001fd000-001ff000 r-xp 00000000 fd:01 1442599 /usr/lib/gconv/UTF-16.so
001ff000-00200000 r--p 00001000 fd:01 1442599 /usr/lib/gconv/UTF-16.so
00200000-00201000 rw-p 00002000 fd:01 1442599 /usr/lib/gconv/UTF-16.so
002f2000-002fd000 r-xp 00000000 fd:01 2360033 /lib/libnss_files-2.14.so
002fd000-002fe000 r--p 0000a000 fd:01 2360033 /lib/libnss_files-2.14.so
002fe000-002ff000 rw-p 0000b000 fd:01 2360033 /lib/libnss_files-2.14.so
00442000-00446000 rwxp 00000000 00:00 0
00446000-0072f000 r-xp 00000000 fd:01 1192417
/usr/lib/xulrunner-2/libmozjs.so
0072f000-00780000 rw-p 002e8000 fd:01 1192417
/usr/lib/xulrunner-2/libmozjs.so
00783000-0078e000 r-xp 00000000 fd:01 1582695
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libverify.so
0078e000-0078f000 rw-p 0000b000 fd:01 1582695
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libverify.so
0080d000-00817000 r-xp 00000000 fd:02 15205659
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-cairo-gtk-3550.so
00817000-00818000 rw-p 00009000 fd:02 15205659
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-cairo-gtk-3550.so
0081b000-00821000 r-xp 00000000 fd:01 2360031 /lib/libnss_dns-2.14.so
00821000-00822000 r--p 00005000 fd:01 2360031 /lib/libnss_dns-2.14.so
00822000-00823000 rw-p 00006000 fd:01 2360031 /lib/libnss_dns-2.14.so
00883000-008b1000 r-xp 00000000 fd:01 1192207
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
008b1000-008b2000 rw-p 0002d000 fd:01 1192207
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
008ec000-008ee000 r-xp 00000000 fd:02 1442703
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/28/1/.cp/os/linux/x86/liblocalfile_1_0_0.so
008ee000-008ef000 rw-p 00001000 fd:02 1442703
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/28/1/.cp/os/linux/x86/liblocalfile_1_0_0.so
00a53000-00a68000 r-xp 00000000 fd:01 1582687
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnet.so
00a68000-00a69000 rw-p 00014000 fd:01 1582687
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnet.so
00ac4000-00aea000 r-xp 00000000 fd:01 1582676
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjava.so
00aea000-00aec000 rw-p 00026000 fd:01 1582676
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libjava.so
00c46000-00c4c000 r-xp 00000000 fd:01 1197543
/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
00c4c000-00c4d000 rw-p 00005000 fd:01 1197543
/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
00ce4000-00d39000 r-xp 00000000 fd:02 15205656
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-pi-gtk-3550.so
00d39000-00d3c000 rw-p 00054000 fd:02 15205656
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-pi-gtk-3550.so
00d74000-00d77000 r-xp 00000000 fd:02 15205020
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-gtk-3550.so
00d77000-00d78000 rw-p 00002000 fd:02 15205020
/home/xyd/.eclipse/org.eclipse.platform_3.5.0_313540916/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-gtk-3550.so
00d78000-00d79000 rw-p 00000000 00:00 0
00dcb000-00dce000 r-xp 00000000 fd:01 1449972
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so
00dce000-00dcf000 rw-p 00002000 fd:01 1449972
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so
00e1a000-00e44000 r-xp 00000000 fd:01 1078690
/usr/lib/gio/modules/libgvfsdbus.so
00e44000-00e45000 rw-p 0002a000 fd:01 1078690
/usr/lib/gio/modules/libgvfsdbus.so
00e9b000-00ea6000 r-xp 00000000 fd:02 1442009
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so
00ea6000-00ea7000 rw-p 0000a000 fd:02 1442009
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so
00eb2000-00eba000 r-xp 00000000 fd:01 1582688
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnio.so
00eba000-00ebb000 rw-p 00007000 fd:01 1582688
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libnio.so
00f1e000-00f1f000 r-xp 00000000 00:00 0 [vdso]
00f1f000-01432000 r-xp 00000000 fd:01 1582662
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so
01432000-01455000 rw-p 00513000 fd:01 1582662
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so
01455000-0186d000 rw-p 00000000 00:00 0
08048000-0804c000 r-xp 00000000 fd:02 15340413
/home/xyd/software/eclipse/eclipse
0804c000-0804d000 rw-p 00003000 fd:02 15340413
/home/xyd/software/eclipse/eclipse
080cc000-088c0000 rw-p 00000000 00:00 0 [heap]
4a874000-4a891000 r-xp 00000000 fd:01 2359998 /lib/ld-2.14.so
4a891000-4a892000 r--p 0001d000 fd:01 2359998 /lib/ld-2.14.so
4a892000-4a893000 rw-p 0001e000 fd:01 2359998 /lib/ld-2.14.so
4a895000-4aa1a000 r-xp 00000000 fd:01 2360060 /lib/libc-2.14.so
4aa1a000-4aa1c000 r--p 00184000 fd:01 2360060 /lib/libc-2.14.so
4aa1c000-4aa1d000 rw-p 00186000 fd:01 2360060 /lib/libc-2.14.so
4aa1d000-4aa20000 rw-p 00000000 00:00 0
4aa22000-4aa25000 r-xp 00000000 fd:01 2360117 /lib/libdl-2.14.so
4aa25000-4aa26000 r--p 00002000 fd:01 2360117 /lib/libdl-2.14.so
4aa26000-4aa27000 rw-p 00003000 fd:01 2360117 /lib/libdl-2.14.so
4aa29000-4aa3f000 r-xp 00000000 fd:01 2364025 /lib/libpthread-2.14.so
4aa3f000-4aa40000 r--p 00015000 fd:01 2364025 /lib/libpthread-2.14.so
4aa40000-4aa41000 rw-p 00016000 fd:01 2364025 /lib/libpthread-2.14.so
4aa41000-4aa43000 rw-p 00000000 00:00 0
4aa45000-4aa6d000 r-xp 00000000 fd:01 2367380 /lib/libm-2.14.so
4aa6d000-4aa6e000 r--p 00028000 fd:01 2367380 /lib/libm-2.14.so
4aa6e000-4aa6f000 rw-p 00029000 fd:01 2367380 /lib/libm-2.14.so
4aa71000-4aa78000 r-xp 00000000 fd:01 2368256 /lib/librt-2.14.so
4aa78000-4aa79000 r--p 00006000 fd:01 2368256 /lib/librt-2.14.so
4aa79000-4aa7a000 rw-p 00007000 fd:01 2368256 /lib/librt-2.14.so
4aa7c000-4aa98000 r-xp 00000000 fd:01 2368149
/lib/libgcc_s-4.6.0-20110530.so.1
4aa98000-4aa99000 rw-p 0001b000 fd:01 2368149
/lib/libgcc_s-4.6.0-20110530.so.1
4aa9b000-4aab0000 r-xp 00000000 fd:01 2368150 /lib/libz.so.1.2.5
4aab0000-4aab1000 rw-p 00014000 fd:01 2368150 /lib/libz.so.1.2.5
4aab3000-4aad0000 r-xp 00000000 fd:01 2368205 /lib/libselinux.so.1
4aad0000-4aad1000 r--p 0001c000 fd:01 2368205 /lib/libselinux.so.1
4aad1000-4aad2000 rw-p 0001d000 fd:01 2368205 /lib/libselinux.so.1
4aad4000-4abec000 r-xp 00000000 fd:01 2368267 /lib/libglib-2.0.so.0.2800.8
4abec000-4abed000 rw-p 00118000 fd:01 2368267 /lib/libglib-2.0.so.0.2800.8
4abef000-4ac05000 r-xp 00000000 fd:01 2368204 /lib/libresolv-2.14.so
4ac05000-4ac06000 r--p 00016000 fd:01 2368204 /lib/libresolv-2.14.so
4ac06000-4ac07000 rw-p 00017000 fd:01 2368204 /lib/libresolv-2.14.so
4ac07000-4ac09000 rw-p 00000000 00:00 0
4ac0b000-4ac28000 r-xp 00000000 fd:01 1056942 /usr/lib/libxcb.so.1.1.0
4ac28000-4ac29000 rw-p 0001d000 fd:01 1056942 /usr/lib/libxcb.so.1.1.0
4ac2b000-4ac2d000 r-xp 00000000 fd:01 1054602 /usr/lib/libXau.so.6.0.0
4ac2d000-4ac2e000 rw-p 00001000 fd:01 1054602 /usr/lib/libXau.so.6.0.0
4ac30000-4ac34000 r-xp 00000000 fd:01 2368268
/lib/libgthread-2.0.so.0.2800.8
4ac34000-4ac35000 rw-p 00003000 fd:01 2368268
/lib/libgthread-2.0.so.0.2800.8
4ac37000-4ad6c000 r-xp 00000000 fd:01 1057005 /usr/lib/libX11.so.6.3.0
4ad6c000-4ad70000 rw-p 00134000 fd:01 1057005 /usr/lib/libX11.so.6.3.0
4ad72000-4ad82000 r-xp 00000000 fd:01 1057006 /usr/lib/libXext.so.6.4.0
4ad82000-4ad83000 rw-p 00010000 fd:01 1057006 /usr/lib/libXext.so.6.4.0
4ad85000-4add1000 r-xp 00000000 fd:01 2368269
/lib/libgobject-2.0.so.0.2800.8
4add1000-4add3000 rw-p 0004b000 fd:01 2368269
/lib/libgobject-2.0.so.0.2800.8
4add5000-4add9000 r-xp 00000000 fd:01 1061729 /usr/lib/libXfixes.so.3.1.0
4add9000-4adda000 rw-p 00003000 fd:01 1061729 /usr/lib/libXfixes.so.3.1.0
4addc000-4ae02000 r-xp 00000000 fd:01 2368173 /lib/libexpat.so.1.5.2
4ae02000-4ae04000 rw-p 00026000 fd:01 2368173 /lib/libexpat.so.1.5.2
4ae06000-4ae2e000 r-xp 00000000 fd:01 1054638 /usr/lib/libpng12.so.0.44.0
4ae2e000-4ae2f000 rw-p 00027000 fd:01 1054638 /usr/lib/libpng12.so.0.44.0
4ae31000-4ae35000 r-xp 00000000 fd:01 2368266 /lib/libuuid.so.1.3.0
4ae35000-4ae36000 rw-p 00003000 fd:01 2368266 /lib/libuuid.so.1.3.0
4ae38000-4aece000 r-xp 00000000 fd:01 1054687 /usr/lib/libfreetype.so.6.6.2
4aece000-4aed2000 rw-p 00095000 fd:01 1054687 /usr/lib/libfreetype.so.6.6.2
4aed4000-4af07000 r-xp 00000000 fd:01 1055708
/usr/lib/libfontconfig.so.1.4.4
4af07000-4af08000 rw-p 00033000 fd:01 1055708
/usr/lib/libfontconfig.so.1.4.4
4af0a000-4af0d000 r-xp 00000000 fd:01 2368272
/lib/libgmodule-2.0.so.0.2800.8
4af0d000-4af0e000 rw-p 00002000 fd:01 2368272
/lib/libgmodule-2.0.so.0.2800.8
4af10000-4af19000 r-xp 00000000 fd:01 1061723 /usr/lib/libXrender.so.1.3.0
4af19000-4af1a000 rw-p 00008000 fd:01 1061723 /usr/lib/libXrender.so.1.3.0
4af1c000-4affe000 r-xp 00000000 fd:01 1053327 /usr/lib/libstdc++.so.6.0.16
4affe000-4b002000 r--p 000e1000 fd:01 1053327 /usr/lib/libstdc++.so.6.0.16
4b002000-4b004000 rw-p 000e5000 fd:01 1053327 /usr/lib/libstdc++.so.6.0.16
4b004000-4b00a000 rw-p 00000000 00:00 0
4b00c000-4b01a000 r-xp 00000000 fd:01 1057080 /usr/lib/libXi.so.6.1.0
4b01a000-4b01b000 rw-p 0000d000 fd:01 1057080 /usr/lib/libXi.so.6.1.0
4b01d000-4b01f000 r-xp 00000000 fd:01 1061727 /usr/lib/libXinerama.so.1.0.0
4b01f000-4b020000 rw-p 00001000 fd:01 1061727 /usr/lib/libXinerama.so.1.0.0
4b022000-4b029000 r-xp 00000000 fd:01 1057480 /usr/lib/libSM.so.6.0.1
4b029000-4b02a000 rw-p 00006000 fd:01 1057480 /usr/lib/libSM.so.6.0.1
4b02c000-4b033000 r-xp 00000000 fd:01 1061728 /usr/lib/libXrandr.so.2.2.0
4b033000-4b034000 rw-p 00006000 fd:01 1061728 /usr/lib/libXrandr.so.2.2.0
4b036000-4b04c000 r-xp 00000000 fd:01 1057402 /usr/lib/libICE.so.6.3.0
4b04c000-4b04e000 rw-p 00015000 fd:01 1057402 /usr/lib/libICE.so.6.3.0
4b04e000-4b04f000 rw-p 00000000 00:00 0
4b051000-4b17b000 r-xp 00000000 fd:01 2368277 /lib/libgio-2.0.so.0.2800.8
4b17b000-4b17e000 rw-p 00129000 fd:01 2368277 /lib/libgio-2.0.so.0.2800.8
4b17e000-4b17f000 rw-p 00000000 00:00 0
4b181000-4b18a000 r-xp 00000000 fd:01 1061730 /usr/lib/libXcursor.so.1.0.2
4b18a000-4b18b000 rw-p 00008000 fd:01 1061730 /usr/lib/libXcursor.so.1.0.2
4b18d000-4b1d4000 r-xp 00000000 fd:01 2368523 /lib/libdbus-1.so.3.5.4
4b1d4000-4b1d5000 r--p 00047000 fd:01 2368523 /lib/libdbus-1.so.3.5.4
4b1d5000-4b1d6000 rw-p 00048000 fd:01 2368523 /lib/libdbus-1.so.3.5.4
4b1d8000-4b1da000 r-xp 00000000 fd:01 1061732 /usr/lib/libXdamage.so.1.1.0
4b1da000-4b1db000 rw-p 00001000 fd:01 1061732 /usr/lib/libXdamage.so.1.1.0
4b1dd000-4b1ff000 r-xp 00000000 fd:01 1061734
/usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
4b1ff000-4b200000 rw-p 00021000 fd:01 1061734
/usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
4b202000-4b205000 r-xp 00000000 fd:01 1193252
/usr/lib/xulrunner-2/libxpcom.so
4b205000-4b206000 rw-p 00003000 fd:01 1193252
/usr/lib/xulrunner-2/libxpcom.so
4b208000-4b20a000 r-xp 00000000 fd:01 1189833
/usr/lib/xulrunner-2/libmozalloc.so
4b20a000-4b20b000 rw-p 00001000 fd:01 1189833
/usr/lib/xulrunner-2/libmozalloc.so
4b27b000-4b2ec000 r-xp 00000000 fd:01 1072455 /usr/lib/libvpx.so.0.9.6
4b2ec000-4b2ed000 rw-p 00071000 fd:01 1072455 /usr/lib/libvpx.so.0.9.6
4b2ed000-4b2f8000 rw-p 00000000 00:00 0
4b3cf000-4b3fb000 r-xp 00000000 fd:01 1061725
/usr/lib/libpangoft2-1.0.so.0.2800.4
4b3fb000-4b3fc000 rw-p 0002b000 fd:01 1061725
/usr/lib/libpangoft2-1.0.so.0.2800.4
4b3fe000-4b4b2000 r-xp 00000000 fd:01 1061724 /usr/lib/libcairo.so.2.11000.2
4b4b2000-4b4b4000 rw-p 000b3000 fd:01 1061724 /usr/lib/libcairo.so.2.11000.2
4b4b4000-4b4b6000 rw-p 00000000 00:00 0
4b4b8000-4b4c3000 r-xp 00000000 fd:01 1061726
/usr/lib/libpangocairo-1.0.so.0.2800.4
4b4c3000-4b4c4000 rw-p 0000a000 fd:01 1061726
/usr/lib/libpangocairo-1.0.so.0.2800.4
4b508000-4b50a000 r-xp 00000000 fd:01 1061731
/usr/lib/libXcomposite.so.1.0.0
4b50a000-4b50b000 rw-p 00001000 fd:01 1061731
/usr/lib/libXcomposite.so.1.0.0
4b5e8000-4b62f000 r-xp 00000000 fd:01 1061721
/usr/lib/libpango-1.0.so.0.2800.4
4b62f000-4b631000 rw-p 00046000 fd:01 1061721
/usr/lib/libpango-1.0.so.0.2800.4
4b633000-4b6aa000 r-xp 00000000 fd:01 1061722 /usr/lib/libpixman-1.so.0.20.2
4b6aa000-4b6ae000 rw-p 00076000 fd:01 1061722 /usr/lib/libpixman-1.so.0.20.2
4b6b0000-4b6cd000 r-xp 00000000 fd:01 1061736 /usr/lib/libatk-1.0.so.0.9.1
4b6cd000-4b6cf000 rw-p 0001c000 fd:01 1061736 /usr/lib/libatk-1.0.so.0.9.1
4b879000-4b88f000 r-xp 00000000 fd:01 2368526 /lib/libnsl-2.14.so
4b88f000-4b890000 r--p 00016000 fd:01 2368526 /lib/libnsl-2.14.so
4b890000-4b891000 rw-p 00017000 fd:01 2368526 /lib/libnsl-2.14.so
4b891000-4b893000 rw-p 00000000 00:00 0
4b8d8000-4b991000 r-xp 00000000 fd:01 1061735
/usr/lib/libgdk-x11-2.0.so.0.2400.4
4b991000-4b994000 rw-p 000b9000 fd:01 1061735
/usr/lib/libgdk-x11-2.0.so.0.2400.4
4b996000-4be37000 r-xp 00000000 fd:01 1061737
/usr/lib/libgtk-x11-2.0.so.0.2400.4
4be37000-4be3d000 rw-p 004a1000 fd:01 1061737
/usr/lib/libgtk-x11-2.0.so.0.2400.4
4be3d000-4be3e000 rw-p 00000000 00:00 0
4be52000-4be61000 r-xp 00000000 fd:01 2368524 /lib/libudev.so.0.11.1
4be61000-4be62000 r--p 0000e000 fd:01 2368524 /lib/libudev.so.0.11.1
4be62000-4be63000 rw-p 0000f000 fd:01 2368524 /lib/libudev.so.0.11.1
4be65000-4be67000 r-xp 00000000 fd:01 1073267 /usr/lib/libxcb-event.so.1.0.0
4be67000-4be68000 rw-p 00002000 fd:01 1073267 /usr/lib/libxcb-event.so.1.0.0
4be6a000-4be6d000 r-xp 00000000 fd:01 1072519 /usr/lib/libxcb-aux.so.0.0.0
4be6d000-4be6e000 rw-p 00002000 fd:01 1072519 /usr/lib/libxcb-aux.so.0.0.0
4be78000-4bed8000 r-xp 00000000 fd:01 1078353
/usr/lib/libhunspell-1.2.so.0.0.0
4bed8000-4bedc000 rw-p 00060000 fd:01 1078353
/usr/lib/libhunspell-1.2.so.0.0.0
4bfbc000-4bfc5000 r-xp 00000000 fd:01 1073352
/usr/lib/libstartup-notification-1.so.0.0.0
4bfc5000-4bfc6000 rw-p 00008000 fd:01 1073352
/usr/lib/libstartup-notification-1.so.0.0.0
4c1e9000-4c1ee000 r-xp 00000000 fd:01 1063524 /usr/lib/libXtst.so.6.1.0
4c1ee000-4c1ef000 rw-p 00004000 fd:01 1063524 /usr/lib/libXtst.so.6.1.0
4d0de000-4d0f5000 r-xp 00000000 fd:01 1061945 /usr/lib/libnssutil3.so
4d0f5000-4d0f8000 rw-p 00017000 fd:01 1061945 /usr/lib/libnssutil3.so
4d0fa000-4d0fd000 r-xp 00000000 fd:01 2368287 /lib/libplds4.so
4d0fd000-4d0fe000 rw-p 00002000 fd:01 2368287 /lib/libplds4.so
4d100000-4d104000 r-xp 00000000 fd:01 2368283 /lib/libplc4.so
4d104000-4d105000 rw-p 00003000 fd:01 2368283 /lib/libplc4.so
4d107000-4d245000 r-xp 00000000 fd:01 1062037 /usr/lib/libnss3.so
4d245000-4d249000 rw-p 0013d000 fd:01 1062037 /usr/lib/libnss3.so
4d249000-4d24a000 rw-p 00000000 00:00 0
4d24c000-4d285000 r-xp 00000000 fd:01 2368281 /lib/libnspr4.so
4d285000-4d287000 rw-p 00038000 fd:01 2368281 /lib/libnspr4.so
4d287000-4d288000 rw-p 00000000 00:00 0
4d290000-4d2b9000 r-xp 00000000 fd:01 1062147 /usr/lib/libsmime3.so
4d2b9000-4d2bb000 rw-p 00029000 fd:01 1062147 /usr/lib/libsmime3.so
4d2bd000-4d2f0000 r-xp 00000000 fd:01 1062065 /usr/lib/libssl3.so
4d2f0000-4d2f2000 rw-p 00033000 fd:01 1062065 /usr/lib/libssl3.so
4d8a5000-4d8a8000 r-xp 00000000 fd:01 1064989 /usr/lib/libxcb-atom.so.1.0.0
4d8a8000-4d8a9000 rw-p 00002000 fd:01 1064989 /usr/lib/libxcb-atom.so.1.0.0
4d8b4000-4d8f4000 r-xp 00000000 fd:01 1054612 /usr/lib/libjpeg.so.62.0.0
4d8f4000-4d8f5000 rw-p 0003f000 fd:01 1054612 /usr/lib/libjpeg.so.62.0.0
4d8f5000-4d905000 rw-p 00000000 00:00 0
4d934000-4d936000 r-xp 00000000 fd:01 2368265 /lib/libutil-2.14.so
4d936000-4d937000 r--p 00001000 fd:01 2368265 /lib/libutil-2.14.so
4d937000-4d938000 rw-p 00002000 fd:01 2368265 /lib/libutil-2.14.so
4d93a000-4d9d3000 r-xp 00000000 fd:01 1064847 /usr/lib/libsqlite3.so.0.8.6
4d9d3000-4d9d5000 rw-p 00099000 fd:01 1064847 /usr/lib/libsqlite3.so.0.8.6
4deaa000-4df9a000 r-xp 00000000 fd:01 2361038 /lib/libasound.so.2.0.0
4df9a000-4df9e000 rw-p 000f0000 fd:01 2361038 /lib/libasound.so.2.0.0
4dfa0000-4f3fd000 r-xp 00000000 fd:01 1192471 /usr/lib/xulrunner-2/libxul.so
4f3fd000-4f529000 rw-p 0145c000 fd:01 1192471 /usr/lib/xulrunner-2/libxul.so
4f529000-4f560000 rw-p 00000000 00:00 0
64baf000-64bb2000 ---p 00000000 00:00 0
64bb2000-64c00000 rw-p 00000000 00:00 0
64c00000-64cd1000 rw-p 00000000 00:00 0
64cd1000-64d00000 ---p 00000000 00:00 0
64d0d000-64d10000 ---p 00000000 00:00 0
64d10000-64d5e000 rw-p 00000000 00:00 0
64d5e000-64d61000 ---p 00000000 00:00 0
64d61000-64daf000 rw-p 00000000 00:00 0
64daf000-64db2000 ---p 00000000 00:00 0
64db2000-64e00000 rw-p 00000000 00:00 0
64e00000-64e68000 rw-p 00000000 00:00 0
64e68000-64f00000 ---p 00000000 00:00 0
64f19000-64f1d000 r--s 00034000 fd:02 15865411
/home/xyd/software/eclipse/plugins/com.jcraft.jsch_0.1.41.v200903070017.jar
64f1d000-64f1f000 r--s 00007000 fd:02 15865395
/home/xyd/software/eclipse/plugins/org.eclipse.jsch.core_1.1.100.I20090430-0408.jar
64f1f000-64f28000 r--s 00084000 fd:02 15865393
/home/xyd/software/eclipse/plugins/org.eclipse.team.cvs.core_3.3.200.I20090430-0408.jar
64f28000-64f45000 r--s 00177000 fd:02 15865352
/home/xyd/software/eclipse/plugins/org.eclipse.team.cvs.ui_3.3.200.I20090521-1750.jar
64f45000-64f48000 ---p 00000000 00:00 0
64f48000-64f96000 rw-p 00000000 00:00 0
64f96000-64f98000 r--s 0000a000 fd:02 15865434
/home/xyd/software/eclipse/plugins/org.eclipse.ui.net_1.2.0.I20090430-0408.jar
64f98000-64f9a000 r--s 00013000 fd:01 1582697
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/jce.jar
64f9a000-64f9b000 r--s 00008000 fd:02 15865439
/home/xyd/software/eclipse/plugins/org.eclipse.core.net.linux.x86_1.1.0.I20081021.jar
64f9b000-64f9e000 r--s 00017000 fd:02 15865480
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.security_1.0.100.v20090520-1800.jar
64f9e000-64fa0000 r--s 0000e000 fd:02 15865374
/home/xyd/software/eclipse/plugins/org.eclipse.core.net_1.2.0.I20090522-1010.jar
64fa0000-65000000 rw-s 00000000 00:04 1310730 /SYSV00000000 (deleted)
65000000-65008000 r--s 00050000 fd:02 15863542
/home/xyd/software/eclipse/plugins/org.eclipse.ui.navigator_3.4.0.I20090525-2000.jar
65100000-651c8000 rw-p 00000000 00:00 0
651c8000-65200000 ---p 00000000 00:00 0
65200000-65300000 rw-p 00000000 00:00 0
65300000-653f9000 rw-p 00000000 00:00 0
653f9000-65400000 ---p 00000000 00:00 0
65401000-65403000 r--s 00014000 fd:02 1442032
/home/xyd/software/eclipse/plugins/org.eclipse.ui.intro.universal_3.2.300.v20090526/universal.jar
65403000-65407000 r--s 00022000 fd:02 15865443
/home/xyd/software/eclipse/plugins/org.eclipse.ui.externaltools_3.2.0.v20090504.jar
65468000-65472000 r--s 00074000 fd:02 15863522
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.junit_3.5.0.v20090526-2000.jar
65472000-6548c000 r--s 0012c000 fd:02 15863559
/home/xyd/software/eclipse/plugins/org.eclipse.team.ui_3.5.0.I20090430-0408.jar
6548c000-65490000 r--s 00023000 fd:02 15865437
/home/xyd/software/eclipse/plugins/org.eclipse.ui.console_3.4.0.v20090513.jar
65490000-65494000 r--s 0001b000 fd:02 15863566
/home/xyd/software/eclipse/plugins/org.eclipse.ui.navigator.resources_3.4.0.I20090525-2000.jar
65494000-65496000 r--s 0000d000 fd:02 15863635
/home/xyd/software/eclipse/plugins/org.eclipse.compare.core_3.5.0.I20090430-0408.jar
65496000-654e3000 r--p 00000000 fd:01 1317860
/usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf
654e3000-654ed000 r--s 00065000 fd:02 15863644
/home/xyd/software/eclipse/plugins/org.eclipse.ltk.ui.refactoring_3.4.100.v20090604.jar
654ed000-6553f000 r--p 00000000 fd:01 1317863
/usr/share/fonts/dejavu/DejaVuSansMono.ttf
6553f000-66589000 r--p 00000000 fd:01 1448233
/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc
66589000-665a2000 r--s 00126000 fd:02 15865462
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.debug.ui_3.4.0.v20090527.jar
665a2000-665aa000 r--s 00046000 fd:02 15863629
/home/xyd/software/eclipse/plugins/org.eclipse.ltk.core.refactoring_3.5.0.v20090513-2000.jar
665aa000-665ad000 r--s 00013000 fd:02 15865470
/home/xyd/software/eclipse/plugins/org.eclipse.ui.views_3.4.0.I20090525-2000.jar
666cd000-666d0000 ---p 00000000 00:00 0
666d0000-6671e000 rw-p 00000000 00:00 0
6671e000-6675a000 r--p 00000000 fd:01 1317862
/usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf
6675a000-6675c000 r--s 00004000 fd:02 15865360
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.garbagecollector_1.0.100.v20090520-1905.jar
6675c000-6675e000 r--s 0000c000 fd:02 15863513
/home/xyd/software/eclipse/plugins/org.eclipse.ecf.identity_3.0.0.v20090604-1131.jar
6675e000-66761000 r--s 00009000 fd:02 15865409
/home/xyd/software/eclipse/plugins/org.eclipse.ecf.filetransfer_3.0.0.v20090604-1131.jar
66761000-66764000 r--s 0001c000 fd:02 15865497
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.metadata.repository_1.0.100.v20090525.jar
66764000-66767000 r--s 00017000 fd:02 15865340
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.repository_1.0.0.v20090601-1921.jar
66767000-6676a000 r--s 00013000 fd:02 15863625
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.director_1.0.100.v20090520-1905.jar
6676a000-6676e000 r--s 00023000 fd:02 15865410
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.engine_1.0.100.v20090525.jar
6676e000-66770000 r--s 00001000 fd:02 15865446
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.exemplarysetup_1.0.100.v20090520-1905.jar
66770000-66780000 r--s 000f2000 fd:02 15865394
/home/xyd/software/eclipse/plugins/org.eclipse.pde.core_3.5.0.v20090602.jar
66786000-66787000 rw-p 00000000 00:00 0
66787000-66797000 r--s 000f8000 fd:02 15863527
/home/xyd/software/eclipse/plugins/org.eclipse.ant.ui_3.4.0.v20090520.jar
66797000-667a0000 r--s 00093000 fd:02 15865356
/home/xyd/software/eclipse/plugins/org.eclipse.pde.api.tools_1.0.100.v20090526.jar
667a0000-667a2000 r--s 00006000 fd:02 15865436
/home/xyd/software/eclipse/plugins/org.eclipse.core.variables_3.2.200.v20090521.jar
667a2000-667a5000 ---p 00000000 00:00 0
667a5000-667f3000 rw-p 00000000 00:00 0
667f3000-667f6000 ---p 00000000 00:00 0
667f6000-66844000 rw-p 00000000 00:00 0
66844000-66847000 ---p 00000000 00:00 0
66847000-66895000 rw-p 00000000 00:00 0
66895000-6689c000 r--s 0004b000 fd:02 15863521
/home/xyd/software/eclipse/plugins/org.eclipse.pde.api.tools.ui_1.0.100.v20090526.jar
6689c000-6689f000 r--s 00019000 fd:02 15863645
/home/xyd/software/eclipse/plugins/org.eclipse.core.filebuffers_3.5.0.v20090526-2000.jar
6689f000-668a8000 r--s 00068000 fd:02 15863519
/home/xyd/software/eclipse/plugins/org.eclipse.search_3.5.0.v20090526-2000.jar
668a8000-668d7000 r--s 00227000 fd:02 15865390
/home/xyd/software/eclipse/plugins/org.eclipse.debug.ui_3.5.0.v20090603.jar
668d7000-668ea000 r--s 000da000 fd:02 15865371
/home/xyd/software/eclipse/plugins/org.eclipse.jface.text_3.5.0.v20090602.jar
668ea000-668f5000 r--s 0007d000 fd:02 15863599
/home/xyd/software/eclipse/plugins/org.eclipse.ui.editors_3.5.0.v20090527-2000.jar
668f5000-66900000 r--s 0007f000 fd:02 15865492
/home/xyd/software/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.5.0.v20090603.jar
66900000-669e5000 rw-p 00000000 00:00 0
669e5000-66a00000 ---p 00000000 00:00 0
66a00000-66a03000 r--s 00012000 fd:02 15865383
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.core.manipulation_1.3.0.v20090603.jar
66a03000-66a92000 r--s 008cb000 fd:02 15863597
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
66a92000-66a93000 ---p 00000000 00:00 0
66a93000-67293000 rw-p 00000000 00:00 0
67293000-672a5000 r--p 00000000 fd:01 1318419
/usr/share/locale/zh_CN/LC_MESSAGES/glib20.mo
672a5000-672a8000 rw-s 00000000 00:04 1277958 /SYSV00000000 (deleted)
672a8000-672ef000 r--s 003ad000 fd:02 15865490
/home/xyd/software/eclipse/plugins/org.eclipse.pde.ui_3.5.0.v20090528.jar
672ef000-672f1000 r--s 00006000 fd:02 15865339
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.apt.pluggable.core_1.0.200.v20090526-2130.jar
672f1000-672f8000 r--s 00052000 fd:02 15863569
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.apt.core_3.3.200.v20090528-1135.jar
672f8000-672ff000 r--s 00047000 fd:02 15865484
/home/xyd/software/eclipse/plugins/org.eclipse.debug.core_3.5.0.v20090526-1600.jar
672ff000-67303000 r--s 00043000 fd:02 15863606
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.launching_3.5.0.v20090527.jar
67303000-67306000 ---p 00000000 00:00 0
67306000-67354000 rw-p 00000000 00:00 0
67354000-67359000 r--s 00037000 fd:02 15865365
/home/xyd/software/eclipse/plugins/org.eclipse.text_3.5.0.v20090513-2000.jar
67359000-6735a000 r--s 0000c000 fd:02 15863614
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.compiler.tool_1.0.100.v_963.jar
6735a000-6735d000 r--s 00023000 fd:02 15863675
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.compiler.apt_1.0.200.v20090528-1135.jar
6735d000-67386000 r--s 0041b000 fd:02 15863665
/home/xyd/software/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
67386000-6738a000 r--s 00032000 fd:02 15863504
/home/xyd/software/eclipse/plugins/org.eclipse.help_3.4.0.v20090526.jar
6738a000-67391000 r--s 00049000 fd:02 15863600
/home/xyd/software/eclipse/plugins/org.eclipse.ui.cheatsheets_3.3.200.v20090526.jar
67391000-67396000 r--s 00029000 fd:02 15863557
/home/xyd/software/eclipse/plugins/org.eclipse.ui.browser_3.2.300.v20090526.jar
67396000-6739a000 r--s 00023000 fd:02 15865485
/home/xyd/software/eclipse/plugins/org.eclipse.pde.runtime_3.4.100.v20090527.jar
6739a000-673a3000 r--s 00069000 fd:02 15865467
/home/xyd/software/eclipse/plugins/org.eclipse.help.ui_3.4.0.v20090528.jar
673a3000-673a6000 ---p 00000000 00:00 0
673a6000-673f4000 rw-p 00000000 00:00 0
673f4000-673fd000 r--s 00056000 fd:02 15865324
/home/xyd/software/eclipse/plugins/org.eclipse.team.core_3.5.0.I20090527-0620.jar
673fd000-674ad000 r--p 00000000 fd:01 1318090
/usr/share/fonts/dejavu/DejaVuSans.ttf
674ad000-674af000 r--s 00013000 fd:02 15865428
/home/xyd/software/eclipse/plugins/org.eclipse.core.expressions_3.4.100.v20090429-1800.jar
674af000-674b2000 ---p 00000000 00:00 0
674b2000-67500000 rw-p 00000000 00:00 0
67500000-67600000 rw-p 00000000 00:00 0
67600000-67602000 r--p 00000000 fd:01 1318570
/usr/share/locale/zh_CN/LC_MESSAGES/atk10.mo
67602000-6761f000 r--s 00568000 fd:02 15865330
/home/xyd/software/eclipse/plugins/com.ibm.icu_4.0.1.v20090415.jar
6761f000-67628000 r--s 0003d000 fd:02 15865385
/home/xyd/software/eclipse/plugins/org.eclipse.core.databinding.observable_1.2.0.I20090604-2000.jar
67628000-67631000 r--s 00037000 fd:02 15865370
/home/xyd/software/eclipse/plugins/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
67631000-67634000 r--s 00013000 fd:02 15863619
/home/xyd/software/eclipse/plugins/org.eclipse.core.contenttype_3.4.0.v20090429-1800.jar
67634000-67637000 ---p 00000000 00:00 0
67637000-67685000 rw-p 00000000 00:00 0
67685000-67686000 r--s 00001000 fd:02 15865475
/home/xyd/software/eclipse/plugins/org.eclipse.core.filesystem.linux.x86_1.2.0.v20080604-1400.jar
67686000-67688000 r--s 00009000 fd:02 15863646
/home/xyd/software/eclipse/plugins/org.eclipse.core.filesystem_1.2.0.v20090507.jar
67688000-6768b000 r--s 0001b000 fd:02 15865331
/home/xyd/software/eclipse/plugins/org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar
6768b000-6768e000 r--s 00077000 fd:01 1582632
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/localedata.jar
6768e000-67698000 r--s 000a3000 fd:02 15863659
/home/xyd/software/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
67698000-6769b000 r--s 00016000 fd:02 15863563
/home/xyd/software/eclipse/plugins/org.eclipse.update.configurator_3.3.0.v20090312.jar
6769b000-676be000 r--s 001d5000 fd:02 15865468
/home/xyd/software/eclipse/plugins/org.eclipse.ui.ide_3.5.0.I20090525-2000.jar
676be000-68708000 r--p 00000000 fd:01 1448233
/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc
68708000-6870a000 r--s 00000000 fd:01 1968155
/var/cache/fontconfig/7e24c1c3b25754604c4f46a5df32e5c1-le32d4.cache-3
6870a000-6870c000 r--s 00000000 fd:01 1968154
/var/cache/fontconfig/3ad840390a44011d5fc042cdf95ddcfe-le32d4.cache-3
6870c000-6870f000 r--s 00000000 fd:01 1968212
/var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-le32d4.cache-3
6870f000-68715000 r--s 00000000 fd:01 1968201
/var/cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-le32d4.cache-3
68715000-68716000 r--s 00000000 fd:01 1968188
/var/cache/fontconfig/60542f0bb9f94eae9d378d7cecc69283-le32d4.cache-3
68716000-68717000 r--s 00000000 fd:01 1968187
/var/cache/fontconfig/01cde5f9976aee51dfe5064473b1a750-le32d4.cache-3
68717000-68719000 r--s 00000000 fd:01 1968186
/var/cache/fontconfig/0b1bcc92b4d25cc154d77dafe3bceaa0-le32d4.cache-3
68719000-6871b000 r--s 00000000 fd:01 1968185
/var/cache/fontconfig/eb7476afde319dc446903ba59258b3a1-le32d4.cache-3
6871b000-6871c000 r--s 00000000 fd:01 1968184
/var/cache/fontconfig/501db7fa77dbe65e684743da40cfc0b4-le32d4.cache-3
6871c000-6871d000 r--s 00000000 fd:01 1968183
/var/cache/fontconfig/44ad4949f51819251fed26de7f5ef1ed-le32d4.cache-3
6871d000-68722000 r--s 00000000 fd:01 1968182
/var/cache/fontconfig/1dc6ee88f73eae2c5efcd55d2e07d1ff-le32d4.cache-3
68722000-68728000 r--s 00000000 fd:01 1968181
/var/cache/fontconfig/5c755b2f27115486aa6359c84dd3cbda-le32d4.cache-3
68728000-68729000 r--s 00000000 fd:01 1968179
/var/cache/fontconfig/b0ed20c882e65d0b4e0ddce4a3af7210-le32d4.cache-3
68729000-6872b000 r--s 00000000 fd:01 1968178
/var/cache/fontconfig/33f212c1741f5cc65af3605429029a27-le32d4.cache-3
6872b000-6872c000 r--s 00000000 fd:01 1968177
/var/cache/fontconfig/06233d212212cb9148397f49821f92db-le32d4.cache-3
6872c000-68731000 r--s 00000000 fd:01 1968176
/var/cache/fontconfig/184cb258ab29f904d58efac97e80a37b-le32d4.cache-3
68731000-68732000 r--s 00000000 fd:01 1968175
/var/cache/fontconfig/b966c23d19cce9e9a98d55765cf2a0c7-le32d4.cache-3
68732000-68734000 r--s 00000000 fd:01 1968174
/var/cache/fontconfig/09757cce9f40703a72dac2999fc1cdb3-le32d4.cache-3
68734000-68735000 r--s 00000000 fd:01 1968173
/var/cache/fontconfig/3f821257dd33660ba7bbb45c32deb84c-le32d4.cache-3
68735000-68737000 r--s 00000000 fd:01 1968172
/var/cache/fontconfig/830f035fa84a65ce80e050178dbb630d-le32d4.cache-3
68737000-68739000 r--s 00000000 fd:01 1968171
/var/cache/fontconfig/81a173283b451552b599cfaafd6236bd-le32d4.cache-3
68739000-6873a000 r--s 00000000 fd:01 1968170
/var/cache/fontconfig/a01c43f7cd08244f295d2d5376628d67-le32d4.cache-3
6873a000-6873b000 r--s 00000000 fd:01 1968169
/var/cache/fontconfig/c37613e2604bdd41c402e32d2821e076-le32d4.cache-3
6873b000-6873c000 r--s 00000000 fd:01 1968168
/var/cache/fontconfig/ab59c533cf99e5048be0543c550dbefe-le32d4.cache-3
6873c000-6873d000 r--s 00000000 fd:01 1968167
/var/cache/fontconfig/ac68f755438cc3dc5a526084839fc7ca-le32d4.cache-3
6873d000-6873e000 r--s 00000000 fd:01 1968166
/var/cache/fontconfig/090ca5f158cafb5cca12fbfb2918dcbc-le32d4.cache-3
6873e000-68740000 r--s 00000000 fd:01 1968165
/var/cache/fontconfig/93ed6fdacff7a9ede5b7d84ced5376f9-le32d4.cache-3
68740000-68741000 r--s 00000000 fd:01 1968164
/var/cache/fontconfig/5e318dc2e4e71bebff515e4a5204b2f1-le32d4.cache-3
68741000-68742000 r--s 00000000 fd:01 1968163
/var/cache/fontconfig/c4a6275d67b20a7c75d4337c8a72309a-le32d4.cache-3
68742000-68744000 r--s 00000000 fd:01 1968162
/var/cache/fontconfig/a6e2df8ba006ac4142661ca5b6a5011c-le32d4.cache-3
68744000-68746000 r--s 00000000 fd:01 1968161
/var/cache/fontconfig/560c5d9ab24f373e3de5407b98a82782-le32d4.cache-3
68746000-68747000 r--s 00000000 fd:01 1968160
/var/cache/fontconfig/1087b4956ab162a9df115622be36d848-le32d4.cache-3
68747000-68748000 r--s 00000000 fd:01 1968159
/var/cache/fontconfig/12513961c6e7090f8648812f9eaf65d6-le32d4.cache-3
68748000-6874a000 r--s 00000000 fd:01 1968158
/var/cache/fontconfig/5f94b9dbace0471d333295bf13565fa1-le32d4.cache-3
6874a000-6874d000 r--s 00000000 fd:01 1968157
/var/cache/fontconfig/9b14b4be4168f9312a7e272e0a49deed-le32d4.cache-3
6874d000-6874e000 r--s 00000000 fd:01 1968156
/var/cache/fontconfig/c966307f371e64928d9ff5b862329f04-le32d4.cache-3
6874e000-6874f000 r--s 00000000 fd:01 1968152
/var/cache/fontconfig/c25f174be0e642a5b89dcf759df7168e-le32d4.cache-3
6874f000-68751000 r--s 00000000 fd:01 1968151
/var/cache/fontconfig/30b9c3e04f780095e7cb0ae44a315810-le32d4.cache-3
68751000-68752000 r--s 00000000 fd:01 1968150
/var/cache/fontconfig/e8fe69fff143ec54c56d12417c2b92c6-le32d4.cache-3
68752000-68753000 r--s 00000000 fd:01 1968149
/var/cache/fontconfig/cd85732661d495d944dd62f02e8a3d94-le32d4.cache-3
68753000-68755000 r--s 00000000 fd:01 1968148
/var/cache/fontconfig/e26bf336397aae6fcef4d3803472adec-le32d4.cache-3
68755000-68756000 r--s 00000000 fd:01 1968147
/var/cache/fontconfig/a5c2dc934fad9bbf30c854216245519d-le32d4.cache-3
68756000-68757000 r--s 00000000 fd:01 1968146
/var/cache/fontconfig/17e60ccdf2eb53b214a9a5d6663eb217-le32d4.cache-3
68757000-68758000 r--s 00000000 fd:01 1967596
/var/cache/fontconfig/6fcb01a03a016cc71057b587cdea6709-le32d4.cache-3
68758000-6875a000 r--s 00000000 fd:01 1968144
/var/cache/fontconfig/ce0d969af2176489fbefad4fe7aa6451-le32d4.cache-3
6875a000-6875b000 r--s 00000000 fd:01 1968143
/var/cache/fontconfig/808084b99cc6d2dafdbe941f4fc10e5e-le32d4.cache-3
6875b000-6875c000 r--s 00000000 fd:01 1968140
/var/cache/fontconfig/0ed4c14da43483470c2e67e9fa7f604c-le32d4.cache-3
6875c000-6875d000 r--s 00000000 fd:01 1968139
/var/cache/fontconfig/a11da874bea4fbbc9fdb45ec11736d85-le32d4.cache-3
6875d000-6875e000 r--s 00000000 fd:01 1968138
/var/cache/fontconfig/06f3a2bb811d145a24c573e7a33ca824-le32d4.cache-3
6875e000-6875f000 r--s 00000000 fd:01 1968137
/var/cache/fontconfig/8116a09590ac122099d79bc00352576d-le32d4.cache-3
6875f000-68760000 r--s 00000000 fd:01 1968136
/var/cache/fontconfig/406539cfa4772f138dbfe570ea21dd78-le32d4.cache-3
68760000-68761000 r--s 00000000 fd:01 1968135
/var/cache/fontconfig/63ddee8290ea8b0ca61a4ae5d5fbe2e4-le32d4.cache-3
68761000-68762000 r--s 00000000 fd:01 1968134
/var/cache/fontconfig/0c2162cee12f62c440796a3710ab4576-le32d4.cache-3
68762000-68763000 r--s 00000000 fd:01 1968133
/var/cache/fontconfig/2678730374f88f8c6b5c0192ab5a46db-le32d4.cache-3
68763000-68764000 r--s 00000000 fd:01 1968132
/var/cache/fontconfig/b7f871b42933087377786da82c87aae8-le32d4.cache-3
68764000-68765000 r--s 00000000 fd:01 1968131
/var/cache/fontconfig/c13e356c1e91a0f1779b14a65a2feb20-le32d4.cache-3
68765000-68766000 r--s 00000000 fd:01 1968130
/var/cache/fontconfig/ea2058bcd578b2fb98fea0cdde11eb27-le32d4.cache-3
68766000-6876a000 r--s 00000000 fd:01 1968129
/var/cache/fontconfig/92766a01268820036254e15fb956c917-le32d4.cache-3
6876a000-6876b000 r--s 00000000 fd:01 1968128
/var/cache/fontconfig/46d51d90fe9d963f6f4186edb936a931-le32d4.cache-3
6876b000-6876c000 r--s 00000000 fd:01 1968127
/var/cache/fontconfig/b887eea8f1b96e1d899b44ed6681fc27-le32d4.cache-3
6876c000-6876d000 r--s 00000000 fd:01 1968126
/var/cache/fontconfig/860639f272b8b4b3094f9e399e41bccd-le32d4.cache-3
6876d000-6876e000 r--s 00000000 fd:01 1968125
/var/cache/fontconfig/211368abcb0ff835c229ff05c9ec01dc-le32d4.cache-3
6876e000-6876f000 r--s 00000000 fd:01 1968124
/var/cache/fontconfig/c46020d7221988a13df853d2b46304fc-le32d4.cache-3
6876f000-68770000 r--s 00000000 fd:01 1974440
/var/cache/fontconfig/fa2b533b7056bdadb961f088bc0a978b-le32d4.cache-3
68770000-68771000 r--s 00000000 fd:01 1974439
/var/cache/fontconfig/df893b4576ad6107f9397134092c4059-le32d4.cache-3
68771000-68772000 r--s 00000000 fd:01 1968121
/var/cache/fontconfig/900402270e15d763a6e008bb2d4c7686-le32d4.cache-3
68772000-68773000 r--s 00000000 fd:01 1968120
/var/cache/fontconfig/47f48679023f44a4d1e44699a69464f6-le32d4.cache-3
68773000-68774000 r--s 00000000 fd:01 1968119
/var/cache/fontconfig/2881ed3fd21ca306ddad6f9b0dd3189f-le32d4.cache-3
68774000-68775000 r--s 00000000 fd:01 1968118
/var/cache/fontconfig/3c3fb04d32a5211b073874b125d29701-le32d4.cache-3
68775000-68776000 r--s 00000000 fd:01 1968117
/var/cache/fontconfig/e61abf8156cc476151baa07d67337cae-le32d4.cache-3
68776000-68779000 r--s 00000000 fd:01 1968116
/var/cache/fontconfig/e4307be1e5b40d775f6e65a19e2b9602-le32d4.cache-3
68779000-6877a000 r--s 00000000 fd:01 1974436
/var/cache/fontconfig/339f7971f0febd795a89052d3369f043-le32d4.cache-3
6877a000-6877e000 r--s 00000000 fd:01 1974667
/var/cache/fontconfig/b67b32625a2bb51b023d3814a918f351-le32d4.cache-3
6877e000-6877f000 r--s 00000000 fd:01 1968113
/var/cache/fontconfig/0cdaf353a0871111e8db86b8a5e64d24-le32d4.cache-3
6877f000-68780000 r--s 00000000 fd:01 1968112
/var/cache/fontconfig/991510d2da7f7b2bf8468002aae90060-le32d4.cache-3
68780000-68783000 r--s 00000000 fd:01 1968111
/var/cache/fontconfig/d3379abda271c4acd2ad0c01f565d0b0-le32d4.cache-3
68783000-68786000 r--s 00000000 fd:01 1968110
/var/cache/fontconfig/46b47dbc682d2ca4191e148ea7bde7f2-le32d4.cache-3
68786000-68787000 r--s 00000000 fd:01 1968109
/var/cache/fontconfig/b4d0b56f766d89640448751fcd18ec1e-le32d4.cache-3
68787000-68788000 r--s 00000000 fd:01 1968108
/var/cache/fontconfig/f79e8a5c6d94836beaa5baa45530f5f3-le32d4.cache-3
68788000-68789000 r--s 00000000 fd:01 1968107
/var/cache/fontconfig/9ed4f620c87a78387e22563dd851402a-le32d4.cache-3
68789000-6878b000 r--s 00000000 fd:01 1968106
/var/cache/fontconfig/f0c9303bd8699fbc3d699bcd3b0632e1-le32d4.cache-3
6878b000-6878f000 r--s 00000000 fd:01 1968105
/var/cache/fontconfig/7b312f204090bff0956e0e66992a6837-le32d4.cache-3
6878f000-6879c000 r--s 00000000 fd:01 1968104
/var/cache/fontconfig/614d1caaa4d7914789410f6367de37ca-le32d4.cache-3
6879c000-6879d000 r--s 00000000 fd:01 1968103
/var/cache/fontconfig/a57715af284cc9c847313a68c0060edf-le32d4.cache-3
6879d000-6879e000 r--s 00000000 fd:01 1968102
/var/cache/fontconfig/c65659168f2a330b65b021d31418493f-le32d4.cache-3
6879e000-6879f000 r--s 00000000 fd:01 1968101
/var/cache/fontconfig/abed434a0cb6b7dd83c616b765e42ea0-le32d4.cache-3
6879f000-687a0000 r--s 00000000 fd:01 1968100
/var/cache/fontconfig/68ac132a7bc6dc57231954159129fc6b-le32d4.cache-3
687a0000-687a1000 r--s 00000000 fd:01 1968099
/var/cache/fontconfig/3132fefeac9cdeac7380e109d85440ee-le32d4.cache-3
687a1000-687a2000 r--s 00000000 fd:01 1968098
/var/cache/fontconfig/3c3d59f067dd0a6640fcf535a63f4651-le32d4.cache-3
687a2000-687a3000 r--s 00000000 fd:01 1968097
/var/cache/fontconfig/71de441fde3b21277919db6bf922a6e0-le32d4.cache-3
687a3000-687a5000 r--s 00000000 fd:01 1968096
/var/cache/fontconfig/917c4bf21b6b8bf5fea915b3e7d6dd30-le32d4.cache-3
687a5000-687a6000 r--s 00000000 fd:01 1968095
/var/cache/fontconfig/7d4bea36d612eadce51137bd8cc65682-le32d4.cache-3
687a6000-687a7000 r--s 00000000 fd:01 1968094
/var/cache/fontconfig/207cda5ec499274748b645461f7674e3-le32d4.cache-3
687a7000-687a8000 r--s 00000000 fd:01 1968093
/var/cache/fontconfig/c34cce0154716cd2e39b0526bc46d4bb-le32d4.cache-3
687a8000-687a9000 r--s 00000000 fd:01 1968092
/var/cache/fontconfig/55f1d2e96d054e2d2ab1c28da62fa234-le32d4.cache-3
687a9000-687aa000 r--s 00000000 fd:01 1968091
/var/cache/fontconfig/7f8c1d19c76bbd4aa53a35a6712a78af-le32d4.cache-3
687aa000-687ab000 r--s 00000000 fd:01 1968090
/var/cache/fontconfig/139a1e233bf0843a226edc62c081b372-le32d4.cache-3
687ab000-687ac000 r--s 00000000 fd:01 1968089
/var/cache/fontconfig/974e82c5004f8b618cd9a27d6dbd469c-le32d4.cache-3
687ac000-687ad000 r--s 00000000 fd:01 1968088
/var/cache/fontconfig/715977d93026f1f6043912e86a61d310-le32d4.cache-3
687ad000-687af000 r--s 00000000 fd:01 1968087
/var/cache/fontconfig/09a9d49af07c33bbbd7b9b4fe1c03c3f-le32d4.cache-3
687af000-687b0000 r--s 00000000 fd:01 1968086
/var/cache/fontconfig/ccd0d96c8a3d6066c69ec653618adc33-le32d4.cache-3
687b0000-687b1000 r--s 00000000 fd:01 1968085
/var/cache/fontconfig/1a98c66db4b845ad3f67ecb8dcf2989e-le32d4.cache-3
687b1000-687b2000 r--s 00000000 fd:01 1968084
/var/cache/fontconfig/0f2596bb880fa04863cc11abf85ce6ec-le32d4.cache-3
687b2000-687b4000 r--s 00000000 fd:01 1968083
/var/cache/fontconfig/db4e11cd7afdc15e39e31407bb1de971-le32d4.cache-3
687b4000-687b5000 r--s 00000000 fd:01 1968082
/var/cache/fontconfig/61554cdd13d2438eb6ce390ecd4f8e27-le32d4.cache-3
687b5000-687b7000 r--s 00000000 fd:01 1968081
/var/cache/fontconfig/05e49ffbbed10c61a5c11aba61690114-le32d4.cache-3
687b7000-687b8000 r--s 00000000 fd:01 1968080
/var/cache/fontconfig/221dfefec5d95ce4e672fae40809ce7e-le32d4.cache-3
687b8000-687b9000 r--s 00000000 fd:01 1968079
/var/cache/fontconfig/ae58cee0bfd2c458abe46d4c47525990-le32d4.cache-3
687b9000-687ba000 r--s 00000000 fd:01 1968078
/var/cache/fontconfig/d1ddfaf6f251c435b188a759cbc78b50-le32d4.cache-3
687ba000-687bb000 r--s 00000000 fd:01 1968077
/var/cache/fontconfig/c9ab9db1e15c1f00cf00a667ab2c6508-le32d4.cache-3
687bb000-687bc000 r--s 00000000 fd:01 1968076
/var/cache/fontconfig/938497af82a2e33351ac904ca675c076-le32d4.cache-3
687bc000-687bd000 r--s 00000000 fd:01 1968075
/var/cache/fontconfig/b993c892b08fe81a8375ee3f01186e5c-le32d4.cache-3
687bd000-687be000 r--s 00000000 fd:01 1968074
/var/cache/fontconfig/b0f1fd707abb08ca1ec322b03e6de149-le32d4.cache-3
687be000-687bf000 r--s 00000000 fd:01 1968073
/var/cache/fontconfig/9210bfe778075f01d9a6ad78273d3551-le32d4.cache-3
687bf000-687c0000 r--s 00000000 fd:01 1968072
/var/cache/fontconfig/27a26a6572d8db04e2609c64fb6f9476-le32d4.cache-3
687c0000-687c1000 r--s 00000000 fd:01 1968071
/var/cache/fontconfig/efb3709cb5cd8da903fd39752511227a-le32d4.cache-3
687c1000-687c3000 r--s 00000000 fd:01 1968070
/var/cache/fontconfig/b9906ec4e97df7104d5c6c3d47c0c179-le32d4.cache-3
687c3000-687c4000 r--s 00000000 fd:01 1968069
/var/cache/fontconfig/da2f63d2b1859690847530402906c0e3-le32d4.cache-3
687c4000-687c5000 r--s 00000000 fd:01 1968066
/var/cache/fontconfig/176f9478df015a2a7380e60868cc6e98-le32d4.cache-3
687c5000-687c6000 r--s 00000000 fd:01 1974437
/var/cache/fontconfig/faf848137f773a1feecbeea04842cd53-le32d4.cache-3
687c6000-687d2000 r--s 00000000 fd:01 1968064
/var/cache/fontconfig/12b26b760a24f8b4feb03ad48a333a72-le32d4.cache-3
687d2000-687d5000 r--s 00000000 fd:01 1968062
/var/cache/fontconfig/3df8979866e8848a59fe99e84294e911-le32d4.cache-3
687d5000-687e2000 r--s 00000000 fd:01 1968061
/var/cache/fontconfig/74717c444f6fd72454fa9c9c0ee01ca7-le32d4.cache-3
687e2000-687e3000 r--s 00000000 fd:01 1968060
/var/cache/fontconfig/f8a0dc956c162bd0c7bbbdccd748c6f1-le32d4.cache-3
687e3000-687e4000 r--s 00000000 fd:01 1968059
/var/cache/fontconfig/510a39962a0e99fa91ab9b1702749d8e-le32d4.cache-3
687e4000-687e5000 r--s 00000000 fd:01 1968058
/var/cache/fontconfig/dffd3a9326c1c3a0910ca2c8986ed438-le32d4.cache-3
687e5000-687e6000 r--s 00000000 fd:01 1968057
/var/cache/fontconfig/8204f71571e57035987df47bc5a9a9fe-le32d4.cache-3
687e6000-687ea000 r--s 00000000 fd:01 1968055
/var/cache/fontconfig/cf88f444488d569f9535e4f0ee8ed9a1-le32d4.cache-3
687ea000-687ec000 r--s 00000000 fd:01 1968054
/var/cache/fontconfig/e3ead4b767b8819993a6fa3ae306afa9-le32d4.cache-3
687ec000-687ee000 r--s 00000000 fd:01 1968053
/var/cache/fontconfig/e26737dd0bac68206b7b4894b8f0a845-le32d4.cache-3
687ee000-687f1000 r--s 00000000 fd:01 1968052
/var/cache/fontconfig/f5da82313d22ae5bf5bc6e539d256292-le32d4.cache-3
687f1000-68804000 r--s 001ef000 fd:02 15865333
/home/xyd/software/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.5.0.v3550b.jar
68804000-68805000 r--s 00003000 fd:02 15863547
/home/xyd/software/eclipse/plugins/org.eclipse.swt_3.5.0.v3550b.jar
68805000-68819000 r--s 000ef000 fd:02 15863518
/home/xyd/software/eclipse/plugins/org.eclipse.jface_3.5.0.I20090525-2000.jar
68819000-6885e000 r--s 0039d000 fd:02 15865487
/home/xyd/software/eclipse/plugins/org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar
6885e000-68861000 ---p 00000000 00:00 0
68861000-688af000 rw-p 00000000 00:00 0
688af000-688b2000 ---p 00000000 00:00 0
688b2000-68900000 rw-p 00000000 00:00 0
68900000-689fe000 rw-p 00000000 00:00 0
689fe000-68a00000 ---p 00000000 00:00 0
68a00000-68a02000 r--s 00000000 fd:01 1968050
/var/cache/fontconfig/2c041bd23ca3011c5b03ab21ab3de213-le32d4.cache-3
68a02000-68a04000 r--s 00000000 fd:01 1968046
/var/cache/fontconfig/a835c6b2233a7cf9bb83cf66d594cab4-le32d4.cache-3
68a04000-68a07000 r--s 00000000 fd:01 1968045
/var/cache/fontconfig/a8af5ade1c7cc287d6e5c3636f25d0ec-le32d4.cache-3
68a07000-68a0b000 r--s 00000000 fd:01 1968044
/var/cache/fontconfig/000199951cf6d3eb5530f03af1a052cf-le32d4.cache-3
68a0b000-68a0e000 ---p 00000000 00:00 0
68a0e000-68a5c000 rw-p 00000000 00:00 0
68a5c000-68a5f000 ---p 00000000 00:00 0
68a5f000-68aad000 rw-p 00000000 00:00 0
68aad000-68ab0000 ---p 00000000 00:00 0
68ab0000-68afe000 rw-p 00000000 00:00 0
68afe000-68aff000 ---p 00000000 00:00 0
68aff000-68b7f000 rw-p 00000000 00:00 0
68b7f000-68b82000 ---p 00000000 00:00 0
68b82000-68c00000 rw-p 00000000 00:00 0
68c00000-68cff000 rw-p 00000000 00:00 0
68cff000-68d00000 ---p 00000000 00:00 0
68d00000-68e00000 rw-p 00000000 00:00 0
68e00000-68e01000 r--s 00000000 fd:01 1968049
/var/cache/fontconfig/e0b887e9bdb170ea905b07287b29311e-le32d4.cache-3
68e01000-68e02000 r--s 00000000 fd:01 1968048
/var/cache/fontconfig/154bc0eb1368be08a8b4d5d2e35c19be-le32d4.cache-3
68e02000-68e05000 r--s 00000000 fd:01 1968043
/var/cache/fontconfig/c616022798c0b25a79811868e21e0dbb-le32d4.cache-3
68e05000-68e08000 r--s 00017000 fd:02 15865481
/home/xyd/software/eclipse/plugins/org.eclipse.core.commands_3.5.0.I20090525-2000.jar
68e08000-68e0d000 r--s 00020000 fd:02 15863631
/home/xyd/software/eclipse/plugins/org.eclipse.ui_3.5.0.I20090604-2000.jar
68e0d000-68e10000 ---p 00000000 00:00 0
68e10000-68e5e000 rw-p 00000000 00:00 0
68e5e000-68e61000 ---p 00000000 00:00 0
68e61000-68eaf000 rw-p 00000000 00:00 0
68eaf000-68eb2000 ---p 00000000 00:00 0
68eb2000-68f00000 rw-p 00000000 00:00 0
68f00000-69000000 rw-p 00000000 00:00 0
69000000-69001000 r--s 00000000 fd:01 1968047
/var/cache/fontconfig/df8258ee65196e67510ccece1790bb3d-le32d4.cache-3
69001000-69002000 r--s 00000000 fd:01 1968042
/var/cache/fontconfig/3640555adad8a8f6978400293cfce7ab-le32d4.cache-3
69002000-69004000 r--s 00000000 fd:01 1968041
/var/cache/fontconfig/b3043b29744cf0a429678d296f5e4026-le32d4.cache-3
69004000-69005000 r--s 00001000 fd:02 1442027
/home/xyd/software/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.0.I20090429-1800/compatibility.jar
69005000-69007000 r--s 0000c000 fd:02 15865500
/home/xyd/software/eclipse/plugins/org.eclipse.ui.ide.application_1.0.100.I20090525-2000.jar
69007000-6900b000 r--s 0001b000 fd:02 15865414
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.core_1.0.100.v20090520-1905.jar
6900b000-6900c000 r--s 00006000 fd:02 15865368
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.directorywatcher_1.0.100.v20090525.jar
6900c000-6900f000 r--s 00014000 fd:02 15863514
/home/xyd/software/eclipse/plugins/org.eclipse.core.runtime.compatibility_3.2.0.v20090413.jar
6900f000-69011000 r--s 00012000 fd:02 15863590
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.app_1.2.0.v20090520-1800.jar
69011000-69013000 r--s 00012000 fd:02 15863660
/home/xyd/software/eclipse/plugins/org.eclipse.core.jobs_3.4.100.v20090429-1800.jar
69013000-69016000 r--s 00017000 fd:02 15863620
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar
69016000-69018000 r--s 00004000 fd:02 15863643
/home/xyd/software/eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.100.v20090413.jar
69018000-6901c000 r--s 00027000 fd:02 15863632
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar
6901c000-6901e000 r--s 00010000 fd:02 15865473
/home/xyd/software/eclipse/plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar
6901e000-69021000 r--s 0000e000 fd:02 15863650
/home/xyd/software/eclipse/plugins/org.eclipse.osgi.services_3.2.0.v20090520-1800.jar
69021000-69032000 r--s 00102000 fd:02 15865407
/home/xyd/software/eclipse/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
69032000-69035000 ---p 00000000 00:00 0
69035000-69083000 rw-p 00000000 00:00 0
69083000-69084000 ---p 00000000 00:00 0
69084000-69104000 rw-p 00000000 00:00 0
69104000-69107000 r--s 0001b000 fd:01 1584369
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/plugin.jar
69107000-6910e000 r--s 00067000 fd:01 1584747
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/netx.jar
6910e000-69141000 rw-p 00000000 00:00 0
69141000-692d1000 r--s 037af000 fd:01 1582709
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/rt.jar
692d1000-692e8000 rw-p 00000000 00:00 0
692e8000-69352000 rw-p 00000000 00:00 0
69352000-693c4000 rw-p 00000000 00:00 0
693c4000-69491000 rw-p 00000000 00:00 0
69491000-694ca000 rw-p 00000000 00:00 0
694ca000-69530000 rw-p 00000000 00:00 0
69530000-695a2000 rw-p 00000000 00:00 0
695a2000-6966f000 rw-p 00000000 00:00 0
6966f000-69686000 rw-p 00000000 00:00 0
69686000-696ef000 rw-p 00000000 00:00 0
696ef000-70860000 rw-p 00000000 00:00 0
70860000-7d590000 rw-p 00000000 00:00 0
7d590000-8b840000 rw-p 00000000 00:00 0
8b840000-a52f0000 rw-p 00000000 00:00 0
a52f0000-a8030000 rw-p 00000000 00:00 0
a8030000-b52f0000 rw-p 00000000 00:00 0
b52f0000-b52f3000 r--s 00010000 fd:02 15865464
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.util_1.0.100.v20090520-1800.jar
b52f3000-b52f5000 r--s 00027000 fd:02 15865345
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.ds_1.1.0.v20090601.jar
b52f5000-b52f8000 r--s 00016000 fd:02 15863655
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar
b52f8000-b52ff000 r--s 000fb000 fd:01 1582707
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/resources.jar
b52ff000-b5322000 rw-p 00000000 00:00 0
b5322000-b537f000 rw-p 00000000 00:00 0
b537f000-b5c07000 rwxp 00000000 00:00 0
b5c07000-b737f000 rw-p 00000000 00:00 0
b737f000-b73df000 rw-s 00000000 00:04 1245189 /SYSV00000000 (deleted)
b73df000-b73e4000 r--p 00000000 fd:01 1318653
/usr/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo
b73e4000-b7447000 rw-p 00000000 00:00 0
b7447000-b7465000 r--s 00000000 fd:01 1449616 /usr/share/mime/mime.cache
b7465000-b7466000 r--s 00000000 fd:02 15335641
/home/xyd/.local/share/mime/mime.cache
b7466000-b7467000 r--s 00009000 fd:02 15863636
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.p2.reconciler.dropins_1.0.100.v20090520-1905.jar
b7467000-b747b000 r--p 00000000 fd:01 1317849
/usr/share/locale/zh_CN/LC_MESSAGES/libc.mo
b747b000-b7482000 r--s 00000000 fd:01 1453483
/usr/lib/gconv/gconv-modules.cache
b7482000-b7490000 r--p 00000000 fd:01 1322871
/usr/share/locale/zh_CN/LC_MESSAGES/gtk20.mo
b7490000-b75f5000 r--p 05b7e000 fd:01 1078577 /usr/lib/locale/locale-archive
b75f5000-b7635000 r--p 03268000 fd:01 1078577 /usr/lib/locale/locale-archive
b7635000-b7835000 r--p 00000000 fd:01 1078577 /usr/lib/locale/locale-archive
b7835000-b7837000 rw-p 00000000 00:00 0
b7837000-b7838000 r--s 00002000 fd:02 1441992
/home/xyd/software/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800/runtime_registry_compatibility.jar
b7838000-b783a000 r--s 00008000 fd:02 15863535
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar
b783a000-b783e000 r--s 0007c000 fd:01 1584142
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/jsse.jar
b783e000-b783f000 r--s 0000a000 fd:02 15863537
/home/xyd/software/eclipse/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
b783f000-b7848000 r--s 00065000 fd:01 1582631
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/gnome-java-bridge.jar
b7848000-b784b000 r--s 0000f000 fd:01 1582634
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/pulse-java.jar
b784b000-b7853000 rw-s 00000000 fd:01 2626743 /tmp/hsperfdata_xyd/6284
b7853000-b7854000 rw-p 00000000 00:00 0
b7854000-b7855000 r--p 00000000 00:00 0
b7855000-b7856000 rw-p 00000000 00:00 0
bfb15000-bfb18000 ---p 00000000 00:00 0
bfb19000-bfb65000 rw-p 00000000 00:00 0 [stack]
VM Arguments:
jvm_args: -Xms340m -Xmx956m -XX:MaxPermSize=256m
java_command:
Launcher Type: generic
Environment Variables:
PATH=/usr/lib/libfm:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/xyd/bin
USERNAME=xyd
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/xulrunner-2:/usr/lib/xulrunner-2
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.so+0x3e4490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3e4490], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x302280], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGXFSZ: [libjvm.so+0x302280], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x302280], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x302110], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x304f90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x304f90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x304f90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x304f90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:Fedora release 15 (Lovelock)
uname:Linux 2.6.38.8-32.fc15.i686.PAE #1 SMP Mon Jun 13 19:55:27 UTC 2011 i686
libc:glibc 2.14 NPTL 2.14
rlimit: STACK 8192k, CORE 0k, NPROC 1024, NOFILE 1024, AS infinity
load average:0.41 0.22 0.16
/proc/meminfo:
MemTotal: 2056584 kB
MemFree: 633428 kB
Buffers: 81124 kB
Cached: 713496 kB
SwapCached: 0 kB
Active: 823448 kB
Inactive: 498016 kB
Active(anon): 527628 kB
Inactive(anon): 3316 kB
Active(file): 295820 kB
Inactive(file): 494700 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 1189120 kB
HighFree: 15072 kB
LowTotal: 867464 kB
LowFree: 618356 kB
SwapTotal: 4128764 kB
SwapFree: 4128764 kB
Dirty: 6952 kB
Writeback: 0 kB
AnonPages: 526852 kB
Mapped: 94676 kB
Shmem: 4112 kB
Slab: 56064 kB
SReclaimable: 30532 kB
SUnreclaim: 25532 kB
KernelStack: 2656 kB
PageTables: 8668 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 5157056 kB
Committed_AS: 1600476 kB
VmallocTotal: 122880 kB
VmallocUsed: 28104 kB
VmallocChunk: 77208 kB
HardwareCorrupted: 0 kB
AnonHugePages: 284672 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 10232 kB
DirectMap2M: 892928 kB
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping
10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 2056584k(633428k free), swap 4128764k(4128764k free)
vm_info: OpenJDK Client VM (20.0-b11) for linux-x86 JRE (1.6.0_22-b22), built
on Jun 7 2011 17:56:45 by "mockbuild" with gcc 4.6.0 20110530 (Red Hat
4.6.0-9)
time: Fri Jul 8 10:11:22 2011
elapsed time: 24 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.
From mvyskocil at suse.cz Fri Jul 8 00:30:07 2011
From: mvyskocil at suse.cz (Michal Vyskocil)
Date: Fri, 8 Jul 2011 09:30:07 +0200
Subject: [PATCH][icedtea-web] use JRE in launchers
Message-ID: <20110708073006.GC5971@zelva.suse.cz>
Hi,
following patch changes the JAVA=@JAVA@ to JAVA=@JRE@/bin/java in
launchers. The reason is @JAVA@ refers to SDK location used for build
of icedtea-web and that path is not usable on some distributions (not
surprising that openSUSE is the one :)). Usage of @JRE@ is much correct
in this case.
Changelog:
2011-07-08 Michal Vyskocil
* launcher/itweb-settings.in: use @JRE@ in JAVA location
* launcher/javaws.in: use @JRE@ in JAVA location
Regards
Michal Vyskocil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-jre-in-lanuchers-instead-of-java.patch
Type: text/x-patch
Size: 1127 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110708/32bdb3f0/use-jre-in-lanuchers-instead-of-java.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110708/32bdb3f0/attachment.bin
From xranby at icedtea.classpath.org Fri Jul 8 02:01:29 2011
From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 09:01:29 +0000
Subject: /hg/icedtea: JamVM: Is self-hosting.
Message-ID:
changeset dd5dc6567d11 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=dd5dc6567d11
author: Xerxes R?nby
date: Fri Jul 08 10:51:52 2011 +0200
JamVM: Is self-hosting.
2011-07-08 Xerxes R?nby
JamVM: Is self-hosting.
* patches/jamvm/remove-sun.misc.Perf-debug-code.patch: New patch.
* Makefile.am: (ICEDTEA_PATCHES): Apply new patch when
building JamVM.
* HACKING: Updated.
* NEWS: Updated.
diffstat:
ChangeLog | 9 ++++
HACKING | 5 ++
Makefile.am | 5 ++
NEWS | 1 +
patches/jamvm/remove-sun.misc.Perf-debug-code.patch | 44 +++++++++++++++++++++
5 files changed, 64 insertions(+), 0 deletions(-)
diffs (108 lines):
diff -r b36e263a2d9c -r dd5dc6567d11 ChangeLog
--- a/ChangeLog Thu Jul 07 13:10:27 2011 +0100
+++ b/ChangeLog Fri Jul 08 10:51:52 2011 +0200
@@ -1,3 +1,12 @@
+2011-07-08 Xerxes R??nby
+
+ JamVM: Is self-hosting.
+ * patches/jamvm/remove-sun.misc.Perf-debug-code.patch: New patch.
+ * Makefile.am:
+ (ICEDTEA_PATCHES): Apply new patch when building JamVM.
+ * HACKING: Updated.
+ * NEWS: Updated.
+
2011-07-05 Andrew John Hughes
PR icedtea/751:
diff -r b36e263a2d9c -r dd5dc6567d11 HACKING
--- a/HACKING Thu Jul 07 13:10:27 2011 +0100
+++ b/HACKING Fri Jul 08 10:51:52 2011 +0200
@@ -166,6 +166,11 @@
* cacao/no-strict-aliasing.patch: Turn off strict aliasing which causes an issue with the verifier
when building with GCC 4.4 (cacao PR129).
+The following patches are only applied when building with the JamVM virtual machine:
+* jamvm/remove-sun.misc.Perf-debug-code.patch: Remove use of Hotspot specific
+ sun.misc.Perf debug JNI API inside of the OpenJDK classes that are
+ unsupported by JamVM.
+
The following patches are to support Xrender pipeline (-Dsun.java2d.xrender):
* icedtea-xrender-xxx.patch: Numbered patches from xrender branch
diff -r b36e263a2d9c -r dd5dc6567d11 Makefile.am
--- a/Makefile.am Thu Jul 07 13:10:27 2011 +0100
+++ b/Makefile.am Fri Jul 08 10:51:52 2011 +0200
@@ -306,6 +306,11 @@
patches/cacao/ignore-tests.patch
endif
+if BUILD_JAMVM
+ICEDTEA_PATCHES += \
+ patches/jamvm/remove-sun.misc.Perf-debug-code.patch
+endif
+
if ENABLE_PULSE_JAVA
ICEDTEA_PATCHES += \
patches/pulse-soundproperties.patch
diff -r b36e263a2d9c -r dd5dc6567d11 NEWS
--- a/NEWS Thu Jul 07 13:10:27 2011 +0100
+++ b/NEWS Fri Jul 08 10:51:52 2011 +0200
@@ -12,6 +12,7 @@
New in release 2.0 (2011-XX-XX):
* JamVM
+ - JamVM is self-hosting.
- Make classlib init functions consistent + warnings.
- Correctly implement sun.misc.Unsafe freeMemory().
- Move lazy-loading to init function.
diff -r b36e263a2d9c -r dd5dc6567d11 patches/jamvm/remove-sun.misc.Perf-debug-code.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/jamvm/remove-sun.misc.Perf-debug-code.patch Fri Jul 08 10:51:52 2011 +0200
@@ -0,0 +1,47 @@
+Index: openjdk/jdk/src/share/classes/java/net/URLClassLoader.java
+===================================================================
+--- openjdk.orig/jdk/src/share/classes/java/net/URLClassLoader.java 2011-06-13 16:58:42.000000000 +0200
++++ openjdk/jdk/src/share/classes/java/net/URLClassLoader.java 2011-06-28 18:43:50.114802612 +0200
+@@ -438,14 +438,12 @@
+ // Use (direct) ByteBuffer:
+ CodeSigner[] signers = res.getCodeSigners();
+ CodeSource cs = new CodeSource(url, signers);
+- sun.misc.PerfCounter.getReadClassBytesTime().addElapsedTimeFrom(t0);
+ return defineClass(name, bb, cs);
+ } else {
+ byte[] b = res.getBytes();
+ // must read certificates AFTER reading bytes.
+ CodeSigner[] signers = res.getCodeSigners();
+ CodeSource cs = new CodeSource(url, signers);
+- sun.misc.PerfCounter.getReadClassBytesTime().addElapsedTimeFrom(t0);
+ return defineClass(name, b, 0, b.length, cs);
+ }
+ }
+Index: openjdk/jdk/src/share/classes/java/lang/ClassLoader.java
+===================================================================
+--- openjdk.orig/jdk/src/share/classes/java/lang/ClassLoader.java 2011-06-13 16:58:42.000000000 +0200
++++ openjdk/jdk/src/share/classes/java/lang/ClassLoader.java 2011-06-28 18:43:50.142802778 +0200
+@@ -422,10 +422,6 @@
+ long t1 = System.nanoTime();
+ c = findClass(name);
+
+- // this is the defining class loader; record the stats
+- sun.misc.PerfCounter.getParentDelegationTime().addTime(t1 - t0);
+- sun.misc.PerfCounter.getFindClassTime().addElapsedTimeFrom(t1);
+- sun.misc.PerfCounter.getFindClasses().increment();
+ }
+ }
+ if (resolve) {
+Index: openjdk/jdk/src/share/classes/java/util/zip/ZipFile.java
+===================================================================
+--- openjdk.orig/jdk/src/share/classes/java/util/zip/ZipFile.java 2011-06-28 18:56:56.994704556 +0200
++++ openjdk/jdk/src/share/classes/java/util/zip/ZipFile.java 2011-06-28 18:57:11.514776567 +0200
+@@ -212,8 +212,6 @@
+ this.zc = ZipCoder.get(charset);
+ long t0 = System.nanoTime();
+ jzfile = open(name, mode, file.lastModified(), usemmap);
+- sun.misc.PerfCounter.getZipFileOpenTime().addElapsedTimeFrom(t0);
+- sun.misc.PerfCounter.getZipFileCount().increment();
+ this.name = name;
+ this.total = getTotal(jzfile);
+ }
From xerxes at zafena.se Fri Jul 8 02:34:26 2011
From: xerxes at zafena.se (Xerxes =?ISO-8859-1?Q?R=E5nby?=)
Date: Fri, 08 Jul 2011 11:34:26 +0200
Subject: RFC: IcedTea7 JamVM selfhost patch -
remove-sun.misc.Perf-debug-code
In-Reply-To: <1309873522.3727.5.camel@xranby-ESPRIMO-P7935>
References: <1309444645.10301.16.camel@xranby-ESPRIMO-P7935>
<20110705010706.GA17947@shelob.middle-earth.co.uk>
<1309873522.3727.5.camel@xranby-ESPRIMO-P7935>
Message-ID: <1310117667.13358.7.camel@xranby-ESPRIMO-P7935>
tis 2011-07-05 klockan 15:45 +0200 skrev Xerxes R?nby:
> tis 2011-07-05 klockan 02:07 +0100 skrev Andrew John Hughes:
> > On Thu, Jun 30, 2011 at 04:37:25PM +0200, Xerxes R?nby wrote:
> > > Hi team,
> > >
> > > The attached patch makes it possible for IcedTea 7 JamVM builds to be
> > > selfhosting.
> > >
> > > Some OpenJDK 7 classes makes internal use of the unofficial
> > > sun.misc.Perf API to keep track of startup time. sun.misc.Perf itself
> > > implements its functionality by using some special jni calls inside of
> > > Hotspot.
> > >
> > > By reducing the internal use of sun.misc.Perf in the OpenJDK 7 classes
> > > makes it possible to use the OpenJDK 7 classes with non-Hotspot JVMs.
> >
> > No. If this is needed for JamVM, it should be a JamVM-specific patch,
> > not applied generally.
>
> OK, I have attached a new JamVM-specific patch that only get applied
> when performing a JamVM build.
I decided to push this patch now when it are conditionalized to only
apply when performing JamVM builds.
Pused to:
http://icedtea.classpath.org/hg/icedtea/rev/dd5dc6567d11
Now is the time to start run some JamVM + OpenJDK 7 testing!
build instructions:
hg clone http://icedtea.classpath.org/hg/icedtea
cd icedtea
./autogen.sh
cd ..
mkdir icedtea-build
cd icedtea-build
../icedtea/configure --enable-jamvm
make
Cheers
Xerxes
From ptisnovs at redhat.com Fri Jul 8 02:37:02 2011
From: ptisnovs at redhat.com (Pavel Tisnovsky)
Date: Fri, 08 Jul 2011 11:37:02 +0200
Subject: Reviewer needed: backport of 6711682 into IcedTea6 HEAD.
Message-ID: <4E16CFBE.90902@redhat.com>
Hi all,
I'd like to push backport of "6711682: JCheckBox in JTable: checkbox
doesn't always respond to the first mouse click" fix
into IcedTea6 HEAD. This fix was successfully checked on RHEL 5.6 x86_64.
Please note that it's best to run the regression test contained in this
fix from JTreg tool because if the test is started from CLI, it does not
close it's frame (but the checkbox-click behaviour is checked correctly
in both cases).
ChangeLog entry:
2011-07-08 Pavel Tisnovsky
* Makefile.am: added new patch
* NEWS: updated with backport
*
patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch:
Backport of 6711682.
Can anybody please review this change?
Thank you in advance,
Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 6711682_hg.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110708/a3b8da93/6711682_hg.diff
From jvanek at redhat.com Fri Jul 8 03:08:42 2011
From: jvanek at redhat.com (Jiri Vanek)
Date: Fri, 08 Jul 2011 12:08:42 +0200
Subject: Reviewer needed: backport of 6711682 into IcedTea6 HEAD.
In-Reply-To: <4E16CFBE.90902@redhat.com>
References: <4E16CFBE.90902@redhat.com>
Message-ID: <4E16D72A.6050407@redhat.com>
On 07/08/2011 11:37 AM, Pavel Tisnovsky wrote:
> Hi all,
>
> I'd like to push backport of "6711682: JCheckBox in JTable: checkbox
> doesn't always respond to the first mouse click" fix
> into IcedTea6 HEAD. This fix was successfully checked on RHEL 5.6 x86_64.
>
> Please note that it's best to run the regression test contained in this
> fix from JTreg tool because if the test is started from CLI, it does not
> close it's frame (but the checkbox-click behaviour is checked correctly
> in both cases).
>
> ChangeLog entry:
>
> 2011-07-08 Pavel Tisnovsky
>
> * Makefile.am: added new patch
> * NEWS: updated with backport
> *
> patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch:
> Backport of 6711682.
>
>
> Can anybody please review this change?
>
> Thank you in advance,
> Pavel
>
>
ok then.
J.
From xerxes at zafena.se Fri Jul 8 04:02:04 2011
From: xerxes at zafena.se (Xerxes =?ISO-8859-1?Q?R=E5nby?=)
Date: Fri, 08 Jul 2011 13:02:04 +0200
Subject: RFC: icedtea6-1.9.9 PR632: patches/security/20110215/6878713.patch
breaks shark zero build
Message-ID: <1310122924.13358.23.camel@xranby-ESPRIMO-P7935>
Hi I have re-rolled the PR632 patch targeting the icedtea6-1.9 release
branch.
The patch unbreaks Shark build and i have tested it on the following
four build combinations HS17, HS17+Shark, HS19, HS19 + Shark:
Ok to push?
All performed full bootstrap builds configured like this:
HS17
~/icedtea6-1.9-hs17$ ../icedtea6-1.9/configure
~/icedtea6-1.9-hs17$ make
~/icedtea6-1.9-hs17$ ./openjdk.build/j2sdk-image/bin/java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9pre+r78333d0b383a) (Ubuntu
build 1.6.0_20-b20)
OpenJDK Server VM (build 17.0-b16, mixed mode)
HS17 + Shark
~/icedtea6-1.9-shark-hs17$ ../icedtea6-1.9/configure --enable-shark
~/icedtea6-1.9-shark-hs17$ make
~/icedtea6-1.9-shark-hs17$ ./openjdk.build/j2sdk-image/bin/java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9pre+r78333d0b383a) (Ubuntu
build 1.6.0_20-b20)
OpenJDK Shark VM (build 17.0-b16, mixed mode)
HS19
~/icedtea6-1.9-hs19$ ../icedtea6-1.9/configure --with-hotspot-build=hs19
~/icedtea6-1.9-hs19$ make
~/icedtea6-1.9-hs19$ ./openjdk.build/j2sdk-image/bin/java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9pre+r78333d0b383a) (Ubuntu
build 1.6.0_20-b20)
OpenJDK Server VM (build 19.0-b09, mixed mode)
HS19 + Shark - this combination fails to build docs that are a know
Shark bug when usiong HS19 and later:
PR559 http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=559
PR701 http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=701
~/icedtea6-1.9-shark-hs19$ ../icedtea6-1.9/configure --enable-shark
--with-hotspot-build=hs19
~/icedtea6-1.9-shark-hs19$ make
~/icedtea6-1.9-shark-hs19$ ./openjdk.build/j2sdk-image/bin/java -version
bash: ./openjdk.build/j2sdk-image/bin/java: File does not exist...
#Shark against HS19 fails to perform a full bootstrap with docs
#apart from that it builds and runs
~/icedtea6-1.9-shark-hs19$ ./openjdk.build/bin/java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9pre+r78333d0b383a) (Ubuntu
build 1.6.0_20-b20)
OpenJDK Shark VM (build 19.0-b09, mixed mode)
Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea6-1.9-PR632.patch
Type: text/x-patch
Size: 2131 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110708/2e0fdedd/icedtea6-1.9-PR632.patch
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 05:06:53 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 12:06:53 +0000
Subject: [Bug 716] IcedTea7 should bootstrap with IcedTea6
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=716
Bug 716 depends on bug 751, which changed state.
Bug 751 Summary: IcedTea7 should bootstrap with IcedTea7
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=751
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 05:06:53 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 12:06:53 +0000
Subject: [Bug 712] [TRACKER] IcedTea7 2.0 release
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=712
Bug 712 depends on bug 751, which changed state.
Bug 751 Summary: IcedTea7 should bootstrap with IcedTea7
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=751
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 05:06:52 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 12:06:52 +0000
Subject: [Bug 751] IcedTea7 should bootstrap with IcedTea7
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=751
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Andrew John Hughes 2011-07-08 12:06:52 ---
Fixed with http://icedtea.classpath.org/hg/icedtea/rev/b36e263a2d9c
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 05:08:53 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 12:08:53 +0000
Subject: [Bug 699] A problem with libre office
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=699
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahughes at redhat.com
Platform|all |x86_64
Version|unspecified |6-1.9.7
--- Comment #1 from Andrew John Hughes 2011-07-08 12:08:53 ---
We need a way of reproducing this to look at it.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 05:10:38 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 12:10:38 +0000
Subject: [Bug 566] gerrit crash - problem points to jdk
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=566
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahughes at redhat.com
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Andrew John Hughes 2011-07-08 12:10:37 ---
No way is given for reproducing this and it appears to be with a very old VM.
Please reopen if the issue can be reproduced with a recent version of IcedTea.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From ptisnovs at icedtea.classpath.org Fri Jul 8 05:10:54 2011
From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 12:10:54 +0000
Subject: /hg/icedtea6: S6711682: JCheckBox in JTable: checkbox doesn't al...
Message-ID:
changeset 67985e03e768 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=67985e03e768
author: ptisnovs
date: Fri Jul 08 14:10:47 2011 +0200
S6711682: JCheckBox in JTable: checkbox doesn't always respond to
the first mouse click
diffstat:
ChangeLog | 7 +
Makefile.am | 3 +-
NEWS | 1 +
patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch | 175 ++++++++++
4 files changed, 185 insertions(+), 1 deletions(-)
diffs (219 lines):
diff -r 0911ad28ea98 -r 67985e03e768 ChangeLog
--- a/ChangeLog Thu Jul 07 14:19:34 2011 +0100
+++ b/ChangeLog Fri Jul 08 14:10:47 2011 +0200
@@ -1,3 +1,10 @@
+2011-07-08 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * NEWS: updated with backport
+ * patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch:
+ Backport of 6711682.
+
2011-07-07 Andrew John Hughes
* Makefile.am:
diff -r 0911ad28ea98 -r 67985e03e768 Makefile.am
--- a/Makefile.am Thu Jul 07 14:19:34 2011 +0100
+++ b/Makefile.am Fri Jul 08 14:10:47 2011 +0200
@@ -361,7 +361,8 @@
patches/jtreg-remove-test-6987555.patch \
patches/jtreg-remove-test-6991596.patch \
patches/openjdk/7036220-shark_llvm_29_headers.patch \
- patches/openjdk/7029152-String_intrinsics_miss_optimization.patch
+ patches/openjdk/7029152-String_intrinsics_miss_optimization.patch \
+ patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch
if WITH_RHINO
ICEDTEA_PATCHES += \
diff -r 0911ad28ea98 -r 67985e03e768 NEWS
--- a/NEWS Thu Jul 07 14:19:34 2011 +0100
+++ b/NEWS Fri Jul 08 14:10:47 2011 +0200
@@ -48,6 +48,7 @@
- S6679308: Poor text rendering on translucent image
- S6842838: 64-bit failure in handling invalid manifest in launcher.
- S6882768: Test for 6842838 is broken
+ - S6711682: JCheckBox in JTable: checkbox doesn't always respond to the first mouse click
* Bug fixes
- PR637: make check should exit with an error code if any regression test failed.
- G356743: Support libpng 1.5.
diff -r 0911ad28ea98 -r 67985e03e768 patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch Fri Jul 08 14:10:47 2011 +0200
@@ -0,0 +1,177 @@
+# HG changeset patch
+# User alexp
+# Date 1278084531 -14400
+# Node ID e94a94d176f9c4b91b454ab7dfaf5f013497f9dd
+# Parent 46306a419ba32857169849cfcf30cfca328c2db4
+6711682: JCheckBox in JTable: checkbox doesn't alaways respond to the first mouse click
+Reviewed-by: rupashka
+
+diff -r 46306a419ba3 -r e94a94d176f9 src/share/classes/javax/swing/plaf/basic/BasicButtonListener.java
+--- openjdk.orig/jdk/src/share/classes/javax/swing/plaf/basic/BasicButtonListener.java Thu Jul 01 18:47:56 2010 +0400
++++ openjdk/jdk/src/share/classes/javax/swing/plaf/basic/BasicButtonListener.java Fri Jul 02 19:28:51 2010 +0400
+@@ -195,9 +195,8 @@
+ }
+
+ ButtonModel model = b.getModel();
++ model.setPressed(false);
+ model.setArmed(false);
+- model.setPressed(false);
+-
+ b.repaint();
+ }
+
+diff -r 46306a419ba3 -r e94a94d176f9 test/javax/swing/AbstractButton/6711682/bug6711682.java
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ openjdk/jdk/test/javax/swing/AbstractButton/6711682/bug6711682.java Fri Jul 02 19:28:51 2010 +0400
+@@ -0,0 +1,151 @@
++/*
++ * Copyright (c) 2009, Oracle and/or its affiliates. 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.
++ *
++ * 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
++ * or visit www.oracle.com if you need additional information or have any
++ * questions.
++ */
++
++/* @test
++ @bug 6711682
++ @summary JCheckBox in JTable: checkbox doesn't alaways respond to the first mouse click
++ @author Alexander Potochkin
++ @run main bug6711682
++*/
++
++import sun.awt.SunToolkit;
++
++import javax.swing.*;
++import javax.swing.event.CellEditorListener;
++import javax.swing.table.TableCellEditor;
++import javax.swing.table.TableCellRenderer;
++import java.awt.*;
++import java.awt.event.InputEvent;
++import java.awt.event.KeyEvent;
++import java.util.EventObject;
++
++public class bug6711682 {
++ private static JCheckBox editorCb;
++ private static JCheckBox rendererCb;
++ private static JTable table;
++
++ public static void main(String[] args) throws Exception {
++ Robot robot = new Robot();
++ robot.setAutoDelay(50);
++ SunToolkit toolkit = (SunToolkit) Toolkit.getDefaultToolkit();
++ SwingUtilities.invokeAndWait(new Runnable() {
++ public void run() {
++ createAndShowGUI();
++ }
++ });
++ toolkit.realSync();
++ Point l = table.getLocationOnScreen();
++ int h = table.getRowHeight();
++ for (int i = 0; i < 3; i++) {
++ robot.mouseMove(l.x + 5, l.y + 5 + i * h);
++ robot.mousePress(InputEvent.BUTTON1_MASK);
++ robot.mouseRelease(InputEvent.BUTTON1_MASK);
++ }
++ // Without pressing F2 the last table's cell
++ // reported false
value
++ // note that I can't press it inside the for loop
++ // because it doesn't reproduce the bug
++ robot.keyPress(KeyEvent.VK_F2);
++ robot.keyRelease(KeyEvent.VK_F2);
++
++ for (int i = 0; i < 3; i++) {
++ if (!Boolean.TRUE.equals(table.getValueAt(i, 0))) {
++ throw new RuntimeException("Row #" + i + " checkbox is not selected");
++ }
++ }
++ for (int i = 2; i >= 0; i--) {
++ robot.mouseMove(l.x + 5, l.y + 5 + i * h);
++ robot.mousePress(InputEvent.BUTTON1_MASK);
++ robot.mouseRelease(InputEvent.BUTTON1_MASK);
++ }
++ robot.keyPress(KeyEvent.VK_F2);
++ robot.keyRelease(KeyEvent.VK_F2);
++ for (int i = 0; i < 3; i++) {
++ if (Boolean.TRUE.equals(table.getValueAt(i, 0))) {
++ throw new RuntimeException("Row #" + i + " checkbox is selected");
++ }
++ }
++ }
++
++ private static void createAndShowGUI() {
++ editorCb = new JCheckBox();
++ rendererCb = new JCheckBox();
++ JFrame f = new JFrame("Table with CheckBox");
++ Container p = f.getContentPane();
++ p.setLayout(new BorderLayout());
++ table = new JTable(new Object[][]{{false}, {false}, {false}}, new Object[]{"CheckBox"});
++ TableCellEditor editor = new TableCellEditor() {
++ int editedRow;
++
++ public Component getTableCellEditorComponent(JTable table,
++ Object value, boolean isSelected, int row, int column) {
++ this.editedRow = row;
++ editorCb.setSelected(Boolean.TRUE.equals(value));
++ editorCb.setBackground(UIManager.getColor("Table.selectionBackground"));
++ return editorCb;
++ }
++
++ public void addCellEditorListener(CellEditorListener l) {
++ }
++
++ public void cancelCellEditing() {
++ }
++
++ public Object getCellEditorValue() {
++ return editorCb.isSelected();
++ }
++
++ public boolean isCellEditable(EventObject anEvent) {
++ return true;
++ }
++
++ public void removeCellEditorListener(CellEditorListener l) {
++ }
++
++ public boolean shouldSelectCell(EventObject anEvent) {
++ return true;
++ }
++
++ public boolean stopCellEditing() {
++ table.getModel().setValueAt(editorCb.isSelected(), editedRow, 0);
++ return true;
++ }
++ };
++ table.getColumnModel().getColumn(0).setCellEditor(editor);
++
++ TableCellRenderer renderer = new TableCellRenderer() {
++ public Component getTableCellRendererComponent(JTable table,
++ Object value, boolean isSelected, boolean hasFocus,
++ int row, int column) {
++ rendererCb.setSelected(Boolean.TRUE.equals(value));
++ return rendererCb;
++ }
++ };
++ table.getColumnModel().getColumn(0).setCellRenderer(renderer);
++
++ p.add(table, BorderLayout.CENTER);
++
++ f.pack();
++ f.setVisible(true);
++ }
++}
From ptisnovs at redhat.com Fri Jul 8 06:29:30 2011
From: ptisnovs at redhat.com (Pavel Tisnovsky)
Date: Fri, 08 Jul 2011 15:29:30 +0200
Subject: Reviewer needed - adding @ignore tag to a regression test
hotspot/test/runtime/7020373 in IcedTea6 HEAD
Message-ID: <4E17063A.3030800@redhat.com>
Hi all,
I'd like to add @ignore tag to a regression test
jdk/hotspot/test/runtime/7020373. This tag is needed because the
original test consists of two files: shell script and java archive
"testcase.jar" containing only OOMCrashClass4000_1.class, ie. no source
file(s).
As we are not allowed to add binary files to OpenJDK/IcedTea it's IMHO
better to just ignore this test ATM.
ChangeLog entry:
2011-07-08 Pavel Tisnovsky
* Makefile.am: added new patch
* patches/jtreg-7020373-add-ignore-tag.patch:
Added @ignore tag to this regression test because binary jar file
needed to run the test is missing in OpenJDK6.
Can anybody please review this change?
Thank you in advance
Pavel
PS: I'm going to sent mail to hotspot-runtime mail list to ask why such
test were included in OpenJDK7.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 7020373_hg.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110708/dcbd7a36/7020373_hg.diff
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 07:00:05 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 14:00:05 +0000
Subject: [Bug 754] error
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=754
Deepak Bhole changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dbhole at redhat.com
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Deepak Bhole 2011-07-08 14:00:05 ---
This is a xulrunner/eclipse bug. Please see comment 2 in Bug# 746 for a
workaround.
*** This bug has been marked as a duplicate of bug 746 ***
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 07:00:05 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 14:00:05 +0000
Subject: [Bug 746] eclipse crashes on start due to native library failure in
libxul.so
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=746
Deepak Bhole changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |changmingivy at yahoo.com.cn
--- Comment #5 from Deepak Bhole 2011-07-08 14:00:05 ---
*** Bug 754 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.
From ahughes at redhat.com Fri Jul 8 07:53:00 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Fri, 8 Jul 2011 15:53:00 +0100
Subject: Reviewer needed - adding @ignore tag to a regression test
hotspot/test/runtime/7020373 in IcedTea6 HEAD
In-Reply-To: <4E17063A.3030800@redhat.com>
References: <4E17063A.3030800@redhat.com>
Message-ID: <20110708145300.GA13502@shelob.middle-earth.co.uk>
On Fri, Jul 08, 2011 at 03:29:30PM +0200, Pavel Tisnovsky wrote:
> Hi all,
>
> I'd like to add @ignore tag to a regression test
> jdk/hotspot/test/runtime/7020373. This tag is needed because the
> original test consists of two files: shell script and java archive
> "testcase.jar" containing only OOMCrashClass4000_1.class, ie. no source
> file(s).
>
> As we are not allowed to add binary files to OpenJDK/IcedTea it's IMHO
> better to just ignore this test ATM.
>
> ChangeLog entry:
>
> 2011-07-08 Pavel Tisnovsky
>
> * Makefile.am: added new patch
> * patches/jtreg-7020373-add-ignore-tag.patch:
> Added @ignore tag to this regression test because binary jar file
> needed to run the test is missing in OpenJDK6.
>
>
> Can anybody please review this change?
>
> Thank you in advance
> Pavel
>
> PS: I'm going to sent mail to hotspot-runtime mail list to ask why such
> test were included in OpenJDK7.
Approved.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Fri Jul 8 07:58:33 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Fri, 8 Jul 2011 15:58:33 +0100
Subject: RFC: icedtea6-1.9.9 PR632:
patches/security/20110215/6878713.patch breaks shark zero build
In-Reply-To: <1310122924.13358.23.camel@xranby-ESPRIMO-P7935>
References: <1310122924.13358.23.camel@xranby-ESPRIMO-P7935>
Message-ID: <20110708145833.GB13502@shelob.middle-earth.co.uk>
On Fri, Jul 08, 2011 at 01:02:04PM +0200, Xerxes R?nby wrote:
> Hi I have re-rolled the PR632 patch targeting the icedtea6-1.9 release
> branch.
>
> The patch unbreaks Shark build and i have tested it on the following
> four build combinations HS17, HS17+Shark, HS19, HS19 + Shark:
>
> Ok to push?
>
> All performed full bootstrap builds configured like this:
>
The 'icedtea-' prefix should be dropped from the patch. Good to go with
that change.
Thanks for the due diligence on testing all HotSpot builds.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Fri Jul 8 08:02:08 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Fri, 8 Jul 2011 16:02:08 +0100
Subject: [PATCH][icedtea-web] use JRE in launchers
In-Reply-To: <20110708073006.GC5971@zelva.suse.cz>
References: <20110708073006.GC5971@zelva.suse.cz>
Message-ID: <20110708150208.GC13502@shelob.middle-earth.co.uk>
On Fri, Jul 08, 2011 at 09:30:07AM +0200, Michal Vyskocil wrote:
> Hi,
>
> following patch changes the JAVA=@JAVA@ to JAVA=@JRE@/bin/java in
> launchers. The reason is @JAVA@ refers to SDK location used for build
> of icedtea-web and that path is not usable on some distributions (not
> surprising that openSUSE is the one :)). Usage of @JRE@ is much correct
> in this case.
>
> Changelog:
>
> 2011-07-08 Michal Vyskocil
>
> * launcher/itweb-settings.in: use @JRE@ in JAVA location
> * launcher/javaws.in: use @JRE@ in JAVA location
>
> Regards
> Michal Vyskocil
No, --with-java should be used to point to a java binary. If you're
pointing it to a directory, you're using the option wrongly.
The --with-jdk-home is used for pointing to the jdk and --with-java
will default to ${JDK_HOME}/bin/java.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Fri Jul 8 08:11:21 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Fri, 8 Jul 2011 16:11:21 +0100
Subject: [PATCH REVIEW] [1.10] RFC: Support Linux 3
Message-ID: <20110708151121.GD13502@shelob.middle-earth.co.uk>
I'd like to backport the attached patch to 1.10.
I also intend to backport this to 1.8 & 1.9 if anyone wants to give an early approval.
ChangeLog:
2011-06-28 Andrew John Hughes
* Makefile.am: Add new patch.
* patches/support_linux_3.patch:
Allow Linux 3* through the HotSpot OS version
filter.
* NEWS: Updated.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Fri Jul 8 08:12:01 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Fri, 8 Jul 2011 16:12:01 +0100
Subject: [PATCH REVIEW] [1.10] RFC: Support Linux 3
In-Reply-To: <20110708151121.GD13502@shelob.middle-earth.co.uk>
References: <20110708151121.GD13502@shelob.middle-earth.co.uk>
Message-ID: <20110708151201.GE13502@shelob.middle-earth.co.uk>
On Fri, Jul 08, 2011 at 04:11:21PM +0100, Andrew John Hughes wrote:
> I'd like to backport the attached patch to 1.10.
>
> I also intend to backport this to 1.8 & 1.9 if anyone wants to give an early approval.
>
> ChangeLog:
>
> 2011-06-28 Andrew John Hughes
>
> * Makefile.am: Add new patch.
> * patches/support_linux_3.patch:
> Allow Linux 3* through the HotSpot OS version
> filter.
> * NEWS: Updated.
> --
> Andrew :)
>
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
>
> Support Free Java!
> Contribute to GNU Classpath and IcedTea
> http://www.gnu.org/software/classpath
> http://icedtea.classpath.org
> PGP Key: F5862A37 (https://keys.indymedia.org/)
> Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
And the patch...
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
-------------- next part --------------
# HG changeset patch
# User Andrew John Hughes
# Date 1310072477 -3600
# Node ID 28c6f2df462771fd38f0f98092bbe177c6abfb26
# Parent a95c47b36218144c9539d74f63320c1b84fe7722
Allow Linux 3* to pass through the HotSpot OS version filter.
2011-06-28 Andrew John Hughes
* Makefile.am: Add new patch.
* patches/support_linux_3.patch:
Allow Linux 3* through the HotSpot OS version
filter.
* NEWS: Updated.
diff -r a95c47b36218 -r 28c6f2df4627 ChangeLog
--- a/ChangeLog Wed Jun 08 18:16:37 2011 +0100
+++ b/ChangeLog Thu Jul 07 22:01:17 2011 +0100
@@ -1,3 +1,11 @@
+2011-06-28 Andrew John Hughes
+
+ * Makefile.am: Add new patch.
+ * patches/support_linux_3.patch:
+ Allow Linux 3* through the HotSpot OS version
+ filter.
+ * NEWS: Updated.
+
2011-06-08 Andrew John Hughes
* NEWS: Add 1.10.3.
diff -r a95c47b36218 -r 28c6f2df4627 Makefile.am
--- a/Makefile.am Wed Jun 08 18:16:37 2011 +0100
+++ b/Makefile.am Thu Jul 07 22:01:17 2011 +0100
@@ -341,7 +341,8 @@
patches/openjdk/7031385-gcc-register-allocation-fix.patch \
patches/shark-llvm-2.9.patch \
patches/openjdk/pgram-pipe-regression.patch \
- patches/openjdk/mutter.patch
+ patches/openjdk/mutter.patch \
+ patches/support_linux_3.patch
if WITH_ALT_HSBUILD
ICEDTEA_PATCHES += \
diff -r a95c47b36218 -r 28c6f2df4627 NEWS
--- a/NEWS Wed Jun 08 18:16:37 2011 +0100
+++ b/NEWS Thu Jul 07 22:01:17 2011 +0100
@@ -11,6 +11,9 @@
New in release 1.10.3 (20XX-XX-XX):
+* Bug fixes
+ - PR748: Icedtea6 fails to build with Linux 3.0.
+
New in release 1.10.2 (2011-06-07):
* Security fixes
diff -r a95c47b36218 -r 28c6f2df4627 patches/support_linux_3.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/support_linux_3.patch Thu Jul 07 22:01:17 2011 +0100
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User andrew
+# Date 1309217125 -3600
+# Node ID f7e8b10f51c6a622520b55df0c644fb09ec78542
+# Parent b8227c320dec384a94026fcaa650b0ebd4eef13b
+Allow building HotSpot with any Linux 3 version.
+
+diff -r b8227c320dec -r f7e8b10f51c6 make/linux/Makefile
+--- openjdk/hotspot/make/linux/Makefile Wed Jun 15 18:56:52 2011 +0100
++++ openjdk/hotspot/make/linux/Makefile Tue Jun 28 00:25:25 2011 +0100
+@@ -230,7 +230,7 @@
+ # Solaris 2.5.1, 2.6).
+ # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
+
+-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7%
++SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3%
+ OS_VERSION := $(shell uname -r)
+ EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
+
From ahughes at redhat.com Fri Jul 8 08:21:04 2011
From: ahughes at redhat.com (Andrew John Hughes)
Date: Fri, 8 Jul 2011 16:21:04 +0100
Subject: [PATCH REVIEW] [1.10] RFC: Make tests for
java/javah/jar/native2ascii/rmic more stringent
Message-ID: <20110708152104.GF13502@shelob.middle-earth.co.uk>
I don't usually like making build changes on release branches, but
I think this one is minor and useful enough to be worthy of consideration.
It checks that the values given for --with-java/jar/rmic/native2ascii/javah
are files as well as being executables, preventing directories being allowed
through and causing issues later (e.g. broken configure test results when
${JAVA} is used to run tests).
Ok for 1.10?
I think 1.8 & 1.9 will require other changes too, so just 1.10 for this one.
IcedTea-Web folks, you might want to consider porting this one (or rather,
the relevant chunks) over too.
ChangeLog:
Check that JDK binaries are files in addition to being executable.
2011-06-29 Andrew John Hughes
* acinclude.m4:
(IT_FIND_JAVA): Check that the binary is also
a regular file as well as executable.
(IT_FIND_JAVAH): Likewise.
(IT_FIND_JAR): Likewise.
(IT_FIND_RMIC): Likewise.
(IT_FIND_NATIVE2ASCII): Likewise.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
-------------- next part --------------
# HG changeset patch
# User Andrew John Hughes
# Date 1309367817 -3600
# Node ID 6c21fc007867e718636767a2cbe1df8c02307958
# Parent 15caf12fc26df836a387036ff70eec6875db9f9d
Check that JDK binaries are files in addition to being executable.
2011-06-29 Andrew John Hughes
* acinclude.m4:
(IT_FIND_JAVA): Check that the binary is also
a regular file as well as executable.
(IT_FIND_JAVAH): Likewise.
(IT_FIND_JAR): Likewise.
(IT_FIND_RMIC): Likewise.
(IT_FIND_NATIVE2ASCII): Likewise.
diff -r 15caf12fc26d -r 6c21fc007867 ChangeLog
--- a/ChangeLog Fri Jul 08 16:13:57 2011 +0100
+++ b/ChangeLog Wed Jun 29 18:16:57 2011 +0100
@@ -1,3 +1,13 @@
+2011-06-29 Andrew John Hughes
+
+ * acinclude.m4:
+ (IT_FIND_JAVA): Check that the binary is also
+ a regular file as well as executable.
+ (IT_FIND_JAVAH): Likewise.
+ (IT_FIND_JAR): Likewise.
+ (IT_FIND_RMIC): Likewise.
+ (IT_FIND_NATIVE2ASCII): Likewise.
+
2011-06-28 Andrew John Hughes
* Makefile.am: Add new patch.
diff -r 15caf12fc26d -r 6c21fc007867 acinclude.m4
--- a/acinclude.m4 Fri Jul 08 16:13:57 2011 +0100
+++ b/acinclude.m4 Wed Jun 29 18:16:57 2011 +0100
@@ -238,8 +238,8 @@
if test "x${JAVA}" = "xno"; then
JAVA=${JAVA_DEFAULT}
fi
- AC_MSG_CHECKING([if $JAVA is a valid executable])
- if test -x "${JAVA}"; then
+ AC_MSG_CHECKING([if $JAVA is a valid executable file])
+ if test -x "${JAVA}" && test -f "${JAVA}"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
@@ -391,8 +391,8 @@
if test "x${JAVAH}" = "xno"; then
JAVAH=${JAVAH_DEFAULT}
fi
- AC_MSG_CHECKING([if $JAVAH is a valid executable])
- if test -x "${JAVAH}"; then
+ AC_MSG_CHECKING([if $JAVAH is a valid executable file])
+ if test -x "${JAVAH}" && test -f "${JAVAH}"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
@@ -428,8 +428,8 @@
if test "x${JAR}" = "xno"; then
JAR=${JAR_DEFAULT}
fi
- AC_MSG_CHECKING([if $JAR is a valid executable])
- if test -x "${JAR}"; then
+ AC_MSG_CHECKING([if $JAR is a valid executable file])
+ if test -x "${JAR}" && test -f "${JAR}"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
@@ -498,8 +498,8 @@
if test "x${RMIC}" = "xno"; then
RMIC=${RMIC_DEFAULT}
fi
- AC_MSG_CHECKING([if $RMIC is a valid executable])
- if test -x "${RMIC}"; then
+ AC_MSG_CHECKING([if $RMIC is a valid executable file])
+ if test -x "${RMIC}" && test -f "${RMIC}"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
@@ -535,8 +535,8 @@
if test "x${NATIVE2ASCII}" = "xno"; then
NATIVE2ASCII=${NATIVE2ASCII_DEFAULT}
fi
- AC_MSG_CHECKING([if $NATIVE2ASCII is a valid executable])
- if test -x "${NATIVE2ASCII}"; then
+ AC_MSG_CHECKING([if $NATIVE2ASCII is a valid executable file])
+ if test -x "${NATIVE2ASCII}" && test -f "${NATIVE2ASCII}"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
From dbhole at redhat.com Fri Jul 8 08:44:44 2011
From: dbhole at redhat.com (Deepak Bhole)
Date: Fri, 8 Jul 2011 11:44:44 -0400
Subject: RFC: Patch for Bug#749
(sun.applet.PluginStreamHandler#handleMessage(String) really slow)
In-Reply-To: <20110705151616.GD10339@redhat.com>
References: <20110704223514.GB10339@redhat.com>
<20110705014810.GG17947@shelob.middle-earth.co.uk>
<20110705151616.GD10339@redhat.com>
Message-ID: <20110708154444.GC23867@redhat.com>
* Deepak Bhole [2011-07-05 11:16]:
> * Andrew John Hughes [2011-07-04 21:48]:
>
...
> New patch with updated docs attached. Thanks for taking a look!
>
ping?
Deepak
From asu at redhat.com Fri Jul 8 09:12:28 2011
From: asu at redhat.com (Andrew Su)
Date: Fri, 8 Jul 2011 12:12:28 -0400 (EDT)
Subject: [RFC][Icedtea-web]: Add code for handling policy files.
In-Reply-To: <581538315.1016495.1309362078508.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com>
Message-ID: <225191425.1201147.1310141548992.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com>
----- Original Message -----
> From: "Andrew Su"
> To: "distro-pkg-dev"
> Sent: Wednesday, June 29, 2011 11:41:18 AM
> Subject: Re: [RFC][Icedtea-web]: Add code for handling policy files.
--snip--
>
> Hello,
>
> I've updated the patch again with a more complete documentation. Also
> moved a method to another file, updated some validation code.
>
Ping.
2011-07-08 Andrew Su
* netx/net/sourceforge/jnlp/util/FileUtils.java:
(writeContentToFile): New method. Writes string content to file.
(readContentFromFile): New method. Reads a file and returns a String.
* netx/net/sourceforge/jnlp/policy/ParseException.java: New class.
* netx/net/sourceforge/jnlp/policy/Policy.java: New class. Used to
represent a policy from a policy file.
* netx/net/sourceforge/jnlp/policy/PolicyFormatter.java: New class.
Formats Policy to a string representation of a policy file or parses a
File/String to convert into Policy objects.
* netx/net/sourceforge/jnlp/policy/PolicyUtils.java: New class.
Methods for handling repetitive tasks when working with policy files.
* netx/net/sourceforge/jnlp/policy/permission/Permission.java: New
class. This represents a general permission.
* netx/net/sourceforge/jnlp/policy/permission/AWTPermission.java
* netx/net/sourceforge/jnlp/policy/permission/AllPermission.java
* netx/net/sourceforge/jnlp/policy/permission/AudioPermission.java
* netx/net/sourceforge/jnlp/policy/permission/AuthPermission.java
* netx/net/sourceforge/jnlp/policy/permission/DelegationPermission.java
* netx/net/sourceforge/jnlp/policy/permission/FilePermission.java
* netx/net/sourceforge/jnlp/policy/permission/LoggingPermission.java
* netx/net/sourceforge/jnlp/policy/permission/NetPermission.java
* netx/net/sourceforge/jnlp/policy/permission/PrivateCredentialPermission.java
* netx/net/sourceforge/jnlp/policy/permission/PropertyPermission.java
* netx/net/sourceforge/jnlp/policy/permission/ReflectPermission.java
* netx/net/sourceforge/jnlp/policy/permission/RuntimePermission.java
* netx/net/sourceforge/jnlp/policy/permission/SQLPermission.java
* netx/net/sourceforge/jnlp/policy/permission/SSLPermission.java
* netx/net/sourceforge/jnlp/policy/permission/SecurityPermission.java
* netx/net/sourceforge/jnlp/policy/permission/SerializablePermission.java
* netx/net/sourceforge/jnlp/policy/permission/ServicePermission.java
* netx/net/sourceforge/jnlp/policy/permission/SocketPermission.java:
New classes. These are the default permission.
* netx/net/sourceforge/jnlp/policy/principal/Principal.java: New
class. This represents a general principal.
* netx/net/sourceforge/jnlp/policy/principal/KerberosPrincipal.java
* netx/net/sourceforge/jnlp/policy/principal/X500Principal.java:
New classes. These are the default principals.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: finalPolicy.patch
Type: text/x-patch
Size: 118313 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110708/5dea46e1/finalPolicy.patch
From bugzilla-daemon at icedtea.classpath.org Fri Jul 8 10:08:38 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Fri, 08 Jul 2011 17:08:38 +0000
Subject: [Bug 755] New: Fatal Error on JUnit Test in Eclipse
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=755
Summary: Fatal Error on JUnit Test in Eclipse
Product: IcedTea
Version: 6-1.10.2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea6
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: rtucker88 at gmail.com
Created an attachment (id=550)
--> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=550)
Log File for the crash
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (classFileParser.cpp:3494), pid=5546, tid=139671569049344
# Error: ShouldNotReachHere()
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed
oops)
# Derivative: IcedTea6 1.10.2
# Distribution: Fedora release 15 (Lovelock), package
fedora-58.1.10.2.fc15-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.
From jvanek at redhat.com Fri Jul 8 11:15:27 2011
From: jvanek at redhat.com (Jiri Vanek)
Date: Fri, 08 Jul 2011 20:15:27 +0200
Subject: [RFC][PATCH][icedtea-web]: Added support for signed JNLP file-
Updated Patch
In-Reply-To: <4E14B940.6080109@redhat.com>
References: <4E14B940.6080109@redhat.com>
Message-ID: <4E17493F.5050905@redhat.com>
On 07/06/2011 09:36 PM, Saad Mohammad wrote:
> This is the updated patch for adding support of signed JNLP file. I have attached two patches.
Hi!
One big error all over whole work - 9sorry for not mentioned earlier) - all fiels are missing "copyright" headers:( (java+jnlps :(( ) Please add tehm.
So I have walked through Patch1 it quite careful and whole composition seems ok.
Matcher works quite nice,and is fast enough. Trailing spaces are ignored, and matcher fails when mixed elements are include (as they should not appear in jnlp, then it is correct).
To matcher and its test I have four major points:
-JNLPmatcher should be immutable
-misuses of setup/tear down
-still converting list/arrays
-makefile - to much lines for pure copying!
+some cosmetic changes - if you will consider them as nit-picky, remeber that your code is going to community and so -- must be as good as possible;)
For Patch2 i can not review security issues (please, ask Deepak for this), but few small hints included.
Se inline:
>
> More Info:
> http://jcp.org/aboutJava/communityprocess/maintenance/jsr056/jnlp-7_0-changes.html (Change 3)
>
>
> Patch 1 Contains:
> - JNLPMatcher.java (renamed from JNLPVerify)
> - JNLPMatcherException.java (renamed from JNLPVerifyException)
> - Modification of Node.java
> - JNLPMatcherTest (Unit test that tests JNLPMatcher class)
> - Contains 10 templates JNLP files, 9 application JNLP files and one launching JNLP file for test (Resources for JNLPMatcherTest)
>
> Patch 2 Contains:
> - Modification to JNLPClassLoader.java
>
>
> CHANGELOG:
>
> 2011-07-06 Saad Mohammad
>
> * netx/net/sourceforge/jnlp/JNLPMatcher.java:
> Created this class to compare signed JNLP file with the launching JNLP file.
> When comparing, it has support for both method of signing of a JNLP file: APPLICATION_TEMPLATE.JNLP
> and APPLICATION.JNLP
> * netx/net/sourceforge/jnlp/JNLPMatcherException.java:
> Added a custom exception: JNLPMatcherException. Thrown if verifying signed JNLP files fails
> * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
> Added JNLPMatcherException to methods that throws the custom exception.
> (initializeResources): Checks if there are any signed JNLP files within the signed jars.
> If signed JNLP file fails to match or fails to be verified, the application throws
> a JNLPMatcherException.
> * netx/net/sourceforge/jnlp/Node.java:
> Created a method that retrieves the attribute names of the Node and stores it in
> private string [] member. The method returns the attribute names.
> * tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java:
> This is a test case that tests the functionality of JNLPMatcher. It tests the algorithm
> with a variety of template and application JNLP files.
> * tests/netx/unit/net/sourceforge/jnlp/launchApp.jnlp:
> Launching JNLP file: This is the launching JNLP file used to compare with templates and
> application JNLP files in JNLPMatcherTest.java
> * tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp:
> Test Template JNLP file: Contains CDATA
> * tests/netx/unit/net/sourceforge/jnlp/templates/template1.jnlp:
> Test Template JNLP file: An exact duplicate of the launching JNLP file
> * tests/netx/unit/net/sourceforge/jnlp/templates/template2.jnlp:
> Test Template JNLP file: Contains wildchars as attribute/element values
> * tests/netx/unit/net/sourceforge/jnlp/templates/template3.jnlp:
> Test Template JNLP file: Different order of element/attributes (but same value)
> * tests/netx/unit/net/sourceforge/jnlp/templates/template4.jnlp:
> Test Template JNLP file: Contains wildchars as values of ALL elements and attribute
> * tests/netx/unit/net/sourceforge/jnlp/templates/template5.jnlp:
> Test Template JNLP file: Contains comments
> * tests/netx/unit/net/sourceforge/jnlp/templates/template6.jnlp:
> Test Template JNLP file: Contains different attribute and element values
> * tests/netx/unit/net/sourceforge/jnlp/templates/template7.jnlp:
> Test Template JNLP file: Contains additional children in element
> * tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp:
> Test Template JNLP file: Contains fewer children in element
> * tests/netx/unit/net/sourceforge/jnlp/templates/template9.jnlp:
> Test Template JNLP file: All values are different from the launching JNLP file
> * tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp:
> Test Application JNLP file: Contains CDATA
> * tests/netx/unit/net/sourceforge/jnlp/application/application1.jnlp:
> Test Application JNLP file: An exact duplicate of the launching JNLP file
> * tests/netx/unit/net/sourceforge/jnlp/application/application2.jnlp:
> Test Application JNLP file: Different order of element/attributes (but same value)
> * tests/netx/unit/net/sourceforge/jnlp/application/application3.jnlp:
> Test Application JNLP file: Contains comments
> * tests/netx/unit/net/sourceforge/jnlp/application/application4.jnlp:
> Test Application JNLP file: Contains wildchars as attribute/element values
> * tests/netx/unit/net/sourceforge/jnlp/application/application5.jnlp:
> Test Application JNLP file: Contains a different attribute (codebase) value
> * tests/netx/unit/net/sourceforge/jnlp/application/application6.jnlp:
> Test Application JNLP file: Contains additional children in element
> * tests/netx/unit/net/sourceforge/jnlp/application/application7.jnlp:
> Test Application JNLP file: Contains fewer children in element
> * tests/netx/unit/net/sourceforge/jnlp/application/application8.jnlp:
> Test Application JNLP file: All values are different from the launching JNLP file
> * Makefile.am:
> (run-netx-unit-tests) Creates directories and copies resources (JNLP files) to test.build before
> running unit test: JNLPMatcherTest
>
Nice story;) Probalby chnagelog winner:)
> --
> Cheers,
> Saad Mohammad
>
>
> Patch1.patch
>
>
> diff -r 86abbf8be0b1 Makefile.am
> --- a/Makefile.am Thu Jun 23 15:29:45 2011 +0200
> +++ b/Makefile.am Wed Jul 06 15:03:44 2011 -0400
> @@ -539,6 +539,19 @@
> run-netx-unit-tests: stamps/netx-unit-tests-compile.stamp \
> $(JUNIT_RUNNER_JAR) $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)
> cp {$(NETX_UNIT_TEST_SRCDIR),$(NETX_UNIT_TEST_DIR)}/net/sourceforge/jnlp/basic.jnlp
> + mkdir -p $(NETX_UNIT_TEST_DIR)/net/sourceforge/jnlp/templates
> + mkdir -p $(NETX_UNIT_TEST_DIR)/net/sourceforge/jnlp/application
> + cp {$(NETX_UNIT_TEST_SRCDIR),$(NETX_UNIT_TEST_DIR)}/net/sourceforge/jnlp/launchApp.jnlp
> + (cd $(NETX_UNIT_TEST_SRCDIR)/net/sourceforge/jnlp/templates/; \
> + for files in $$(find . -type f); \
> + do \
> + cp {$(NETX_UNIT_TEST_SRCDIR),$(NETX_UNIT_TEST_DIR)}/net/sourceforge/jnlp/templates/$${files}; \
> + done)
> + (cd $(NETX_UNIT_TEST_SRCDIR)/net/sourceforge/jnlp/application/; \
> + for files in $$(find . -type f); \
> + do \
> + cp {$(NETX_UNIT_TEST_SRCDIR),$(NETX_UNIT_TEST_DIR)}/net/sourceforge/jnlp/application/$${files}; \
> + done)
> cd $(NETX_UNIT_TEST_DIR) ; \
> class_names= ; \
> for test in `find -type f` ; do \
To much lines for simple copying of few resources. As I do not like resources and sources in same directories and packages, the sources structure is already adapted for this :( - but not make file.
I thing best fix here is to remove old line with basic.jnlp and instead of your code to add copying of all not .java files form this al over this package (NETX_UNIT_TEST_SRCDIR)->(NETX_UNIT_TEST_DIR)
> diff -r 86abbf8be0b1 netx/net/sourceforge/jnlp/JNLPMatcher.java
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/netx/net/sourceforge/jnlp/JNLPMatcher.java Wed Jul 06 11:37:07 2011 -0400
> @@ -0,0 +1,197 @@
> +package net.sourceforge.jnlp;
> +
> +import java.io.InputStreamReader;
> +import java.io.PipedInputStream;
> +import java.io.PipedOutputStream;
> +import java.util.Arrays;
> +import java.util.LinkedList;
> +import net.sourceforge.nanoxml.XMLElement;
> +
> +/**
> + * To compare launching JNLP file with signed APPLICATION.JNLP or
> + * APPLICATION_TEMPLATE.jnlp.
> + *
> + * Used by net.sourceforge.jnlp.runtime.JNLPCLassLoader
> + */
> +
> +public final class JNLPMatcher {
> +
> + private Node appTemplateNode = null;
> + private Node launchJNLPNode = null;
> + boolean isTemplate = false;
Those variables are just set in constructor, and then read. Make them final, (and isTemplate should be also private) - with possible getter.
When those variables will be final with no setters (as it is now! and right), then whole this class is perfectly immutable. And considering that input streams going in can not be "rewind" then you can...SHOULD... cache return value of match method. Then this method will be able to follow conventions and be named isMatch.
> +
> +
> + /**
> + * Public constructor
> + *
> + * @param appTemplate
> + * the reader stream of the signed APPLICATION.jnlp or
> + * APPLICATION_TEMPLATE.jnlp
> + * @param launchJNLP
> + * the reader stream of the launching JNLP file
> + * @param isTemplate
> + * a boolean that specifies if appTemplateFile is a template
> + * @throws JNLPMatcherException
> + * if IOException, XMLParseException is thrown during parsing; Or launchJNLP/appTemplate is null
> + */
> + public JNLPMatcher(InputStreamReader appTemplate, InputStreamReader launchJNLP, boolean isTemplate)
> + throws JNLPMatcherException {
> +
> + try {
> +
> + if (appTemplate == null&& launchJNLP == null)
> + throw new NullPointerException(
> + "Template JNLP file and Launching JNLP file are both null.");
> + else if (appTemplate == null)
> + throw new NullPointerException("Template JNLP file is null.");
> + else if (launchJNLP == null)
> + throw new NullPointerException("Launching JNLP file is null.");
> +
> + XMLElement appTemplateXML = new XMLElement();
> + XMLElement launchJNLPXML = new XMLElement();
> +
> + // Remove the comments and CDATA from the JNLP file
> + final PipedInputStream pinTemplate = new PipedInputStream();
> + final PipedOutputStream poutTemplate = new PipedOutputStream(pinTemplate);
> + appTemplateXML.sanitizeInput(appTemplate, poutTemplate);
> +
> + final PipedInputStream pinJNLPFile = new PipedInputStream();
> + final PipedOutputStream poutJNLPFile = new PipedOutputStream(pinJNLPFile);
> + launchJNLPXML.sanitizeInput(launchJNLP, poutJNLPFile);
> +
> + // Parse both files
> + appTemplateXML.parseFromReader(new InputStreamReader(pinTemplate));
> + launchJNLPXML.parseFromReader(new InputStreamReader(pinJNLPFile));
> +
> + // Initialize parent nodes
> + this.appTemplateNode = new Node(appTemplateXML);
> + this.launchJNLPNode = new Node(launchJNLPXML);
> + this.isTemplate = isTemplate;
> +
> + } catch (Exception e) {
> + throw new JNLPMatcherException(
> + "Failed to create an instance of JNLPVerify with specified InputStreamReader", e);
> + }
> + }
nice
> +
> + /**
> + * Compares both JNLP files
> + *
> + * @return true if both JNLP files are 'matched', otherwise false
> + */
> + public boolean match() {
> + return matchNodes(appTemplateNode, launchJNLPNode);
When this class will become immutable, then this can look like:
if (match==null) {match=matchNodes(appTemplateNode, launchJNLPNode);}; return match;
Where match is class private variable of type Boolean, which will make the caching.
Please note, that as it is written now, double call of match() will cause an exception, which should not be JNLPMatcherException excepion.
Upper fix should be enough for this issue.
> + }
> +
> + /**
> + * Compares two Nodes regardless of the order of their children/attributes
> + *
> + * @param appTemplate
> + * signed application or template's Node
> + * @param launchJNLP
> + * launching JNLP file's Node
> + *
> + * @return true if both Nodes are 'matched', otherwise false
> + */
> + private boolean matchNodes(Node appTemplate, Node launchJNLP) {
> +
> + if (appTemplate != null&& launchJNLP != null) {
> +
> + Node appTemplateNode = (Node) appTemplate;
> + Node launchJNLPNode = (Node) launchJNLP;
Please rename Node variables (are hidingglobal fields with same names) and remove useless type cast. (just recommendation)
> +
> + //Store children of Node
> + LinkedList appTemplateChild = new LinkedList(Arrays.asList(appTemplateNode
> + .getChildNodes()));
> + LinkedList launchJNLPChild = new LinkedList(Arrays.asList(launchJNLPNode
> + .getChildNodes()));
Those should be just List app...= new LinkedList.... (just recommendation)
> +
> + // Compare only if both Nodes have the same name, else return false
> + if (appTemplateNode.getNodeName().equals(launchJNLPNode.getNodeName())) {
> +
> + if (appTemplateChild.size() == launchJNLPChild.size()) { // Compare children
> +
> + int childLength = appTemplateChild.size();
> +
> + for (int i = 0; i< childLength;) {
> + for (int j = 0; j< childLength; j++) {
> + boolean isSame = matchNodes(appTemplateChild.get(i),
> + launchJNLPChild.get(j));
> +
> + if (!isSame&& j == childLength - 1)
> + return false;
> + else if (isSame) { // If both child matches, remove them from the list of children
> + appTemplateChild.remove(i);
> + launchJNLPChild.remove(j);
> + --childLength;
> + break;
> + }
> + }
> + }
> +
> +
> + if (!appTemplateNode.getNodeValue().equals(launchJNLPNode.getNodeValue())) {
> +
> + //If it's a template and the template's value is NOT '*'
> + if (isTemplate&& !appTemplateNode.getNodeValue().equals("*"))
> + return false;
> + //Else if it's not a template, then return false
> + else if (!isTemplate)
> + return false;
> + }
> + //Compare attributes of both Nodes
> + return matchAttributes(appTemplateNode, launchJNLPNode);
> + }
> +
> + }
> + }
> + return false;
> + }
> +
> + /**
> + * Compares attributes of two Nodes regardless of order
> + *
> + * @param appTemplateNode
> + * signed application or template's Node with attributes
> + * @param launchJNLPNode
> + * launching JNLP file's Node with attributes
> + *
> + * @return true if both Nodes have 'matched' attributes, otherwise false
> + */
> + private boolean matchAttributes(Node appTemplateNode, Node launchJNLPNode) {
> +
> + if (appTemplateNode != null&& launchJNLPNode != null) {
> +
> + String [] appTemplateAttributes = appTemplateNode.getAttributeNames();
> + String [] launchJNLPAttributes = launchJNLPNode.getAttributeNames();
> +
List and Collections framework will serve you well. Chose one of them and do not convert in vain;)
> + Arrays.sort(appTemplateAttributes);
> + Arrays.sort(launchJNLPAttributes);
> +
> + if (appTemplateAttributes.length == launchJNLPAttributes.length) {
> +
> + int size= appTemplateAttributes.length; //Number of attributes
> +
> + for (int i = 0; i< size; i++) {
> +
> + if (launchJNLPAttributes[i].equals(appTemplateAttributes[i])){ // If both Node's attribute name are the same then compare the values
> +
> + String attribute = launchJNLPAttributes[i];
> + boolean isSame = appTemplateNode.getAttribute(attribute).equals(// Check if the Attribute values match
> + launchJNLPNode.getAttribute(attribute));
> +
> + if (!isTemplate&& !isSame)
> + return false;
> + else if (isTemplate&& !isSame
> +&& !appTemplateNode.getAttribute(attribute).equals("*"))
> + return false;
> +
> + } else // If attributes names do not match, return false
> + return false;
> + }
> + return true;
> + }
> + }
> + return false;
> + }
> +}
> diff -r 86abbf8be0b1 netx/net/sourceforge/jnlp/JNLPMatcherException.java
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/netx/net/sourceforge/jnlp/JNLPMatcherException.java Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,16 @@
> +package net.sourceforge.jnlp;
> +
> +public class JNLPMatcherException extends Exception
> +{
> + private static final long serialVersionUID = 1L;
> +
> + public JNLPMatcherException(String message)
> + {
> + super(message);
> + }
> +
> + public JNLPMatcherException(String message, Throwable cause)
> + {
> + super(message, cause);
> + }
> +}
TYVM!
> diff -r 86abbf8be0b1 netx/net/sourceforge/jnlp/Node.java
> --- a/netx/net/sourceforge/jnlp/Node.java Thu Jun 23 15:29:45 2011 +0200
> +++ b/netx/net/sourceforge/jnlp/Node.java Tue Jul 05 14:53:27 2011 -0400
> @@ -19,6 +19,7 @@
> private XMLElement xml;
> private Node next;
> private Node children[];
> + private String attributeNames[];
>
> Node(XMLElement xml) {
> this.xml = xml;
> @@ -60,6 +61,19 @@
>
> return children;
> }
> +
> + String[] getAttributeNames() {
> + if (attributeNames == null) {
> + List list = new ArrayList();
> +
> + for (Enumeration e = xml.enumerateAttributeNames(); e.hasMoreElements();)
> + list.add(new String((String) e.nextElement()));
> +
> + attributeNames = list.toArray(new String[list.size()]);
> +
> + }
> + return attributeNames;
> + }
>
(recommandationon)
This smells bad:)
The onkly usage of ths method is in String [] launchJNLPAttributes = launchJNLPNode.getAttributeNames();
This array is then sorted and iterated through.
Here you create an (Empty!) arraylist, iterate through enumeration (without known size) and fill arraylist. Why tehn convert an array?
My recomandation here is to change attributeNames to List (and use eg unmodifficable list or whatever).
You are following children[], I thing you do not need. Everybody can call List.toArray!
> String getAttribute(String name) {
> return (String) xml.getAttribute(name);
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,332 @@
> +package net.sourceforge.jnlp;
> +
> +import static org.junit.Assert.fail;
> +
> +import java.io.IOException;
> +import java.io.InputStream;
> +import java.io.InputStreamReader;
> +import junit.framework.Assert;
> +import org.junit.After;
> +import org.junit.Before;
> +import org.junit.Test;
> +
> +public class JNLPMatcherTest {
> +
> + String tests[] = {
> + "Testing template with CDATA",
> + "Testing template with an exact duplicate of the launching JNLP file",
> + "Testing template with wildchars as attribute/element values",
> + "Testing template with attributes/elements in different order",
> + "Testing template with wildchars as ALL element/attribute values",
> + "Testing template with comments",
> + "Testing template with different attribute/element values",
> + "Testing template by adding an additional children to element",
> + "Testing template by removing children from element",
> + "Testing template with a complete different JNLP template file ",
> + "Testing application with CDATA",
> + "Testing application with an exact duplicate of the launching JNLP file",
> + "Testing application with the same element/attribute name and value pair in different orders",
> + "Testing application with comments",
> + "Testing application with wildchars as attribute/element values",
> + "Testing application with a different codebase attribute value",
> + "Testing application by adding additional children to element",
> + "Testing application by removing children from element",
> + "Testing application with a complete different JNLP application file " };
> +
nice!
> + JNLPMatcher test;
> + InputStreamReader fileReader;
> + InputStreamReader launchReader;
Remove those three global fields and use them locally please. Minimze of variable scope is (more then) good habbit.
> + ClassLoader cl = JNLPMatcherTest.class.getClassLoader();
make him final.
> +
> + int i = 0;
remove this i - see lower
> +
> + @Before
> + public void setUp() throws Exception {
> +
> + InputStream launchStream = cl.getResourceAsStream("net/sourceforge/jnlp/launchApp.jnlp");
> + launchReader = new InputStreamReader(launchStream);
> +
> + }
This is misuse of setUp/tear down.
Create eg method getResource(String path) which will return InputStreamReader like this ^^ method. and getLunchResoyrce wwhich will just call getResource with "net/sourceforge/jnlp/launchApp.jnlp", and teh use those two ethods in every test.
Dont forget to closeing streams (as you are doing now).
> +
> + @Test
> + public void testTemplateCDATA() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template0.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> +
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateDuplicate() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template1.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateWildCharsRandom() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template2.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateDifferentOrder() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template3.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateWildCharsAsAllValues() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template4.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateComments() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template5.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateDifferentValues() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template6.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateExtraChild() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template7.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateFewerChild() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template8.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testTemplateDifferentFile() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/templates/template9.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, true);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationCDATA() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application0.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationDuplicate() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application1.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationDifferentOrder() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application2.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationComments() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application3.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], true, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationWildCharsRandom() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application4.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationDifferentCodebaseValue() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application5.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationExtraChild() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application6.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationFewerChild() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application7.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testApplicationDifferentFile() throws JNLPMatcherException, IOException {
> +
> + InputStream fileStream = cl
> + .getResourceAsStream("net/sourceforge/jnlp/application/application8.jnlp");
> + fileReader = new InputStreamReader(fileStream);
> +
> + test = new JNLPMatcher(fileReader, launchReader, false);
> +
> + Assert.assertEquals(tests[i], false, test.match());
> + fileReader.close();
> + }
> +
> + @Test
> + public void testNullJNLPFiles() {
> +
> + fileReader = null;
> +
> + try {
> + test = new JNLPMatcher(null, launchReader, false);
> + fail("Created an instance of JNLPMatcher with a null JNLP reader parameter");
> + } catch (JNLPMatcherException e) {
> + // Do nothing, test passed
> + }
> +
> + try {
> + test = new JNLPMatcher(fileReader, null, false);
> + fail("Created an instance of JNLPMatcher with a null launching JNLP reader parameter");
> + } catch (JNLPMatcherException e) {
> + // Do nothing, test passed
> + }
> +
> + try {
> + test = new JNLPMatcher(null, null, false);
> + fail("Created an instance of JNLPMatcher with both JNLP reader as null parameters");
> + } catch (JNLPMatcherException e) {
> + // Do nothing, test passed
> + }
NOT DO NOTHING :DD
save exception, and assertequals with expected exception;)
> + }
> +
> + @After
> + public void tearDown() throws Exception {
> + launchReader.close();
> + i++;
> + }
> +
this 'i' approach is dangerous. The order of tests is not guaranted.And because you are using this i just for output, please use tests[1]... (with numbers instead f variable).
To be honsest - nice set of tests. Some exceptions are never thrown but those test may be added later (...==never? :) )
> +}
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,27 @@
> +
> + + codebase="file"
> + href="www.redhat.com"
> +>
> +
> + + Text you want to escape goes here...
> + random tag test
> + ]]>
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> \ No newline at end of file
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application1.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application1.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application2.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application2.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +
> +
> +
> +
> +RedHat
> +Sample Test
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application3.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application3.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,18 @@
> +
> +
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application4.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application4.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +Sample Test
> +*
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application5.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application5.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application6.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application6.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,16 @@
> +
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application7.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application7.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,11 @@
> +
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/application/application8.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/application/application8.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,14 @@
> +
> +
> +
> +Sample
> +RedHat
> +This is a sample to test a bug
> +
> +
> +
> +
> +
> +
> +
> +
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/launchApp.jnlp Tue Jul 05 15:23:48 2011 -0400
> @@ -0,0 +1,23 @@
> +
> + + codebase="file"
> + href="www.redhat.com"
> +>
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,28 @@
> +
> + + codebase="file"
> + href="*"
> +>
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> + + Text you want to escape goes here...
> + random tag test
> + ]]>
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template1.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template1.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template2.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template2.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +Sample Test
> +*
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template3.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template3.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +
> +
> +
> +
> +RedHat
> +Sample Test
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template4.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template4.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +*
> +*
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template5.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template5.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,23 @@
> +
> + + codebase="*"
> + href="*"
> +>
> +
> +
> +
> +*
> +*
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> + main-class='*' />
> +
> \ No newline at end of file
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template6.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template6.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,13 @@
> +
> +
> +
> +Test Sample
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template7.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template7.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,16 @@
> +
> +
> +
> +Sample Test
> +RedHat
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,8 @@
> +
> +
> +
> +
> +
> +
> +
> +
> diff -r 86abbf8be0b1 tests/netx/unit/net/sourceforge/jnlp/templates/template9.jnlp
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/netx/unit/net/sourceforge/jnlp/templates/template9.jnlp Tue Jul 05 14:53:27 2011 -0400
> @@ -0,0 +1,14 @@
> +
> +
> +
> +Sample
> +RedHat
> +This is a sample to test a bug
> +
> +
> +
> +
> +
> +
> +
> +
>
>
> Patch2.patch
>
>
> diff -r 86abbf8be0b1 netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
> --- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Thu Jun 23 15:29:45 2011 +0200
> +++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Tue Jul 05 16:31:01 2011 -0400
> @@ -19,8 +19,10 @@
>
> import java.io.File;
> import java.io.FileOutputStream;
> +import java.io.FileReader;
> import java.io.IOException;
> import java.io.InputStream;
> +import java.io.InputStreamReader;
> import java.net.MalformedURLException;
> import java.net.URL;
> import java.net.URLClassLoader;
> @@ -51,6 +53,8 @@
> import net.sourceforge.jnlp.ExtensionDesc;
> import net.sourceforge.jnlp.JARDesc;
> import net.sourceforge.jnlp.JNLPFile;
> +import net.sourceforge.jnlp.JNLPMatcher;
> +import net.sourceforge.jnlp.JNLPMatcherException;
> import net.sourceforge.jnlp.LaunchException;
> import net.sourceforge.jnlp.ParseException;
> import net.sourceforge.jnlp.PluginBridge;
> @@ -80,7 +84,11 @@
> // todo: initializePermissions should get the permissions from
> // extension classes too so that main file classes can load
> // resources in an extension.
> -
> +
> + /** Signed JNLP File and Template */
> + final public static String template = "JNLP-INF/APPLICATION_TEMPLATE.JNLP";
> + final public static String application = "JNLP-INF/APPLICATION.JNLP";
> +
> /** map from JNLPFile url to shared classloader */
> private static Map urlToLoader =
> new HashMap(); // never garbage collected!
> @@ -158,8 +166,9 @@
> * Create a new JNLPClassLoader from the specified file.
> *
> * @param file the JNLP file
> + * @throws JNLPMatcherException if signed JNLP file failed to be verified or did not match
> */
> - protected JNLPClassLoader(JNLPFile file, UpdatePolicy policy) throws LaunchException {
> + protected JNLPClassLoader(JNLPFile file, UpdatePolicy policy) throws LaunchException, JNLPMatcherException {
> super(new URL[0], JNLPClassLoader.class.getClassLoader());
>
> if (JNLPRuntime.isDebug())
> @@ -273,8 +282,9 @@
> *
> * @param file the file to load classes for
> * @param policy the update policy to use when downloading resources
> + * @throws JNLPMatcherException if signed JNLP file failed to be verified or did not match
> */
> - public static JNLPClassLoader getInstance(JNLPFile file, UpdatePolicy policy) throws LaunchException {
> + public static JNLPClassLoader getInstance(JNLPFile file, UpdatePolicy policy) throws LaunchException, JNLPMatcherException {
> JNLPClassLoader baseLoader = null;
> JNLPClassLoader loader = null;
> String uniqueKey = file.getUniqueKey();
> @@ -341,9 +351,10 @@
> * @param location the file's location
> * @param version the file's version
> * @param policy the update policy to use when downloading resources
> + * @throws JNLPMatcherException if signed JNLP file failed to be verified or did not match
> */
> public static JNLPClassLoader getInstance(URL location, String uniqueKey, Version version, UpdatePolicy policy)
> - throws IOException, ParseException, LaunchException {
> + throws IOException, ParseException, LaunchException, JNLPMatcherException {
> JNLPClassLoader loader = urlToLoader.get(uniqueKey);
>
> if (loader == null || !location.equals(loader.getJNLPFile().getFileLocation()))
> @@ -403,7 +414,7 @@
> * Load all of the JARs used in this JNLP file into the
> * ResourceTracker for downloading.
> */
> - void initializeResources() throws LaunchException {
> + void initializeResources() throws LaunchException, JNLPMatcherException {
> JARDesc jars[] = resources.getJARs();
> if (jars == null || jars.length == 0)
> return;
> @@ -471,8 +482,135 @@
> //otherwise this jar is simply unsigned -- make sure to ask
> //for permission on certain actions
> }
> +
> + if (js.anyJarsSigned()) {
> + //If there are any signed Jars, check if JNLP file is signed
> +
> + if (JNLPRuntime.isDebug())
> + System.out.println("STARTING check for signed JNLP file...");
> +
> + for (int i = 0; i< jars.length; i++) {
> + List eachJar = new ArrayList();
> + JarSigner signer = new JarSigner();
> + eachJar.add(jars[i]); //Adds only the single jar to check if the jar has a valid signature
> +
> + tracker.addResource(jars[i].getLocation(), jars[i].getVersion(),
> + getDownloadOptionsForJar(jars[i]),
> + jars[i].isCacheable() ? JNLPRuntime.getDefaultUpdatePolicy()
> + : UpdatePolicy.FORCE);
> +
> + try {
> + signer.verifyJars(eachJar, tracker);
> +
> + if (signer.allJarsSigned()) { //If the jar is signed
> + URL location = jars[i].getLocation();
> + File localFile = tracker.getCacheFile(location);
> +
> +
> + if(localFile == null)
> + {
> + throw new JNLPMatcherException("Could not locate jar file, returned null");
> + }
> +
> + else{
> + try {
> + JarFile jarFile = new JarFile(localFile);
> + Enumeration entries = jarFile.entries();
> + JarEntry je;
> +
> + while (entries.hasMoreElements()) {
> + je = entries.nextElement();
> + String jeName = je.getName().toUpperCase();
> +
> + if (jeName.equals(template) || jeName.equals(application)) {
> +
> + if (JNLPRuntime.isDebug())
> + System.out.println("\tCreating Jar InputStream from Jar Entry");
> +
> + InputStream inStream = jarFile.getInputStream(je);
> + InputStreamReader inputReader = new InputStreamReader(
> + inStream);
> +
> + if (JNLPRuntime.isDebug())
> + System.out.println("\tCreating File InputStream from lauching JNLP file");
> +
> + JNLPFile jnlp = this.getJNLPFile();
> + URL url = jnlp.getFileLocation();
> + File jn = null;
> +
> + if (url.getProtocol().equals("file")) // If the file is on the local file system, use original path, otherwise find cache file
> + jn = new File(url.getPath());
> + else
> + jn = CacheUtil.getCacheFile(url, null);
> +
> + FileReader fr = new FileReader(jn);
> + InputStreamReader jnlpReader = fr;
> + JNLPMatcher matcher;
> +
> + try {
> +
> + if (jeName.equals(application)) { // If application was found
> +
> + if (JNLPRuntime.isDebug())
> + System.out.println("\tAPPLICATION.JNLP has been located within signed JAR. Starting verfication...");
> +
> + matcher = new JNLPMatcher(inputReader, jnlpReader, false);
> + } else // Otherwise template was
> + // found
> + {
> + if (JNLPRuntime.isDebug())
> + System.out
> + .println("\tAPPLICATION_TEMPLATE.JNLP has been located within signed JAR. Starting verfication...");
> +
> + matcher = new JNLPMatcher(inputReader,jnlpReader, true);
> + }
> +
> + if (!matcher.match())
> + throw new JNLPMatcherException(
> + "Signed Application did not match launching JNLP File");
> +
> + if (JNLPRuntime.isDebug())
> + System.out
> + .println("\t** Signed Application Verification Successful **");
> +
> + break; // break while loop
> +
> + } catch (Exception e) {
> + throw new JNLPMatcherException(e.getMessage(), e);
> + }
> + }
> +
> + }
> + } catch (IOException e) { //'new JarFile(localFile)' throws an IOException
> + if (JNLPRuntime.isDebug())
> + e.printStackTrace();
> +
> + //After this exception is caught, it is escaped.
> + //If this exception is thrown when creating an instance of JarFile,
> + //it will skip that jarFile and move on to the next jarFile (if there are any)
> + }
> + }
> + }
> + } catch (JNLPMatcherException e) {
> + //Throw e if signed JNLP file failed to be verified
> + //Throwing this exception will fail to initialize the application resulting in the termination of the application
> + throw e;
> +
> + } catch (Exception e) {
> + if (JNLPRuntime.isDebug())
> + e.printStackTrace();
> +
> + //After this exception is caught, it is escaped.
> + //If an exception is thrown while handling the jar file (mainly for JarSigner.verifyJars)
> + //it will consider the jar file to be unsigned and skip on to the next jar file (if there are any)
> + }
> + }
> + if (JNLPRuntime.isDebug())
> + System.out.println("ENDING check for signed JNLP file...");
> + }
> }
>
> +
> for (JARDesc jarDesc : file.getResources().getJARs()) {
> try {
> File cachedFile = tracker.getCacheFile(jarDesc.getLocation());
Generally the classlaoder seams doing what expected, but Deepak must say final word to it. Please discuss with me adding of reproducrs when time will come.
Regards and thanx for yor effort!
J.
From xranby at icedtea.classpath.org Sat Jul 9 07:58:41 2011
From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org)
Date: Sat, 09 Jul 2011 14:58:41 +0000
Subject: /hg/release/icedtea6-1.9: PR632: 6878713.patch breaks shark zero...
Message-ID:
changeset 1c554e7ce79e in /hg/release/icedtea6-1.9
details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=1c554e7ce79e
author: Xerxes R?nby
date: Sat Jul 09 16:58:17 2011 +0200
PR632: 6878713.patch breaks shark zero build
2011-07-09 Xerxes R?nby Mark
Wielaard
PR632: 6878713.patch breaks shark zero build
* patches/stdc-limit-macros.patch
(openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp):
Only define __STDC_LIMIT_MACROS if undefined.
* Makefile.am (ICEDTEA_PATCHES): Add new patch.
* NEWS: Updated.
diffstat:
ChangeLog | 10 ++++++++++
Makefile.am | 1 +
NEWS | 3 +++
patches/stdc-limit-macros.patch | 11 +++++++++++
4 files changed, 25 insertions(+), 0 deletions(-)
diffs (57 lines):
diff -r 78333d0b383a -r 1c554e7ce79e ChangeLog
--- a/ChangeLog Fri Jun 10 17:58:23 2011 +0200
+++ b/ChangeLog Sat Jul 09 16:58:17 2011 +0200
@@ -1,3 +1,13 @@
+2011-07-09 Xerxes R??nby
+ Mark Wielaard
+
+ PR632: 6878713.patch breaks shark zero build
+ * patches/stdc-limit-macros.patch
+ (openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp):
+ Only define __STDC_LIMIT_MACROS if undefined.
+ * Makefile.am (ICEDTEA_PATCHES): Add new patch.
+ * NEWS: Updated.
+
2011-06-10 Pavel Tisnovsky
* patches/font-rhel.patch:
diff -r 78333d0b383a -r 1c554e7ce79e Makefile.am
--- a/Makefile.am Fri Jun 10 17:58:23 2011 +0200
+++ b/Makefile.am Sat Jul 09 16:58:17 2011 +0200
@@ -239,6 +239,7 @@
ICEDTEA_PATCHES = \
$(SECURITY_PATCHES) \
+ patches/stdc-limit-macros.patch \
patches/icedtea-notice-safepoints.patch \
patches/icedtea-parisc-opt.patch \
patches/icedtea-lucene-crash.patch \
diff -r 78333d0b383a -r 1c554e7ce79e NEWS
--- a/NEWS Fri Jun 10 17:58:23 2011 +0200
+++ b/NEWS Sat Jul 09 16:58:17 2011 +0200
@@ -10,6 +10,9 @@
New in release 1.9.9 (20XX-XX-XX):
+* Shark
+ - PR632: patches/security/20110215/6878713.patch breaks shark zero build
+
New in release 1.9.8 (2011-06-07):
* Security fixes
diff -r 78333d0b383a -r 1c554e7ce79e patches/stdc-limit-macros.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/stdc-limit-macros.patch Sat Jul 09 16:58:17 2011 +0200
@@ -0,0 +1,12 @@
+--- openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
++++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
+@@ -72,7 +72,9 @@
+ # endif
+
+ #ifdef LINUX
++#ifndef __STDC_LIMIT_MACROS
+ #define __STDC_LIMIT_MACROS
++#endif
+ #include
+ #include
+ #include
From bugzilla-daemon at icedtea.classpath.org Sat Jul 9 10:21:51 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sat, 09 Jul 2011 17:21:51 +0000
Subject: [Bug 756] New: [regression] zero/shark builds broken on icedtea7 trunk
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=756
Summary: [regression] zero/shark builds broken on icedtea7 trunk
Product: IcedTea
Version: 7-hg
Platform: all
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Zero
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: doko at ubuntu.com
works in b137, fails in b143:
g++-4.6 -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DAMD64
-DZERO_LIBARCH=\"amd64\" -DPRODUCT -I.
-I/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/buil
d/zerovm/openjdk/hotspot/src/share/vm/prims
-I/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/share/vm
-I/home/packag
es/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/cpu/zero/vm
-I/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/ope
njdk/hotspot/src/os_cpu/linux_zero/vm
-I/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/os/linux/vm
-I/home/packages/
openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/os/posix/vm
-I../generated -DHOTSPOT_RELEASE_VERSION="\"21.0-b14\"" -DHOTSPOT_BUILD_
TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"doko\""
-DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0_143-b143\""
-DHOTSPOT_VM_DISTRO="\"OpenJ
DK\"" -DDERIVATIVE_ID="\"IcedTea7 2.0pre\""
-DDEB_MULTIARCH="\"x86_64-linux-gnu\"" -DDISTRIBUTION_ID="\"Ubuntu oneiric
(development branch), package 7~b1
43-2.0~pre1-1\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero
-DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero
-DTARGET_OS_ARCH_MODEL_linux_zero -DTAR
GET_COMPILER_gcc -DSHARK -I/usr/lib/llvm-2.7/include -DNDEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DSHARK_LLVM_VERSION=27 -fpic
-fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64
-pipe -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpoi
nter-arith -Wsign-compare -c -MMD -MP -MF
../generated/dependencies/stack_zero.o.d -o stack_zero.o
/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/
build/zerovm/openjdk/hotspot/src/cpu/zero/vm/stack_zero.cpp
/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/cpu/zero/vm/stack_zero.cpp:
In static member function 'static void ZeroStack::handle_overflow(Thread*)':
/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/cpu/zero/vm/stack_zero.cpp:72:74:
error: no matching function for call to
'Exceptions::throw_stack_overflow_exception(JavaThread*&, const char [111],
int)'
/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/cpu/zero/vm/stack_zero.cpp:72:74:
note: candidate is:
/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/share/vm/utilities/exceptions.hpp:147:15:
note: static void Exceptions::throw_stack_overflow_exception(Thread*, const
char*, int, methodHandle)
/home/packages/openjdk/7/openjdk-7-7~b143-2.0~pre1/build/zerovm/openjdk/hotspot/src/share/vm/utilities/exceptions.hpp:147:15:
note: candidate expects 4 arguments, 3 provided
make[8]: *** [stack_zero.o] Error 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.
From bugzilla-daemon at icedtea.classpath.org Sat Jul 9 10:39:45 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sat, 09 Jul 2011 17:39:45 +0000
Subject: [Bug 756] [regression] zero/shark builds broken on icedtea7 trunk
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=756
Damien Raude-Morvan changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drazzib at drazzib.com
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Damien Raude-Morvan 2011-07-09 17:39:45 ---
*** This bug has been marked as a duplicate of bug 753 ***
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Sat Jul 9 10:39:46 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sat, 09 Jul 2011 17:39:46 +0000
Subject: [Bug 753] Zero FTBFS on stack_zero.cpp :
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=753
Damien Raude-Morvan changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doko at ubuntu.com
--- Comment #1 from Damien Raude-Morvan 2011-07-09 17:39:45 ---
*** Bug 756 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.
From bugzilla-daemon at icedtea.classpath.org Sat Jul 9 11:12:57 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sat, 09 Jul 2011 18:12:57 +0000
Subject: [Bug 753] [regression] Zero FTBFS on stack_zero.cpp :
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=753
Matthias Klose changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
Summary|Zero FTBFS on stack_zero.cpp|[regression] Zero FTBFS on
|: |stack_zero.cpp :
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Sun Jul 10 05:04:17 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sun, 10 Jul 2011 12:04:17 +0000
Subject: [Bug 753] [regression] Zero FTBFS on stack_zero.cpp :
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=753
--- Comment #2 from Xerxes R?nby 2011-07-10 12:04:17 ---
Created an attachment (id=551)
--> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=551)
PR753-zero-methodHandle.patch
This patch unbreaks the build by passing in a methodHandle obtained by calling
mathodHandle() in zero.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Sun Jul 10 05:12:42 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Sun, 10 Jul 2011 12:12:42 +0000
Subject: [Bug 757] New: IA32 Hotspot FTBFS regression after 7009309 JSR292 fix
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=757
Summary: IA32 Hotspot FTBFS regression after 7009309 JSR292 fix
Product: IcedTea
Version: 7-hg
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea7
AssignedTo: ahughes at redhat.com
ReportedBy: xerxes at zafena.se
CC: unassigned at icedtea.classpath.org
Created an attachment (id=552)
--> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=552)
fix-ia32-7009309-regression-remove-use-of-StubRoutines::x86.patch
The JSR292 fix http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/638119ce7cfd
removed the StubRoutines::x86 class.
The attached patch unbreaks IA32 Hotspot builds by removing remaining use of
StubRoutines::x86 .
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
From mvyskocil at suse.cz Mon Jul 11 00:23:10 2011
From: mvyskocil at suse.cz (Michal Vyskocil)
Date: Mon, 11 Jul 2011 09:23:10 +0200
Subject: [PATCH][icedtea-web] use JRE in launchers
In-Reply-To: <20110708150208.GC13502@shelob.middle-earth.co.uk>
References: <20110708073006.GC5971@zelva.suse.cz>
<20110708150208.GC13502@shelob.middle-earth.co.uk>
Message-ID: <20110711072310.GJ5971@zelva.suse.cz>
On Fri, Jul 08, 2011 at 04:02:08PM +0100, Andrew John Hughes wrote:
> On Fri, Jul 08, 2011 at 09:30:07AM +0200, Michal Vyskocil wrote:
> > Hi,
> >
> > following patch changes the JAVA=@JAVA@ to JAVA=@JRE@/bin/java in
> > launchers. The reason is @JAVA@ refers to SDK location used for build
> > of icedtea-web and that path is not usable on some distributions (not
> > surprising that openSUSE is the one :)). Usage of @JRE@ is much correct
> > in this case.
> >
> > Changelog:
> >
> > 2011-07-08 Michal Vyskocil
> >
> > * launcher/itweb-settings.in: use @JRE@ in JAVA location
> > * launcher/javaws.in: use @JRE@ in JAVA location
> >
> > Regards
> > Michal Vyskocil
>
> No, --with-java should be used to point to a java binary. If you're
> pointing it to a directory, you're using the option wrongly.
>
> The --with-jdk-home is used for pointing to the jdk and --with-java
> will default to ${JDK_HOME}/bin/java.
Thanks,
I must overlooked the --with-java option.
Regards
Michal Vyskocil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/9fff225e/attachment.bin
From doko at ubuntu.com Mon Jul 11 01:18:41 2011
From: doko at ubuntu.com (Matthias Klose)
Date: Mon, 11 Jul 2011 10:18:41 +0200
Subject: [patch] fix build failure on linux-sparc
Message-ID: <4E1AB1E1.9040204@ubuntu.com>
Apparently hotspot for sparc-linux was never built, both in 8b23 and 7b143
(didn't use newer releases). jtreg test results look as good as with 6b18.
Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hotspot-sparc.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/3a809734/hotspot-sparc.diff
From ptisnovs at icedtea.classpath.org Mon Jul 11 02:00:03 2011
From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 09:00:03 +0000
Subject: /hg/icedtea6: Added @ignore tag to regression test 7020373 becau...
Message-ID:
changeset 4ca76ee4a7a1 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=4ca76ee4a7a1
author: ptisnovs
date: Mon Jul 11 10:59:47 2011 +0200
Added @ignore tag to regression test 7020373 because binary jar file
needed to run the test is missing in OpenJDK6.
diffstat:
ChangeLog | 7 +++++++
Makefile.am | 3 ++-
patches/jtreg-7020373-add-ignore-tag.patch | 9 +++++++++
3 files changed, 18 insertions(+), 1 deletions(-)
diffs (41 lines):
diff -r 67985e03e768 -r 4ca76ee4a7a1 ChangeLog
--- a/ChangeLog Fri Jul 08 14:10:47 2011 +0200
+++ b/ChangeLog Mon Jul 11 10:59:47 2011 +0200
@@ -1,3 +1,10 @@
+2011-07-11 Pavel Tisnovsky
+
+ * Makefile.am: added new patch
+ * patches/jtreg-7020373-add-ignore-tag.patch:
+ Added @ignore tag to this regression test because binary jar
+ file needed to run the test is missing in OpenJDK6.
+
2011-07-08 Pavel Tisnovsky
* Makefile.am: added new patch
diff -r 67985e03e768 -r 4ca76ee4a7a1 Makefile.am
--- a/Makefile.am Fri Jul 08 14:10:47 2011 +0200
+++ b/Makefile.am Mon Jul 11 10:59:47 2011 +0200
@@ -362,7 +362,8 @@
patches/jtreg-remove-test-6991596.patch \
patches/openjdk/7036220-shark_llvm_29_headers.patch \
patches/openjdk/7029152-String_intrinsics_miss_optimization.patch \
- patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch
+ patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch \
+ patches/jtreg-7020373-add-ignore-tag.patch
if WITH_RHINO
ICEDTEA_PATCHES += \
diff -r 67985e03e768 -r 4ca76ee4a7a1 patches/jtreg-7020373-add-ignore-tag.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/jtreg-7020373-add-ignore-tag.patch Mon Jul 11 10:59:47 2011 +0200
@@ -0,0 +1,10 @@
+--- openjdk.orig/hotspot/test/runtime/7020373/Test7020373.sh 2011-07-08 15:04:32.000000000 +0200
++++ openjdk/hotspot/test/runtime/7020373/Test7020373.sh 2011-07-08 15:01:13.000000000 +0200
+@@ -3,6 +3,7 @@
+ ##
+ ## @test
+ ## @bug 7020373
++## @ignore The original test contains binary jar-file
+ ## @key cte_test
+ ## @summary JSR rewriting can overflow memory address size variables
+ ## @run shell Test7020373.sh
From doko at ubuntu.com Mon Jul 11 02:04:10 2011
From: doko at ubuntu.com (Matthias Klose)
Date: Mon, 11 Jul 2011 11:04:10 +0200
Subject: [patch] fix hotspot/zero build without precompiled headers
Message-ID: <4E1ABC8A.9090903@ubuntu.com>
at least in 7b143, building without the precompiled headers doesn't work.
patch attached.
Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zero.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/ea990019/zero.diff
From doko at ubuntu.com Mon Jul 11 02:47:02 2011
From: doko at ubuntu.com (Matthias Klose)
Date: Mon, 11 Jul 2011 11:47:02 +0200
Subject: [patch] fix build on s390-linux
Message-ID: <4E1AC696.2070603@ubuntu.com>
hotspot makes some assumptions about size_t, depending on the architecture
(32bit/64bit), which doesn't work on s390 (32bit).
$ cat foo.cc
#include
template inline T MAX2(T a, T b) { return (a > b) ? a : b; }
void foo()
{
unsigned int i = 0;
unsigned long l = 1;
size_t r = 1, st = 2;
r = MAX2(i, l); // error on x86_64 s390
r = MAX2(i, st); // error on x86_64 x86 s390
r = MAX2(l, st); // error on x86
}
on x86_64:
foo.cc:11:22: error: no matching function for call to 'MAX2(unsigned int&, long
unsigned int&)'
foo.cc:12:23: error: no matching function for call to 'MAX2(unsigned int&, size_t&)'
on x86:
foo.cc:12:23: error: no matching function for call to 'MAX2(unsigned int&, long
unsigned int&)'
foo.cc:13:24: error: no matching function for call to 'MAX2(unsigned int&, size_t&)'
on s390:
foo.cc:11:15: error: no matching function for call to ?MAX2(unsigned int&, long
unsigned int&)?
foo.cc:12:16: error: no matching function for call to ?MAX2(unsigned int&, size_t&)?
the fix is to add casts to size_t, as already done in other places.
Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hotspot-s390.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/9652f382/hotspot-s390.diff
From xerxes at zafena.se Mon Jul 11 04:07:47 2011
From: xerxes at zafena.se (Xerxes =?ISO-8859-1?Q?R=E5nby?=)
Date: Mon, 11 Jul 2011 13:07:47 +0200
Subject: RFC: Removal of the ARM assembler port in Icedtea6, unbreaks Zero
and Shark builds.
Message-ID: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
Hi team.
The ARM assembler port that have been broken and unmaintained for about
a year are currently preventing Zero and Shark from building when using
the new Hotspot in OpenJDK b23.
The attached patch fixes Zero and Shark builds by removing the ARM
assembler port from the icedtea6 tree.
I will also remove the following files:
arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def
arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
arm_port/hotspot/tools/mkbc.c
patches/arm.patch
Ok to push?
Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unbreak-zero-shark-remove-arm_port.patch
Type: text/x-patch
Size: 2746 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/0ca00db4/unbreak-zero-shark-remove-arm_port.patch
From doko at ubuntu.com Mon Jul 11 04:34:20 2011
From: doko at ubuntu.com (Matthias Klose)
Date: Mon, 11 Jul 2011 13:34:20 +0200
Subject: RFC: Removal of the ARM assembler port in Icedtea6, unbreaks
Zero and Shark builds.
In-Reply-To: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
References: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
Message-ID: <4E1ADFBC.3020503@ubuntu.com>
On 07/11/2011 01:07 PM, Xerxes R?nby wrote:
> Hi team.
>
> The ARM assembler port that have been broken and unmaintained for about
> a year are currently preventing Zero and Shark from building when using
> the new Hotspot in OpenJDK b23.
>
> The attached patch fixes Zero and Shark builds by removing the ARM
> assembler port from the icedtea6 tree.
>
> I will also remove the following files:
> arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
> arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def
> arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
> arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
> arm_port/hotspot/tools/mkbc.c
> patches/arm.patch
>
> Ok to push?
Looks fine. Note that I'll continue to create releases from the 1.8 branch (the
last branch I'm using the arm assembler port).
Matthias
From jvanek at redhat.com Mon Jul 11 04:37:26 2011
From: jvanek at redhat.com (Jiri Vanek)
Date: Mon, 11 Jul 2011 13:37:26 +0200
Subject: ping: [FYI][icedtea-web] minor changes in reproducers engine
In-Reply-To: <4E0B5C25.6090204@redhat.com>
References: <4E045705.8040103@redhat.com> <4E0B5C25.6090204@redhat.com>
Message-ID: <4E1AE076.2040302@redhat.com>
changelog:
*tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java: String containing "localhost" have been declared as final constant.
(SERVER_NAME) have been moved instant Server instance so each server can have it name without affecting others
(getUrl()) added - can return URL of server singleton. Implementation of this method is inside server, so each server can return its own useful URL.
(saveFile()) is now public.
Added identification for ThreadedProcess based on commandlineArgs and its run is now slowed by Thread.sleep
(ServerLuncher) inner class is now public (it was bug to not be as we have getIndependentInstance of it method ) and renamed to ServerLauncher
Enchanted wrapping of executeProcess
On 06/29/2011 07:08 PM, Omair Majid wrote:
> On 06/24/2011 05:21 AM, Jiri Vanek wrote:
>> changelog:
>>
>> *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java: String containing "localhost" have been declared as final constant.
>> (SERVER_NAME) have been moved instant Server instance so each
>> server can have it name without affecting others
>> (getUrl()) added - can return URL of server singleton.
>> Implementation of this method is inside server, so each server can
>> return its own useful URL.
>> (saveFile()) is now public.
>> Added identification for ThreadedProcess based on commandlineArgs
>> and its run is now slowed by Thread.sleep
>> (ServerLuncher) inner class is now public (it was bug to not be as
>> we have getIndependentInstance of it method )
>> Enchanted wrapping of executeProcess
>>
>>
>
> Comments in-line below.
>
>> +
>> + /**
>> + *
>> + * @return port on which is runing cached server. If non singleton instance is runnig, new is created.
>> + */
>
> Javadoc says port, but the method is named getUrl :/
Thanx for catch. Fixed
>
>> + public URL getUrl(String resource) throws MalformedURLException {
>> + if (server == null) {
>> + getInstance();
>> + }
>> + //if (!server.isRunning()) throw new RuntimeException("Server mysteriously died");
>> + return server.getUrl(resource);
>> +
>> + }
>> + /**
>> + *
>> + * @return port on which is runing cached server. If non singleton instance is runnig, new is created.
>> + */
>> + public URL getUrl() throws MalformedURLException {
>> + if (server == null) {
>> + getInstance();
>> + }
>> + //if (!server.isRunning()) throw new RuntimeException("Server mysteriously died");
>> + return getUrl("");
>> +
>> + }
>
> You might be able to get away with just getUrl(""); getUrl(String) already does the checks.
done. thanx.
>
>> @@ -566,6 +591,7 @@
>> List args;
>> Integer exitCode;
>> Boolean running;
>> + String commandLine="unknown command";
>>
>> public Boolean isRunning() {
>> return running;
>> @@ -578,8 +604,21 @@
>> public ThreadedProcess(List args) {
>>
>> this.args = args;
>> + if (args!=null&& args.size()>0){
>> + commandLine="";
>> + for (Iterator it = args.iterator(); it.hasNext();) {
>> + String string = it.next();
>> + commandLine=commandLine+" "+string;
>> +
>> + }
>> + }
>> }
>>
>> + public String getCommandLine() {
>> + return commandLine;
>> + }
>> +
>> +
>> public Process getP() {
>> return p;
>> }
>
> commandLine has a large overlap with args. It is also not used - the runtime.exec() call still uses args. Wouldn't it make more sense to create the commandLine string in getCommandLine()?
variable with uselessly "cached" valuee removed, String generating code moved to method as suggested. ok?
>
>> @@ -609,12 +648,27 @@
>> * to allow terminations and stuff arround.
>> */
>>
>> - static class ServerLuncher implements Runnable {
>> + public static class ServerLuncher implements Runnable {
>>
>
> If you are fixing this, you might want to rename it to ServerL*a*uncher - unless it actually eats servers for lunch :)
Done. I have increased inner version flag by one due to change of "api".
>
>> @@ -778,23 +842,26 @@
>> //System.out.println(time - startTime);
>> //System.out.println((time - startTime)> timeout);
>> if ((time - startTime)> timeout) {
>> - System.err.println("Timeouted " + p.toString() + " .. killing");
>> + System.err.println("Timeouted " + p.toString() +" "+ p.getP().toString()+" .. killing "+p.getCommandLine()+": ");
>> System.err.flush();
>> wasTerminated = true;
>> p.interrupt();
>> while (!terminated.contains(p)) {
>> Thread.sleep(100);
>> }
>> - System.err.println("Timeouted " + p.toString() + " .. killed");
>> + System.err.println("Timeouted " + p.toString() +" "+ p.getP().toString()+ " .. killed "+p.getCommandLine());
>> System.err.flush();
>> break;
>>
>>
>> }
>> + Thread.sleep(100);
>> } catch (Exception ex) {
>> ex.printStackTrace();
>> }
>> }
>> + System.err.println("assasin for" + p.toString() +" "+ p.getP().toString()+" .. done "+p.getCommandLine()+" termination "+wasTerminated);
>> + System.err.flush();
>> }
>> }
>>
>
> ThreadedProcess does not have a toString() method. Do you really need to see the object ids, or can you get rid of p.toString()?
I would like to keep this in code. It helps me to find correct process when debuging.
>
> Everything else looks fine.
>
> Cheers,
> Omair
Thank you for your time J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixedMinorChanges.diff
Type: text/x-patch
Size: 12053 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/a8bca78d/fixedMinorChanges.diff
From ptisnovs at redhat.com Mon Jul 11 05:04:21 2011
From: ptisnovs at redhat.com (Pavel Tisnovsky)
Date: Mon, 11 Jul 2011 14:04:21 +0200
Subject: Reviewer needed: backport of 6758179 into IcedTea6 HEAD.
Message-ID: <4E1AE6C5.4030100@redhat.com>
Hi all,
I'd like to push backport of "6758179: D3D: AlphaComposite is applied
incorrectly for uncached opaque BufferedImage" fix
into IcedTea6 HEAD. This fix was successfully checked on RHEL 5.6 x86_64.
ChangeLog entry:
2011-07-11 Pavel Tisnovsky
* Makefile.am: added new patch
* NEWS: updated with backport
*
patches/openjdk/6758179-D3D_AlphaComposite_is_applied_incorrectly.patch:
Backport of 6758179.
Can anybody please review this change?
Thank you in advance,
Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 6758179_hg.diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/a9b92bbe/6758179_hg.diff
From ptisnovs at redhat.com Mon Jul 11 05:20:53 2011
From: ptisnovs at redhat.com (Pavel Tisnovsky)
Date: Mon, 11 Jul 2011 14:20:53 +0200
Subject: RFC: Separation of JTreg tool into independent project
In-Reply-To: <20110705011948.GC17947@shelob.middle-earth.co.uk>
References: <4E11B0E3.7040605@centrum.cz>
<20110705011948.GC17947@shelob.middle-earth.co.uk>
Message-ID: <4E1AEAA5.3050909@redhat.com>
Andrew John Hughes wrote:
> On Mon, Jul 04, 2011 at 02:24:03PM +0200, Pavel Tisnovsky wrote:
>> Hi all,
>>
>> some time ago I discussed with Andrew John Hughes about the separation
>> of JTreg tool from the IcedTea6 and IcedTea7 projects. In summary (ie
>> how I understand this task): JTreg should be developed as independent
>> project and in the future they should be synchronized with recent JTreg
>> version (used by Oracle guys AFAIK).
>>
>
> Yes, but that's not what this patch seems to do. It just moves the source
> code out of the tree into a zip somewhere. I was envisaging jtreg being
> a separate project like the visualvm one with its own build infrastructure.
> You'd then point configure at an installed jtreg.jar. That could be built
> from the IcedTea jtreg project or alternatively, you could use the one
> Oracle provide if you were willing to accept the proprietary licensing
> this entails.
Hi Andrew,
I tried to create separated "jtreg project" using autotools. It is
available (for RFC) here:
hg clone http://icedtea.classpath.org/people/ptisnovs/jtreg
Cheers,
Pavel
>
>> In the attachment there's very first version of patched Makefile.am from
>> IcedTea6 HEAD. When user call command 'make jtreg' from command line,
>> archive containing stable version of JTreg tool sources is downloaded
>> into 'drops/' subdirectory, then this archive is unzipped into 'test/'
>> subdirectory and then JTreg is compiled & run as usual.
>>
>> This functionality is similar as in the case of JAXP and JAXWS - these
>> two parts of JDK are also separated from JDK sources.
>>
>
> Yes, and it's one of the most annoying things Oracle have ever done, as
> there's no change visibility. I've been thinking about reverting it
> in the IcedTea tree so at least we can see the changes between zips
> if not at the changeset level.
>
>> What do you think about this solution (which could be the same for
>> IcedTea6 and IcedTea7, also *probably* for IcedTea-web)?
>>
>
> Why would IcedTea-Web need jtreg?
>
>> Cheers,
>> Pavel
From xranby at icedtea.classpath.org Mon Jul 11 05:27:49 2011
From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 12:27:49 +0000
Subject: /hg/icedtea6: Removal of the ARM assembler port, unbreaks Zero a...
Message-ID:
changeset aae82c1ccf7d in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=aae82c1ccf7d
author: Xerxes R?nby
date: Mon Jul 11 14:19:14 2011 +0200
Removal of the ARM assembler port, unbreaks Zero and Shark builds.
2011-07-11 Xerxes R?nby
Removal of the ARM assembler port, unbreaks Zero and Shark
builds.
* Makefile.am: (ICEDTEA_PATCHES): Remove patches/arm.patch
(clean-ports): Removed. (stamps/ports.stamp): Likewise.
(hotspot-ports): Likewise.
* arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Removed.
* arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Likewise.
* arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Likewise.
* arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise.
* arm_port/hotspot/tools/mkbc.c: Likewise.
* patches/arm.patch: Likewise.
diffstat:
ChangeLog | 15 +
Makefile.am | 29 +-
arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp | 583 -
arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def | 7695 -----------------
arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S | 6336 -------------
arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp | 7456 ----------------
arm_port/hotspot/tools/mkbc.c | 607 -
patches/arm.patch | 218 -
8 files changed, 18 insertions(+), 22921 deletions(-)
diffs (truncated from 23013 to 500 lines):
diff -r 4ca76ee4a7a1 -r aae82c1ccf7d ChangeLog
--- a/ChangeLog Mon Jul 11 10:59:47 2011 +0200
+++ b/ChangeLog Mon Jul 11 14:19:14 2011 +0200
@@ -1,3 +1,18 @@
+2011-07-11 Xerxes R??nby
+
+ Removal of the ARM assembler port, unbreaks Zero and Shark builds.
+ * Makefile.am:
+ (ICEDTEA_PATCHES): Remove patches/arm.patch.
+ (clean-ports): Removed.
+ (stamps/ports.stamp): Likewise.
+ (hotspot-ports): Likewise.
+ * arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp: Removed.
+ * arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def: Likewise.
+ * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S: Likewise.
+ * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp: Likewise.
+ * arm_port/hotspot/tools/mkbc.c: Likewise.
+ * patches/arm.patch: Likewise.
+
2011-07-11 Pavel Tisnovsky
* Makefile.am: added new patch
diff -r 4ca76ee4a7a1 -r aae82c1ccf7d Makefile.am
--- a/Makefile.am Mon Jul 11 10:59:47 2011 +0200
+++ b/Makefile.am Mon Jul 11 14:19:14 2011 +0200
@@ -262,7 +262,6 @@
patches/openjdk/6959123-libpng_14.patch \
patches/applet_hole.patch \
patches/jtreg-httpTest.patch \
- patches/arm.patch \
patches/debug-dir.patch \
patches/override-redirect-metacity.patch \
patches/openjdk/6967533-pre_epoch.patch \
@@ -603,7 +602,7 @@
check-local: jtregcheck
clean-local: clean-jtreg clean-jtreg-reports $(PULSE_JAVA_CLEAN_TARGET) \
- clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract clean-ports \
+ clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract \
clean-overlay clean-native-ecj clean-icedtea-against-icedtea clean-icedtea-debug-against-icedtea \
clean-icedtea-against-ecj clean-extract-ecj clean-generated clean-replace-hotspot \
clean-rewriter clean-rewrite-rhino clean-rt clean-bootstrap-directory \
@@ -640,7 +639,7 @@
clean-icedtea-against-ecj \
clean-jamvm clean-add-jamvm clean-add-jamvm-debug \
clean-cacao clean-add-cacao clean-add-cacao-debug \
- clean-ports clean-overlay clean-extract-ecj clean-extract clean-extract-openjdk \
+ clean-overlay clean-extract-ecj clean-extract clean-extract-openjdk \
clean-replace-hotspot clean-generated clean-download clean-hgforest clean-download-openjdk \
clean-rewriter clean-rewrite-rhino clean-add-systemtap clean-add-systemtap-debug \
clean-add-pulseaudio clean-add-pulseaudio-debug clean-add-nss clean-add-nss-debug \
@@ -996,27 +995,7 @@
clean-replace-hotspot:
rm -f stamps/replace-hotspot.stamp
-# Copy ports sources into tree
-stamps/ports.stamp: stamps/replace-hotspot.stamp
-if !WITH_ALT_HSBUILD
- for target in $(abs_top_srcdir)/arm_port/hotspot/tools \
- $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \
- link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \
- cp -rv $$target $$link; \
- done
-endif
- mkdir -p stamps
- touch stamps/ports.stamp
-
-clean-ports:
- for target in $(abs_top_srcdir)/arm_port/hotspot/tools \
- $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \
- link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \
- rm -rf $$link; \
- done
- rm -f stamps/ports.stamp
-
-stamps/generated.stamp: stamps/ports.stamp
+stamps/generated.stamp: stamps/replace-hotspot.stamp
set -e ; \
if [ ! -e $(abs_top_builddir)/generated ]; then \
cp -a $(abs_top_srcdir)/generated $(abs_top_builddir); \
@@ -2266,8 +2245,6 @@
extract-ecj: stamps/extract-ecj.stamp
-hotspot-ports: stamps/ports.stamp
-
icedtea: stamps/icedtea.stamp
icedtea-against-icedtea: stamps/icedtea-against-icedtea.stamp
diff -r 4ca76ee4a7a1 -r aae82c1ccf7d arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
--- a/arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp Mon Jul 11 10:59:47 2011 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,583 +0,0 @@
-/*
- * Copyright 2009, 2010 Edward Nevill
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#define ARCH_THUMBEE (1<<16)
-#define ARCH_VFP (1<<17)
-#define ARCH_CLZ (1<<18)
-
-#ifndef STATIC_OFFSETS
-
-#include "incls/_bytecodeInterpreter.cpp.incl"
-
-#include
-#include
-
-#define VECBUFF_SIZE 64
-
-extern "C" unsigned hwcap(void)
-{
- int fd;
- unsigned vecs[VECBUFF_SIZE];
- unsigned *p;
- int i, n;
- unsigned rc = 0;
- unsigned arch = 4;
-
- fd = open("/proc/self/auxv", O_RDONLY);
- if (fd < 0) return 0;
- do {
- n = read(fd, vecs, VECBUFF_SIZE * sizeof(unsigned));
- p = vecs;
- i = n/8;
- while (--i >= 0) {
- unsigned tag = *p++;
- unsigned value = *p++;
- if (tag == 0) goto fini;
- if (tag == AT_HWCAP) {
- if (value & HWCAP_THUMBEE) rc |= ARCH_THUMBEE;
- if (value & HWCAP_VFP) rc |= ARCH_VFP;
- } else if (tag == AT_PLATFORM) {
- const char *s = (const char *)value;
- int c;
-
- if (*s++ == 'v') {
- arch = 0;
- while ((isdigit)(c = *s++)) arch = arch * 10 + c - '0';
- }
- }
- }
- } while (n == VECBUFF_SIZE * sizeof(unsigned));
-fini:
- close(fd);
-// printf("arch = %d, rc = 0x%08x\n", arch, rc);
- if (arch >= 5) rc |= ARCH_CLZ;
- if (arch >= 7) rc |= ARCH_THUMBEE;
- return rc | (1<is_lock_owned(r1);
-}
-
-extern "C" HeapWord **CollectedHeap_top_addr(CollectedHeap *r0)
-{
- return r0->top_addr();
-}
-
-extern "C" HeapWord **CollectedHeap_end_addr(CollectedHeap *r0)
-{
- return r0->end_addr();
-}
-
-extern "C" char *SharedRuntime_generate_class_cast_message(const char *name, const char *klass)
-{
- return SharedRuntime::generate_class_cast_message(name, klass);
-}
-
-#define HELPER_THROW(thread, name, msg) Exceptions::_throw_msg(thread, __FILE__, __LINE__, name, msg)
-
-class VMStructs {
-public:
- static inline klassOop klass_at_addr(constantPoolOop constants, u2 index) {
- return (klassOop) *constants->obj_at_addr(index);
- }
-};
-
-extern "C" oop Helper_new(interpreterState istate, unsigned index)
-{
- JavaThread *thread = istate->thread();
-
- constantPoolOop constants = istate->method()->constants();
- oop result = NULL;
- if (!constants->tag_at(index).is_unresolved_klass()) {
- // Make sure klass is initialized and doesn't have a finalizer
- oop entry = VMStructs::klass_at_addr(constants, index);
- klassOop k_entry = (klassOop) entry;
- instanceKlass* ik = (instanceKlass*) k_entry->klass_part();
- if ( ik->is_initialized() && ik->can_be_fastpath_allocated() ) {
- size_t obj_size = ik->size_helper();
- // If the TLAB isn't pre-zeroed then we'll have to do it
- bool need_zero = !ZeroTLAB;
- if (UseTLAB) {
- result = (oop) thread->tlab().allocate(obj_size);
- }
- if (result == NULL) {
- need_zero = true;
- // Try allocate in shared eden
- retry:
- HeapWord* compare_to = *Universe::heap()->top_addr();
- HeapWord* new_top = compare_to + obj_size;
- if (new_top <= *Universe::heap()->end_addr()) {
- if (Atomic::cmpxchg_ptr(new_top, Universe::heap()->top_addr(), compare_to) != compare_to) {
- goto retry;
- }
- result = (oop) compare_to;
- }
- }
- if (result != NULL) {
- // Initialize object (if nonzero size and need) and then the header
- if (need_zero ) {
- HeapWord* to_zero = (HeapWord*) result + sizeof(oopDesc) / oopSize;
- obj_size -= sizeof(oopDesc) / oopSize;
- if (obj_size > 0 ) {
- memset(to_zero, 0, obj_size * HeapWordSize);
- }
- }
- if (UseBiasedLocking) {
- result->set_mark(ik->prototype_header());
- } else {
- result->set_mark(markOopDesc::prototype());
- }
- result->set_klass_gap(0);
- result->set_klass(k_entry);
- return result;
- }
- }
- }
- // Slow case allocation
- InterpreterRuntime::_new(thread, istate->method()->constants(), index);
- result = thread->vm_result();
- thread->set_vm_result(NULL);
- return result;
-}
-
-extern "C" int Helper_instanceof(interpreterState istate, unsigned index, oop tos)
-{
- if (tos == NULL) return 0;
-
- // Constant pool may have actual klass or unresolved klass. If it is
- // unresolved we must resolve it
- if (istate->method()->constants()->tag_at(index).is_unresolved_klass()) {
- InterpreterRuntime::quicken_io_cc(istate->thread());
- if (istate->thread()->has_pending_exception()) return 0;
- }
- klassOop klassOf = VMStructs::klass_at_addr(istate->method()->constants(), index);
- klassOop objKlassOop = tos->klass();
- //
- // Check for compatibilty. This check must not GC!!
- // Seems way more expensive now that we must dispatch
- //
- return objKlassOop == klassOf || objKlassOop->klass_part()->is_subtype_of(klassOf);
-}
-
-extern "C" oop Helper_checkcast(interpreterState istate, unsigned index, oop tos)
-{
- if (tos == NULL) return NULL;
-
- // Constant pool may have actual klass or unresolved klass. If it is
- // unresolved we must resolve it
- if (istate->method()->constants()->tag_at(index).is_unresolved_klass()) {
- oop except_oop;
- InterpreterRuntime::quicken_io_cc(istate->thread());
- if (except_oop = istate->thread()->pending_exception()) return except_oop;
- }
- klassOop klassOf = VMStructs::klass_at_addr(istate->method()->constants(), index);
- klassOop objKlassOop = tos->klass(); //ebx
- //
- // Check for compatibilty. This check must not GC!!
- // Seems way more expensive now that we must dispatch
- //
- if (objKlassOop != klassOf && !objKlassOop->klass_part()->is_subtype_of(klassOf)) {
- ResourceMark rm(istate->thread());
- const char* objName = Klass::cast(objKlassOop)->external_name();
- const char* klassName = Klass::cast(klassOf)->external_name();
- char* message = SharedRuntime::generate_class_cast_message(objName, klassName);
- ThreadInVMfromJava trans(istate->thread());
- HELPER_THROW(istate->thread(), vmSymbols::java_lang_ClassCastException(), message);
- }
- return istate->thread()->pending_exception();
-}
-
-extern "C" oop Helper_aastore(interpreterState istate, oop value, int index, arrayOop arrayref)
-{
- if (arrayref == NULL) {
- ThreadInVMfromJava trans(istate->thread());
- HELPER_THROW(istate->thread(), vmSymbols::java_lang_NullPointerException(), "");
- } else if ((uint32_t)index >= (uint32_t)arrayref->length()) {
- char message[jintAsStringSize];
- sprintf(message, "%d", index);
- HELPER_THROW(istate->thread(), vmSymbols::java_lang_ArrayIndexOutOfBoundsException(), message);
- } else {
- if (value != NULL) {
- /* Check assignability of value into arrayref */
- klassOop rhsKlassOop = value->klass(); // EBX (subclass)
- klassOop elemKlassOop = ((objArrayKlass*) arrayref->klass()->klass_part())->element_klass();
- //
- // Check for compatibilty. This check must not GC!!
- // Seems way more expensive now that we must dispatch
- //
- if (rhsKlassOop != elemKlassOop && !rhsKlassOop->klass_part()->is_subtype_of(elemKlassOop)) {
- HELPER_THROW(istate->thread(), vmSymbols::java_lang_ArrayStoreException(), "");
- goto handle_exception;
- }
- }
- oop* elem_loc = (oop*)(((address) arrayref->base(T_OBJECT)) + index * sizeof(oop));
- // *(oop*)(((address) arrayref->base(T_OBJECT)) + index * sizeof(oop)) = value;
- *elem_loc = value;
- // Mark the card
- BarrierSet* bs = Universe::heap()->barrier_set();
- static volatile jbyte* _byte_map_base = (volatile jbyte*)(((CardTableModRefBS*)bs)->byte_map_base);
- OrderAccess::release_store(&_byte_map_base[(uintptr_t)elem_loc >> CardTableModRefBS::card_shift], 0);
- }
-handle_exception:
- return istate->thread()->pending_exception();
-}
-
-extern "C" void Helper_aputfield(oop obj)
-{
- BarrierSet* bs = Universe::heap()->barrier_set();
- static volatile jbyte* _byte_map_base = (volatile jbyte*)(((CardTableModRefBS*)bs)->byte_map_base);
- OrderAccess::release_store(&_byte_map_base[(uintptr_t)obj >> CardTableModRefBS::card_shift], 0);
-}
-
-extern "C" oop Helper_synchronized_enter(JavaThread *thread, BasicObjectLock *mon)
-{
- BasicLock *lock = mon->lock();
- markOop displaced = lock->displaced_header();
-
- if (thread->is_lock_owned((address)displaced->clear_lock_bits()))
- lock->set_displaced_header(NULL);
- else
- InterpreterRuntime::monitorenter(thread, mon);
- return thread->pending_exception();
-}
-
-extern "C" oop Helper_synchronized_exit(JavaThread *thread, BasicObjectLock *mon)
-{
- {
- HandleMark __hm(thread);
- if (mon->obj() == NULL)
- InterpreterRuntime::throw_illegal_monitor_state_exception(thread);
- else
- InterpreterRuntime::monitorexit(thread, mon);
- }
- return thread->pending_exception();
-}
-
-extern "C" oop Helper_SafePoint(JavaThread *thread)
-{
- {
- HandleMarkCleaner __hmc(thread);
- }
- SafepointSynchronize::block(thread);
- return thread->pending_exception();
-}
-
-extern "C" void Helper_RaiseArrayBoundException(JavaThread *thread, int index)
-{
- char message[jintAsStringSize];
- sprintf(message, "%d", index);
- {
- ThreadInVMfromJava trans(thread);
- Exceptions::_throw_msg(thread, "[Bytecoce Interpreter]", 99,
- vmSymbols::java_lang_ArrayIndexOutOfBoundsException(), message);
- }
-}
-
-extern "C" void Helper_Raise(JavaThread *thread, symbolOopDesc *name, char const *msg)
-{
- ThreadInVMfromJava trans(thread);
- Exceptions::_throw_msg(thread, "[Bytecoce Interpreter]", 99, name, msg);
-}
-
-extern "C" void Helper_RaiseIllegalMonitorException(JavaThread *thread)
-{
- HandleMark __hm(thread);
- thread->clear_pending_exception();
- InterpreterRuntime::throw_illegal_monitor_state_exception(thread);
-}
-
-extern "C" address Helper_HandleException(interpreterState istate, JavaThread *thread)
-{
- HandleMarkCleaner __hmc(thread);
- Handle except_oop(thread, thread->pending_exception());
- HandleMark __hm(thread);
- intptr_t continuation_bci;
- intptr_t *topOfStack;
- address pc;
-
- thread->clear_pending_exception();
- continuation_bci = (intptr_t)InterpreterRuntime::exception_handler_for_exception(thread, except_oop());
- except_oop = (oop) thread->vm_result();
- thread->set_vm_result(NULL);
- if (continuation_bci >= 0) {
- topOfStack = (intptr_t *)istate->stack();
- *topOfStack-- = (intptr_t)except_oop();
- istate->set_stack(topOfStack);
- pc = istate->method()->code_base() + continuation_bci;
-#if 0
- tty->print_cr("Exception <%s> (" INTPTR_FORMAT ")", Klass::cast(except_oop->klass())->external_name(), except_oop());
- tty->print_cr(" thrown in interpreter method <%s>", istate->method()->name_and_sig_as_C_string());
- tty->print_cr(" at bci %d, continuing at %d for thread " INTPTR_FORMAT,
- pc - (intptr_t)istate->method()->code_base(),
- continuation_bci, thread);
-#endif
- return pc;
- }
-#if 0
- tty->print_cr("Exception <%s> (" INTPTR_FORMAT ")", Klass::cast(except_oop->klass())->external_name(), except_oop());
- tty->print_cr(" thrown in interpreter method <%s>", istate->method()->name_and_sig_as_C_string());
- tty->print_cr(" at bci %d, unwinding for thread " INTPTR_FORMAT,
- pc - (intptr_t) istate->method()->code_base(),
- thread);
-#endif
- thread->set_pending_exception(except_oop(), NULL, 0);
- return 0;
-}
-
-#endif // STATIC_OFFSETS
-
-#ifdef STATIC_OFFSETS
-
-#include "incls/_precompiled.incl"
-
-class VMStructs {
-public:
- static void print_vm_offsets(void);
-};
-
-#define outfile stdout
-
-void print_def(const char *s, int v)
-{
- fprintf(outfile, "#undef %-40s\n", s);
- fprintf(outfile, "#define %-40s 0x%02x\n", s, v);
-}
-
-void nl(void)
-{
- fputc('\n', outfile);
-}
-
-// ZeroFrame is not friends with VMStructs, but it is with ZeroStackPrinter
-class ZeroStackPrinter {
-public:
- static void print_vm_offsets(void);
-};
-
-void ZeroStackPrinter::print_vm_offsets(void)
-{
- print_def("INTERPRETER_FRAME", ZeroFrame::INTERPRETER_FRAME);
-}
-
-void VMStructs::print_vm_offsets(void)
-{
- print_def("ISTATE_THREAD", offset_of(BytecodeInterpreter, _thread));
- print_def("ISTATE_BCP", offset_of(BytecodeInterpreter, _bcp));
- print_def("ISTATE_LOCALS", offset_of(BytecodeInterpreter, _locals));
- print_def("ISTATE_CONSTANTS", offset_of(BytecodeInterpreter, _constants));
- print_def("ISTATE_METHOD", offset_of(BytecodeInterpreter, _method));
- print_def("ISTATE_STACK", offset_of(BytecodeInterpreter, _stack));
- print_def("ISTATE_MSG", offset_of(BytecodeInterpreter, _msg));
- print_def("ISTATE_OOP_TEMP", offset_of(BytecodeInterpreter, _oop_temp));
- print_def("ISTATE_STACK_BASE",offset_of(BytecodeInterpreter, _stack_base));
- print_def("ISTATE_STACK_LIMIT",offset_of(BytecodeInterpreter, _stack_limit));
- print_def("ISTATE_MONITOR_BASE",offset_of(BytecodeInterpreter, _monitor_base));
- print_def("ISTATE_SELF_LINK", offset_of(BytecodeInterpreter, _self_link));
- print_def("ISTATE_FRAME_TYPE", sizeof(BytecodeInterpreter) + 0);
- print_def("ISTATE_NEXT_FRAME", sizeof(BytecodeInterpreter) + 4);
- print_def("FRAME_SIZE", sizeof(BytecodeInterpreter) + 8);
- nl();
- ZeroStackPrinter::print_vm_offsets();
- nl();
- print_def("THREAD_PENDING_EXC", offset_of(JavaThread, _pending_exception));
- print_def("THREAD_SUSPEND_FLAGS", offset_of(JavaThread, _suspend_flags));
- print_def("THREAD_ACTIVE_HANDLES", offset_of(JavaThread, _active_handles));
- print_def("THREAD_LAST_HANDLE_MARK", offset_of(JavaThread, _last_handle_mark));
- print_def("THREAD_TLAB_TOP", offset_of(JavaThread, _tlab) + offset_of(ThreadLocalAllocBuffer, _top));
From ChrisPhi at LGonQn.Org Mon Jul 11 06:57:58 2011
From: ChrisPhi at LGonQn.Org (Chris Phillips)
Date: Mon, 11 Jul 2011 09:57:58 -0400
Subject: distro-pkg-dev Digest, Vol 50, Issue 21: [Bug 753] [regression]
Zero FTBFS on stack_zero.cpp :
In-Reply-To:
References:
Message-ID: <4E1B0166.9010609@LGonQn.Org>
Hi
Thanks Xerxes!
Looks OK.
This works around the build problem in b143, further re-org
and changes needed for zero/shark jsr292 for b147 FCS.
Chris
On 10/07/11 03:00 PM, distro-pkg-dev-request at openjdk.java.net wrote:
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 10 Jul 2011 12:04:17 +0000
> From: bugzilla-daemon at icedtea.classpath.org
> Subject: [Bug 753] [regression] Zero FTBFS on stack_zero.cpp :
> To: unassigned at icedtea.classpath.org
> Message-ID:
> Content-Type: text/plain; charset="UTF-8"
>
> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=753
>
>
>
>
>
> --- Comment #2 from Xerxes R?nby 2011-07-10 12:04:17 ---
> Created an attachment (id=551)
> --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=551)
> PR753-zero-methodHandle.patch
>
> This patch unbreaks the build by passing in a methodHandle obtained by calling
> mathodHandle() in zero.
From ahughes at redhat.com Mon Jul 11 07:12:39 2011
From: ahughes at redhat.com (Dr Andrew John Hughes)
Date: Mon, 11 Jul 2011 15:12:39 +0100
Subject: RFC: Removal of the ARM assembler port in Icedtea6, unbreaks
Zero and Shark builds.
In-Reply-To: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
References: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
Message-ID: <20110711141239.GA5877@rivendell.middle-earth.co.uk>
On 13:07 Mon 11 Jul , Xerxes R?nby wrote:
> Hi team.
>
> The ARM assembler port that have been broken and unmaintained for about
> a year are currently preventing Zero and Shark from building when using
> the new Hotspot in OpenJDK b23.
>
Just for clarity, the issue here is not because of changes in b23 as
we've been using using the same HotSpot for months. The new breakage
is because the HotSpot we now use by default is no longer the
'alternate' Hotspot (and thus WITH_ALT_HSBUILD is not set). It's the
'original' HotSpot from the b23 tarball.
> The attached patch fixes Zero and Shark builds by removing the ARM
> assembler port from the icedtea6 tree.
>
> I will also remove the following files:
> arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
> arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def
> arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
> arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
> arm_port/hotspot/tools/mkbc.c
> patches/arm.patch
>
> Ok to push?
>
This sounds fine. We did give plenty of warning about this when we
first disabled it for hs20 and the code hasn't been included in the
default build since we switched to using hs20.
> Cheers
> Xerxes
> Index: icedtea6/Makefile.am
> ===================================================================
> --- icedtea6.orig/Makefile.am 2011-07-11 12:37:38.084889776 +0200
> +++ icedtea6/Makefile.am 2011-07-11 12:38:04.565021087 +0200
> @@ -262,7 +262,6 @@
> patches/openjdk/6959123-libpng_14.patch \
> patches/applet_hole.patch \
> patches/jtreg-httpTest.patch \
> - patches/arm.patch \
> patches/debug-dir.patch \
> patches/override-redirect-metacity.patch \
> patches/openjdk/6967533-pre_epoch.patch \
> @@ -603,7 +602,7 @@
> check-local: jtregcheck
>
> clean-local: clean-jtreg clean-jtreg-reports $(PULSE_JAVA_CLEAN_TARGET) \
> - clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract clean-ports \
> + clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract \
> clean-overlay clean-native-ecj clean-icedtea-against-icedtea clean-icedtea-debug-against-icedtea \
> clean-icedtea-against-ecj clean-extract-ecj clean-generated clean-replace-hotspot \
> clean-rewriter clean-rewrite-rhino clean-rt clean-bootstrap-directory \
> @@ -640,7 +639,7 @@
> clean-icedtea-against-ecj \
> clean-jamvm clean-add-jamvm clean-add-jamvm-debug \
> clean-cacao clean-add-cacao clean-add-cacao-debug \
> - clean-ports clean-overlay clean-extract-ecj clean-extract clean-extract-openjdk \
> + clean-overlay clean-extract-ecj clean-extract clean-extract-openjdk \
> clean-replace-hotspot clean-generated clean-download clean-hgforest clean-download-openjdk \
> clean-rewriter clean-rewrite-rhino clean-add-systemtap clean-add-systemtap-debug \
> clean-add-pulseaudio clean-add-pulseaudio-debug clean-add-nss clean-add-nss-debug \
> @@ -996,27 +995,7 @@
> clean-replace-hotspot:
> rm -f stamps/replace-hotspot.stamp
>
> -# Copy ports sources into tree
> -stamps/ports.stamp: stamps/replace-hotspot.stamp
> -if !WITH_ALT_HSBUILD
> - for target in $(abs_top_srcdir)/arm_port/hotspot/tools \
> - $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \
> - link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \
> - cp -rv $$target $$link; \
> - done
> -endif
> - mkdir -p stamps
> - touch stamps/ports.stamp
> -
> -clean-ports:
> - for target in $(abs_top_srcdir)/arm_port/hotspot/tools \
> - $(abs_top_srcdir)/arm_port/hotspot/src/*cpu/* ; do \
> - link=$$(dirname $$target | sed 's/^.*arm_port/openjdk/'); \
> - rm -rf $$link; \
> - done
> - rm -f stamps/ports.stamp
> -
> -stamps/generated.stamp: stamps/ports.stamp
> +stamps/generated.stamp: stamps/replace-hotspot.stamp
> set -e ; \
> if [ ! -e $(abs_top_builddir)/generated ]; then \
> cp -a $(abs_top_srcdir)/generated $(abs_top_builddir); \
> @@ -2266,8 +2245,6 @@
>
> extract-ecj: stamps/extract-ecj.stamp
>
> -hotspot-ports: stamps/ports.stamp
> -
> icedtea: stamps/icedtea.stamp
>
> icedtea-against-icedtea: stamps/icedtea-against-icedtea.stamp
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Mon Jul 11 07:14:46 2011
From: ahughes at redhat.com (Dr Andrew John Hughes)
Date: Mon, 11 Jul 2011 15:14:46 +0100
Subject: RFC: Removal of the ARM assembler port in Icedtea6, unbreaks
Zero and Shark builds.
In-Reply-To: <4E1ADFBC.3020503@ubuntu.com>
References: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
<4E1ADFBC.3020503@ubuntu.com>
Message-ID: <20110711141445.GB5877@rivendell.middle-earth.co.uk>
On 13:34 Mon 11 Jul , Matthias Klose wrote:
> On 07/11/2011 01:07 PM, Xerxes R?nby wrote:
> > Hi team.
> >
> > The ARM assembler port that have been broken and unmaintained for about
> > a year are currently preventing Zero and Shark from building when using
> > the new Hotspot in OpenJDK b23.
> >
> > The attached patch fixes Zero and Shark builds by removing the ARM
> > assembler port from the icedtea6 tree.
> >
> > I will also remove the following files:
> > arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
> > arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def
> > arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
> > arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
> > arm_port/hotspot/tools/mkbc.c
> > patches/arm.patch
> >
> > Ok to push?
>
> Looks fine. Note that I'll continue to create releases from the 1.8 branch (the
> last branch I'm using the arm assembler port).
>
As I mentioned some time back:
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-March/013215.html
I won't be maintaining 1.8 once 1.11 is released, which will be sometime in
the latter half of this year, once our initial IcedTea7 releases are out of
the way.
Do you intend to pick this up yourself?
> Matthias
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Mon Jul 11 07:22:24 2011
From: ahughes at redhat.com (Dr Andrew John Hughes)
Date: Mon, 11 Jul 2011 15:22:24 +0100
Subject: Reviewer needed: backport of 6758179 into IcedTea6 HEAD.
In-Reply-To: <4E1AE6C5.4030100@redhat.com>
References: <4E1AE6C5.4030100@redhat.com>
Message-ID: <20110711142224.GD5877@rivendell.middle-earth.co.uk>
On 14:04 Mon 11 Jul , Pavel Tisnovsky wrote:
> Hi all,
>
> I'd like to push backport of "6758179: D3D: AlphaComposite is applied
> incorrectly for uncached opaque BufferedImage" fix
> into IcedTea6 HEAD. This fix was successfully checked on RHEL 5.6 x86_64.
>
> ChangeLog entry:
>
> 2011-07-11 Pavel Tisnovsky
>
> * Makefile.am: added new patch
> * NEWS: updated with backport
> *
> patches/openjdk/6758179-D3D_AlphaComposite_is_applied_incorrectly.patch:
> Backport of 6758179.
>
> Can anybody please review this change?
>
> Thank you in advance,
> Pavel
>
Approved. Where are you finding all these?
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From doko at ubuntu.com Mon Jul 11 08:07:48 2011
From: doko at ubuntu.com (Matthias Klose)
Date: Mon, 11 Jul 2011 17:07:48 +0200
Subject: RFC: Removal of the ARM assembler port in Icedtea6, unbreaks
Zero and Shark builds.
In-Reply-To: <20110711141445.GB5877@rivendell.middle-earth.co.uk>
References: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
<4E1ADFBC.3020503@ubuntu.com>
<20110711141445.GB5877@rivendell.middle-earth.co.uk>
Message-ID: <4E1B11C4.7010800@ubuntu.com>
On 07/11/2011 04:14 PM, Dr Andrew John Hughes wrote:
> On 13:34 Mon 11 Jul , Matthias Klose wrote:
>> On 07/11/2011 01:07 PM, Xerxes R?nby wrote:
>>> Hi team.
>>>
>>> The ARM assembler port that have been broken and unmaintained for about
>>> a year are currently preventing Zero and Shark from building when using
>>> the new Hotspot in OpenJDK b23.
>>>
>>> The attached patch fixes Zero and Shark builds by removing the ARM
>>> assembler port from the icedtea6 tree.
>>>
>>> I will also remove the following files:
>>> arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
>>> arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def
>>> arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
>>> arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
>>> arm_port/hotspot/tools/mkbc.c
>>> patches/arm.patch
>>>
>>> Ok to push?
>>
>> Looks fine. Note that I'll continue to create releases from the 1.8 branch (the
>> last branch I'm using the arm assembler port).
>>
>
> As I mentioned some time back:
>
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-March/013215.html
>
> I won't be maintaining 1.8 once 1.11 is released, which will be sometime in
> the latter half of this year, once our initial IcedTea7 releases are out of
> the way.
>
> Do you intend to pick this up yourself?
I'm still release manager for the 1.8 branch, or did I miss something?
Matthias
From ptisnovs at redhat.com Mon Jul 11 08:34:46 2011
From: ptisnovs at redhat.com (Pavel Tisnovsky)
Date: Mon, 11 Jul 2011 17:34:46 +0200
Subject: Reviewer needed: backport of 6758179 into IcedTea6 HEAD.
In-Reply-To: <20110711142224.GD5877@rivendell.middle-earth.co.uk>
References: <4E1AE6C5.4030100@redhat.com>
<20110711142224.GD5877@rivendell.middle-earth.co.uk>
Message-ID: <4E1B1816.3080407@redhat.com>
Dr Andrew John Hughes wrote:
> On 14:04 Mon 11 Jul , Pavel Tisnovsky wrote:
>> Hi all,
>>
>> I'd like to push backport of "6758179: D3D: AlphaComposite is applied
>> incorrectly for uncached opaque BufferedImage" fix
>> into IcedTea6 HEAD. This fix was successfully checked on RHEL 5.6 x86_64.
>>
>> ChangeLog entry:
>>
>> 2011-07-11 Pavel Tisnovsky
>>
>> * Makefile.am: added new patch
>> * NEWS: updated with backport
>> *
>> patches/openjdk/6758179-D3D_AlphaComposite_is_applied_incorrectly.patch:
>> Backport of 6758179.
>>
>> Can anybody please review this change?
>>
>> Thank you in advance,
>> Pavel
>>
>
> Approved. Where are you finding all these?
>
Hi Andrew,
thank you.
I'm trying to sync. regression tests so if some test exists only in
OpenJDK7 then I look for changes coming together with the test (hg log &
hg export) and if such changes look good and are applicable to IcedTea6
sources *and* if it does not break TCK I'll ask for review ;-)
Pavel
From ahughes at redhat.com Mon Jul 11 08:36:03 2011
From: ahughes at redhat.com (Dr Andrew John Hughes)
Date: Mon, 11 Jul 2011 16:36:03 +0100
Subject: RFC: Removal of the ARM assembler port in Icedtea6, unbreaks
Zero and Shark builds.
In-Reply-To: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
References: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
Message-ID: <20110711153603.GE5877@rivendell.middle-earth.co.uk>
On 13:07 Mon 11 Jul , Xerxes R?nby wrote:
> Hi team.
>
> The ARM assembler port that have been broken and unmaintained for about
> a year are currently preventing Zero and Shark from building when using
> the new Hotspot in OpenJDK b23.
>
> The attached patch fixes Zero and Shark builds by removing the ARM
> assembler port from the icedtea6 tree.
>
> I will also remove the following files:
> arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
> arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def
> arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
> arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
> arm_port/hotspot/tools/mkbc.c
> patches/arm.patch
>
> Ok to push?
>
> Cheers
> Xerxes
Missed this in my initial review; you don't update NEWS.
Please do so. This is more important than the numerous
minor JamVM changes which were all meticulously documented.
Thanks,
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From ahughes at redhat.com Mon Jul 11 08:39:21 2011
From: ahughes at redhat.com (Dr Andrew John Hughes)
Date: Mon, 11 Jul 2011 16:39:21 +0100
Subject: RFC: Removal of the ARM assembler port in Icedtea6, unbreaks
Zero and Shark builds.
In-Reply-To: <4E1B11C4.7010800@ubuntu.com>
References: <1310382467.30591.14.camel@xranby-ESPRIMO-P7935>
<4E1ADFBC.3020503@ubuntu.com>
<20110711141445.GB5877@rivendell.middle-earth.co.uk>
<4E1B11C4.7010800@ubuntu.com>
Message-ID: <20110711153921.GF5877@rivendell.middle-earth.co.uk>
On 17:07 Mon 11 Jul , Matthias Klose wrote:
> On 07/11/2011 04:14 PM, Dr Andrew John Hughes wrote:
> > On 13:34 Mon 11 Jul , Matthias Klose wrote:
> >> On 07/11/2011 01:07 PM, Xerxes R?nby wrote:
> >>> Hi team.
> >>>
> >>> The ARM assembler port that have been broken and unmaintained for about
> >>> a year are currently preventing Zero and Shark from building when using
> >>> the new Hotspot in OpenJDK b23.
> >>>
> >>> The attached patch fixes Zero and Shark builds by removing the ARM
> >>> assembler port from the icedtea6 tree.
> >>>
> >>> I will also remove the following files:
> >>> arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp
> >>> arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def
> >>> arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
> >>> arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
> >>> arm_port/hotspot/tools/mkbc.c
> >>> patches/arm.patch
> >>>
> >>> Ok to push?
> >>
> >> Looks fine. Note that I'll continue to create releases from the 1.8 branch (the
> >> last branch I'm using the arm assembler port).
> >>
> >
> > As I mentioned some time back:
> >
> > http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-March/013215.html
> >
> > I won't be maintaining 1.8 once 1.11 is released, which will be sometime in
> > the latter half of this year, once our initial IcedTea7 releases are out of
> > the way.
> >
> > Do you intend to pick this up yourself?
>
> I'm still release manager for the 1.8 branch, or did I miss something?
>
You missed the last seven releases if that's the case. The last entry from
you in the ChangeLog is 2010-08-27.
> Matthias
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 08:52:57 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 15:52:57 +0000
Subject: [Bug 758] New: [regression] javah from 6hg/b23 generates `jlong'
from `private int'
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=758
Summary: [regression] javah from 6hg/b23 generates `jlong' from
`private int'
Product: IcedTea
Version: 6-hg
Platform: arm
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: IcedTea6
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: doko at ubuntu.com
saw I build failure of the form:
org_classpath_icedtea_pulseaudio_Operation.c:76:24: error: conflicting types
for 'Java_org_classpath_icedtea_pulseaudio_Operation_native_1get_1state'
org_classpath_icedtea_pulseaudio_Operation.h:39:25: note: previous declaration
of 'Java_org_classpath_icedtea_pulseaudio_Operation_native_1get_1state' was
here
and indeed, the generated org_classpath_icedtea_pulseaudio_Operation.h shows:
/*
* Class: org_classpath_icedtea_pulseaudio_Operation
* Method: native_get_state
* Signature: ()J
*/
JNIEXPORT jlong JNICALL
Java_org_classpath_icedtea_pulseaudio_Operation_native_1get_1state
(JNIEnv *, jobject);
this works ok with 6b18, 6b22 and 7b136.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 09:24:38 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 16:24:38 +0000
Subject: [Bug 758] [regression] javah from 6hg/b23 generates `jlong' from
`private int'
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=758
Omair Majid changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |omajid at redhat.com
--- Comment #1 from Omair Majid 2011-07-11 16:24:37 ---
The java method native_get_state is defined as "private long":
http://icedtea.classpath.org/hg/icedtea6-hg/file/23404f48955e/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Operation.java#l88
The native method is implemented to return type jlong:
http://icedtea.classpath.org/hg/icedtea6-hg/file/23404f48955e/pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Operation.c#l93
And all of this seems consistent with the snippet of the generated .h file that
you posted.
If you still have the build around, could you please post the relevant parts
from org_classpath_icedtea_pulseaudio_Operation.c and Operation.java?
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 09:52:51 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 16:52:51 +0000
Subject: [Bug 758] [regression] javah from 6hg/b23 generates `jlong' from
`private int'
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=758
--- Comment #2 from Matthias Klose 2011-07-11 16:52:50 ---
in 6b23, it's jlong, in 7b143, it's jint.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 12:46:13 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 19:46:13 +0000
Subject: [Bug 758] [regression] javah from 6hg/b23 generates `jlong' from
`private int'
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=758
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahughes at redhat.com
Component|IcedTea6 |PulseAudio
--- Comment #3 from Andrew John Hughes 2011-07-11 19:46:13 ---
Please quote IcedTea{6,7} versions. The PulseAudio provider is not part of
OpenJDK and so these build numbers are confusing and unhelpful.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 12:46:29 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 19:46:29 +0000
Subject: [Bug 758] [regression] javah from 6hg/b23 generates `jlong' from
`private int'
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=758
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 12:49:16 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 19:49:16 +0000
Subject: [Bug 758] [regression] javah from 6hg/b23 generates `jlong' from
`private int'
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=758
--- Comment #4 from Andrew John Hughes 2011-07-11 19:49:15 ---
The return type was changed in:
http://icedtea.classpath.org/hg/icedtea6-hg/diff/5c6d4ea2f55d/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/Operation.java
Looks like you have an outdated header file in your build.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 12:50:24 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 19:50:24 +0000
Subject: [Bug 758] [regression] javah from 6hg/b23 generates `jlong' from
`private int'
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=758
--- Comment #5 from Andrew John Hughes 2011-07-11 19:50:23 ---
As an aside, surely it should be nativeGetState to comply with our coding
conventions?
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 13:35:43 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 20:35:43 +0000
Subject: [Bug 755] Fatal Error on JUnit Test in Eclipse
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=755
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahughes at redhat.com
--- Comment #1 from Andrew John Hughes 2011-07-11 20:35:43 ---
We need a way of reproducing this.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From bugzilla-daemon at icedtea.classpath.org Mon Jul 11 13:36:01 2011
From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 20:36:01 +0000
Subject: [Bug 755] Fatal Error on JUnit Test in Eclipse
In-Reply-To:
References:
Message-ID:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=755
Andrew John Hughes changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #550|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.
From dbhole at redhat.com Mon Jul 11 13:42:16 2011
From: dbhole at redhat.com (Deepak Bhole)
Date: Mon, 11 Jul 2011 16:42:16 -0400
Subject: [PATCH REVIEW] [1.10] RFC: Support Linux 3
In-Reply-To: <20110708151201.GE13502@shelob.middle-earth.co.uk>
References: <20110708151121.GD13502@shelob.middle-earth.co.uk>
<20110708151201.GE13502@shelob.middle-earth.co.uk>
Message-ID: <20110711204216.GA8130@redhat.com>
* Andrew John Hughes [2011-07-08 11:12]:
> On Fri, Jul 08, 2011 at 04:11:21PM +0100, Andrew John Hughes wrote:
> > I'd like to backport the attached patch to 1.10.
> >
> > I also intend to backport this to 1.8 & 1.9 if anyone wants to give an early approval.
> >
> > ChangeLog:
> >
> > 2011-06-28 Andrew John Hughes
> >
> > * Makefile.am: Add new patch.
> > * patches/support_linux_3.patch:
> > Allow Linux 3* through the HotSpot OS version
> > filter.
> > * NEWS: Updated.
> > --
> > Andrew :)
> >
> > Free Java Software Engineer
> > Red Hat, Inc. (http://www.redhat.com)
> >
> > Support Free Java!
> > Contribute to GNU Classpath and IcedTea
> > http://www.gnu.org/software/classpath
> > http://icedtea.classpath.org
> > PGP Key: F5862A37 (https://keys.indymedia.org/)
> > Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
>
> And the patch...
Looks good to me. Okay for HEAD and previous branches.
Cheers,
Deepak
> --
> Andrew :)
>
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
>
> Support Free Java!
> Contribute to GNU Classpath and IcedTea
> http://www.gnu.org/software/classpath
> http://icedtea.classpath.org
> PGP Key: F5862A37 (https://keys.indymedia.org/)
> Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
> # HG changeset patch
> # User Andrew John Hughes
> # Date 1310072477 -3600
> # Node ID 28c6f2df462771fd38f0f98092bbe177c6abfb26
> # Parent a95c47b36218144c9539d74f63320c1b84fe7722
> Allow Linux 3* to pass through the HotSpot OS version filter.
>
> 2011-06-28 Andrew John Hughes
>
> * Makefile.am: Add new patch.
> * patches/support_linux_3.patch:
> Allow Linux 3* through the HotSpot OS version
> filter.
> * NEWS: Updated.
>
> diff -r a95c47b36218 -r 28c6f2df4627 ChangeLog
> --- a/ChangeLog Wed Jun 08 18:16:37 2011 +0100
> +++ b/ChangeLog Thu Jul 07 22:01:17 2011 +0100
> @@ -1,3 +1,11 @@
> +2011-06-28 Andrew John Hughes
> +
> + * Makefile.am: Add new patch.
> + * patches/support_linux_3.patch:
> + Allow Linux 3* through the HotSpot OS version
> + filter.
> + * NEWS: Updated.
> +
> 2011-06-08 Andrew John Hughes
>
> * NEWS: Add 1.10.3.
> diff -r a95c47b36218 -r 28c6f2df4627 Makefile.am
> --- a/Makefile.am Wed Jun 08 18:16:37 2011 +0100
> +++ b/Makefile.am Thu Jul 07 22:01:17 2011 +0100
> @@ -341,7 +341,8 @@
> patches/openjdk/7031385-gcc-register-allocation-fix.patch \
> patches/shark-llvm-2.9.patch \
> patches/openjdk/pgram-pipe-regression.patch \
> - patches/openjdk/mutter.patch
> + patches/openjdk/mutter.patch \
> + patches/support_linux_3.patch
>
> if WITH_ALT_HSBUILD
> ICEDTEA_PATCHES += \
> diff -r a95c47b36218 -r 28c6f2df4627 NEWS
> --- a/NEWS Wed Jun 08 18:16:37 2011 +0100
> +++ b/NEWS Thu Jul 07 22:01:17 2011 +0100
> @@ -11,6 +11,9 @@
>
> New in release 1.10.3 (20XX-XX-XX):
>
> +* Bug fixes
> + - PR748: Icedtea6 fails to build with Linux 3.0.
> +
> New in release 1.10.2 (2011-06-07):
>
> * Security fixes
> diff -r a95c47b36218 -r 28c6f2df4627 patches/support_linux_3.patch
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/patches/support_linux_3.patch Thu Jul 07 22:01:17 2011 +0100
> @@ -0,0 +1,19 @@
> +# HG changeset patch
> +# User andrew
> +# Date 1309217125 -3600
> +# Node ID f7e8b10f51c6a622520b55df0c644fb09ec78542
> +# Parent b8227c320dec384a94026fcaa650b0ebd4eef13b
> +Allow building HotSpot with any Linux 3 version.
> +
> +diff -r b8227c320dec -r f7e8b10f51c6 make/linux/Makefile
> +--- openjdk/hotspot/make/linux/Makefile Wed Jun 15 18:56:52 2011 +0100
> ++++ openjdk/hotspot/make/linux/Makefile Tue Jun 28 00:25:25 2011 +0100
> +@@ -230,7 +230,7 @@
> + # Solaris 2.5.1, 2.6).
> + # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
> +
> +-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7%
> ++SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3%
> + OS_VERSION := $(shell uname -r)
> + EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
> +
From ahughes at redhat.com Mon Jul 11 13:53:36 2011
From: ahughes at redhat.com (Dr Andrew John Hughes)
Date: Mon, 11 Jul 2011 21:53:36 +0100
Subject: [PATCH REVIEW] [1.10] RFC: Support Linux 3
In-Reply-To: <20110711204216.GA8130@redhat.com>
References: <20110708151121.GD13502@shelob.middle-earth.co.uk>
<20110708151201.GE13502@shelob.middle-earth.co.uk>
<20110711204216.GA8130@redhat.com>
Message-ID: <20110711205335.GG5877@rivendell.middle-earth.co.uk>
On 16:42 Mon 11 Jul , Deepak Bhole wrote:
> * Andrew John Hughes [2011-07-08 11:12]:
> > On Fri, Jul 08, 2011 at 04:11:21PM +0100, Andrew John Hughes wrote:
> > > I'd like to backport the attached patch to 1.10.
> > >
> > > I also intend to backport this to 1.8 & 1.9 if anyone wants to give an early approval.
> > >
> > > ChangeLog:
> > >
> > > 2011-06-28 Andrew John Hughes
> > >
> > > * Makefile.am: Add new patch.
> > > * patches/support_linux_3.patch:
> > > Allow Linux 3* through the HotSpot OS version
> > > filter.
> > > * NEWS: Updated.
> > > --
> > > Andrew :)
> > >
> > > Free Java Software Engineer
> > > Red Hat, Inc. (http://www.redhat.com)
> > >
> > > Support Free Java!
> > > Contribute to GNU Classpath and IcedTea
> > > http://www.gnu.org/software/classpath
> > > http://icedtea.classpath.org
> > > PGP Key: F5862A37 (https://keys.indymedia.org/)
> > > Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
> >
> > And the patch...
>
> Looks good to me. Okay for HEAD and previous branches.
>
It's already in HEAD. That doesn't require approval.
> Cheers,
> Deepak
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
From xranby at icedtea.classpath.org Mon Jul 11 14:32:38 2011
From: xranby at icedtea.classpath.org (xranby at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 21:32:38 +0000
Subject: /hg/icedtea6: NEWS: Updated, mention removal of the ARM assemble...
Message-ID:
changeset ad05410af28a in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=ad05410af28a
author: Xerxes R?nby
date: Mon Jul 11 23:31:50 2011 +0200
NEWS: Updated, mention removal of the ARM assembler port and Thumb2
JIT.
2011-07-11 Xerxes R?nby
* NEWS: Updated.
diffstat:
ChangeLog | 4 ++++
NEWS | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r aae82c1ccf7d -r ad05410af28a ChangeLog
--- a/ChangeLog Mon Jul 11 14:19:14 2011 +0200
+++ b/ChangeLog Mon Jul 11 23:31:50 2011 +0200
@@ -1,3 +1,7 @@
+2011-07-11 Xerxes R??nby
+
+ * NEWS: Updated.
+
2011-07-11 Xerxes R??nby
Removal of the ARM assembler port, unbreaks Zero and Shark builds.
diff -r aae82c1ccf7d -r ad05410af28a NEWS
--- a/NEWS Mon Jul 11 14:19:14 2011 +0200
+++ b/NEWS Mon Jul 11 23:31:50 2011 +0200
@@ -99,8 +99,9 @@
- On ARM, force interpreter to be built in ARM mode.
- MIPS: 64-bit and interpreter inlining by default.
- Trivial implementation of stubs for MIPS.
-* Shark
+* Zero/Shark
- PR689: Shark fails to find LLVM 2.9 System headers during build.
+ - Removal of the ARM assembler port and Thumb2 JIT.
New in release 1.10 (2011-XX-XX):
From ahughes at redhat.com Mon Jul 11 14:47:45 2011
From: ahughes at redhat.com (Dr Andrew John Hughes)
Date: Mon, 11 Jul 2011 22:47:45 +0100
Subject: [PATCH REVIEW] [1.8, 1.9 & 1.10] Fix broken jaxws getdtdtype patch
Message-ID: <20110711214745.GH5877@rivendell.middle-earth.co.uk>
There is a bootstrap patch applied for certain old versions of gcj which was broken
by the recent security updates. The attached patches update 1.8, 1.9 & 1.10 so they
still build if this patch is applied.
This fixes PR744.
Ok for 1.8, 1.9 & 1.10?
2011-07-11 Andrew John Hughes
PR744: Patching error
* NEWS: Updated.
* patches/ecj/icedtea-jaxws-getdtdtype.patch:
Update patch to apply after security patch.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
-------------- next part --------------
diff -r 208ad2bea295 NEWS
--- a/NEWS Wed Jun 08 17:59:56 2011 +0100
+++ b/NEWS Mon Jul 11 22:00:37 2011 +0100
@@ -10,6 +10,9 @@
New in release 1.8.9 (20XX-XX-XX):
+* Bug fixes
+ - PR744: icedtea6-1.10.2 : patching error
+
New in release 1.8.8 (2011-06-07):
* Security fixes
diff -r 208ad2bea295 patches/ecj/icedtea-jaxws-getdtdtype.patch
--- a/patches/ecj/icedtea-jaxws-getdtdtype.patch Wed Jun 08 17:59:56 2011 +0100
+++ b/patches/ecj/icedtea-jaxws-getdtdtype.patch Mon Jul 11 22:00:37 2011 +0100
@@ -1,18 +1,18 @@
diff -Nru openjdk-ecj.orig/jaxws/build.properties openjdk-ecj/jaxws/build.properties
---- openjdk-ecj.orig/jaxws/build.properties 2010-03-01 15:13:38.000000000 +0000
-+++ openjdk-ecj/jaxws/build.properties 2010-03-01 15:14:30.000000000 +0000
-@@ -81,7 +81,7 @@
+--- openjdk-ecj.orig/jaxws/build.properties 2011-07-11 21:56:16.000000000 +0100
++++ openjdk-ecj/jaxws/build.properties 2011-07-11 21:58:15.168357598 +0100
+@@ -78,7 +78,7 @@
patches.dir=patches
# Patches to apply
--jaxws_src.patch.list=xjc.patch
-+jaxws_src.patch.list=xjc.patch getdtdtype.patch
+-jaxws_src.patch.list=7013971.patch xjc.patch
++jaxws_src.patch.list=7013971.patch xjc.patch getdtdtype.patch
# Sanity information
sanity.info= Sanity Settings:${line.separator}\
diff -Nru openjdk-ecj.orig/jaxws/patches/jaxws_src/getdtdtype.patch openjdk-ecj/jaxws/patches/jaxws_src/getdtdtype.patch
--- openjdk-ecj.orig/jaxws/patches/jaxws_src/getdtdtype.patch 1970-01-01 01:00:00.000000000 +0100
-+++ openjdk-ecj/jaxws/patches/jaxws_src/getdtdtype.patch 2010-03-01 15:15:10.000000000 +0000
++++ openjdk-ecj/jaxws/patches/jaxws_src/getdtdtype.patch 2011-07-11 21:57:55.656033418 +0100
@@ -0,0 +1,27 @@
+--- src/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXEventConnector.java 2009-11-17 16:37:06.000000000 +0000
++++ src/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXEventConnector.java 2009-11-17 16:38:00.000000000 +0000
-------------- next part --------------
diff -r 1c554e7ce79e NEWS
--- a/NEWS Sat Jul 09 16:58:17 2011 +0200
+++ b/NEWS Mon Jul 11 22:44:28 2011 +0100
@@ -10,6 +10,8 @@
New in release 1.9.9 (20XX-XX-XX):
+* Bug Fixes
+ - PR744: icedtea6-1.10.2 : patching error
* Shark
- PR632: patches/security/20110215/6878713.patch breaks shark zero build
diff -r 1c554e7ce79e patches/ecj/icedtea-jaxws-getdtdtype.patch
--- a/patches/ecj/icedtea-jaxws-getdtdtype.patch Sat Jul 09 16:58:17 2011 +0200
+++ b/patches/ecj/icedtea-jaxws-getdtdtype.patch Mon Jul 11 22:44:28 2011 +0100
@@ -5,8 +5,8 @@
patches.dir=patches
# Patches to apply
--jaxws_src.patch.list=xjc.patch
-+jaxws_src.patch.list=xjc.patch getdtdtype.patch
+-jaxws_src.patch.list=7013971.patch xjc.patch
++jaxws_src.patch.list=7013971.patch xjc.patch getdtdtype.patch
# Sanity information
sanity.info= Sanity Settings:${line.separator}\
-------------- next part --------------
diff -r 6c21fc007867 NEWS
--- a/NEWS Wed Jun 29 18:16:57 2011 +0100
+++ b/NEWS Mon Jul 11 22:44:14 2011 +0100
@@ -13,6 +13,7 @@
* Bug fixes
- PR748: Icedtea6 fails to build with Linux 3.0.
+ - PR744: icedtea6-1.10.2 : patching error
* Backports:
- S7037283, RH712211: Null Pointer Exception in SwingUtilities2.
- S6769607, PR677: Modal frame hangs for a while.
diff -r 6c21fc007867 patches/ecj/jaxws-getdtdtype.patch
--- a/patches/ecj/jaxws-getdtdtype.patch Wed Jun 29 18:16:57 2011 +0100
+++ b/patches/ecj/jaxws-getdtdtype.patch Mon Jul 11 22:44:14 2011 +0100
@@ -5,8 +5,8 @@
patches.dir=patches
# Patches to apply
--jaxws_src.patch.list=xjc.patch
-+jaxws_src.patch.list=xjc.patch getdtdtype.patch
+-jaxws_src.patch.list=7013971.patch xjc.patch
++jaxws_src.patch.list=7013971.patch xjc.patch getdtdtype.patch
# Sanity information
sanity.info= Sanity Settings:${line.separator}\
From dbhole at redhat.com Mon Jul 11 14:56:49 2011
From: dbhole at redhat.com (Deepak Bhole)
Date: Mon, 11 Jul 2011 17:56:49 -0400
Subject: [PATCH REVIEW] [1.10] RFC: Make tests for
java/javah/jar/native2ascii/rmic more stringent
In-Reply-To: <20110708152104.GF13502@shelob.middle-earth.co.uk>
References: <20110708152104.GF13502@shelob.middle-earth.co.uk>
Message-ID: <20110711215648.GC8130@redhat.com>
* Andrew John Hughes [2011-07-08 11:22]:
> I don't usually like making build changes on release branches, but
> I think this one is minor and useful enough to be worthy of consideration.
>
> It checks that the values given for --with-java/jar/rmic/native2ascii/javah
> are files as well as being executables, preventing directories being allowed
> through and causing issues later (e.g. broken configure test results when
> ${JAVA} is used to run tests).
>
> Ok for 1.10?
>
Looks good to me, okay for 1.10.
I will look into it for icedtea-web, thanks!
Cheers,
Deepak
> I think 1.8 & 1.9 will require other changes too, so just 1.10 for this one.
>
> IcedTea-Web folks, you might want to consider porting this one (or rather,
> the relevant chunks) over too.
>
> ChangeLog:
>
> Check that JDK binaries are files in addition to being executable.
>
> 2011-06-29 Andrew John Hughes
>
> * acinclude.m4:
> (IT_FIND_JAVA): Check that the binary is also
> a regular file as well as executable.
> (IT_FIND_JAVAH): Likewise.
> (IT_FIND_JAR): Likewise.
> (IT_FIND_RMIC): Likewise.
> (IT_FIND_NATIVE2ASCII): Likewise.
>
> --
> Andrew :)
>
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
>
> Support Free Java!
> Contribute to GNU Classpath and IcedTea
> http://www.gnu.org/software/classpath
> http://icedtea.classpath.org
> PGP Key: F5862A37 (https://keys.indymedia.org/)
> Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
> # HG changeset patch
> # User Andrew John Hughes
> # Date 1309367817 -3600
> # Node ID 6c21fc007867e718636767a2cbe1df8c02307958
> # Parent 15caf12fc26df836a387036ff70eec6875db9f9d
> Check that JDK binaries are files in addition to being executable.
>
> 2011-06-29 Andrew John Hughes
>
> * acinclude.m4:
> (IT_FIND_JAVA): Check that the binary is also
> a regular file as well as executable.
> (IT_FIND_JAVAH): Likewise.
> (IT_FIND_JAR): Likewise.
> (IT_FIND_RMIC): Likewise.
> (IT_FIND_NATIVE2ASCII): Likewise.
>
> diff -r 15caf12fc26d -r 6c21fc007867 ChangeLog
> --- a/ChangeLog Fri Jul 08 16:13:57 2011 +0100
> +++ b/ChangeLog Wed Jun 29 18:16:57 2011 +0100
> @@ -1,3 +1,13 @@
> +2011-06-29 Andrew John Hughes
> +
> + * acinclude.m4:
> + (IT_FIND_JAVA): Check that the binary is also
> + a regular file as well as executable.
> + (IT_FIND_JAVAH): Likewise.
> + (IT_FIND_JAR): Likewise.
> + (IT_FIND_RMIC): Likewise.
> + (IT_FIND_NATIVE2ASCII): Likewise.
> +
> 2011-06-28 Andrew John Hughes
>
> * Makefile.am: Add new patch.
> diff -r 15caf12fc26d -r 6c21fc007867 acinclude.m4
> --- a/acinclude.m4 Fri Jul 08 16:13:57 2011 +0100
> +++ b/acinclude.m4 Wed Jun 29 18:16:57 2011 +0100
> @@ -238,8 +238,8 @@
> if test "x${JAVA}" = "xno"; then
> JAVA=${JAVA_DEFAULT}
> fi
> - AC_MSG_CHECKING([if $JAVA is a valid executable])
> - if test -x "${JAVA}"; then
> + AC_MSG_CHECKING([if $JAVA is a valid executable file])
> + if test -x "${JAVA}" && test -f "${JAVA}"; then
> AC_MSG_RESULT([yes])
> else
> AC_MSG_RESULT([no])
> @@ -391,8 +391,8 @@
> if test "x${JAVAH}" = "xno"; then
> JAVAH=${JAVAH_DEFAULT}
> fi
> - AC_MSG_CHECKING([if $JAVAH is a valid executable])
> - if test -x "${JAVAH}"; then
> + AC_MSG_CHECKING([if $JAVAH is a valid executable file])
> + if test -x "${JAVAH}" && test -f "${JAVAH}"; then
> AC_MSG_RESULT([yes])
> else
> AC_MSG_RESULT([no])
> @@ -428,8 +428,8 @@
> if test "x${JAR}" = "xno"; then
> JAR=${JAR_DEFAULT}
> fi
> - AC_MSG_CHECKING([if $JAR is a valid executable])
> - if test -x "${JAR}"; then
> + AC_MSG_CHECKING([if $JAR is a valid executable file])
> + if test -x "${JAR}" && test -f "${JAR}"; then
> AC_MSG_RESULT([yes])
> else
> AC_MSG_RESULT([no])
> @@ -498,8 +498,8 @@
> if test "x${RMIC}" = "xno"; then
> RMIC=${RMIC_DEFAULT}
> fi
> - AC_MSG_CHECKING([if $RMIC is a valid executable])
> - if test -x "${RMIC}"; then
> + AC_MSG_CHECKING([if $RMIC is a valid executable file])
> + if test -x "${RMIC}" && test -f "${RMIC}"; then
> AC_MSG_RESULT([yes])
> else
> AC_MSG_RESULT([no])
> @@ -535,8 +535,8 @@
> if test "x${NATIVE2ASCII}" = "xno"; then
> NATIVE2ASCII=${NATIVE2ASCII_DEFAULT}
> fi
> - AC_MSG_CHECKING([if $NATIVE2ASCII is a valid executable])
> - if test -x "${NATIVE2ASCII}"; then
> + AC_MSG_CHECKING([if $NATIVE2ASCII is a valid executable file])
> + if test -x "${NATIVE2ASCII}" && test -f "${NATIVE2ASCII}"; then
> AC_MSG_RESULT([yes])
> else
> AC_MSG_RESULT([no])
From andrew at icedtea.classpath.org Mon Jul 11 15:02:32 2011
From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org)
Date: Mon, 11 Jul 2011 22:02:32 +0000
Subject: /hg/icedtea6: 2 new changesets
Message-ID:
changeset 97402362be7d in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=97402362be7d
author: Andrew John Hughes
date: Mon Jul 11 22:52:13 2011 +0100
List ARM removal in a more prominent location.
2011-07-11 Andrew John Hughes
* NEWS: Place ARM removal in a more prominent
location.
changeset 802bc279de76 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=802bc279de76
author: Andrew John Hughes
date: Mon Jul 11 23:02:26 2011 +0100
Sync NEWS file with other branches.
2011-07-11 Andrew John Hughes
* NEWS: Import 1.10.2, 1.9.8, 1.8.8 and 1.10.1
release announcements. Sync 1.10 announcement with final
version. Remove items from the 1.11 list that have been
released in 1.10.1 & 1.10.2.
diffstat:
ChangeLog | 13 ++++++
NEWS | 116 +++++++++++++++++++++++++++++++++++++++++++++++++------------
2 files changed, 105 insertions(+), 24 deletions(-)
diffs (207 lines):
diff -r ad05410af28a -r 802bc279de76 ChangeLog
--- a/ChangeLog Mon Jul 11 23:31:50 2011 +0200
+++ b/ChangeLog Mon Jul 11 23:02:26 2011 +0100
@@ -1,3 +1,16 @@
+2011-07-11 Andrew John Hughes
+
+ * NEWS: Import 1.10.2, 1.9.8, 1.8.8 and
+ 1.10.1 release announcements. Sync 1.10
+ announcement with final version. Remove
+ items from the 1.11 list that have been
+ released in 1.10.1 & 1.10.2.
+
+2011-07-11 Andrew John Hughes
+
+ * NEWS: Place ARM removal in a more
+ prominent location.
+
2011-07-11 Xerxes R??nby