public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug java/50860] New: Unexpected NullPointerException when create simple class @ 2011-10-25 0:12 lsching17 at gmail dot com 2011-10-25 0:12 ` [Bug java/50860] " lsching17 at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: lsching17 at gmail dot com @ 2011-10-25 0:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50860 Bug #: 50860 Summary: Unexpected NullPointerException when create simple class Classification: Unclassified Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned@gcc.gnu.org ReportedBy: lsching17@gmail.com Created attachment 25601 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25601 test case to reproduce the problem I am currently porting a simple network server from sun jre 6 to gcj The server do the following: a. listen to socket 20000 (net_server_main.java) b. submit a task to threadpool to handle connection (net_server_connection_class.java) However, when i try to resolve the string of current date, null pointer exception is raised (net_server_connection_class.java, line 23) The related line is simple and i suspect that it is related to gcj bug Step to reproduce: 1. run script "compile_and_run.sh" 2. use a web browser to browse "http://localhost:20000" (in my PC, firefox 7.0) help message will be display at stdout/stderr of step 1. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/50860] Unexpected NullPointerException when create simple class 2011-10-25 0:12 [Bug java/50860] New: Unexpected NullPointerException when create simple class lsching17 at gmail dot com @ 2011-10-25 0:12 ` lsching17 at gmail dot com 2011-10-25 0:14 ` lsching17 at gmail dot com 2011-10-25 0:16 ` lsching17 at gmail dot com 2 siblings, 0 replies; 4+ messages in thread From: lsching17 at gmail dot com @ 2011-10-25 0:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50860 --- Comment #1 from lsching17 at gmail dot com 2011-10-25 00:12:29 UTC --- Created attachment 25602 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25602 gcj -v ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/50860] Unexpected NullPointerException when create simple class 2011-10-25 0:12 [Bug java/50860] New: Unexpected NullPointerException when create simple class lsching17 at gmail dot com 2011-10-25 0:12 ` [Bug java/50860] " lsching17 at gmail dot com @ 2011-10-25 0:14 ` lsching17 at gmail dot com 2011-10-25 0:16 ` lsching17 at gmail dot com 2 siblings, 0 replies; 4+ messages in thread From: lsching17 at gmail dot com @ 2011-10-25 0:14 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50860 lsching17 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25602|0 |1 is obsolete| | --- Comment #2 from lsching17 at gmail dot com 2011-10-25 00:13:58 UTC --- Created attachment 25603 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25603 information of command "gcj -v" ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/50860] Unexpected NullPointerException when create simple class 2011-10-25 0:12 [Bug java/50860] New: Unexpected NullPointerException when create simple class lsching17 at gmail dot com 2011-10-25 0:12 ` [Bug java/50860] " lsching17 at gmail dot com 2011-10-25 0:14 ` lsching17 at gmail dot com @ 2011-10-25 0:16 ` lsching17 at gmail dot com 2 siblings, 0 replies; 4+ messages in thread From: lsching17 at gmail dot com @ 2011-10-25 0:16 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50860 --- Comment #3 from lsching17 at gmail dot com 2011-10-25 00:16:13 UTC --- Created attachment 25604 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25604 compile linux x64 executable (by gcj 4.5.2) --main=net_server_main -pipe -O2 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-25 0:16 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-10-25 0:12 [Bug java/50860] New: Unexpected NullPointerException when create simple class lsching17 at gmail dot com 2011-10-25 0:12 ` [Bug java/50860] " lsching17 at gmail dot com 2011-10-25 0:14 ` lsching17 at gmail dot com 2011-10-25 0:16 ` lsching17 at gmail dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).