jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Helsen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JENA-152) XMLInputFactory#newFactory not available in OpenJDK 1.6
Date Tue, 01 Nov 2011 17:43:32 GMT

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

Simon Helsen commented on JENA-152:
-----------------------------------

thanks Damian. I have an e-mail out to someone in the jdk team on this issue. It seems the
addition came late (somewhere around update 22) and it is possible that the IBM JDK just has
not picked up this line (they do lag behind a little bit). When I know more, I'll add another
comment
                
> XMLInputFactory#newFactory not available in OpenJDK 1.6
> -------------------------------------------------------
>
>                 Key: JENA-152
>                 URL: https://issues.apache.org/jira/browse/JENA-152
>             Project: Jena
>          Issue Type: Bug
>          Components: Jena
>            Reporter: Simon Helsen
>
> when I load the latest Jena2 project in an environment with an IBM JDK 6, I run into
a compile error in line 67 of StAX2SAX
>  
> It seems that the method XMLInputFactory#newFactory() does not exist. I cross-checked
with OpenJDK 1.6 and it has the same problem.  Now, the method does exist in the Oracle JRE,
but if you use XMLInputFactory#newInstance(), it works in all environments (where I double
checked that the implementation for newInstance() is identical to newFactory() in the Oracle
JRE)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message