]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix for bug 37743 and part of 38053
authorManuel Mall <manuel@apache.org>
Wed, 28 Dec 2005 03:21:08 +0000 (03:21 +0000)
committerManuel Mall <manuel@apache.org>
Wed, 28 Dec 2005 03:21:08 +0000 (03:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359368 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
status.xml
test/layoutengine/disabled-testcases.xml

index 454cb093b04221af9ef2312efbb4759da8819458..b14293d89ce79e611bf2539e1e8ee634810ed10e 100644 (file)
@@ -1777,7 +1777,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager
                     && (!context.isLastArea() || parentIter.hasNext())) {
                     lineArea.setBPD(lineArea.getBPD() + context.getSpaceAfter());
                 }
-                lineArea.finalize();
+                lineArea.finalise();
                 parentLM.addChildArea(lineArea);
             } else if (pos instanceof NonLeafPosition) {
                 // Nested block-level content;
index 525e0e1fea4a5ebc05eb5a3e2aa4d28b39e2bd84..440e785bd919ba1d4b6c4eb3a68774678db53d6a 100644 (file)
 
   <changes>
     <release version="FOP Trunk">
+      <action context="Code" dev="MM" type="fix" fixes-bug="37743">
+        Bugfix: ClassCastException on certain fo:inline with border combinations.
+      </action>
+      <action context="Code" dev="MM" type="fix">
+        Changed a method name in LineArea from finalize to finalise because it was
+        never intended for the method to be an override of the Java Object finalize
+        method. If invoked by the Java garbage collector it may cause a NPE.
+      </action>
     </release>
     <release version="0.91beta" date="23 Dec 2005">
       <action context="Code" dev="JM" type="update">
index 43c347998a43b784af5ba9b6d668b69f91e3ff96..2663134d42be8a7d9f53824118194cbfa5b10cb7 100755 (executable)
     <description>Placing a table as a child of an fo:inline produces a 
     NullPointerException.</description>
   </testcase>
-  <testcase>
-    <name>ClassCastException caused by inline border</name>
-    <file>inline_border_bug37743.xml</file>
-    <description>A ClassCastException occurs during element list creation when an 
-    inline with a border is directly followed by character data.</description>
-    <reference>http://issues.apache.org/bugzilla/show_bug.cgi?id=37743</reference>
-  </testcase>
   <testcase>
     <name>inline-container is not implemented, yet.</name>
     <file>inline-container_block_nested.xml</file>