Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Verifier Related HotSwap Bug
Verifier Related HotSwap Bug [message #64050] Sat, 21 June 2003 19:04
markusle is currently offline markusleFriend
Messages: 12
Registered: July 2009
Junior Member
package de.neze.experiments;
/**
* class VerifierRelatedHotSwapBug
* <blockquote>
* Reason:
* Hot code replace failed - verifier detected internal inconsistency
* or security problem
* </blockquote>
*
* Reproduce the meassage with the above reason:
* <ol><li>
* Set an break point to the indecated line below
* </li><li>
* Start this class in the debugger of eclipse (2.1.1 perhap earlier) against
* Suns 1.4.2 beta.
* </li><li>
* edit the line above the break point (without compilation errors)
* </li><li>
* resume the suspended thread: this gives the message noted above.
* </li></ol>
*
* For IBM's JDK 1.4.1 the reason for problems is:
* <blockquote>
* Reason: The target VM does not support hot code replace
* </blockquote>
* Why has IBM's JDK 1,4,1 no hotswap (I believe it has hotswap)?
*
* I detected another hotswap related bug (with a workaround),
* let me know if someody is intressted.
*
* Kind regard
*
* mle
*/
public class VerifierRelatedHotSwapBug {
/**
* class InnerClass
*/
public static class InnerClass {
private InnerClass m_oInnerSubClass;
private final void setInnerSubClass(final InnerSubClass o) {
m_oInnerSubClass = o;
}
}
/**
* class InnerSubClass
*/
public static class InnerSubClass extends InnerClass {
}
/**
* some init
*/
static {
new InnerClass();
// Class oClass = InnerClass.class;
}
/**
* main()
*/
public static void main(String[] arguments) {
System.out.println("Edit this line and hotswap: 1 23456789123456789");
System.out.println("This is the place for your breakboint");
}
}
Previous Topic:ann: bP now ships with Eclipse and Tomcat 5
Next Topic:[CORE] ClassInstanceCreation grammar question
Goto Forum:
  


Current Time: Mon Dec 30 16:01:15 GMT 2024

Powered by FUDForum. Page generated in 0.03944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top