[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: hot code replace

On Wed, 8 Sep 2004 09:26:03 +0300, Zohar wrote:

> Hello,
> I'm using eclipse 3.1 (build 200409011200) and the Sysdeo Eclipse Tomcat
> Launcher plugin.
> Sometime, when I save my code, I get a popup indicating that "hot code
> replace failed", with the following reason: "verifier detected internal
> inconsistency or security problem".
> Why am I getting this?
> Thanks,
> Zohar.

This is happening only, when you are in debug mode, because then the
following happens, when you save:
- Eclipse compiles the code instantly
- the new bytecode is tried to be reloaded immediately and tried to be
executed from the current point

Since Hot Code Replace in general is an undecidable problem, it cannot
always work. Thus, sometimes it fails and Eclipse presents this error. Then
just stop and re-debug your code and everything is fine.

Eric
-- 
Eric Bodden, ICQ: 12656220, http://www.bodden.de, PGP: BB465582
PHPHiglighter: highlight whatever you want, maintaining HTML compliance
http://bodden.de/projects/php/