[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug #891] String java.lang.Long.toHexString(long) drops digits
From: |
nobody |
Subject: |
[Bug #891] String java.lang.Long.toHexString(long) drops digits |
Date: |
Mon, 22 Jul 2002 20:01:21 -0400 |
=================== BUG #891: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=891&group_id=85
Changes by: Mark Wielaard <address@hidden>
Date: 2002-Jul-23 02:01 (Europe/Amsterdam)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
OK. Tried with Classpath 0.04 and the bug is in that version. But it has
already been fixed in CVS by Tom Tromey so if you need the bug fix you might
want to get the file Long.java from CVS:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/lang/Long.java
(has a download link)
Jikes can be found through http://www.jikes.org/, gcj is distributed with the
Gnu Compiler Collection (gcc), more info can be found at
http://gcc.gnu.org/java/
=================== BUG #891: FULL BUG SNAPSHOT ===================
Submitted by: cbenenati Project: classpath
Submitted on: 2002-Jul-22 22:46
Severity: 5 - Major Resolution: Fixed
Assigned to: None Status: Closed
Platform Version: Windows 2000
Summary: String java.lang.Long.toHexString(long) drops digits
Original Submission: The following only prints 8 digits:
class x
{
static public void main( String[] args )
{
System.out.println( Long.toHexString(0xffffffffffffffffL) );
}
}
Follow-up Comments
*******************
-------------------------------------------------------
Date: 2002-Jul-23 02:01 By: mark
OK. Tried with Classpath 0.04 and the bug is in that version. But it has
already been fixed in CVS by Tom Tromey so if you need the bug fix you might
want to get the file Long.java from CVS:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/lang/Long.java
(has a download link)
Jikes can be found through http://www.jikes.org/, gcj is distributed with the
Gnu Compiler Collection (gcc), more info can be found at
http://gcc.gnu.org/java/
-------------------------------------------------------
Date: 2002-Jul-23 00:32 By: mark
Could you give us the version of Classpath you use and the compiler and VM? I
tried with the current CVS version of Classpath with jikes 1.16 and Kissme from
CVS and with gcj-3.1 (which uses the same Long class) and both print the
correct number (16) of 'f's.
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=891&group_id=85