title: java.lang.VerifyError on XPAthConstants.NODESET in WebSphere but not in Jetty
body: <p>My code works fine in <code>Jetty</code>, but as soon as I deploy in <code>WebSphere</code>, I get <code>a java.lang.VerifyError</code> exception with no extra information at all (not even a message).</p>
  
  <p>The code:</p>
  
  <pre><code>Class c = Class.forName("javax.xml.xpath.XPathConstants"); // This works
  System.out.println(c.getDeclaredFields()); // This works
  System.out.println(c.getDeclaredField("NODESET")); // This works (public static final javax.xml.namespace.QName javax.xml.xpath.XPathConstants.NODESET)
  System.out.println(XPathConstants.NODESET); // This fails with an empty java.lang.VeryfyError
  </code></pre>
  
  <p><code>XPathConstants</code> is part of the <code>xml.jar</code> shipped with the <code>JRE</code>. Both <code>Jetty</code> and <code>WebSphere</code> are running with a <code>IBM SDK 7</code>, and code is compiled with the same version.</p>
  
  <p>I have no idea where it could come from. Thank you for the help.</p>
  
  <p>Here is the StackTrace, although it says nothing since the <code>VerifyError</code> is empty</p>
  
  <pre><code>[9/17/15 4:56:01:730 CDT] 000001c0 SystemOut     O java.lang.VerifyError
  [9/17/15 4:56:01:731 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.filenet.linker.LinkerDocumentLevel.findRelationships(LinkerDocumentLevel.java:1352)
  [9/17/15 4:56:01:731 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.filenet.linker.LinkerDocumentLevel.buildKeyDefCache(LinkerDocumentLevel.java:1119)
  [9/17/15 4:56:01:731 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.filenet.linker.LinkerDocumentLevel.checkForKeys(LinkerDocumentLevel.java:748)
  [9/17/15 4:56:01:731 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.filenet.parallel.cmd.LinkRefreshCommand.refreshLinks(LinkRefreshCommand.java:224)
  [9/17/15 4:56:01:732 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.filenet.parallel.cmd.LinkRefreshCommand.access$1(LinkRefreshCommand.java:197)
  [9/17/15 4:56:01:732 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.filenet.parallel.cmd.LinkRefreshCommand$1.call(LinkRefreshCommand.java:161)
  [9/17/15 4:56:01:732 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.filenet.parallel.cmd.LinkRefreshCommand$1.call(LinkRefreshCommand.java:1)
  [9/17/15 4:56:01:732 CDT] 000001c0 SystemOut     O      at com.ibm.idwb.common.parallel.executor.CountableTask.call(Unknown Source)
  [9/17/15 4:56:01:733 CDT] 000001c0 SystemOut     O      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345)
  [9/17/15 4:56:01:733 CDT] 000001c0 SystemOut     O      at java.util.concurrent.FutureTask.run(FutureTask.java:177)
  [9/17/15 4:56:01:733 CDT] 000001c0 SystemOut     O      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
  [9/17/15 4:56:01:733 CDT] 000001c0 SystemOut     O      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
  [9/17/15 4:56:01:734 CDT] 000001c0 SystemOut     O      at java.lang.Thread.run(Thread.java:777)
  </code></pre>