Dear fellow Rexxers, since a few minutes there is a new beta of BSF4ooRexx available from Sourceforge, namely from:
<https://sourceforge.net/projects/bsf4oorexx/files/beta/20190203/>. BSF4ooRexx is an ooRexx external function package that allows Rexx programs to exploit all Java classes and interact with Java as if it was ooRexx! Requiring the supplied ooRexx package "BSF.CLS" camouflages the strictly typed, case-sensitive programming language Java as the dynamically typed, case-insensitive language Rexx, making it considerably easy to interface with Java. --- Attention! This version of BSF4ooRexx does not accept abstract Java classes in bsf.import(some_java_class) anymore! Importing Java classes allows one to use the ooRexx new-message to create Java instances (the imported Java class will be proxied as an ooRexx class and getting the class method new defined for it). Clearly, abstract Java classes cannot be instantiated, hence this change! The error message will point out the exact reason and a solution, namely to use bsf.loadClass(some_java_class) instead, which then allows one to access the static fields and the concrete static methods of the supplied Java class. Although I have gone through all the sample code and Rexx packages coming with BSF4ooRexx to find usages of bsf.importClass() with abstract Java classes and fix it, it may be the case that there are samples that have gone unnoticed so far. In this case please file a bug report at <https://sourceforge.net/p/bsf4oorexx/bugs/>. --- If after installing BSF4ooRexx you choose the menu option "BSF4ooRexx -> Samples" a folder/finder window will open and display the Rexx samples. Locate the file "index.html" and click on it: this will briefly describe each Rexx sample, such that you are able to quickly get an overview. --- Also I would like to point out to you the latest beta versions of ooRexx 5.0 which introduces many valuable and helpful new features: <https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/>. Regularly check for new builds there. The quality of the current beta versions of ooRexx 5.0 is of type "release", includes many interesting new features and contains many bug fixes over ooRexx 4.2. Also please note: the BSF4ooRexx package for MacOSX already includes a fresh build of ooRexx 5.0 beta, revision 11636. If you have any questions please come forward and ask! Replies to this e-mail will go to the BSF4ooRexx-Sourceforge-mailing list <https://sourceforge.net/p/bsf4oorexx/mailman/bsf4oorexx-devel/> (<mailto:bsf4oorexx-de...@lists.sourceforge.net>). Cheers, ---rony
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel