[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [generics] Addition of getSimpleName() to java.lang.Class
From: |
Andrew John Hughes |
Subject: |
[cp-patches] [generics] Addition of getSimpleName() to java.lang.Class |
Date: |
Thu, 5 May 2005 23:28:14 +0100 |
User-agent: |
Mutt/1.5.9i |
I'm committing the attached patch to add a simple hook to
the generics implementation of java.lang.Class for calling
a VM implementation of getSimpleName(). A reference implementation
is provided which obtains the name via getName().
Changelog:
2005-05-05 Andrew John Hughes <address@hidden>
* java/lang/Class.java:
(getSimpleName()): Implemented.
* vm/reference/java/lang/VMClass.java:
(getSimpleName()): Reference implementation.
--
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
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }
reflection-01.diff
Description: Text document
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [generics] Addition of getSimpleName() to java.lang.Class,
Andrew John Hughes <=