This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Weird GCJ bug


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]