Bug 375600 Misspelled constant name: IScriptFunctionContext.FUNCITON_BEAN_NAME
Build Identifier: In BIRT 3.7.2 IScriptFunctionContext has a constant called FUNCITON_BEAN_NAME. It should be renamed to FUNCTION_BEAN_NAME and the current name deprecated. Reproducible: Always Steps to Reproduce: View JavaDoc for IScriptFunctionContext.
data/org.eclipse.birt.report.engine.script.javascript/src/org/eclipse/birt/report/engine/javascript/JavascriptEngine.java
{
		if ( root != null )
		{
			factory.releaseRootScope( root );
			root = null;
		}
		if ( context != null )
		{
			Context.exit( );
			context = null;
		}
	}
	/**
	 * creates a new scripting scope
	 */
	private Scriptable createJsScope( Scriptable parent, Object object )
	{
		Scriptable jsScope = null;
		if ( object != null )
		{
			if ( !( object instanceof Scriptable ) )
			{
				object = javaToJs( parent, object );
			}
		}
		if ( object instanceof Scriptable )
		{
			jsScope = new NativeObject( );
			jsScope.setPrototype( (Scriptable) object );
		}