On <https://sourceforge.net/projects/bsf4oorexx/files/GA/BSF4ooRexx-850.20240304-GA/> there is a new version of BSF4ooRexx850 that can be downloaded.

Major changes:

 * new launcher "rexxb4r.rex": if you have Java/OpenJDK 24 or higher, you can 
get rid of the
   nuisance warning about JNI (Java/OpenJDK uses JNI heavily) by using this new 
script, e.g.

       rexxb4r.rex rexx some_program.rex

 * "rexxj.cmd"/"rexxj.sh": these launchers get created at BSF4ooRexx850 
installation time and use
   the exact Java version that got used at installation time (therefore it 
needs to be refreshed if
   the installed Java version gets updated by doing a "BSFooRexx850 Reinstall" 
from the menu); the
   logic now checks whether Java/OpenJDK was version 24 or higher, and if so, 
will inhibit the
   nuisance warning when running programs with it, e.g.

       rexxj.cmd some_program.rex
       rexxj.sh some_program.rex

 * Java's RexxEngine will now use the ooRexx interpreter id as its RexxEngine 
id, which should
   simplify debugging

 * Fixed a very subtle bug when instantiating a Java class that does not have a 
public constructor;
   this will now correctly throw an exception if attempting to use it

 * All JavaFX samples (directory samples/JavaFX) got tidied up and some of them 
gained the ability
   to give more interesting debug insights like which Rexx interpreter 
instance, and which thread
   get used to process FXML files (XML text files that define the GUI to use).

Please note: if you use the latest versions of ooRexx 5.2 beta from <https://sourceforge.net/projects/oorexx/files/oorexx/5.2.0beta/> with the revision of -r13014. or higher, you can now use Rexx/ooRexx for web server programming using e.g., Apache Tomcat, IBM WebSphere, or any other JavaEE/Jakarta web server offering, by using the ScriptTagLib library from <https://sourceforge.net/projects/bsf4oorexx/files/Sandbox/rgf/taglibs/ga/>. (There is a recorded presentation about this infrastructure from an ApacheCon presentation here: <https://www.youtube.com/watch?v=zVw6WDoMwRg>).

Rony G. Flatscher

List of changes:

   -------------------------------------- 2025-09-02 
----------------------------------

   - BSF.CLS

             - increase check for minimum ooRexx version to 5.0

             - show how to set bDebug globally via .local, remove debug block 
that
               uses a non-existent module

   - adding new launcher "bin\rexxb4r.rex"

            - a new BSF4ooRexx launcher that automatically sets the startup
              option "--enable-native-access=ALL-UNNAMED" for Java/OpenJDK
              versions 24 or higher to avoid those stupid dreadful messages
              about JNI being dangerous which is nuisance;
              this needs to be a proper script as to not permanently load the
              JVM as after loading it one cannot change the CLASSPATH or the
              module path

   -------------------------------------- 2025-08-27 
----------------------------------

   - updated all samples/JavaFX samples

            - remove check whether ooRexx 5.0 is being used

            - add more debug info (show interpreter, thread and invocation ids)

            - add ability to show debug output when processing the FXML files

   -------------------------------------- 2025-08-27 
----------------------------------

   - RexxAndJava.java

            - RexxEngine gets as its id value the Rexx instance identifier 
(.context~interpreter) to
              ease debugging

   - RexxEngine.java

            - add protected setId(...) for RexxAndJava's 
createRexxInterpreterInstance(...)
              to ease debugging by allowing Java to use the same identifier as 
ooRexx

            - change id_counter to produce negative numbers to distinguish 
between Java
              created instance numbers and (positive) Rexx identifiers

   - RexxScriptEngineFactory.java

            - reflect that RexxEngine got changed and now uses as 'id' value
              the ooRexx interpreter instance identifier

   -------------------------------------- 2025-08-24 
----------------------------------

   - RexxReflectJava7.java

            - fixed reflection error: if a class does not have a public default 
constructor,
              reflectConstructor() would use one of the superclasses's public
              default constructor, thereby creating the wrong object; now throws
              a RuntimeException with appropriate error message

   -------------------------------------- 2025-08-16 
----------------------------------

   - RexxReflectJava7.java

             - in case a cached handle threw an exception and it is not possible
               to find working alternate version, return the cached exception

   -------------------------------------- 2024-07-07 
----------------------------------

   - RexxDispatcher.java

            - if the Rexx script is not found in the current directory, then use
              java.library.path to locate it and if found there use its 
canonical path
              representation

   -------------------------------------- 2024-06-20 
----------------------------------

   - RexxAndJava.java

            - added Josep Maria to kudos

   - RexxHandler.java

            - corrected JavaDocs, kudos to Josep Maria Blasco

   -------------------------------------- 2024-06-15 
----------------------------------

   - BSF.CLS

            - honor environment variable "BSF4Rexx_quiet" set to 1 in addition 
to
              .bsf.quiet: if either is set to .true (1) do not show hints

            - change ppJavaExceptionChain() routine to prepend CR if .endofLine
              is "0d0a"x to all contained single LF

   -------------------------------------- 2024-05-24 
----------------------------------

   - BSF.CLS

            - .bsf.quiet: if set to .true, inhibits informal output

            - add bsf.isArray: returns .true if a BSF_ARRAY_REFERENCE, .false 
else



--
--
__________________________________________________________________________________

Prof. Dr. Rony G. Flatscher, iR
Department Wirtschaftsinformatik und Operations Management
WU Wien
Welthandelsplatz 1
A-1020  Wien/Vienna, Austria/Europe

http://www.wu.ac.at
__________________________________________________________________________________




_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to