This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Reflection code
- To: java-discuss at sourceware dot cygnus dot com
- Subject: Reflection code
- From: Joerg Brunsmann <Joerg dot Brunsmann at FernUni-Hagen dot de>
- Date: Thu, 13 Jan 2000 21:09:20 +0100 (MET)
Hi,
FWIW I tested the new reflection support code. As far as I
can report it works fine.
Download
http://www.javaworld.com/javaworld/jw-09-1997/indepth/ReflectClass.java
and compile
$ gcj --main=ReflectClass -o ReflectClass ReflectClass.java
$ ./ReflectClass ReflectClass
Also the code found at
http://www.ddj.com/articles/1998/9801/9801c/9801c.htm
works:
$ gcj -c -o ArgumentHolder.o ArgumentHolder.java
$ gcj -c -o Invoker.o Invoker.java
$ gcj --main=ReflectionDemo -o ReflectionDemo Invoker.o ArgumentHolder.o ReflectionDemo.java
Joerg