|
From: <ls...@us...> - 2007-08-11 14:33:16
|
Revision: 3387
http://jnode.svn.sourceforge.net/jnode/?rev=3387&view=rev
Author: lsantha
Date: 2007-08-11 07:32:55 -0700 (Sat, 11 Aug 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/src/classpath/java/java/awt/AWTKeyStroke.java
trunk/core/src/classpath/java/java/awt/AlphaComposite.java
Modified: trunk/core/src/classpath/java/java/awt/AWTKeyStroke.java
===================================================================
--- trunk/core/src/classpath/java/java/awt/AWTKeyStroke.java 2007-08-11 13:49:36 UTC (rev 3386)
+++ trunk/core/src/classpath/java/java/awt/AWTKeyStroke.java 2007-08-11 14:32:55 UTC (rev 3387)
@@ -92,8 +92,8 @@
/** The largest the keystroke cache can grow. */
private static final int MAX_CACHE_SIZE = 2048;
- /** Prune stale entries. */
- protected boolean removeEldestEntry(Entry<AWTKeyStroke,AWTKeyStroke>
+ /** Prune stale entries. */ //jnode openjdk
+ protected boolean removeEldestEntry(Map.Entry<AWTKeyStroke,AWTKeyStroke>
eldest)
{
return size() > MAX_CACHE_SIZE;
Modified: trunk/core/src/classpath/java/java/awt/AlphaComposite.java
===================================================================
--- trunk/core/src/classpath/java/java/awt/AlphaComposite.java 2007-08-11 13:49:36 UTC (rev 3386)
+++ trunk/core/src/classpath/java/java/awt/AlphaComposite.java 2007-08-11 14:32:55 UTC (rev 3387)
@@ -43,6 +43,7 @@
import java.awt.image.ColorModel;
import java.util.LinkedHashMap;
import java.util.Map;
+import java.util.HashMap;
/**
*
@@ -61,7 +62,7 @@
private static final int MAX_CACHE_SIZE = 2048;
/** Prune stale entries. */
- protected boolean removeEldestEntry(Entry eldest)
+ protected boolean removeEldestEntry(Map.Entry eldest) //jnode openjdk
{
return size() > MAX_CACHE_SIZE;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|