icedtea7 build fails with name clash in OnmsCriteria.java

Description

Please see attached log excerpt for build failure details.

Environment

java version "1.7.0_89-icedtea" OpenJDK Runtime Environment (IcedTea7 1.13) (Gentoo build 1.7.0_89-icedtea-b89) OpenJDK 64-Bit Server VM (build 18.0-b02, mixed mode)

Acceptance / Success Criteria

None

Attachments

2

Lucidchart Diagrams

Activity

Benjamin Reed June 24, 2013 at 1:51 PM

this got merged/fixed in 1.11.91 along with a bunch of other JDK 1.7 fixes

Ron Roskens September 21, 2012 at 11:11 PM

jdk7 patch:
1. update jdbc classes to define new JDBC 4.1 method getParentLogger() method
2. Fix jdk7 compile error in OnmsCriteria
(... have the same erasure, yet
neither overrides the other)
3. Add jdk7+ maven profile when running under jdk7+ that adds tools.jar
when maven-jaxb-schemagen-plugin is used.

Tested building OpenNMS using Oracle JDKs 1.6.0_35 and 1.7.0_07, and OpenJDK 1.7.0_06.
Tested running OpenNMS after building with OpenJDK 1.7.0_06 with Oracle JDK 1.6.0_35.

$ /usr/lib/jvm/java-1.7.0-openjdk.x86_64/bin/java -version
java version "1.7.0_06-icedtea"
OpenJDK Runtime Environment (fedora-2.3.1.fc17.2-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

$ /usr/java/jdk1.7.0_07/bin/java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

$ /usr/java/jdk1.6.0_35/bin/java -version
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)

Ron Roskens September 19, 2012 at 7:10 PM

JDK6 will be EOL'd in February 2013.

https://blogs.oracle.com/henrik/entry/java_6_eol_h_h

Benjamin Reed March 15, 2012 at 9:56 AM

Good question, I doubt anyone's tried. I've got to do some package updates in VMs anyways, so I'll try to take a look at the same time.

David Hustace March 15, 2012 at 8:59 AM

Is this bug still an issue with the recent rewrite of the OnmsCriteria class?

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created January 16, 2011 at 6:58 PM
Updated January 27, 2017 at 4:21 PM
Resolved June 24, 2013 at 1:51 PM