You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by "Valery LEPRETRE (JIRA)" <ji...@apache.org> on 2017/06/12 10:16:00 UTC

[jira] [Commented] (XGC-109) Exception in DoubleFormatUtil.tooManyDigitsUsed with Windows 64 bits / Java 8

    [ https://issues.apache.org/jira/browse/XGC-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046417#comment-16046417 ] 

Valery LEPRETRE commented on XGC-109:
-------------------------------------

please see 

[http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/2cfad8cc3bab]
[http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7012961]



> Exception in DoubleFormatUtil.tooManyDigitsUsed with Windows 64 bits / Java 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  number 0 or negative in DoubleFormatUtil.tooManyDigitsUsed.
> It's because the VM is not handling correctly Floating point exception (fixed in Java 9)
> To avoid this error, I propose to protect the call of function tooManyDigitsUsed



--
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