Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
bsh2.2065
bsh2-standard-script-api.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsh2-standard-script-api.patch of Package bsh2.2065
Index: BeanShell-2.0b5/engine/src/bsh/engine/BshScriptEngine.java =================================================================== --- BeanShell-2.0b5.orig/engine/src/bsh/engine/BshScriptEngine.java 2005-06-12 13:02:26.000000000 +0200 +++ BeanShell-2.0b5/engine/src/bsh/engine/BshScriptEngine.java 2009-11-25 09:17:39.043206986 +0100 @@ -227,6 +227,11 @@ throw new ScriptException( e.toString() ); } } + //JDK6 compatible method + public Object invokeMethod( Object thiz, String name, Object... args ) throws ScriptException, NoSuchMethodException + { + return invoke(thiz, name, args); + } /** * Same as invoke(Object, String, Object...) with <code>null</code> as the @@ -247,6 +252,11 @@ { return invoke( getGlobal(), name, args ); } + //JDK6 compatible method + public Object invokeFunction(String name, Object... args ) throws ScriptException, NoSuchMethodException + { + return invoke(name, args); + } /** * Returns an implementation of an interface using procedures compiled in the
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor