From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5583 invoked by alias); 20 May 2002 04:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 5542 invoked by uid 71); 20 May 2002 04:26:00 -0000 Resent-Date: 20 May 2002 04:26:00 -0000 Resent-Message-ID: <20020520042600.5541.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, r.hautz@inn-salzach.de Received:(qmail 4698 invoked from network); 20 May 2002 04:22:18 -0000 Received: from unknown (HELO isabella.iivs.de) (212.144.49.32) by sources.redhat.com with SMTP; 20 May 2002 04:22:18 -0000 Received: from isabella.iivs.de (localhost [127.0.0.1]) by isabella.iivs.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id g4K4Kmb5001919 for ; Mon, 20 May 2002 06:20:49 +0200 Received: (from roland@localhost) by isabella.iivs.de (8.12.2/8.12.2/Submit) id g4K3wWns001690; Mon, 20 May 2002 05:58:33 +0200 Message-Id:<200205200358.g4K3wWns001690@isabella.iivs.de> Date: Sun, 19 May 2002 21:26:00 -0000 From: r.hautz@inn-salzach.de Reply-To: r.hautz@inn-salzach.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:3.113 Subject: java/6729: Compiler error causing break of java.lang.Character.isWhitespace X-SW-Source: 2002-05/txt/msg00582.txt.bz2 List-Id: >Number: 6729 >Category: java >Synopsis: Compiler error causing break of java.lang.Character.isWhitespace >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Sun May 19 21:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Roland Hautz >Release: 3.2 20020516 (experimental) >Organization: >Environment: System: Linux isabella 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i586 unknown Architecture: i586 host: i586-pc-linux-gnu build: i586-pc-linux-gnu target: i586-pc-linux-gnu configured with: /home/roland/gcc/configure --enable-threads=posix --enable-languages=c,c++,java >Description: I tracked down the reason, why java.io.StreamTokenizer can't parse numbers any longer. The testcase is narrowed from java.lang.Character.isWhitespace, which is returning true on digits because of this bug. I consider this to be of high priority. >How-To-Repeat: # gcj -g --main=HelloWorld HelloWorld.java # ./a.out this should be false: true public class HelloWorld { static int attr = 0x9; public static void main(String [] args) { boolean res = ( ( 1 << attr ) & 0x1000 ) != 0 ; System.out.println("this should be "+res+": "+isWhite()); } public static boolean isWhite() { return ( ( 1 << attr ) & 0x1000 ) != 0 ; } } >Fix: >Release-Note: >Audit-Trail: >Unformatted: