Issue491634

classification
Title: reflection occasionally fails
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn, eris
Priority: normal Keywords:

Created on 2001-12-11.16:59:39 by eris, last changed 2002-01-22.19:26:53 by eris.

Messages
msg524 (view) Author: Shae Erisson (eris) Date: 2001-12-11.16:59:39
In essence, if I create a java instance and drop it
into a method this way:

x.method(mod.Something())

then a call to Something.getClass() from inside
'method' often fails



if I instead do it this way:

newthing = mod.Something()
x.method(newthing)

it seems to fix the reflection problems.

this behaviour does not seem to be limited to a jdk
version or jython version

I don't have a concise piece of code that demonstrates
this, I'll try to get one together and add it as a comment.
msg525 (view) Author: Finn Bock (bckfnn) Date: 2001-12-11.20:55:58
Logged In: YES 
user_id=4201

How does it fail? What JVM? What OS?
msg526 (view) Author: Shae Erisson (eris) Date: 2002-01-22.19:26:53
Logged In: YES 
user_id=6121

this is specifically a Class.forName problem that happens
because of the way the JVM handles the order it asks
classloaders for a class location

sorry for the false alarm
History
Date User Action Args
2001-12-11 16:59:39eriscreate