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]

NPE with gcc 3.4 when trying to open a tcp-socket


Jörg Maisenbacher writes:
 > 
 > I just build gcc 3.4 from cvs, and compiled an application. But this app 
 > crashes with an NPE right at the start (when it tries to open a tcp-socket):

I'd love to investigate this, but without a test case I can't do much.

 > this does _not_ happen with gcc 3.3
 > 
 > This is not directly related to the topic above, but if i link my files 
 > with -static, the application segfaults.
 > Do i have to look for something special when linking static with gcj-build?

Not usually.  However, anything that uses reflection may break when
linked statically.

Andrew.


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