Re: java.lang.TypeNotPresentException when using reflection

2008-08-16 Thread Tom Spencer
Awesome, thanks a lot for this. I will give it a try when I get back to a computer next week and let you know how I get on! Tom On 16/08/2008, Robert Lougher <[EMAIL PROTECTED]> wrote: > Hi, > > On Wed, Aug 13, 2008 at 6:20 PM, Tom Spencer > <[EMAIL PROTECTED]> wrote: >> I have been attempting to

Re: java.lang.TypeNotPresentException when using reflection

2008-08-15 Thread Robert Lougher
Hi, On Wed, Aug 13, 2008 at 6:20 PM, Tom Spencer <[EMAIL PROTECTED]> wrote: > I have been attempting to use reflection, in particular to get the > superclass of a particular class, but this seems to fail when using > Classpath v0.97.2 with JamVM 1.5.0. > I've investigated this and there's a bug i

Re: java.lang.TypeNotPresentException when using reflection

2008-08-15 Thread Christian Thalinger
On Wed, 2008-08-13 at 18:20 +0100, Tom Spencer wrote: > This code is compiled using the Eclipse Compiler and run on a PowerPC > implementation. Classpath was compiled using Sun's javac compiler, > version 1.6. Running the code, however, yields the following stack > trace: When I run this code with

java.lang.TypeNotPresentException when using reflection

2008-08-15 Thread Tom Spencer
I have been attempting to use reflection, in particular to get the superclass of a particular class, but this seems to fail when using Classpath v0.97.2 with JamVM 1.5.0. In a stripped down version of what I am trying to achieve, I am attempting to run the following code, which I have unceremoniou