Bug 196608 Compile error when i switch jdk from 1.5 to 1.6
When i switch jdk from 1.5 to 1.6, there are 2 compile errors in plugin: org.eclipse.birt.report.data.oda.jdbc here is the error message: - The type SqlBlobUtil.BlobHelper must implement the inherited abstract method Blob.free() - The type SqlBlobUtil.BlobHelper must implement the inherited abstract method Blob.getBinaryStream(long, long) One more thing, the jdk version is 1.6.0_02. Thanks.
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/SqlBlobUtil.java
this.inputStream = inputStream;
		}
		/**
		 * read stream to cache
		 * 
		 * @throws SQLException 
		 */
		private void init( ) throws SQLException
		{
			if ( isInit == true )
				return;
			List byteList = new ArrayList( );
			int b;
			try
			{
				while ( ( b = inputStream.read( ) ) != -1 )
				{
					byteList.add( new Integer( b ) );
				}
				inputStream.close( );
			}
			catch ( IOException e1 )
			{
				throw new SQLException( "can not read from blob data" );
			}
			blobLength = byteList.size( );
			blobContent = new byte[blobLength];
			for ( int i = 0; i < blobLength; i++ )
				blobContent[i] = (byte) ( (Integer) byteList.get( i ) ).intValue( );
			byteList = null;