RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 676148 - infinite loop while parsing double literal
Summary: infinite loop while parsing double literal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: java-1.6.0-openjdk
Version: 6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Deepak Bhole
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 676147
Blocks: 676149
TreeView+ depends on / blocked
 
Reported: 2011-02-08 23:04 UTC by Siddhesh Poyarekar
Modified: 2015-09-14 00:22 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 676147
: 676149 (view as bug list)
Environment:
Last Closed: 2011-04-11 18:38:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Siddhesh Poyarekar 2011-02-08 23:04:08 UTC
+++ This bug was initially created as a clone of Bug #676147 +++

Description of problem:
java hangs when trying to parse the double literal 2.2250738585072012e-308.

Version-Release number of selected component (if applicable):
java-1.6.0-openjdk-1.6.0.0-1.21.b17.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. 

$ cat > runhang.java
class runhang {
public static void main(String[] args) {
  System.out.println("Test:");
  double d = Double.parseDouble("2.2250738585072012e-308");
  System.out.println("Value: " + d);
 }
}

2.

$ javac runhang.java

3.

$ java runhang
  
Actual results:
Hang

Expected results:
No hang

Additional info:

This is the same as upstream bug:

https://bugs.openjdk.java.net/show_bug.cgi?id=100119

Comment 1 Deepak Bhole 2011-04-11 18:38:03 UTC
Fix is in IcedTea6 1.7.10 which is in RHEL6


Note You need to log in before you can comment on or make changes to this bug.