[PATCH] gnu.java.nio.FileChannelImpl - hack - comments appreciated

Michael Koch konqueror@gmx.de
Fri Feb 28 12:21:00 GMT 2003


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

Hi list,


I made a little patch to make gnu.java.nio.FileChannelImpl more 
working in trunk. Unfortunately it uses an IMO ugly hack:

It uses native methods to access the package private methods from 
java.io.FileDescriptor. Is this allowed ? Should it be avoided ? What 
should be done ?


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

iD8DBQE+X1RGWSOgCCdjSDsRAgjTAKCFGFQsVq+O/i2FvmPFqTYTs51d9ACggBd4
hzly2Gv0i5a+2WTiOvADm1Q=
=je+l
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fc.diff
Type: text/x-diff
Size: 7394 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030228/1b7c5968/attachment.bin>


More information about the Java-patches mailing list