public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/29594] New: jv-convert with no args NPE
@ 2006-10-25 18:34 tromey at gcc dot gnu dot org
2007-01-26 0:06 ` [Bug libgcj/29594] " tromey at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-10-25 18:34 UTC (permalink / raw)
To: gcc-bugs
If I run jv-convert with no arguments I see an NPE:
opsy. jv-convert
Exception in thread "main" java.lang.NullPointerException
at gnu.gcj.convert.IOConverter.canonicalize(libgcj.so.7)
at gnu.gcj.convert.BytesToUnicode.getDecoder(libgcj.so.7)
at java.io.InputStreamReader.<init>(libgcj.so.7)
at gnu.gcj.convert.Convert.main(libgcj.so.7)
Arguably we ought to fix this problem by replacing jv-convert
with Classpath's native2ascii.
--
Summary: jv-convert with no args NPE
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29594
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/29594] jv-convert with no args NPE
2006-10-25 18:34 [Bug libgcj/29594] New: jv-convert with no args NPE tromey at gcc dot gnu dot org
@ 2007-01-26 0:06 ` tromey at gcc dot gnu dot org
2007-01-26 0:24 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-26 0:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tromey at gcc dot gnu dot org 2007-01-26 00:05 -------
Testing a fix.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-01-26 00:05:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29594
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/29594] jv-convert with no args NPE
2006-10-25 18:34 [Bug libgcj/29594] New: jv-convert with no args NPE tromey at gcc dot gnu dot org
2007-01-26 0:06 ` [Bug libgcj/29594] " tromey at gcc dot gnu dot org
@ 2007-01-26 0:24 ` tromey at gcc dot gnu dot org
2007-01-26 1:05 ` tromey at gcc dot gnu dot org
2007-01-26 1:06 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-26 0:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tromey at gcc dot gnu dot org 2007-01-26 00:24 -------
It turns out to be pretty hard to make jv-convert use the classpath
getopt code, since all gcj classes are built by the main compilation
and not the tools compilation (in libjava/classpath/).
I'm going to go for a simpler stop-gap patch and then look at
moving the jv-convert functionality into classpath's native2ascii.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29594
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/29594] jv-convert with no args NPE
2006-10-25 18:34 [Bug libgcj/29594] New: jv-convert with no args NPE tromey at gcc dot gnu dot org
2007-01-26 0:06 ` [Bug libgcj/29594] " tromey at gcc dot gnu dot org
2007-01-26 0:24 ` tromey at gcc dot gnu dot org
@ 2007-01-26 1:05 ` tromey at gcc dot gnu dot org
2007-01-26 1:06 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-26 1:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tromey at gcc dot gnu dot org 2007-01-26 01:05 -------
Subject: Bug 29594
Author: tromey
Date: Fri Jan 26 01:05:13 2007
New Revision: 121197
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121197
Log:
PR libgcj/29594:
* gnu/gcj/convert/Convert.java (main): Correctly handle missing
input or output encodings. Removed unused local variables.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/classpath/lib/gnu/gcj/convert/Convert.class
trunk/libjava/gnu/gcj/convert/Convert.java
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29594
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/29594] jv-convert with no args NPE
2006-10-25 18:34 [Bug libgcj/29594] New: jv-convert with no args NPE tromey at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-01-26 1:05 ` tromey at gcc dot gnu dot org
@ 2007-01-26 1:06 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-26 1:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tromey at gcc dot gnu dot org 2007-01-26 01:06 -------
Fix checked in.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29594
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-26 1:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-25 18:34 [Bug libgcj/29594] New: jv-convert with no args NPE tromey at gcc dot gnu dot org
2007-01-26 0:06 ` [Bug libgcj/29594] " tromey at gcc dot gnu dot org
2007-01-26 0:24 ` tromey at gcc dot gnu dot org
2007-01-26 1:05 ` tromey at gcc dot gnu dot org
2007-01-26 1:06 ` tromey at gcc dot gnu dot org
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).