You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2022/08/30 07:38:00 UTC

[jira] [Closed] (SANTUARIO-592) rg.apache.xml.security.test.dom.signature.ECDSASignatureTest.testOne fails on Java 1.8

     [ https://issues.apache.org/jira/browse/SANTUARIO-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed SANTUARIO-592.
-----------------------------------------
    Resolution: Won't Fix

> rg.apache.xml.security.test.dom.signature.ECDSASignatureTest.testOne fails on Java 1.8
> --------------------------------------------------------------------------------------
>
>                 Key: SANTUARIO-592
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-592
>             Project: Santuario
>          Issue Type: Test
>          Components: Java
>    Affects Versions: Java 3.0.0
>            Reporter: Stefan Bluhm
>            Assignee: Colm O hEigeartaigh
>            Priority: Trivial
>
> src/test/java/org/apache/xml/security/test/dom/signature/ECDSASignatureTest.java:72
>  
> {code:java}
> int javaVersion = Integer.parseInt(System.getProperty("java.specification.version"));{code}
>  
> java.specification.version returns 1.8. This will cause an error to Integer.parseInt.
> A fix could be
>  
> {code:java}
> int javaVersion = (int)Float.parseFloat(System.getProperty("java.specification.version"));{code}
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)