Fighting Old JIRA Issues

This is a page for fighting old JIRA issues, any value-add are welcome(smile)

Guideline

Process

  1. Verify all these old issues to find out whether it's still an issue with the latest code. 2. Post a comment if it is no longer an issue. 3. If it is still an issue:

Volunteers

Tony Wu is in JIRA 1116 1114 1103 1082 985 953 882

Spark Shen is in JIRA 1367 866 855 839 780 944 1244

Issue List

JIRA ISSUE

DESCRIPTION

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1c865b4b-8772-41e4-a343-5c5f3db2d152"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1375

[classlib][net]Refine native code interface of setSocketOption

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8fbacbda-e957-4a2a-a970-ee104c9963d3"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1370

[classlib][luni] HttpsURLConnection enhancement allowing work over HTTP proxy server

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9a3dd059-d03d-4362-b908-4ec45c770447"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1367

[classlib][util] unexpected [ClassCastException] for Collections.binarySearch(..)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e57e0d6e-0456-475e-9804-aeca9d800970"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1366

[classlib][text] Bidi(AttributedCharacterIterator) throws [ArrayIndexOutOfBoundsException] on RI and works OK on Harmony

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="97b666b7-c65e-4410-8b7d-5961198f296a"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1360

[classlib][nio charset] Charset.forName() returns different value vs Charset.availableCharsets()

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1e8cc8aa-e4d2-4ebe-b512-936a18c1b477"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1353

[classlib][text] unexpected [ParseException] for new [RuleBasedCollator]("'n'")

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d4cbe26f-d7c4-47aa-ae09-278d63b99e64"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1352

[classlib][text] unexpected [IllegalArgumentException] for [RuleBasedCollator].getCollationElementIterator((String)null)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a2eb8038-528c-4aba-9431-f23c4a92e738"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1351

[classlib][text] compatibility: [NumberFormat].getCurrency() returns string on RI and null on Harmony for incorrect locale

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d13782b6-5ea5-4c2d-b117-2d292324d5d6"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1346

[classlib][net] no URISyntaxException for URI(null, ":2:3:4:5:6:7:8", "/", null)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="452140e5-fdc5-4e45-8192-3406977c35e8"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1284

[classlib][lang-management] [MemoryUsage].from(CompositeData) allows invalid "init" values

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a451631f-fe5c-4a32-8c5b-cafd6c3181d8"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1248

[classlib][math] exception compatibility [BigDecimal].valueOf(0L, -22).shortValueExact()

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3fc08f65-b8ca-493e-b030-a1ec9a4575eb"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1244

[classlib][text] [AttributedString].addAttribute(null, ...) throws nothing while RI throws NPE

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="319ac9fb-0505-4840-8b79-d645785e1032"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1194

[classlib][nio] unexpected "Memory Spy! Fixed attempt to free memory that was not allocated [PlatformAddress][xxx]" messages

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ca711811-e773-47bb-87b5-3fab1f06b91c"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1187

[classlib][text] unexpected [MissingResourceException] for new [DecimalFormat]("#######0.0000")

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1394b2ee-7cdc-4477-8b05-3709feebc256"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1175

[classlib][io] [BufferedWriter].write() exception behavior differ from RI

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="77f0a58a-4de9-48bb-a9da-97543a022a19"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1171

[classlib][jndi] no [InvalidNameException] for [CompoundName].addAll()

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e57aef1e-6820-4f8c-b4cb-beeab79ca483"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1158

[classlib][luni]Compatibility: java.net.URL new URL("ss", null, -3, null) throws MalformedURLException while RI throws NPE

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2d7fccdc-a0a3-40ed-9c4d-0646caf5ae52"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1147

[classlib][kernel] Harmony+j9 throws NPE while Harmony+drlvm and RI throws [IndexOutOfBoundsException] for [SecureClassLoader].defineClass()

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9c438537-9eef-4a36-ae61-62b9d7e7c26c"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1130

[classlib][net] compatibility: method URLStreamHandler().parseURL() throws [SecurityException] on RI and works silently on Harmony.

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e1cfe96a-15da-44ae-82b7-b96b7b618104"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1127

[classlib][net] compatibility: Harmony constructor URI(String * 5) throws URISyntaxExceptionwhile RI does not

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2682b3a1-b47a-4ea9-a0c8-cf8f9daf23f5"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1126

[classlib][net] unexpected URISyntaxException for URI.parseServerAuthority()

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ec48561e-9966-4ade-97cd-806145bd77b0"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1117

[classlib][net] Harmony implementation of [SocketImpl].getFileDescriptor() return real object, but RI return null

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="211349d7-9fb7-49d4-85fc-54b66e876476"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1116

[classlib][text] Bidi.getLength() result differs from RI when flag > 61

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="37b821b8-1adc-42b7-8944-1bfa2bbd7ce0"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1111

[classlib][lang] unexpected [IllegalArgumentException] for String(byte[], int, int, String)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="52d24654-c3fc-4568-a567-043bdd1323be"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1110

[classlib][text] [ChoiceFormat](String) pattern parser differs from RI

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="08d74d7b-a9c8-4ac8-b5cf-4bac8f002f6d"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1107

[classlib][io] compatibility: different exception order for [FileInputStream]("log").read(null, -1, 1)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7ba33b6d-27eb-4f16-ae10-c60183e5aaa9"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1106

[classlib][io] java.io.SequenceInputStream(InputStream, null) throws unexpected NPE

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9fe7f1d1-7d46-4a9a-9ecc-eb2cc95897f9"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1103

[classlib][io] compatibility: different checks order for [DataInputStream](null).readFully(byte[], int, int)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c068da85-2616-4d60-8f58-e7308f2b5125"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1082

[classlib][io]compatibility:java.io.BufferedOutputStream.write(byte[], int, int) throws [ArrayIndexOutOfBoundsException] while RI throws [NullPointerException]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="db8992e7-d36c-4012-9eb4-78702c5b62e7"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-1047

[classlib][math]exception compatibility: new [BigInteger](Integer.MAX_VALUE, (Random)null)

]]></ac:plain-text-body></ac:structured-macro>

https://issues.apache.org/jira/browse/HARMONY-996

Difference in behaviour of java.util.Date(int year, int month, int date) with large negative third parameter

https://issues.apache.org/jira/browse/HARMONY-988

Formatting doubles: different behaviour with RI

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="eda33bc1-0874-41f5-9297-4e94cd65c98f"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-985

[classlib][luni] bug-to-bug compatibility java.util.Formatter.Formatter(Appendable a)

]]></ac:plain-text-body></ac:structured-macro>

https://issues.apache.org/jira/browse/HARMONY-982

Portlib should be extended to support NIO's mmap funtions

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2fc98009-fcf5-480a-ae56-7509600572ff"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-944

[classlib][text] java.text.BreakIterator.getInt(byte[], Integer.MAX_VALUE) does not throw [ArrayIndexOutOfBoundsException]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e75ebd10-53ac-4de2-b932-7a7e08cc5cd2"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-938

[classlib][text] compatibility: Harmony Collator.getDecomposition() returns 0 whie RI returns 1

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="62f5b2cf-17dd-49e1-a2de-93205b13abe3"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-937

[classlib][text] compatibility: java.text.Collator.compare(null,null) returns true while RI throws NPE

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="01f8feaa-c828-4d17-960c-5c6fff9a9019"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-922

[classlib][text] unexpected NPE for [MessageFormat]("rr", null).hashCode()

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b83963ba-8446-441d-bd96-118b08880da7"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-921

[classlib][lang] compatibility: [ClassLoader].getSystemResource(null) returns null while RI throws NPE

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5ae68dbd-9bdd-4ac0-9d23-5304c07419e9"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-916

[classlib][lang] unexpected [IllegalCharsetNameException] for new String(bye[], int, int, "zzz
");

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9cc168ba-8cd2-4b40-9280-6af9669d0cb2"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-895

[classlib][net] java.net.URL((URL) null, String, handler) does not throw MalformedURLException for unknown protocol

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b38418d3-8e15-4062-a887-9e5869575e7f"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-894

[classlib][net] java.net.DatagramSocket(null).getBroadcast() returns different values for harmony vs RI

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ebf90c03-ad9d-44b4-a301-eb1a54813b31"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-890

[classlib][net] compatibility: incorrect default port number for new [DatagramPacket](new byte[], int)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d823cf18-63b0-4411-a1fc-87dcfca74d17"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-877

[classlib][lang] compatibility: Harmony method [ClassLoader].getResource(null) returns null while RI throws NPE

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7cffe95b-d1d7-46a0-b3cb-c57dd8ab8fc3"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-875

[classlib][lang]API+j9 unexpected [ClassFormatError] for the method [ClassLoader].defineClass(name, array, 4, -2);

]]></ac:plain-text-body></ac:structured-macro>

https://issues.apache.org/jira/browse/HARMONY-866

Arrays.binarySearch should always return -1on empty array

https://issues.apache.org/jira/browse/HARMONY-858

Exception throwing compatibility: java.util.Scanner.nextInt(int radix)

https://issues.apache.org/jira/browse/HARMONY-855

Some java.uiti.Collections methods do not throw unspecified NPE while RI does

https://issues.apache.org/jira/browse/HARMONY-839

WeakHashMap(Map arg) throws NPE if arg.entrySet() returns null

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d795eabd-a02e-4d3a-96ae-0046588d3744"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-833

[classlib][lang] unexpected IllegalCharsetNameException for ByteArrayOutputStream().toString("~]????");

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="40381614-5799-4580-a942-6033f155b311"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-829

[classlib][io] unexpected result for java.io.File.compareTo(File) method

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="37db0340-00ae-4547-8b76-67b09fa3dd07"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-780

[classlib][util] unexpected [ClassCastException] for java.util.TreeMap.put(Object, new Object)

]]></ac:plain-text-body></ac:structured-macro>

https://issues.apache.org/jira/browse/HARMONY-747

java.lang.Doulbe.parseDouble(String) does not support Hex number

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a9e1d043-10bd-41df-a737-a9a3866e266d"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-693

[classlib][logging] unexpected NPE for XMLFormatter().getHead((Handler) null)

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5449f58a-f7f4-40e3-b8ce-55b87936510b"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-690

[classlib][lang]Compatibility: Harmony Runtime.removeShutdownHook(null) does not throw unspecified NPE while RI does.

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="010cd5d0-34cf-4a81-8846-6a64a5482854"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-654

[classlib] hytty_printf("%d", -1) outputs "01"

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f01be3fa-c475-4355-b3ff-2abd8ea35e69"><ac:plain-text-body><![CDATA[

https://issues.apache.org/jira/browse/HARMONY-617

[classlib][luni] HttpURLConnection does not support persistent connections

]]></ac:plain-text-body></ac:structured-macro>

https://issues.apache.org/jira/browse/HARMONY-535

java.io.File doesn't properly work with the file names which have non-latin chars

https://issues.apache.org/jira/browse/HARMONY-517

File.listFiles returns empty list but should return null

https://issues.apache.org/jira/browse/HARMONY-424

NullPointerException in java.text.DecimalFormat.getCurrency()

https://issues.apache.org/jira/browse/HARMONY-329

Endless loop when using Double.parseDouble(String) with certain types of value

https://issues.apache.org/jira/browse/HARMONY-308

java.nio.charset.Charset.encode(CharBuffer) returns bytes in a different order in Harmony and RI for the UTF-16 charset

https://issues.apache.org/jira/browse/HARMONY-248

Using java.io.File.deleteOnExit() and System.runFinalizersOnExit(true) in the same application causes crash on exit.

https://issues.apache.org/jira/browse/HARMONY-217

java.text.BreakIterator.following() incorrectly calculates the following boundary

https://issues.apache.org/jira/browse/HARMONY-139

ICU - characters 0x0384 and 0xB7 are unmapped in ICU implementation of ISO8859-7

https://issues.apache.org/jira/browse/HARMONY-100

text/BidiWrapper issue?

https://issues.apache.org/jira/browse/HARMONY-64

java.nio.charset.Charset.forName(String name) does not throw UnsupportedCharsetException if valid name starts with "x-"

https://issues.apache.org/jira/browse/HARMONY-62

java.text.BreakIterator.getSentenceInstance().next() treats '\n' as the end of the sentence

https://issues.apache.org/jira/browse/HARMONY-32

java.text.Collator.setDecomposition(FULL_DECOMPOSITION) throws IllegalArgumentException