Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 032D3F382 for ; Mon, 13 May 2013 14:36:02 +0000 (UTC) Received: (qmail 73034 invoked by uid 500); 13 May 2013 14:09:22 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 72831 invoked by uid 500); 13 May 2013 14:09:19 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 72764 invoked by uid 99); 13 May 2013 14:09:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 14:09:17 +0000 Date: Mon, 13 May 2013 14:09:17 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6213) Deprecate support for Java 5 and CDC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 [javac] found: [javac] where T is a type-variable: [javac] T extends Object declared in method doPrivileged(PrivilegedExceptionAction) [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 [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 [javac] found: [javac] where T is a type-variable: [javac] T extends Object declared in method doPrivileged(PrivilegedExceptionAction) [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 [javac] found: [javac] where T is a type-variable: [javac] where T is a type-variable: [javac] T extends Object declared in method doPrivileged(PrivilegedExceptionAction) [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