Hi!
I have suddenly started to get following exception
when running javac. Does anyone know a reason for this
and how I can fix this. It seems that the compilation
goes anyway fine.
I am using Linux_JDK_1.2_pre-release-v2
java.lang.IllegalMonitorStateException: current thread not owner
You can't cast upwards i.e. there is no
way to cast A to a child B. Class A doesn't
know anything about B.
It works other way round. It is possible to
cast B downwards to A, because B includes
the information of A.
Jari
> -Original Message-
> From: EXT SABYASACHI S GUPTA
> [mai
Hi!
You can't do that.
You are going to cast an object to something that you
don't know what it is going to be.
Then what are you going to do with the object after that?
Do you know any method to call or what?
The whole code after that should be also "dynamic".
This sounds like you wan't to do a