You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2010/11/11 11:35:37 UTC

svn commit: r1033875 - in /santuario/tags/J_1_4_4: ./ CHANGELOG.txt c/xsec/canon/XSECCanon.cpp doc/site/status.xml src/org/apache/xml/security/Init.java

Author: coheigea
Date: Thu Nov 11 10:35:37 2010
New Revision: 1033875

URL: http://svn.apache.org/viewvc?rev=1033875&view=rev
Log:
[50248] - Concurrency problem on incomplete Init.init() calls.

Modified:
    santuario/tags/J_1_4_4/   (props changed)
    santuario/tags/J_1_4_4/CHANGELOG.txt
    santuario/tags/J_1_4_4/c/xsec/canon/XSECCanon.cpp   (props changed)
    santuario/tags/J_1_4_4/doc/site/status.xml
    santuario/tags/J_1_4_4/src/org/apache/xml/security/Init.java

Propchange: santuario/tags/J_1_4_4/
------------------------------------------------------------------------------
    svn:mergeinfo = /santuario/trunk:1033870

Modified: santuario/tags/J_1_4_4/CHANGELOG.txt
URL: http://svn.apache.org/viewvc/santuario/tags/J_1_4_4/CHANGELOG.txt?rev=1033875&r1=1033874&r2=1033875&view=diff
==============================================================================
--- santuario/tags/J_1_4_4/CHANGELOG.txt (original)
+++ santuario/tags/J_1_4_4/CHANGELOG.txt Thu Nov 11 10:35:37 2010
@@ -1,5 +1,6 @@
 Changelog for "Apache xml-security" <http://santuario.apache.org/>
 New in v1.4.4
+    Fixed Bug 50248: Concurrency problem on incomplete Init.init() calls. Thanks to Oliver Moehrke.
     Fixed Bug 50215: test_jsr105 target appears to fail certain tests because of changes to W3C xml-stylesheet spec
 
 New in v1.4.4-SNAPSHOT

Propchange: santuario/tags/J_1_4_4/c/xsec/canon/XSECCanon.cpp
            ('svn:mergeinfo' removed)

Modified: santuario/tags/J_1_4_4/doc/site/status.xml
URL: http://svn.apache.org/viewvc/santuario/tags/J_1_4_4/doc/site/status.xml?rev=1033875&r1=1033874&r2=1033875&view=diff
==============================================================================
--- santuario/tags/J_1_4_4/doc/site/status.xml (original)
+++ santuario/tags/J_1_4_4/doc/site/status.xml Thu Nov 11 10:35:37 2010
@@ -36,7 +36,11 @@ limitations under the License.
     <!-- Add new releases here; action attributes: type:(add | fix | update); -->
     <!-- context:(docs | java_something | c_something ) -->
     
-    <release version="Java 1.4.4" date="November 2010">    
+    <release version="Java 1.4.4" date="November 2010">   
+      <action dev="CO" type="fix" fixes-bug="50248" context="java_general"
+      due-to="Oliver Moehrke">
+        Concurrency problem on incomplete Init.init() calls.  
+      </action>
       <action dev="SM" type="fix" fixes-bug="50125" context="java_general">
         test_jsr105 target appears to fail certain tests because of changes to 
         W3C xml-stylesheet spec

Modified: santuario/tags/J_1_4_4/src/org/apache/xml/security/Init.java
URL: http://svn.apache.org/viewvc/santuario/tags/J_1_4_4/src/org/apache/xml/security/Init.java?rev=1033875&r1=1033874&r2=1033875&view=diff
==============================================================================
--- santuario/tags/J_1_4_4/src/org/apache/xml/security/Init.java (original)
+++ santuario/tags/J_1_4_4/src/org/apache/xml/security/Init.java Thu Nov 11 10:35:37 2010
@@ -88,7 +88,6 @@ public class Init {
       long XX_configure_reg_transforms_end=0;
       long XX_configure_reg_keyInfo_end=0;
       long XX_configure_reg_keyResolver_start=0;
-         _alreadyInitialized = true;
 
          try {
             long XX_init_start = System.currentTimeMillis();
@@ -400,6 +399,7 @@ public class Init {
             log.fatal("Bad: ", e);
             e.printStackTrace();
          }
+         _alreadyInitialized = true;
       
    }