public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "turutani at scphys dot kyoto-u dot ac dot jp" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/43962] gcj fails to compile with LANG=ja_JP.eucJP Date: Fri, 25 Jun 2010 13:54:00 -0000 [thread overview] Message-ID: <20100625135450.688.qmail@sourceware.org> (raw) In-Reply-To: <bug-43962-19121@http.gcc.gnu.org/bugzilla/> [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1233 bytes --] ------- Comment #1 from turutani at scphys dot kyoto-u dot ac dot jp 2010-06-25 13:54 ------- Created an attachment (id=21004) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21004&action=view) sample code This is a test code to generate error. gcc-4.2.5 20090325 generates no error. gcc-4.5.1 20100617 generates error with LANG=ja_JP.eucJP, but no error with LANG=C. Here are errors: localetest.java:3: error: Syntax error on token "test", ; expected String str = "ÿÿtest"; ^^^^ localetest.java:3: error: Syntax error, insert ")" to complete MethodInvocation if (str.startsWith("ÿÿ")) ^^^ localetest.java:3: error: Syntax error, insert ") Statement" to complete IfStatement if (str.startsWith("ÿÿ")) ^^^ localetest.java:3: error: Syntax error, insert ")" to complete MethodInvocation System.out.println("start with ÿÿ"); ^^^^^^^^^^^^^^ localetest.java:3: error: Syntax error, insert ";" to complete Statement System.out.println("start with ÿÿ"); ^^^^^^^^^^^^^^ 5 problems (5 errors) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43962
prev parent reply other threads:[~2010-06-25 13:54 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-05-02 12:10 [Bug java/43962] New: " turutani at scphys dot kyoto-u dot ac dot jp 2010-06-25 13:54 ` turutani at scphys dot kyoto-u dot ac dot jp [this message]
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=20100625135450.688.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@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).