<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangString.java, branch OTP_R16B03</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Update copyright years</title>
<updated>2012-03-30T12:46:02+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2012-03-30T12:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ce4431b33d18c04f4166def737b2aed582e4426a'/>
<id>ce4431b33d18c04f4166def737b2aed582e4426a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'vd/java-string-bug' into maint</title>
<updated>2012-02-16T11:20:49+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2012-02-16T11:20:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=377672dbef977595bdfa8182f1eacac043753e74'/>
<id>377672dbef977595bdfa8182f1eacac043753e74</id>
<content type='text'>
* vd/java-string-bug:
  add test for Java string bug
  workaround for Java bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6242664

OTP-9927
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* vd/java-string-bug:
  add test for Java string bug
  workaround for Java bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6242664

OTP-9927
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2011-12-09T15:22:23+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2011-12-09T15:22:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=984f4e1c21f2c9f4a03024d36afd393515276a65'/>
<id>984f4e1c21f2c9f4a03024d36afd393515276a65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>workaround for Java bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6242664</title>
<updated>2011-11-24T09:22:57+00:00</updated>
<author>
<name>Vlad Dumitrescu</name>
<email>vladdu55@gmail.com</email>
</author>
<published>2011-10-20T12:29:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a30445c2a40ebc0e449c7b7605fdc202c48e00d8'/>
<id>a30445c2a40ebc0e449c7b7605fdc202c48e00d8</id>
<content type='text'>
Java 1.5 has a bug where detecting codepoint offsets in strings that are
created by String.substring() gives wrong results. The new implementation
uses a different method, avoinding the issue.

The following code will crash without the fix:
        final String s = "abcdefg";
        final String ss = s.substring(3, 6);
        final int[] cps = OtpErlangString.stringToCodePoints(ss);
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Java 1.5 has a bug where detecting codepoint offsets in strings that are
created by String.substring() gives wrong results. The new implementation
uses a different method, avoinding the issue.

The following code will crash without the fix:
        final String s = "abcdefg";
        final String ss = s.substring(3, 6);
        final int[] cps = OtpErlangString.stringToCodePoints(ss);
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow noncharacter code points in unicode encoding and decoding</title>
<updated>2011-10-13T12:16:00+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2011-08-30T09:51:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=34db76765561487e526fe66d3d19ecf3b3fb9dc8'/>
<id>34db76765561487e526fe66d3d19ecf3b3fb9dc8</id>
<content type='text'>
The two noncharacter code points 16#FFFE and 16#FFFF were not
allowed to be encoded or decoded using the unicode module or
bit syntax. That causes an inconsistency, since the noncharacters
16#FDD0 to 16#FDEF could be encoded/decoded.

There is two ways to fix that inconsistency.

We have chosen to allow 16#FFFE and 16#FFFF to be encoded and
decoded, because the noncharacters could be useful internally
within an application and it will make encoding and decoding
slightly faster.

Reported-by: Alisdair Sullivan
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The two noncharacter code points 16#FFFE and 16#FFFF were not
allowed to be encoded or decoded using the unicode module or
bit syntax. That causes an inconsistency, since the noncharacters
16#FDD0 to 16#FDEF could be encoded/decoded.

There is two ways to fix that inconsistency.

We have chosen to allow 16#FFFE and 16#FFFF to be encoded and
decoded, because the noncharacters could be useful internally
within an application and it will make encoding and decoding
slightly faster.

Reported-by: Alisdair Sullivan
</pre>
</div>
</content>
</entry>
<entry>
<title>The R13B03 release.</title>
<updated>2009-11-20T14:54:40+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2009-11-20T14:54:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=84adefa331c4159d432d22840663c38f155cd4c1'/>
<id>84adefa331c4159d432d22840663c38f155cd4c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
