You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (Issue Comment Edited JIRA)" <ji...@apache.org> on 2012/02/19 19:24:36 UTC
[jira] [Issue Comment Edited] (CAMEL-4955) Camel should run in a
Java 7 environment
[ https://issues.apache.org/jira/browse/CAMEL-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211452#comment-13211452 ]
Christian Müller edited comment on CAMEL-4955 at 2/19/12 6:24 PM:
------------------------------------------------------------------
Today I downloaded the latest JDK 7 preview for MacOS and give it a try:
{noformat}
christian-muellers-macbook-pro:camel cmueller$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /Applications/apache-maven-3.0.4
Java version: 1.7.0-u4-b10, vendor: Oracle Corporation
Java home: /System/Library/Java/JavaVirtualMachines/1.7.0u-dev.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.7.3", arch: "amd64", family: "mac"
{noformat}
and there are *only* two unit test in camel-core which failed. Much less than I expected:
{noformat}
Results :
Failed tests:
testResultType(org.apache.camel.builder.SimpleBuilderTest): expected:<9> but was:<null>
Tests in error:
testToDomSourceByStAXSource(org.apache.camel.converter.jaxp.XmlConverterTest): java.lang.NullPointerException
Tests run: 4083, Failures: 1, Errors: 1, Skipped: 0
{noformat}
was (Author: muellerc):
Today I downloaded the latest JDK 7 preview for MacOS and give it a try:
{noformat}
christian-muellers-macbook-pro:camel cmueller$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /Applications/apache-maven-3.0.4
Java version: 1.7.0-u4-b10, vendor: Oracle Corporation
Java home: /System/Library/Java/JavaVirtualMachines/1.7.0u-dev.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.7.3", arch: "amd64", family: "mac"
{noformat}
and there is *only* one unit test in camel-core which failed. Much less than I expected:
{noformat}
Results :
Failed tests:
testResultType(org.apache.camel.builder.SimpleBuilderTest): expected:<9> but was:<null>
Tests in error:
testToDomSourceByStAXSource(org.apache.camel.converter.jaxp.XmlConverterTest): java.lang.NullPointerException
Tests run: 4083, Failures: 1, Errors: 1, Skipped: 0
{noformat}
> Camel should run in a Java 7 environment
> ----------------------------------------
>
> Key: CAMEL-4955
> URL: https://issues.apache.org/jira/browse/CAMEL-4955
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 2.9.0
> Reporter: Christian Müller
> Priority: Critical
> Fix For: 2.10.0
>
>
> End of life for Java 6 is July 2012.
> If we release Camel 2.10.0 3 month after 2.9.0, it's round about March/April. The next Camel release after 2.10.0 (may be 3.0.0) will be not available before July 2012.
> Because of this, I think Camel 2.10.0 must be able to run in an Java 7 environment to give our users the possibility to migrate to Java 7 before it reaches EOL.
> http://www.oracle.com/technetwork/java/eol-135779.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira