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] [Commented] (DERBY-6213) Deprecate support for Java 5 and CDC
Date Mon, 13 May 2013 14:09:17 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655986#comment-13655986
] 

Rick Hillegas commented on DERBY-6213:
--------------------------------------

After making those changes, other warnings and errors surfaced in the build. I have cleaned
those up in my next patch. At this point I have a patch whose build only produces lint warnings
again on Java 8. I see deprecation warnings when I build on Java 6 and Java 7 but I'm not
going to tackle them now. I'm going to stop pulling on the ball of yarn for a while. I'm going
to move on to tests.

Could you do me a favor and not checkin more changes until I get my current patch in? We may
have to leap-frog one another for a while, to give each other the opportunity to merge with
one another's changes. Thanks.

These are the additional warnings and errors I cleaned up:

    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/SysinfoAPITest.java:64:
error: unreported exception SQLException; must be caught or declared to be thrown
    [javac]         int dmMajor = dm.getDriverMajorVersion();
    [javac]                                               ^
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/tools/SysinfoAPITest.java:79:
error: unreported exception SQLException; must be caught or declared to be thrown
    [javac]         int dmMinor = dm.getDriverMinorVersion();

    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java:185:
warning: [unchecked] unchecked conversion
    [javac]             AccessController.doPrivileged(new PrivilegedExceptionAction() {
    [javac]                                           ^
    [javac]   required: PrivilegedExceptionAction<T>
    [javac]   found:    <anonymous PrivilegedExceptionAction>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method <T>doPrivileged(PrivilegedExceptionAction<T>)
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java:185:
warning: [unchecked] unchecked method invocation: method doPrivileged in class AccessController
is applied to given types
    [javac]             AccessController.doPrivileged(new PrivilegedExceptionAction() {
    [javac]                                          ^
    [javac]   required: PrivilegedExceptionAction<T>
    [javac]   found:     [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java:185:
warning: [unchecked] unchecked conversion
    [javac]             AccessController.doPrivileged(new PrivilegedExceptionAction() {
    [javac]                                           ^
    [javac]   required: PrivilegedExceptionAction<T>
    [javac]   found:    <anonymous PrivilegedExceptionAction>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method <T>doPrivileged(PrivilegedExceptionAction<T>)
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java:185:
warning: [unchecked] unchecked method invocation: method doPrivileged in class AccessController
is applied to given types
    [javac]             AccessController.doPrivileged(new PrivilegedExceptionAction() {
    [javac]                                          ^
    [javac]   required: PrivilegedExceptionAction<T>
    [javac]   found: <anonymous PrivilegedExceptionAction>
    [javac]   where T is a type-variable:
<anonymous PrivilegedExceptionAction>
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method <T>doPrivileged(PrivilegedExceptionAction<T>)
    [javac] 2 warnings

    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memorydb/MemoryDbManager.java:94:
warning: [unchecked] unchecked call to add(E) as a member of the raw type ArrayList
    [javac]             CONNECTIONS.add(con);
    [javac]                            ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class ArrayList
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memorydb/MemoryDbManager.java:111:
warning: [unchecked] unchecked call to add(E) as a member of the raw type ArrayList
    [javac]         STATEMENTS.add(stmt);
    [javac]                       ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class ArrayList
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memorydb/MemoryDbManager.java:113:
warning: [unchecked] unchecked call to add(E) as a member of the raw type ArrayList
    [javac]             CONNECTIONS.add(con);
    [javac]                            ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class ArrayList
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memorydb/MemoryDbManager.java:131:
warning: [unchecked] unchecked call to add(E) as a member of the raw type ArrayList
    [javac]         STATEMENTS.add(pStmt);
    [javac]                       ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class ArrayList
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memorydb/MemoryDbManager.java:133:
warning: [unchecked] unchecked call to add(E) as a member of the raw type ArrayList
    [javac]             CONNECTIONS.add(con);
    [javac]                            ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class ArrayList
    [javac] /Users/rh161140/derby/mainline/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memorydb/MemoryDbManager.java:231:
warning: [unchecked] unchecked call to add(E) as a member of the raw type ArrayList
    [javac]         DATABASES.add(dbName + userAttr);
    [javac]                      ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class ArrayList
    [javac] 6 warnings



                
> 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, derby-6213-06-ab-removeCDC.diff,
derby-6213-07-aa-restOfProductExceptJDBC.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

Mime
View raw message