[HARMONY-6317] [drlvm][verifier] Verify error running SwingSet2 demo code (original) (raw)

Running SwingSet2 demo JAR produces a VerifyError on the console

C:\>c:\hy\target\hdk\jdk\jre\bin\java.exe -jar "C:\java\Sun JDK 6.0\jdk6_14\demo\jfc\SwingSet2\SwingSet2.jar"
Uncaught exception in Thread-338:
java.lang.VerifyError: BezierAnimationPanel.paint(Ljava/awt/Graphics;)V, pass: 2089881640, instr: 67, reason: incorrect constantpool entr
at java.lang.ClassLoader.defineClass0(ClassLoader.java)
at java.lang.ClassLoader.defineClass(ClassLoader.java:367)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110)
at java.net.URLClassLoader.access$3(URLClassLoader.java:1)
at java.net.URLClassLoader$URLJarHandler.createClass(URLClassLoader.java:440)
at java.net.URLClassLoader$URLJarHandler.findClass(URLClassLoader.java:371)
at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1212)
at java.net.URLClassLoader$4.run(URLClassLoader.java:901)
at java.net.URLClassLoader$4.run(URLClassLoader.java:1)
at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
at java.security.AccessController.doPrivileged(AccessController.java:64)
at java.net.URLClassLoader.findClass(URLClassLoader.java:903)
at java.lang.ClassLoader.loadClass(ClassLoader.java:489)
at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:871)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.VMClassRegistry.initializeClass(VMClassRegistry.java)
at java.lang.Class.forName(Class.java:147)
at java.lang.Class.forName(Class.java:90)
at SwingSet2.loadDemo(SwingSet2.java:765)
at SwingSet2.loadDemos(SwingSet2.java:95)
at SwingSet2$DemoLoadThread.run(SwingSet2.java:1359)