[patch] java.security.Permission

Michael Koch konqueror@gmx.de
Mon Jun 7 06:30:00 GMT 2004


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

Am Montag, 7. Juni 2004 07:25 schrieb Jerry Quinn:
> This fixes a java.io.FilePermission.simple failure in mauve.  I
> don't know if it's right, but it seems reasonable.
>
> 2004-06-07  Jerry Quinn  <jlquinn@optonline.net>
>
> 	* java/security/Permission.java (Permission): Reject null
>         name.

No, its not correct. Neither SUN's API documentation says this nor a 
quick test proves your assumption (testcase attached). It gives no 
NullPointerException with SUN's JDK 1.4.2.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAxAphWSOgCCdjSDsRAo1VAJ4nkjVAAogNib3GAa9C+fRObeKaLACgkC3i
bXv4mYJ2yQWd7ef47JeBk7g=
=zigG
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PermissionTest.java
Type: text/x-java
Size: 473 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040607/3dac23ba/attachment.bin>


More information about the Java-patches mailing list