Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89FD6200CA6 for ; Tue, 13 Jun 2017 10:35:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88B71160BE9; Tue, 13 Jun 2017 08:35:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D8208160BDC for ; Tue, 13 Jun 2017 10:35:03 +0200 (CEST) Received: (qmail 48370 invoked by uid 500); 13 Jun 2017 08:35:03 -0000 Mailing-List: contact general-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@xmlgraphics.apache.org Delivered-To: mailing list general@xmlgraphics.apache.org Received: (qmail 48359 invoked by uid 99); 13 Jun 2017 08:35:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2017 08:35:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A3AFF180370 for ; Tue, 13 Jun 2017 08:35:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.702 X-Spam-Level: X-Spam-Status: No, score=-98.702 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7W_7DWD10nvp for ; Tue, 13 Jun 2017 08:35:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CF60E5FB98 for ; Tue, 13 Jun 2017 08:35:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1FFCCE0D1A for ; Tue, 13 Jun 2017 08:35:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4E0E721E14 for ; Tue, 13 Jun 2017 08:35:00 +0000 (UTC) Date: Tue, 13 Jun 2017 08:35:00 +0000 (UTC) From: "simon steiner (JIRA)" To: general@xmlgraphics.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (XGC-109) Exception in DoubleFormatUtil.tooManyDigitsUsed with Windows 64 bits / Java 8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Jun 2017 08:35:04 -0000 [ https://issues.apache.org/jira/browse/XGC-109?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1604757= 0#comment-16047570 ]=20 simon steiner commented on XGC-109: ----------------------------------- Attach as a file to the bug please > Exception in DoubleFormatUtil.tooManyDigitsUsed with Windows 64 bits / Ja= va 8 > -------------------------------------------------------------------------= ---- > > Key: XGC-109 > URL: https://issues.apache.org/jira/browse/XGC-109 > Project: XMLGraphicsCommons > Issue Type: Bug > Components: utilities > Affects Versions: trunk, 2.2 > Environment: Windows 64 bits / Java 8 64 bits > Reporter: Valery LEPRETRE > Fix For: trunk, 2.2 > > Attachments: DoubleFormatUtil.java > > > Hi, > I was recently confronted to this trouble with Windows 64 bits / Java 8: > When you start a JVM (Java 8 / 64 bits) from a C, C++ (or other non Java)= program using xml-graphics to convert a svg to pdf, a crash occurs with=C2= =A0 number 0 or negative in DoubleFormatUtil.tooManyDigitsUsed. > It's because the VM is not handling correctly Floating point exception (f= ixed in Java 9) > To avoid this error, I propose to protect the call of function tooManyDig= itsUsed -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: general-help@xmlgraphics.apache.org