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
{
				IScriptFunctionContext functionContext = new IScriptFunctionContext( ) {
					public Object findProperty( String name )
					{
						return propertyMap.get( name );
					}
				};
				Object sObj = Context.javaToJS( functionContext, global );
				global
						.put(
								org.eclipse.birt.core.script.functionservice.IScriptFunctionContext.FUNCITON_BEAN_NAME,
								global, sObj );
			}
			initWrapFactory( );
		}
		catch ( Exception ex )
		{
			Context.exit( );
			throw new BirtException( );
		}
	}
	private void initWrapFactory( )
	{
		WrapFactory wrapFactory = new WrapFactory( ) {
			protected IJavascriptWrapper coreWrapper = new CoreJavaScriptWrapper( );
			/**
			 * wrapper an java object to javascript object.
			 */
			public Object wrap( Context cx, Scriptable scope, Object obj,
					Class staticType )