-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Albrecht, Matt" <[EMAIL PROTECTED]> 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 ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
             Location - San Francisco, CA, Cell - 415.595.9965
        Jabber - [EMAIL PROTECTED],  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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to