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
{
	/**
	 * for logging
	 */
	protected static Logger logger = Logger.getLogger( JavascriptEngine.class
			.getName( ) );
	private static Script cachedScript;
	/**
	 * the JavaScript Context
	 */
	protected Context context;
	protected ImporterTopLevel global;
	
	protected ScriptableObject root;
	private Map<String, Object> propertyMap = new HashMap<String, Object>( );
	private JavascriptEngineFactory factory;
	static
	{
		try
		{
			Context context = Context.enter( );
			cachedScript = context
					.compileString(
							"function writeStatus(msg) { _statusHandle.showStatus(msg); }",
							"<inline>", 1, null );
			context.exit( );
		}
		catch ( Exception e )
		{
			e.printStackTrace( );