-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Bodden
Sent: Tuesday, 23 October, 2007 14:30
To: aspectj-users@eclipse.org
Subject: Re: [aspectj-users] Dynamically modifying Java class
structure
I am probably not the most competent person but I am
Regards
Marcus Walla
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Eric Bodden
>Sent: Tuesday, 23 October, 2007 14:30
>To: aspectj-users@eclipse.org
>Subject: Re: [aspectj-users] Dynamically modifying Java class structure
>
>
>
I am probably not the most competent person but I am quite sure that
it's not more than:
myClassLoader = null;
A class loader and all its loaded classes can be GC'ed if the class
loader can be GC'ed, IIRC.
Eric
On 23/10/2007, Hendrik Gani <[EMAIL PROTECTED]> wrote:
> Kevin F wrote:
> > Cool.. I
Kevin F wrote:
Cool.. I didn't realize the Sun JVM allowed that much flexibility
nowadays. I only knew you could unload an entire ClassLoader which
would unload all the classes that ClassLoader had loaded.
If you don't mind me asking (since it's a bit off topic), how do you
unload a ClassLoade
Cool.. I didn't realize the Sun JVM allowed that much flexibility
nowadays. I only knew you could unload an entire ClassLoader which
would unload all the classes that ClassLoader had loaded.
On Oct 18, 2007, at 11:07 AM, Dean Wampler wrote:
On Oct 17, 2007, at 8:48 AM, Hendrik Gani wrote
On Oct 17, 2007, at 8:48 AM, Hendrik Gani wrote:
...
Hi guys,
In my case, my program doesn't need to be able to swap the loaded
class
at runtime, but just out of curiosity, is it really possible to
unload a
class in Java as mentioned by Kevin?
Apparently it is: http://www.zeroturnaroun
Eric Bodden wrote:
Hi, Hendrik. What do you mean by "dynamically"? Do you mean "at
runtime"? If so, that's impossible to do...
Eric
Hi Eric, thanks for the reply. Yes, by "dynamic", I mean
weaving/modifying a class whose name is only known at runtime.
Hendrik
On 16/10/2007, Hendrik
>> Many years ago before I knew about AJ, I created a program that
>> writes a Java program, invokes the compiler, then uses reflection to
>> load the created program. Couldn't he do something similar and use
>> AJ to simplify the modification process? Admittedly, he might need
>> to start a chi
Eric Bodden wrote:
Hi, Hendrik. What do you mean by "dynamically"? Do you mean "at
runtime"? If so, that's impossible to do...
Hi Eric,
Yes, by "dynamic", I mean weaving/modifying a class whose name is only
known at runtime.
Hendrik
___
aspectj-use
Hi, Kevin.
> Many years ago before I knew about AJ, I created a program that
> writes a Java program, invokes the compiler, then uses reflection to
> load the created program. Couldn't he do something similar and use
> AJ to simplify the modification process? Admittedly, he might need
> to start
Why is it impossible?
Many years ago before I knew about AJ, I created a program that
writes a Java program, invokes the compiler, then uses reflection to
load the created program. Couldn't he do something similar and use
AJ to simplify the modification process? Admittedly, he might need
Hi, Hendrik. What do you mean by "dynamically"? Do you mean "at
runtime"? If so, that's impossible to do...
Eric
On 16/10/2007, Hendrik Gani <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am not sure whether the mailing list is an appropriate place to ask
> the following questions, but I could not find t
12 matches
Mail list logo