[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [generics] Error patch #03
From: |
Andrew John Hughes |
Subject: |
[cp-patches] [generics] Error patch #03 |
Date: |
Mon, 10 Jan 2005 20:45:36 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
I'm committing the attached error fix to the generics branch.
2005-01-10 Andrew John Hughes <address@hidden>
* java/util/AbstractMap.java:
(putAll(Map<? extends K, ? extends V>)): added cast to
Map<K,V>
* java/util/EnumMap.java:
Corrected instanceof tests, generic array creation,
use of Enum.getDeclaringClass() and wrong typing
of iterator methods
(clone()): re-written to use the EnumMap(EnumMap)
constructor
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
No software patents in Europe -- http://nosoftwarepatents.com
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner
errors_03.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [generics] Error patch #03,
Andrew John Hughes <=