db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4756) Silence deprecation warnings for JDBC 4 stubs
Date Sun, 25 Jul 2010 18:33:50 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-4756:
--------------------------------------

    Issue & fix info: [Patch Available]

> Silence deprecation warnings for JDBC 4 stubs
> ---------------------------------------------
>
>                 Key: DERBY-4756
>                 URL: https://issues.apache.org/jira/browse/DERBY-4756
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>            Reporter: Knut Anders Hatlen
>            Priority: Trivial
>         Attachments: depr.diff
>
>
> Many warnings are printed when the java.sql.Date and java.sql.Time JDBC 4 stubs are compiled,
because they override deprecated methods in java.util.Date. Example:
>     [javac] /code/derby/trunk1/java/stubs/jdbc4/java/sql/Date.java:25: warning: [deprecation]
getHours() in java.util.Date has been deprecated
>     [javac]     public  int 	getHours()  { return 0; }
>     [javac]                 	^
> We should silence these warnings to make it easier to distinguish signal from noise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message