commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #11989] ParseException with -encoding UTF-8


From: anonymous
Subject: [commit-cp] [bugs #11989] ParseException with -encoding UTF-8
Date: Mon, 14 Feb 2005 20:37:21 +0000
User-agent: ELinks/0.11.CVS

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11989>

                 Summary: ParseException with -encoding UTF-8
                 Project: classpath
            Submitted by: None
            Submitted on: Mon 02/14/2005 at 15:37
                Category: gjdoc
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

Trying process the attached file with gjdoc from today's CVS triggers
a ParseException:

address@hidden:~/trans/x$ gjdoc -encoding UTF-8 Bug.java
Loading source file Bug.java ...
gnu.classpath.tools.gjdoc.ParseException: unmatched input in line 1: [[50
null characters omitted]]
   at gnu.classpath.tools.gjdoc.Parser.parse(char[], int,
gnu.classpath.tools.gjdoc.SourceComponent[])
(/home/kalle/stow/gjdoc/i386-pc-linux-gnu/lib/lib-gnu-classpath-tools-gjdoc.so.0.0.0)
   at gnu.classpath.tools.gjdoc.Parser.processSourceFile(java.io.File,
boolean, java.lang.String, java.lang.String)
(/home/kalle/stow/gjdoc/i386-pc-linux-gnu/lib/lib-gnu-classpath-tools-gjdoc.so.0.0.0)
   at gnu.classpath.tools.gjdoc.RootDocImpl.build()
(/home/kalle/stow/gjdoc/i386-pc-linux-gnu/lib/lib-gnu-classpath-tools-gjdoc.so.0.0.0)
   at gnu.classpath.tools.gjdoc.Main.startDoclet(java.util.List)
(/home/kalle/stow/gjdoc/i386-pc-linux-gnu/lib/lib-gnu-classpath-tools-gjdoc.so.0.0.0)
   at gnu.classpath.tools.gjdoc.Main.start(java.lang.String[])
(/home/kalle/stow/gjdoc/i386-pc-linux-gnu/lib/lib-gnu-classpath-tools-gjdoc.so.0.0.0)
   at gnu.classpath.tools.gjdoc.Main.main(java.lang.String[])
(/home/kalle/stow/gjdoc/i386-pc-linux-gnu/lib/lib-gnu-classpath-tools-gjdoc.so.0.0.0)
address@hidden:~/trans/x$ 

The same without -encoding UTF-8 works all right.  Note that the file
itself is plain ASCII.

The bug occurs regardless of whether gjdoc is compiled with gcj to
native code, or compiled to bytecode with jikes and run with kaffe.






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 02/14/2005 at 15:37  Name: Bug.java  Size: 26B   By: None
trivial test case
<http://savannah.gnu.org/bugs/download.php?item_id=11989&item_file_id=2194>

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11989>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]