Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Nightly Builds
-
None
-
None
-
Debian linux using Sun JDK 1.6 and asm 4.0_RC2
Description
I have a fn which has a code as below:
private void callsomeshared()
throws Exception
{
Method mthd = _someShared.getDeclaredMethod("doSomething");
int cnt = 0;
while (cnt < 10)
}
The doSomething does this:
public boolean doSomething()
throws Exception
{
if (_shared.value() < 10)
return (_shared.value() < 10);
}
Doing this, fails with a ClassCastException, since when it hits the Method.invoke, it is potentially popping out the AnotherLoader class and does not have the Method class pushed.