jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [FWD] [GUMP] Build Failure - dist-ant
Date Wed, 09 Jul 2003 07:09:23 GMT
On 09 Jul 2003, Stefan Bodewig <bodewig@apache.org> wrote:

> I haven't checked whether you have changed the public signature of
> any other classes than BSFManager (those not directly being used by
> Ant), though.

OK, this is what I get when trying to compile CVS HEAD of beanshell,
it seems BSFEngine is affected as well.

,----
| compile:
|     [javac] Compiling 131 source files to /javastuff/gump/beanshell/classes
|     [javac] /javastuff/gump/beanshell/src/bsh/util/AWTConsole.java:223: warning: getPeer()
in java.awt.Component has been deprecated
|     [javac] 		((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( 
|     [javac]                                                   ^
|     [javac] /javastuff/gump/beanshell/src/bsh/Remote.java:143: warning: encode(java.lang.String)
in java.net.URLEncoder has been deprecated
|     [javac] 		sb.append( URLEncoder.encode( text ) );
|     [javac]                                      ^
|     [javac] /javastuff/gump/beanshell/bsf/src/bsh/util/BeanShellBSFEngine.java:33: bsh.util.BeanShellBSFEngine
should be declared abstract; it does not define eval(java.lang.Object) in org.apache.bsf.BSFEngine
|     [javac] public class BeanShellBSFEngine extends BSFEngineImpl
|     [javac]        ^
|     [javac] /javastuff/gump/beanshell/bsf/src/TestBshBSF.java:24: eval(java.lang.Object)
in org.apache.bsf.BSFEngine cannot be applied to (java.lang.String,int,int,java.lang.String)
|     [javac] 		Object result = beanshellEngine.eval( "Test eval...", -1, -1, script );
|     [javac]                                                ^
|     [javac] /javastuff/gump/beanshell/bsf/src/TestBshBSF.java:36: apply(java.lang.Object,java.util.Vector,java.util.Vector)
in org.apache.bsf.BSFEngine cannot be applied to (java.lang.String,int,int,java.lang.String,java.util.Vector,java.util.Vector)
|     [javac] 		result = beanshellEngine.apply( 
|     [javac]                                         ^
|     [javac] /javastuff/gump/beanshell/bsf/src/TestBshBSF.java:41: eval(java.lang.Object)
in org.apache.bsf.BSFEngine cannot be applied to (java.lang.String,int,int,java.lang.String)
|     [javac] 		result = beanshellEngine.eval( "Test eval...", -1, -1, "name" );
|     [javac]                                         ^
|     [javac] /javastuff/gump/beanshell/bsf/src/TestBshBSF.java:47: eval(java.lang.Object)
in org.apache.bsf.BSFEngine cannot be applied to (java.lang.String,int,int,java.lang.String)
|     [javac] 		result = beanshellEngine.eval( "Test eval...", -1, -1, "1+1");
|     [javac]                                         ^
|     [javac] 5 errors
|     [javac] 2 warnings
`----

Stefan

Mime
View raw message