Hide Forgot
Try compiling EAP with IBM JDK 1.6. It will fail with: [ERROR] /home/jmartisk/Workspace/jboss-eap/patching/src/main/java/org/jboss/as/patching/metadata/PatchXml.java:[57,76] cannot find symbol symbol : method newFactory() location: class javax.xml.stream.XMLOutputFactory [ERROR] /home/jmartisk/Workspace/jboss-eap/patching/src/main/java/org/jboss/as/patching/generator/DistributionXml.java:[54,76] cannot find symbol symbol : method newFactory() location: class javax.xml.stream.XMLOutputFactory I think this error will cause runtime issues as well (if EAP is compiled with another JDK and then run on IBM 6), because it will appear when the classes PatchXml/DistributionXml are loaded so they can be used for parsing patch XML. However, I am unable to verify this hypothesis, because in 6.2.0.ER1, bug #1006876 prevents from applying patches on IBM JDK 6 whatsoever (the same error as described therein appears when trying to apply a patch). Proposed fix by pjelinek: Instead of XMLOutputFactory.newFactory(), call XMLOutputFactory.newInstance()
I don't think a fix is necessary in upstream, because WildFly 8 requires JDK 7.
Fixed in 6.2.0.ER3.
The exact same issue returned in ER6. [ERROR] /home/jmartisk/Workspace/jboss-eap/patching/src/main/java/org/jboss/as/patching/metadata/PatchBundleXml.java:[49,76] cannot find symbol [ERROR] symbol : method newFactory() [ERROR] location: class javax.xml.stream.XMLOutputFactory Reopening the issue rather than creating a new one to save some time (this bug already has all the acks...)
Fixed in ER7.