Weird GCJ bug

Michael Koch konqueror@gmx.de
Wed Oct 1 07:49:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I think I found a really weird bug (another one stopping NIO work).
I added for testing the following constructor to java/net/
ServerSocket.java:
public ServerSocket (gnu.java.net.PlainSocketImpl impl)
{
 this.impl = impl;
 this.impl.create (true);
}
Unfortunately the compiled *.o file contains this symbol then:
_ZN4java3net12ServerSocketC1EPNS0_15PlainSocketImplE
After using c++filt on this symbol it told me that this means:
java::net::ServerSocket::ServerSocket[in-charge]
(java::net::PlainSocketImpl*)
I really wonder why GCJ ate the "gnu::" of PlainSocketImpl.
Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/eoedWSOgCCdjSDsRAg9zAJ4yLBxEoBYKuCTZK61ed80C8+GYwgCePEZO
WjKgz0er9oOsV+owV/HPg9g=
=UxOr
-----END PGP SIGNATURE-----


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /