I tried to embed a macro whithin a document as described on http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Scripting/Writing_Macros : (odt-ZIP-Container under Scripts/java).
When opening the document, LO 3.3.1 says, the document was defect and offers a repair. Doing so deletes the embedded macro.
Then I tried to place the macro under (ooo-profile-path)/user/Scripts/java, LO still does not show the macro when trying to execute it.
In OOo 3.3.0 both works. Is this a so wanted new limitation to LO or is it just a bug?
Probably a bug in registration of the scripting framework. Was resolved in 3.3.2, but appears to have come back again in 3.4 betas. Even though I haven't tried with a java programs, the problem also appears for python, beanshell and JS.
*** This bug has been marked as a duplicate of bug 37015 ***
Created attachment 46611 [details]
patch to fix
beanshell is broken because it needs the bsh.jar in the directory the extension is installed in