~ubuntu-branches/ubuntu/jaunty/openjdk-6/jaunty-security

« back to all changes in this revision

Viewing changes to patches/icedtea-xml-encodinginfo.patch

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose, Edward Nevill, Matthias Klose
  • Date: 2009-03-02 16:18:01 UTC
  • Revision ID: james.westby@ubuntu.com-20090302161801-rubk3yhm8j0au4y1
Tags: 6b14-0ubuntu17
[ Edward Nevill ]
* Remove VFP from asm loop
* Disble the mauve testsuite for armel.

[Matthias Klose]
* Update IcedTea (20090302).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- EncodingInfo.java.orig      2009-02-19 14:46:50.000000000 -0500
 
2
+++ openjdk/jaxp/src/share/classes/com/sun/org/apache/xml/internal/serializer/EncodingInfo.java 2009-02-20 10:31:37.000000000 -0500
 
3
@@ -326,9 +326,11 @@
 
4
             m_last = last;
 
5
 
 
6
             // Set the range of unicode values that this object
 
7
-            // explicitly manages
 
8
-            m_explFirst = codePoint;
 
9
-            m_explLast = codePoint + (RANGE-1);
 
10
+            // explicitly manages. Align the explicitly managed values
 
11
+            // to RANGE so multiple EncodingImpl objects dont manage the same 
 
12
+            // values.
 
13
+            m_explFirst = codePoint / RANGE * RANGE;
 
14
+            m_explLast = m_explFirst + (RANGE-1);
 
15
 
 
16
             m_encoding = encoding;
 
17
 
 
18