Bug 124839 Used deprecated function
The XML file ODA uses a deprecated function: public void close( ) { if( this.spThread != null ) this.spThread.stop(); } The function stop() of thread is deprecated.
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.data.oda.xml.util.ISaxParserConsumer#wakeup()
	 */
	public synchronized void wakeup( )
	{
		notify( );
	}
	/**
	 * Return the root node of a schema tree.
	 * 
	 * @param fileName
	 * @return
	 */
	public ATreeNode getSchemaTree( String fileName, boolean includeAttribute )
	{
		this.includeAttribute = includeAttribute;
		try
		{
			sp = new SaxParser( new XMLDataInputStream( fileName ), this );
			spThread = new Thread( sp );
			spThread.start( );
			while ( sp.isAlive( ) && !sp.isSuspended( ) )
			{
				try
				{
					synchronized ( this )
					{
						wait( );