ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bur...@openprivacy.org (Kevin A. Burton)
Subject Re: [PROPOSAL] 'redefine' task that uses JDK 1.4/JPDA class redef inition
Date Mon, 04 Feb 2002 21:38:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Albrecht, Matt" <matt.albrecht@zilliant.com> writes:

> Just a note: this weekend I was working on a pet project which uses JPDA.  I
> was running with Sun JDK 1.4 beta 2, on Windows 2000, when I noticed that the
> capability for redefinition is not enabled.  I'm not sure as to the result
> with the current RC1, but this means that even if you do run this with JDK
> 1.4, you're not guaranteed to have it work.
<snip/>

There are ways around that

if ( vm.canRedefineClasses()  == false)
    throw new BuildException( "The target VM can not redefine classes." );

Redefine should just throw an exception on Windows 2000

Strange. UInder Linux I have:

 [redefine] Target VM canAddMethod : false
 [redefine] Target VM canUnrestrictedlyRedefineClasses : false
 [redefine] Target VM canPopFrame : true

I wonder if anyone on other platforms has canAddMethod or
canUnrestrictedlyRedefineClasses.

It would be nice to have someone with SUN whom I could talk to about this but
there is no JPDA mailing list.

I am sick of Java being so closed :(

Kevin
 
- -- 
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burtonator@acm.org )
             Location - San Francisco, CA, Cell - 415.595.9965
        Jabber - burtonator@jabber.org,  Web - http://relativity.yi.org/

Who wants to be responsible?  Every time something goes wrong they say 'who's
responsible for this?'.
  -- Jerry Seinfeld
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8Xv9GAwM6xb2dfE0RAsxxAJ0TuHuUZDyWBSSGX2hLWPVefbbELACfRWmU
eyg3icRA6US9VsncqZLAr7Y=
=8+Dd
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message