public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Anthony Green <green@cygnus.com> To: gcc-gnats@gcc.gnu.org Subject: libgcj/4213: SimpleDateFormat constructor SEGV's. Date: Mon, 03 Sep 2001 16:36:00 -0000 [thread overview] Message-ID: <200109032334.QAA25450@fencer.cygnus.com> (raw) >Number: 4213 >Category: libgcj >Synopsis: SimpleDateFormat constructor SEGV's. >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Sep 03 16:36:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Anthony Green >Release: 3.1 20010901 (experimental) >Organization: >Environment: System: Linux fencer.cygnus.com 2.2.12-20smp #1 SMP Mon Sep 27 10:34:45 EDT 1999 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: /fencer/cutlass/aph/green/trunk/gcc/configure --prefix=/fencer/cutlass/aph/green/trunk/gcc/i --enable-threads --enable-languages=c++,java >Description: Compiling and running the attached results in... Exception in thread "main" java.lang.NullPointerException at 0x401c2f41: java.lang.Throwable.Throwable() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x401b764f: java.lang.Exception.Exception() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x401bbeaf: java.lang.RuntimeException.RuntimeException() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x401bb25f: java.lang.NullPointerException.NullPointerException() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x40183497: _Jv_ThrowNullPointerException (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x402631d6: java.text.DateFormatSymbols.DateFormatSymbols(java.util.Locale) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x4026ec7b: java.text.SimpleDateFormat.SimpleDateFormat(java.lang.String, java.util.Locale) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x4026ebbf: java.text.SimpleDateFormat.SimpleDateFormat(java.lang.String) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x08048f6c: sdf.main(java.lang.String[]) (/tmp/sdf.java:9) at 0x4019d4c8: gnu.gcj.runtime.FirstThread.call_main() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x402292d8: gnu.gcj.runtime.FirstThread.run() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x401aa70c: _Jv_ThreadRun(java.lang.Thread) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x40184254: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x401843ad: JvRunMain (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2) at 0x08048f1c: main (/tmp/cc2lKzL1main.i:0) at 0x404f71eb: __libc_start_main (/lib/libc.so.6) at 0x08048e19: _init ((null):0) >How-To-Repeat: Compile and run the following... import java.text.SimpleDateFormat; public class sdf { protected static String timestampFormat = "yyyy-MM-dd HH:mm:ss"; public static void main(String args[]) { SimpleDateFormat timestampFormatter = new SimpleDateFormat(timestampFormat); System.out.println (timestampFormatter); } } >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-09-03 16:36 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-09-03 16:36 Anthony Green [this message] 2001-09-04 12:05 tromey
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200109032334.QAA25450@fencer.cygnus.com \ --to=green@cygnus.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).