jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r831247 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/BundleBinding.java
Date Fri, 30 Oct 2009 09:57:08 GMT
Author: angela
Date: Fri Oct 30 09:57:08 2009
New Revision: 831247

URL: http://svn.apache.org/viewvc?rev=831247&view=rev
Log:
JCR-2371 - WEAKREFERENCE properties object have type REFERENCE when being read from the persistent
layer

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/BundleBinding.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/BundleBinding.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/BundleBinding.java?rev=831247&r1=831246&r2=831247&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/BundleBinding.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/util/BundleBinding.java
Fri Oct 30 09:57:08 2009
@@ -393,8 +393,10 @@
                     val = InternalValue.create(readQName(in));
                     break;
                 case PropertyType.WEAKREFERENCE:
+                    val = InternalValue.create(readID(in), true);
+                    break;
                 case PropertyType.REFERENCE:
-                    val = InternalValue.create(readID(in));
+                    val = InternalValue.create(readID(in), false);
                     break;
                 default:
                     // because writeUTF(String) has a size limit of 64k,



Mime
View raw message