FULL PRODUCT VERSION :
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Using Tomcat 8.0.12 and Metro 2.3.
A DESCRIPTION OF THE PROBLEM :
Following instructions given at this URL:
https://metro.java.net/getting-started/building-a-simple-metro-application.html
From section 3.2 I was trying to run the command: ant -Duse.tomcat=true server and then I got the error
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Install Tomcat 8
2. Set catalina_home to Tomcat installation path
3. Install Metro 2.3
4. Follow its directions to install jars in tomcat/shared
5. Download Metro 2.3 examples from https://metro.java.net/getting-started/building-a-simple-metro-application.html
6. I downloaded both the java to wsdl and wsdl to java examples.
7. Follow the directions from Metro 2.3 examples to install jars into tomcat/endorsed/libs
8. Open up a command prompt and navigate to location where the "wsit-jaxws-fromwsdl" example is located.
9 Assuming ant is installed, enter ant -Duse.tomcat=true server -v
10. The error occurs
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected Tomcat to come up with a display of the wsdkl
ACTUAL -
[javac] C:\downloads\Metro Examples\wsit-jaxws-fromwsdl\src\fromwsdl\server\AddNumbersImpl.java
[javac] An exception has occurred in the compiler (1.7.0_67). Please file a bug at the Java Developer Connection (ht
tp://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the followi
ng diagnostic in your report. Thank you.
[javac] java.lang.VerifyError: Bad <init> method call from after the start of a try block
[javac] Exception Details:
[javac] Location:
[javac] com/sun/tools/javac/code/Symbol$CompletionFailure.<init>(Lcom/sun/tools/javac/code/Symbol;Ljava/lang/Str
ing;)V @17: invokespecial
[javac] Reason:
[javac] Error exists in the bytecode
[javac] Bytecode:
[javac] 0000000: 033e b200 4199 000b b800 4f3e a700 0457
[javac] 0000010: 2ab7 0038 2a2b b500 332a 2cb5 0035 b200
[javac] 0000020: 4199 0010 2a14 0042 1d03 b800 49a7 0004
[javac] 0000030: 57b1
[javac] Exception Handler Table:
[javac] bci [8, 12] => handler: 15
[javac] bci [36, 45] => handler: 48
[javac] Stackmap Table:
[javac] full_frame(@0,{UninitializedThis,Object[#27],Object[#83],Top},{})
[javac] full_frame(@15,{UninitializedThis,Object[#27],Object[#83],Integer},{Object[#75]})
[javac] same_frame(@16)
[javac] full_frame(@48,{Object[#28],Object[#27],Object[#83],Integer},{Object[#75]})
[javac] same_frame(@49)
[javac]
[javac] at com.sun.tools.javac.jvm.ClassReader.<init>(ClassReader.java:2306)
[javac] at com.sun.tools.javac.jvm.ClassReader.instance(ClassReader.java:226)
[javac] at com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:331)
[javac] at com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:88)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:424)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:342)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:333)
[javac] at com.sun.tools.javac.Main.compile(Main.java:76)
[javac] at com.sun.tools.javac.Main.main(Main.java:61)
[antcall] Exiting C:\downloads\Metro Examples\wsit-jaxws-fromwsdl\build.xml.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
See actual result
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
The source code can all be downloaded as I said above.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None known at the correct time
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Using Tomcat 8.0.12 and Metro 2.3.
A DESCRIPTION OF THE PROBLEM :
Following instructions given at this URL:
https://metro.java.net/getting-started/building-a-simple-metro-application.html
From section 3.2 I was trying to run the command: ant -Duse.tomcat=true server and then I got the error
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Install Tomcat 8
2. Set catalina_home to Tomcat installation path
3. Install Metro 2.3
4. Follow its directions to install jars in tomcat/shared
5. Download Metro 2.3 examples from https://metro.java.net/getting-started/building-a-simple-metro-application.html
6. I downloaded both the java to wsdl and wsdl to java examples.
7. Follow the directions from Metro 2.3 examples to install jars into tomcat/endorsed/libs
8. Open up a command prompt and navigate to location where the "wsit-jaxws-fromwsdl" example is located.
9 Assuming ant is installed, enter ant -Duse.tomcat=true server -v
10. The error occurs
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected Tomcat to come up with a display of the wsdkl
ACTUAL -
[javac] C:\downloads\Metro Examples\wsit-jaxws-fromwsdl\src\fromwsdl\server\AddNumbersImpl.java
[javac] An exception has occurred in the compiler (1.7.0_67). Please file a bug at the Java Developer Connection (ht
tp://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the followi
ng diagnostic in your report. Thank you.
[javac] java.lang.VerifyError: Bad <init> method call from after the start of a try block
[javac] Exception Details:
[javac] Location:
[javac] com/sun/tools/javac/code/Symbol$CompletionFailure.<init>(Lcom/sun/tools/javac/code/Symbol;Ljava/lang/Str
ing;)V @17: invokespecial
[javac] Reason:
[javac] Error exists in the bytecode
[javac] Bytecode:
[javac] 0000000: 033e b200 4199 000b b800 4f3e a700 0457
[javac] 0000010: 2ab7 0038 2a2b b500 332a 2cb5 0035 b200
[javac] 0000020: 4199 0010 2a14 0042 1d03 b800 49a7 0004
[javac] 0000030: 57b1
[javac] Exception Handler Table:
[javac] bci [8, 12] => handler: 15
[javac] bci [36, 45] => handler: 48
[javac] Stackmap Table:
[javac] full_frame(@0,{UninitializedThis,Object[#27],Object[#83],Top},{})
[javac] full_frame(@15,{UninitializedThis,Object[#27],Object[#83],Integer},{Object[#75]})
[javac] same_frame(@16)
[javac] full_frame(@48,{Object[#28],Object[#27],Object[#83],Integer},{Object[#75]})
[javac] same_frame(@49)
[javac]
[javac] at com.sun.tools.javac.jvm.ClassReader.<init>(ClassReader.java:2306)
[javac] at com.sun.tools.javac.jvm.ClassReader.instance(ClassReader.java:226)
[javac] at com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:331)
[javac] at com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:88)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:424)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:342)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:333)
[javac] at com.sun.tools.javac.Main.compile(Main.java:76)
[javac] at com.sun.tools.javac.Main.main(Main.java:61)
[antcall] Exiting C:\downloads\Metro Examples\wsit-jaxws-fromwsdl\build.xml.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
See actual result
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
The source code can all be downloaded as I said above.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None known at the correct time
- duplicates
-
JDK-8055775 super() in a try block in a ctor may need to cause VerifyError
- Closed