incubator-jena-dev mailing list archives

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


Simon Helsen commented on JENA-152:

Apparently, the method is available in openjdk-1.6:

java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre10-0ubuntu5)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)odd - 

perhaps it was added recently? The current IBM JDK 6 does not have it though, so it would
help us if you use newInstance() instead. The method is not depecrated and is implemented
in an identical way to newFactory()
> XMLInputFactory#newFactory not available in OpenJDK 1.6
> -------------------------------------------------------
>                 Key: JENA-152
>                 URL:
>             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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message