Bug 123035 Serialize primitive types, hashmaps and other Java classes not using Java serialization method
If you take a look at the serialized engine output, we frequently see java classes appearing. I see String class; I see PageHint class; I see Hashmap classes. All of these should be gone so that BIRT document is independent of any Java-based class serialization. DtE team will move primitive type serialization to BIRT.CORE, see 123034. Engine can use that.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/AbstractDataEngine.java
Object value = ( ( DteResultSet ) queryResultStack.getLast( ) )
						.getResultIterator( ).getValue( expr );
				if ( value != null )
				{
					return context.jsToJava( value );
				}
				return null;
			} catch ( BirtException e )
			{
				logger.log( Level.SEVERE, e.getMessage( ), e );
				context.addException( e );
				return null;
			} catch ( JavaScriptException ee )
			{
				logger.log( Level.SEVERE, ee.getMessage( ), ee );
				context.addException( new EngineException(
						MessageConstants.INVALID_EXPRESSION_ERROR, expr, ee ) );
				return null;
			}
		}
		
		if ( expr instanceof IScriptExpression )
		{
			return context.evaluate( ( ( IScriptExpression ) expr ).getText( ) );
		}
		if ( expr instanceof IConditionalExpression )
		{
			return context.evaluateCondExpr( ( IConditionalExpression ) expr );
		}