[OPENJDK6-40] OpenJDK6-b32 does not compile the testcase that Oracle JDK 6u45 compiles fine Created: 01/Aug/14  Updated: 01/Aug/14

Status: Open
Project: openjdk6
Component/s: None
Affects Version/s: b32
Fix Version/s: None

Type: Bug Priority: Major
Reporter: nikgor Assignee: omajid
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

OpenJDK6-b32 fails to compile the attached testcase. Oracle JDK 6u45 and Oracle JDK 7 compile the same testcase successfully.

I discovered that this problem started to appear after the fixes
https://bugs.openjdk.java.net/browse/JDK-6638712
and
https://bugs.openjdk.java.net/browse/JDK-6650759
were backported to OpenJDK6.

I'm looking for the root cause of this issue and a potential fix.



 Comments   
Comment by nikgor [ 01/Aug/14 ]

----- CODE START -----
import java.util.Comparator;
import java.util.Map;
import java.util.NavigableMap;
import java.util.TreeMap;

public class Test {
public static Comparator<byte[]> BYTES_COMPARATOR = null;

public static <C, K extends C, V> TreeMap<K, V> newTreeMap(
Comparator<C> comparator)

{ return new TreeMap<K, V>(comparator); }

public void incrementCounter(
Map<byte[], NavigableMap<byte[], Long>> counters,
byte[] family, byte[] qualifier, Long count)
{
NavigableMap<byte[], Long> qualifiers = counters.get(family);
if (qualifiers == null)

{ qualifiers = newTreeMap(BYTES_COMPARATOR); counters.put(family, qualifiers); }

Long existingValue = qualifiers.get(qualifier);
if (existingValue == null)

{ qualifiers.put(qualifier, count); }

else

{ qualifiers.put(qualifier, existingValue + count); }

}
}
----- CODE END -----





[OPENJDK6-22] Disable /SAFESEH flag for SA due to build issues. Created: 03/Dec/13  Updated: 03/Dec/13

Status: Open
Project: openjdk6
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: gnu_andrew Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

http://mail.openjdk.java.net/pipermail/jdk6-dev/2013-November/003131.html






Generated at Sun Apr 19 11:25:14 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.