db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6213) Deprecate support for Java 5 and CDC
Date Thu, 09 May 2013 19:47:15 GMT

     [ 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-06-aa-convertProductToJava6.diff

Attaching derby-6213-06-aa-convertProductToJava6.diff. This patch converts the product build
to Java 6. I will run tests.

We will need to decide what to do with SimpleMobileApp demo. It was supposed to show how to
run Derby on a CDC platform. I think that we should just remove the demo altogether, but I
will wait to see if anyone objects.

With this patch, the build now produces ten instances of the following warning. We will need
to clean these up in follow-on patches:

    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.


Touches the following files:

----------------------

M       java/engine/org/apache/derby/iapi/sql/build.xml
M       java/tools/org/apache/derby/impl/tools/build.xml
M       java/engine/org/apache/derby/iapi/jdbc/build.xml
M       java/engine/org/apache/derby/iapi/services/crypto/build.xml
M       java/engine/org/apache/derby/iapi/services/io/build.xml
M       java/engine/org/apache/derby/iapi/db/build.xml
M       java/engine/org/apache/derby/iapi/store/build.xml
M       java/engine/org/apache/derby/iapi/util/build.xml
M       java/engine/org/apache/derby/iapi/reference/build.xml
M       java/engine/org/apache/derby/iapi/build.xml
M       java/engine/org/apache/derby/osgi/build.xml
M       java/engine/org/apache/derby/impl/load/build.xml
M       java/engine/org/apache/derby/impl/sql/build.xml
M       java/engine/org/apache/derby/impl/jdbc/build.xml
M       java/engine/org/apache/derby/impl/services/build.xml
M       java/engine/org/apache/derby/impl/db/build.xml
M       java/engine/org/apache/derby/impl/io/build.xml
M       java/engine/org/apache/derby/impl/store/build.xml
M       java/engine/org/apache/derby/jdbc/build.xml
M       java/engine/org/apache/derby/mbeans/build.xml
M       java/engine/org/apache/derby/security/build.xml
M       java/drda/org/apache/derby/impl/drda/build.xml

1) Converts the build scripts to use Java 6, eliminating the separate targets for CDC and
Java 5 classes.

----------------------

D       java/engine/org/apache/derby/jdbc/Driver169.java
D       java/engine/org/apache/derby/jdbc/EmbeddedSimpleDataSource.java
M       java/tools/org/apache/derby/tools/SignatureChecker.java
M       java/demo/simplemobile/SimpleMobileApp.java
M       java/testing/org/apache/derbyTesting/functionTests/tests/store/BootLockMinion.java
M       java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/J2EEDataSourceTest.java
M       java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
M       java/testing/org/apache/derbyTesting/functionTests/tests/tools/RollBackWrappingWhenFailOnImportTest.java
M       tools/jar/extraDBMSclasses.properties
M       java/engine/org/apache/derby/modules.properties

2) Removes the CDC DataSource and Driver.

----------------------

M       java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement.java
M       java/engine/org/apache/derby/iapi/jdbc/BrokeredPreparedStatement.java
M       java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java
M       java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement30.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement30.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedResultSetMetaData.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedStatement.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedResultSet20.java
M       java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java
M       java/engine/org/apache/derby/jdbc/InternalDriver.java
M       java/engine/org/apache/derby/jdbc/Driver20.java
M       java/engine/org/apache/derby/jdbc/Driver30.java
M       java/engine/org/apache/derby/jdbc/EmbedPooledConnection.java
M       java/engine/org/apache/derby/jdbc/EmbeddedConnectionPoolDataSource.java
M       java/engine/org/apache/derby/jdbc/EmbedXAConnection.java
M       java/engine/org/apache/derby/diag/LockTable.java
M       java/engine/org/apache/derby/diag/ErrorMessages.java
M       java/engine/org/apache/derby/diag/SpaceTable.java
M       java/engine/org/apache/derby/diag/StatementCache.java
M       java/engine/org/apache/derby/diag/ContainedRoles.java
M       java/engine/org/apache/derby/diag/StatementDuration.java
M       java/engine/org/apache/derby/diag/TransactionTable.java
M       java/engine/org/apache/derby/diag/ErrorLogReader.java
M       java/engine/org/apache/derby/catalog/GetProcedureColumns.java

3) Makes a number of 1.4 and older JDBC implementations abstract. Over time, we can further
clean this up by collapsing the *20, *30, and *40 classes single implementations.

----------------------

M       java/stubs/jdbc4/javax/sql/ConnectionEvent.java

4) Corrects an error in one of the JDBC stubs.

----------------------

M       java/engine/org/apache/derby/iapi/error/ExceptionUtil.java
M       java/engine/org/apache/derby/iapi/util/DoubleProperties.java

5) Cleans up a couple generics issues.

----------------------

M       java/engine/org/apache/derby/impl/load/ImportBlob.java
M       java/engine/org/apache/derby/impl/load/ImportClob.java
M       java/engine/org/apache/derby/vti/VTIMetaDataTemplate.java
M       java/engine/org/apache/derby/jdbc/EmbeddedBaseDataSource.java
M       java/engine/org/apache/derby/jdbc/EmbeddedDriver.java
M       java/engine/org/apache/derby/jdbc/AutoloadedDriver.java

6) Adds some Java 6/7 methods to some classes in order to get them to build under Java 6/7.

----------------------

M       java/engine/org/apache/derby/impl/io/DirFile.java
M       java/engine/org/apache/derby/impl/io/JarDBFile.java

7) Fixes some code to not call deprecated methods.

                
> 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: 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
>
>
> 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

Mime
View raw message