To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85298
                 Issue #|85298
                 Summary|When a Java macro is assigned to a toolbar button, it 
                        |is invoked with an extra Short argument
               Component|framework
                 Version|OOo 2.3.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|scripting
             Assigned to|ab
             Reported by|arielch





------- Additional comments from [EMAIL PROTECTED] Wed Jan 16 16:34:25 +0000 
2008 -------
When you assign a Java "macro" to a toolbar control, the Scripting Framework
throws an exception and can not invoke the method:

A Scripting Framework error ocurred while running the Java script 
[MyClass.myMethod]

Message: ScriptResolver.getProxy: Can't find method:

myMethod:MyClass.myMethod(com.sun.star.script.provider.XScriptContext,
java.lang.Short)


The Java methods get invoked with a second, extra, and unexpected, argument of
type Short.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to