You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 15:09:15 UTC

[jira] [Updated] (BCEL-1) Unable to compile the verifier using JDK1.4

     [ https://issues.apache.org/jira/browse/BCEL-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bourg updated BCEL-1:
------------------------------

      Description: 
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.

  was:
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.

         Priority: Major
      Environment:     (was: Operating System: other
Platform: Other)
    Fix Version/s: 5.1
         Priority:   (was: P3)
         Severity:   (was: normal)

This was fixed in r152765 on 2002-03-15 by enver


> Unable to compile the verifier using JDK1.4
> -------------------------------------------
>
>                 Key: BCEL-1
>                 URL: https://issues.apache.org/jira/browse/BCEL-1
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.0
>            Reporter: Thomas Hallgren
>            Assignee: Apache Commons Developers
>             Fix For: 5.1
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)