[
https://issues.apache.org/jira/browse/DERBY-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-6213:
---------------------------------
Attachment: derby-6213-20-aa-remove.java15.compile.classpath.diff
Attaching derby-6213-20-aa-remove.java15.compile.classpath.diff. This patch
removes support for compilation on Java 5 as well as the JDBC 3 and JSR 169
stubs. I am running tests now.
The patch introduces a lint diagnostic. I will remove that in a later patch.
Touches the following files:
------------------
M java/build/org/apache/derbyBuild/build.xml
M java/build/org/apache/derbyPreBuild/PropertySetter.java
M java/storeless/build.xml
M java/demo/toursdb/build.xml
M java/demo/build.xml
M build.xml
Remove references to the Java 5 and JSR 169 compiler variables.
------------------
D java/stubs/jdbc3
D java/stubs/jdbc3/java
D java/stubs/jdbc3/java/sql
D java/stubs/jdbc3/java/sql/Connection.java
D java/stubs/jdbc3/java/sql/BatchUpdateException.java
D java/stubs/jdbc3/java/sql/Timestamp.java
D java/stubs/jdbc3/java/sql/Statement.java
D java/stubs/jdbc3/java/sql/Types.java
D java/stubs/jdbc3/java/sql/DatabaseMetaData.java
D java/stubs/jdbc3/java/sql/SQLPermission.java
D java/stubs/jdbc3/java/sql/Savepoint.java
D java/stubs/jdbc3/java/sql/Ref.java
D java/stubs/jdbc3/java/sql/DriverPropertyInfo.java
D java/stubs/jdbc3/java/sql/Date.java
D java/stubs/jdbc3/java/sql/Blob.java
D java/stubs/jdbc3/java/sql/Array.java
D java/stubs/jdbc3/java/sql/SQLException.java
D java/stubs/jdbc3/java/sql/SQLInput.java
D java/stubs/jdbc3/java/sql/Clob.java
D java/stubs/jdbc3/java/sql/DataTruncation.java
D java/stubs/jdbc3/java/sql/SQLOutput.java
D java/stubs/jdbc3/java/sql/ParameterMetaData.java
D java/stubs/jdbc3/java/sql/CallableStatement.java
D java/stubs/jdbc3/java/sql/Struct.java
D java/stubs/jdbc3/java/sql/SQLWarning.java
D java/stubs/jdbc3/java/sql/DriverManager.java
D java/stubs/jdbc3/java/sql/PreparedStatement.java
D java/stubs/jdbc3/java/sql/SQLData.java
D java/stubs/jdbc3/java/sql/ResultSet.java
D java/stubs/jdbc3/java/sql/Driver.java
D java/stubs/jdbc3/java/sql/ResultSetMetaData.java
D java/stubs/jdbc3/java/sql/Time.java
D java/stubs/jdbc3/javax
D java/stubs/jdbc3/javax/sql
D java/stubs/jdbc3/javax/sql/RowSetInternal.java
D java/stubs/jdbc3/javax/sql/RowSetWriter.java
D java/stubs/jdbc3/javax/sql/ConnectionEvent.java
D java/stubs/jdbc3/javax/sql/PooledConnection.java
D java/stubs/jdbc3/javax/sql/RowSet.java
D java/stubs/jdbc3/javax/sql/XADataSource.java
D java/stubs/jdbc3/javax/sql/ConnectionPoolDataSource.java
D java/stubs/jdbc3/javax/sql/RowSetMetaData.java
D java/stubs/jdbc3/javax/sql/RowSetEvent.java
D java/stubs/jdbc3/javax/sql/RowSetReader.java
D java/stubs/jdbc3/javax/sql/ConnectionEventListener.java
D java/stubs/jdbc3/javax/sql/XAConnection.java
D java/stubs/jdbc3/javax/sql/RowSetListener.java
D java/stubs/jdbc3/javax/sql/DataSource.java
D java/stubs/jsr169
D java/stubs/jsr169/java
D java/stubs/jsr169/java/sql
D java/stubs/jsr169/java/sql/Connection.java
D java/stubs/jsr169/java/sql/Timestamp.java
D java/stubs/jsr169/java/sql/BatchUpdateException.java
D java/stubs/jsr169/java/sql/Types.java
D java/stubs/jsr169/java/sql/Statement.java
D java/stubs/jsr169/java/sql/DatabaseMetaData.java
D java/stubs/jsr169/java/sql/Savepoint.java
D java/stubs/jsr169/java/sql/Date.java
D java/stubs/jsr169/java/sql/Blob.java
D java/stubs/jsr169/java/sql/SQLException.java
D java/stubs/jsr169/java/sql/Clob.java
D java/stubs/jsr169/java/sql/DataTruncation.java
D java/stubs/jsr169/java/sql/CallableStatement.java
D java/stubs/jsr169/java/sql/SQLWarning.java
D java/stubs/jsr169/java/sql/PreparedStatement.java
D java/stubs/jsr169/java/sql/ResultSet.java
D java/stubs/jsr169/java/sql/ResultSetMetaData.java
D java/stubs/jsr169/java/sql/Time.java
D java/stubs/jsr169/javax
D java/stubs/jsr169/javax/sql
D java/stubs/jsr169/javax/sql/RowSetInternal.java
D java/stubs/jsr169/javax/sql/RowSetWriter.java
D java/stubs/jsr169/javax/sql/RowSet.java
D java/stubs/jsr169/javax/sql/RowSetMetaData.java
D java/stubs/jsr169/javax/sql/RowSetEvent.java
D java/stubs/jsr169/javax/sql/RowSetReader.java
D java/stubs/jsr169/javax/sql/RowSetListener.java
D java/stubs/jsr169/javax/sql/DataSource.java
Remove the JDBC 3 and JSR 169 stubs.
------------------
M BUILDING.html
Adjust the top level build instructions to reflect the fact that we support
building on Java 8 now and we don't support building on Java 5.
> Deprecate support for Java 5 and CDC
> ------------------------------------
>
> Key: DERBY-6213
> URL: https://issues.apache.org/jira/browse/DERBY-6213
> Project: Derby
> Issue Type: Improvement
> Components: Build tools, Documentation, Javadoc
> Affects Versions: 10.11.0.0
> Reporter: Rick Hillegas
> Attachments: buildbreak2-datasource.diff, buildbreak.diff,
> client.diff, derby-6213-01-aa-collapsePublishedAPI.diff,
> derby-6213-02-aa-org.apache.derby.vti.diff, derby-6213-03-aa-misc.diff,
> derby-6213-03-ab-misc.diff, derby-6213-04-aa-vtiPackageOnJava7.diff,
> derby-6213-05-ab-misc2.diff, derby-6213-06-aa-convertProductToJava6.diff,
> derby-6213-06-ab-removeCDC.diff,
> derby-6213-07-aa-restOfProductExceptJDBC.diff, derby-6213-08-ab-jdbc.diff,
> derby-6213-09-ab-lint1.diff, derby-6213-10-aa-lint2-implServices.diff,
> derby-6213-11-aa-lint3-implStore.diff,
> derby-6213-12-aa-lint4-implSqlCatalog-implSqlDepend.diff,
> derby-6213-13-aa-lint4-implSqlConn.diff,
> derby-6213-14-aa-lint6-implSqlCompile-implSqlExecute.diff,
> derby-6213-15-aa-lint7.diff, derby-6213-16-aa-lint8.diff,
> derby-6213-17-aa-lint9.diff, derby-6213-17-ab-lint9.diff,
> derby-6213-18-aa-collapseEmbeddedDataSources.diff,
> derby-6213-20-aa-remove.java15.compile.classpath.diff, descriptor-lists.diff,
> revive-sqlxmlutil-target.diff, testcode.diff
>
>
> The developer community has approved the proposal to sunset support for Java
> 5 and CDC:
> http://apache-database.10148.n7.nabble.com/VOTE-Sunsetting-support-for-Java-5-and-CDC-td129832.html#a129925
> This issue tracks a number of tasks needed to implement this proposal:
> I) Remove build support for Java 5 and CDC.
> II) Purge user doc references to Java 5, CDC, and the JDBC 4 DataSources.
> III) Remove the JDBC 4 version of the public api from the published javadoc.
> The recently introduced CP2 DataSources would need to migrate to the JDBC 3
> version of the published javadoc. The JDBC 4 versions of the DataSources
> would still exist, but they would be vacuous extensions of their JDBC 3
> counterparts.
> IV) On the wiki, document our expectation that maintenance releases will
> support the same platforms as the original feature release cut from their
> branch.
> V) Decide what to do with the SimpleMobileApp. Probably we want to just
> remove this demo since its purpose is to show how to run Derby on the
> deprecated CDC platform.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira