DO NOT REPLY [Bug 8697] New: - Unable to compile the verifier using JDK1.4
| Newsgroups | gmane.comp.jakarta.bcel.devel |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8697>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8697
Unable to compile the verifier using JDK1.4
Summary: Unable to compile the verifier using JDK1.4
Product: BCEL
Version: 5.0RC1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
When compiling the verifier package of org.apache.bcel using JDK1.4 I get the
following error:
<myroot>\org\apache\bcel\verifier\exc\AssertionViolatedException.java:111: The
method java.lang.String getStackTrace() declared in class
org.apache.bcel.verifier.exc.AssertionViolatedException cannot override the
method of the same signature declared in class java.lang.Throwable. They must
have the same return type.
public String getStackTrace(){
^
Starting with JDK 1.4, the getStackTrace() returns a StackTraceElement[]
instead of a String.