[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] Hot code replace failed
|
Mohan,
OK, fairly obvious then. There are certain
things that should work like advice but others like ITDs and delare parents
that won't. Also some language features like per-clauses and even using
thisJoinPoint will change a target class in a way that cannot be HCR'd.
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/
Please respond to aspectj-users@xxxxxxxxxxx
Sent by:
aspectj-users-bounces@xxxxxxxxxxx
To:
<aspectj-users@xxxxxxxxxxx>
cc:
Subject:
RE: [aspectj-users]
Hot code replace failed
Hi,
public aspect IntertypeAspect
{
public void IntertypeInterface.addTestMethod(){
System.out.println( "Test" );
}
}
public interface IntertypeInterface
{
}
public class Bar //implements
IntertypeInterface {
public static void
main(String[] args){
//breakpoint set here
//new Bar().addTestMethod();
}
}
Actually I tried adding and removing the two commented lines again and
again after setting the breakpoint and starting a debug session.
Thanks,
Mohan
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Matthew
Webster
Sent: Monday, December 19, 2005 10:21 PM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Hot code replace failed
Hohan,
This message comes from the JVM. Hot Code Replace can only support certain
changes at the moment and it would seem "Hierarch change" is
not one of them. What did you do that caused the change to happen?
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/
Please respond to aspectj-users@xxxxxxxxxxx
Sent by:
aspectj-users-bounces@xxxxxxxxxxx
To:
<aspectj-users@xxxxxxxxxxx>
cc:
Subject: [aspectj-users]
Hot code replace failed
Hi,
Does the following message indicate a missing feature ? Is it a bug ? I
can post the code if it is needed to understand this. I am assuming
this is a pending issue.
com.aspectj.test.Foo at localhost:4686(out of synch) was unable to replace
the running code with the code in the workplace.
Reason:
Hot code replace failed - Hierarchy change not implemented
Thanks,
Mohan
This message is for the designated recipient
only and may contain privileged, proprietary, or otherwise private information.
If you have received it in error, please notify the sender immediately
and delete the original. Any other use of the email by you is prohibited._______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
This message is for the designated recipient
only and may contain privileged, proprietary, or otherwise private information.
If you have received it in error, please notify the sender immediately
and delete the original. Any other use of the email by you is prohibited._______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users