Red Hat Bugzilla – Bug 536329
Support compiling RHQ with JDK1.6
Last modified: 2015-02-01 18:25:49 EST
"yes, i downed-graded back to 3.3 and i still see them too. it only happens when i have java6 as my execution environment. if i revert to java5, the compile errors go away. so it appears that some of the interfaces in the java.sql package weren't backwards compatible, because of new method additions in them.
Jeff Weiss wrote:
> Joseph Marques wrote:
>> ok eclipse people, so the classpath file for the rhq project references
>> a java6 runtime, but if i leave that be then i get 35 or so compile
>> errors in the dbutils project. files like LoggerConnection,
>> LoggerStatement, and LoggerPreparedStatement. if i switch the classpath
>> to reference java5, these errors go away. has any other eclipse users
>> seen this yet?
>> also, regardless of java5/6, i'm getting a compile error in a few of the
>> modules that reference XmlConstants.W3C_XML_SCHEMA_NS_URI. i've ignored
>> them for now because things are building fine from the command line, but
>> i can't figure out why things complain inside eclipse.
> I saw the issue where there were compile errors in dbutils earlier this
> week. I am running eclipse 3.3.
> Jeff "
Since this doesn't need to be QA'd, let's move this to the issue type "Task" (which is one of the types that skips the QA part of the workflow - the others are code-change and subtask).
Jason's working on this
I actually tested this, checked out RHQ rev1260, and built it with jdk 1.6. No errors. I didn't do any regression testing against what I built though.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-691
This bug is related to RHQ-3