You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by se...@apache.org on 2009/03/25 16:56:34 UTC

svn commit: r758320 - /jakarta/bsf/trunk/bsf3/RELEASE_NOTES

Author: sebb
Date: Wed Mar 25 15:56:31 2009
New Revision: 758320

URL: http://svn.apache.org/viewvc?rev=758320&view=rev
Log:
Changes made so far

Modified:
    jakarta/bsf/trunk/bsf3/RELEASE_NOTES

Modified: jakarta/bsf/trunk/bsf3/RELEASE_NOTES
URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/RELEASE_NOTES?rev=758320&r1=758319&r2=758320&view=diff
==============================================================================
--- jakarta/bsf/trunk/bsf3/RELEASE_NOTES (original)
+++ jakarta/bsf/trunk/bsf3/RELEASE_NOTES Wed Mar 25 15:56:31 2009
@@ -11,5 +11,53 @@
 
 However, the implementation is believed to be complete.
 
+Changes from previous releases
+------------------------------
+
 This 3.0-beta3 release is a maintenance release update to support the latest releases
 of various script language engines.
+
+The classes in the javax.script package have been overhauled to align the API, Javadoc and 
+the behaviour with the JSR-223 spec, and several unit tests have been added. 
+
+Some of these changes may cause problems for programs that have been written to the BSF 3.0
+Javadoc rather than the JSR-223 spec.
+
+javax.script class changes
+==========================
+AbstractScriptEngine - Javadoc only
+Bindings - Javadoc only
+Compilable - Javadoc only
+CompiledScript - Javadoc only
+Invocable - Javadoc only
+ScriptContext - Javadoc only
+ScriptEngine - Javadoc only
+ScriptEngineFactory - Javadoc only
+
+ScriptEngineManager - Javadoc, also protected fields made private:
+- engineSpis
+- nameAssociations
+- extensionAssocitions
+- mimeTypeAssociations
+- globalscope
+- now uses javax.imageio.spi.ServiceRegistry.lookupProviders() 
+  rather than the Sun-specfic method sun.misc.Service.providers()
+  - put() method checks that key is non-null (NullPointerException)
+    and non-empty (IllegalArgumentException)
+  - setBindings() throws IllegalArgumentException if the parameter is non-null
+
+ScriptException 
+- all fields made private and final
+
+SimpleBindings
+- Javadoc
+- protected field "map" made private & final
+- methods now check keys to ensure that they are non-null, non-empty strings
+
+SimpleScriptContext
+- globalScope field now defaults to null
+- reader, writer and errorWriter fields are now protected (rather than private)
+  This is required by JSR-223
+- name parameters are now checked to ensure that they are non-null, non-empty strings
+- getBindings() throws IllegalArgumentException if the scope is invalid
+- getScopes() now returns an unmodifiable List



---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org