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
else
		{
			jsScope = context.newObject( parent );
		}
		jsScope.setParentScope( parent );
		return jsScope;
	}
	public JavascriptEngineFactory getFactory( )
	{
		return factory;
	}
	public CompiledJavascript compile( ScriptContext scriptContext,
			final String id, final int lineNumber, final String script ) throws BirtException
	{
		Script scriptObject = AccessController
				.doPrivileged( new PrivilegedAction<Script>( ) {
					public Script run( )
					{
						return context.compileString( script, id, lineNumber,
								null );
					}
				} );
		return new CompiledJavascript( id, lineNumber, script, scriptObject );
	}
	private JavascriptContext createJsContext( ScriptContext context )
	{
		ScriptContext parent = context.getParent( );
		Scriptable parentJsScope = global;
		if ( parent != null )
		{