This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Reflection code


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]