classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [generics] Various miscellaneous fixes found by JAPI or ecj


From: Andrew John Hughes
Subject: [cp-patches] [generics] Various miscellaneous fixes found by JAPI or ecj
Date: Wed, 12 Oct 2005 22:27:11 +0100
User-agent: Mutt/1.5.9i

I'm committing the attached patch to fix a few methods and fields that lack
generic information.

Changelog:

2005-10-12  Andrew John Hughes  <address@hidden>

        * java/awt/datatransfer/DataFlavor.java:
        (DataFlavor(Class<?>,String,String): Genericized.
        * java/awt/dnd/DragGestureEvent.java:
        (DragGestureEvent(DragGestureRecognizer,int,Point,
        List<? extends InputEvent>)): Likewise.
        (iterator()): Likewise.
        * java/awt/dnd/DragSource.java:
        (createDragGestureRecognizer(Class<T>,Component,int,
        DragGestureListener)): Likewise.
        * java/awt/dnd/DropTargetContext.java:
        (getCurrentDataFlavorsAsList()): Likewise.
        * java/awt/dnd/DropTargetDragEvent.java:
        (getCurrentDataFlavorsAsList()): Likewise.
        * java/awt/dnd/DropTargetDropEvent.java:
        (getCurrentDataFlavorsAsList()): Likewise.
        * java/awt/font/TextLayout.java:
        (TextLayout(String,Map<? extends
        AttributedCharacterIterator.Attribute>, FontRenderContext)): Likewise.
        * java/awt/image/BufferedImage.java:
        (BufferedImage(ColorModel,WritableRaster,boolean,Hashtable<?,?>)):
        Likewise.
        * java/awt/image/ImageConsumer.java:
        (setProperties(Hashtable<?,?>)): Likewise.
        * java/awt/image/MemoryImageSource.java:
        (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable<?,?>)):
        Likewise.
        (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable<?,?>)):
        Likewise.       
        * java/awt/image/RenderedImage.java:
        (getSources()): Likewise.
        * java/awt/image/renderable/ParameterBlock.java:
        (sources): Likewise.
        (parameters): Likewise.
        (ParameterBlock()): Likewise.
        (ParameterBlock(Vector<Object>)): Likewise.
        (ParameterBlock(Vector<Object>,Vector<Object>)): Likewise.
        (clone()): Added casts to handle new Vector type.
        (getSources()): Genericized.
        (setSources(Vector<Object>)): Likewise.
        (getParameters()): Likewise.
        (setParameters(Vector<Object>)): Likewise.
        * java/awt/image/renderable/RenderableImage.java:
        (getSources()): Likewise.
        * javax/swing/tree/DefaultMutableTreeNode.java:
        (children): Likewise.
        (getSharedAncestor(DefaultMutableTreeNode)): Likewise.
        (getDepth()): Likewise.
        (pathFromAncestorEnumeration(TreeNode)): Likewise.
        (PostOrderEnumeration)): Likewise.
        * javax/swing/undo/CompoundEdit.java:
        (edits): Likewise.
        (CompoundEdit()): Likewise.
        (undo()): Likewise.
        (redo()): Likewise.
        (lastEdit()): Likewise.
        (die()): Likewise.
        (isSignificant()): Likewise.
        * javax/swing/undo/UndoableEditSupport.java:
        (listeners): Likewise.
        (getUndoableEditListeners()): Likewise.
        * lib/Makefile.am:
        Turn off listing unused imports (at least for now).
        * org/omg/CosNaming/_NamingContextExtImplBase.java:
        (_methods): Likewise.
        * org/omg/CosNaming/_NamingContextImplBase.java:
        (methods): Likewise.
        * vm/reference/java/lang/reflect/Method.java:
        (getTypeParameters()): Corrected return type.

-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

"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

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

Attachment: generic_fixes-02.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]