You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/08 18:57:29 UTC
[jira] Created: (BEANUTILS-243) BeanUtils fails to compile under
1.6
BeanUtils fails to compile under 1.6
------------------------------------
Key: BEANUTILS-243
URL: http://issues.apache.org/jira/browse/BEANUTILS-243
Project: Commons BeanUtils
Type: Bug
Reporter: Henri Yandell
[javac] Compiling 86 source files to /home/hen/apache/jakarta/commons-proper/beanutils/target/test-classes
/home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSet.java:49: org.apache.commons.beanutils.TestResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader,long) in java.sql.ResultSet
public class TestResultSet implements ResultSet {
^
/home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java:34: org.apache.commons.beanutils.TestResultSetMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
public class TestResultSetMetaData implements ResultSetMetaData {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
BUILD FAILED
(Presumably a bunch of new methods have been added to that class in the JDBC in 1.6)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (BEANUTILS-243) BeanUtils fails to compile under
1.6
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/BEANUTILS-243?page=all ]
Henri Yandell updated BEANUTILS-243:
------------------------------------
Fix Version/s: 1.8.0
> BeanUtils fails to compile under 1.6
> ------------------------------------
>
> Key: BEANUTILS-243
> URL: http://issues.apache.org/jira/browse/BEANUTILS-243
> Project: Commons BeanUtils
> Issue Type: Bug
> Reporter: Henri Yandell
> Fix For: 1.8.0
>
>
> [javac] Compiling 86 source files to /home/hen/apache/jakarta/commons-proper/beanutils/target/test-classes
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSet.java:49: org.apache.commons.beanutils.TestResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader,long) in java.sql.ResultSet
> public class TestResultSet implements ResultSet {
> ^
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java:34: org.apache.commons.beanutils.TestResultSetMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
> public class TestResultSetMetaData implements ResultSetMetaData {
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 2 errors
> BUILD FAILED
> (Presumably a bunch of new methods have been added to that class in the JDBC in 1.6)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (BEANUTILS-243) BeanUtils fails to compile under
1.6
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/BEANUTILS-243?page=all ]
Henri Yandell updated BEANUTILS-243:
------------------------------------
Attachment: BEANUTILS-243.patch
Attaching my current state in implementing the methods.
> BeanUtils fails to compile under 1.6
> ------------------------------------
>
> Key: BEANUTILS-243
> URL: http://issues.apache.org/jira/browse/BEANUTILS-243
> Project: Commons BeanUtils
> Issue Type: Bug
> Reporter: Henri Yandell
> Fix For: 1.8.0
>
> Attachments: BEANUTILS-243.patch
>
>
> [javac] Compiling 86 source files to /home/hen/apache/jakarta/commons-proper/beanutils/target/test-classes
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSet.java:49: org.apache.commons.beanutils.TestResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader,long) in java.sql.ResultSet
> public class TestResultSet implements ResultSet {
> ^
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java:34: org.apache.commons.beanutils.TestResultSetMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
> public class TestResultSetMetaData implements ResultSetMetaData {
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 2 errors
> BUILD FAILED
> (Presumably a bunch of new methods have been added to that class in the JDBC in 1.6)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Resolved: (BEANUTILS-243) BeanUtils fails to compile under
1.6
Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BEANUTILS-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niall Pemberton resolved BEANUTILS-243.
---------------------------------------
Resolution: Fixed
Assignee: Niall Pemberton
I changed the two test implementations of ResultSet and ResultSetMetaData to now implement InvocationHandler - tests are now compiled and run by creating proxies of these interfaces, rather than trying to implement them. Tested on JDK 1.3.1_18, JDK 1.5.0_07 and JDK 1.6.0 and all tests compiled and ran successfully.
> BeanUtils fails to compile under 1.6
> ------------------------------------
>
> Key: BEANUTILS-243
> URL: https://issues.apache.org/jira/browse/BEANUTILS-243
> Project: Commons BeanUtils
> Issue Type: Bug
> Reporter: Henri Yandell
> Assigned To: Niall Pemberton
> Fix For: 1.8.0
>
> Attachments: BEANUTILS-243.patch
>
>
> [javac] Compiling 86 source files to /home/hen/apache/jakarta/commons-proper/beanutils/target/test-classes
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSet.java:49: org.apache.commons.beanutils.TestResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader,long) in java.sql.ResultSet
> public class TestResultSet implements ResultSet {
> ^
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java:34: org.apache.commons.beanutils.TestResultSetMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
> public class TestResultSetMetaData implements ResultSetMetaData {
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 2 errors
> BUILD FAILED
> (Presumably a bunch of new methods have been added to that class in the JDBC in 1.6)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (BEANUTILS-243) BeanUtils fails to compile under
1.6
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/BEANUTILS-243?page=comments#action_12448387 ]
Henri Yandell commented on BEANUTILS-243:
-----------------------------------------
Back to the old classic problem here.
We have a whole bunch of methods that need implementing, but new classes in java.sql.* mean that if we add the 1.6 ones in then we'll no longer compile on older classpaths.
> BeanUtils fails to compile under 1.6
> ------------------------------------
>
> Key: BEANUTILS-243
> URL: http://issues.apache.org/jira/browse/BEANUTILS-243
> Project: Commons BeanUtils
> Issue Type: Bug
> Reporter: Henri Yandell
> Fix For: 1.8.0
>
>
> [javac] Compiling 86 source files to /home/hen/apache/jakarta/commons-proper/beanutils/target/test-classes
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSet.java:49: org.apache.commons.beanutils.TestResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader,long) in java.sql.ResultSet
> public class TestResultSet implements ResultSet {
> ^
> /home/hen/apache/jakarta/commons-proper/beanutils/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java:34: org.apache.commons.beanutils.TestResultSetMetaData is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
> public class TestResultSetMetaData implements ResultSetMetaData {
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 2 errors
> BUILD FAILED
> (Presumably a bunch of new methods have been added to that class in the JDBC in 1.6)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org