[jira] [Created] (CHAIN-57) Chain 2.0 does not build on older JDKs

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)
Chain 2.0 does not build on older JDKs
--------------------------------------

                 Key: CHAIN-57
                 URL: https://issues.apache.org/jira/browse/CHAIN-57
             Project: Commons Chain
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
Ubuntu 10.10 x64


Versions Tested:

{noformat}
ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
Sun/Oracle 1.5.0_22 [FAILURE]
OpenJdk 1.6.0_20 [SUCCESS]
Sun/Oracle 1.6.0_11 [FAILURE]
Sun/Oracle 1.6.0_21 [FAILURE]
Sun/Oracle 1.6.0_27 [SUCCESS]
ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
{noformat}
            Reporter: Elijah Zupancic
            Priority: Minor


Older versions of the JDK irrespective of vendor fail to compile chain v2.

I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.

The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.

{noformat}
mvn clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Commons Chain
[INFO]    task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
[INFO] Repository 'internal' will be blacklisted
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /home/elijah/dev/version-2.0-work/target
[INFO] [antrun:run {execution: javadoc.resources}]
[INFO] Executing tasks

main:
     [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
[INFO] Executed tasks
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'iso-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
[INFO] Final Memory: 51M/300M
[INFO] ------------------------------------------------------------------------
{noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/CHAIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102599#comment-13102599 ]

Simone Tripodi commented on CHAIN-57:
-------------------------------------

just for the record: in my Mac OS X Lion dev env, once re-installed the JDK5

{code}
$ mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /Applications/apache-maven-3.0.3
Java version: 1.5.0_30, vendor: Apple Inc.
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.1", arch: "i386", family: "unix"
{code}

The error is reproduced as well:

{code}
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/simonetripodi/Documents/workspace/commons-chain/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
{code}

> Chain 2.0 does not build on older JDKs
> --------------------------------------
>
>                 Key: CHAIN-57
>                 URL: https://issues.apache.org/jira/browse/CHAIN-57
>             Project: Commons Chain
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
> Ubuntu 10.10 x64
> Versions Tested:
> {noformat}
> ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
> Sun/Oracle 1.5.0_22 [FAILURE]
> OpenJdk 1.6.0_20 [SUCCESS]
> Sun/Oracle 1.6.0_11 [FAILURE]
> Sun/Oracle 1.6.0_21 [FAILURE]
> Sun/Oracle 1.6.0_27 [SUCCESS]
> ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
> ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
> {noformat}
>            Reporter: Elijah Zupancic
>            Priority: Minor
>
> Older versions of the JDK irrespective of vendor fail to compile chain v2.
> I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.
> The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.
> {noformat}
> mvn clean package
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons Chain
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
> [INFO] Repository 'internal' will be blacklisted
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/elijah/dev/version-2.0-work/target
> [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] Executing tasks
> main:
>      [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
> [INFO] Final Memory: 51M/300M
> [INFO] ------------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/CHAIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102675#comment-13102675 ]

Elijah Zupancic commented on CHAIN-57:
--------------------------------------

What versions of the compiler work on OS X?

> Chain 2.0 does not build on older JDKs
> --------------------------------------
>
>                 Key: CHAIN-57
>                 URL: https://issues.apache.org/jira/browse/CHAIN-57
>             Project: Commons Chain
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
> Ubuntu 10.10 x64
> Versions Tested:
> {noformat}
> ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
> Sun/Oracle 1.5.0_22 [FAILURE]
> OpenJdk 1.6.0_20 [SUCCESS]
> Sun/Oracle 1.6.0_11 [FAILURE]
> Sun/Oracle 1.6.0_21 [FAILURE]
> Sun/Oracle 1.6.0_27 [SUCCESS]
> ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
> ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
> {noformat}
>            Reporter: Elijah Zupancic
>            Priority: Minor
>
> Older versions of the JDK irrespective of vendor fail to compile chain v2.
> I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.
> The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.
> {noformat}
> mvn clean package
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons Chain
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
> [INFO] Repository 'internal' will be blacklisted
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/elijah/dev/version-2.0-work/target
> [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] Executing tasks
> main:
>      [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
> [INFO] Final Memory: 51M/300M
> [INFO] ------------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/CHAIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102677#comment-13102677 ]

Simone Tripodi commented on CHAIN-57:
-------------------------------------

I just [committed|https://svn.apache.org/viewvc/commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java?r1=1169757&r2=1169756&pathrev=1169757} a workaround that should fix the {{javac}} error, can you please verify if it works on your different evironments?
TIA!!!

> Chain 2.0 does not build on older JDKs
> --------------------------------------
>
>                 Key: CHAIN-57
>                 URL: https://issues.apache.org/jira/browse/CHAIN-57
>             Project: Commons Chain
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
> Ubuntu 10.10 x64
> Versions Tested:
> {noformat}
> ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
> Sun/Oracle 1.5.0_22 [FAILURE]
> OpenJdk 1.6.0_20 [SUCCESS]
> Sun/Oracle 1.6.0_11 [FAILURE]
> Sun/Oracle 1.6.0_21 [FAILURE]
> Sun/Oracle 1.6.0_27 [SUCCESS]
> ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
> ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
> {noformat}
>            Reporter: Elijah Zupancic
>            Priority: Minor
>
> Older versions of the JDK irrespective of vendor fail to compile chain v2.
> I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.
> The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.
> {noformat}
> mvn clean package
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons Chain
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
> [INFO] Repository 'internal' will be blacklisted
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/elijah/dev/version-2.0-work/target
> [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] Executing tasks
> main:
>      [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
> [INFO] Final Memory: 51M/300M
> [INFO] ------------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/CHAIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102691#comment-13102691 ]

Sebb commented on CHAIN-57:
---------------------------

I just committed an alternate fix that works for me on Sun Java 1.5, but does not require an unchecked cast

> Chain 2.0 does not build on older JDKs
> --------------------------------------
>
>                 Key: CHAIN-57
>                 URL: https://issues.apache.org/jira/browse/CHAIN-57
>             Project: Commons Chain
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
> Ubuntu 10.10 x64
> Versions Tested:
> {noformat}
> ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
> Sun/Oracle 1.5.0_22 [FAILURE]
> OpenJdk 1.6.0_20 [SUCCESS]
> Sun/Oracle 1.6.0_11 [FAILURE]
> Sun/Oracle 1.6.0_21 [FAILURE]
> Sun/Oracle 1.6.0_27 [SUCCESS]
> ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
> ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
> {noformat}
>            Reporter: Elijah Zupancic
>            Priority: Minor
>
> Older versions of the JDK irrespective of vendor fail to compile chain v2.
> I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.
> The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.
> {noformat}
> mvn clean package
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons Chain
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
> [INFO] Repository 'internal' will be blacklisted
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/elijah/dev/version-2.0-work/target
> [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] Executing tasks
> main:
>      [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
> [INFO] Final Memory: 51M/300M
> [INFO] ------------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/CHAIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102940#comment-13102940 ]

Simone Tripodi commented on CHAIN-57:
-------------------------------------

Seb's fix works as well on my Apple's JDK5, I don't change the issue status anyway to _resolved_  until Elijah doesn't confirm that tests pass on his compilers zoo

> Chain 2.0 does not build on older JDKs
> --------------------------------------
>
>                 Key: CHAIN-57
>                 URL: https://issues.apache.org/jira/browse/CHAIN-57
>             Project: Commons Chain
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
> Ubuntu 10.10 x64
> Versions Tested:
> {noformat}
> ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
> Sun/Oracle 1.5.0_22 [FAILURE]
> OpenJdk 1.6.0_20 [SUCCESS]
> Sun/Oracle 1.6.0_11 [FAILURE]
> Sun/Oracle 1.6.0_21 [FAILURE]
> Sun/Oracle 1.6.0_27 [SUCCESS]
> ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
> ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
> {noformat}
>            Reporter: Elijah Zupancic
>            Priority: Minor
>
> Older versions of the JDK irrespective of vendor fail to compile chain v2.
> I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.
> The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.
> {noformat}
> mvn clean package
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons Chain
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
> [INFO] Repository 'internal' will be blacklisted
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/elijah/dev/version-2.0-work/target
> [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] Executing tasks
> main:
>      [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
> [INFO] Final Memory: 51M/300M
> [INFO] ------------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/CHAIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103129#comment-13103129 ]

Elijah Zupancic commented on CHAIN-57:
--------------------------------------

I've just verified that chain now builds in all of the environments that I tested with previously. The patch works! @Simo, do you want to close this issue?

> Chain 2.0 does not build on older JDKs
> --------------------------------------
>
>                 Key: CHAIN-57
>                 URL: https://issues.apache.org/jira/browse/CHAIN-57
>             Project: Commons Chain
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
> Ubuntu 10.10 x64
> Versions Tested:
> {noformat}
> ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
> Sun/Oracle 1.5.0_22 [FAILURE]
> OpenJdk 1.6.0_20 [SUCCESS]
> Sun/Oracle 1.6.0_11 [FAILURE]
> Sun/Oracle 1.6.0_21 [FAILURE]
> Sun/Oracle 1.6.0_27 [SUCCESS]
> ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
> ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
> {noformat}
>            Reporter: Elijah Zupancic
>            Priority: Minor
>
> Older versions of the JDK irrespective of vendor fail to compile chain v2.
> I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.
> The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.
> {noformat}
> mvn clean package
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons Chain
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
> [INFO] Repository 'internal' will be blacklisted
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/elijah/dev/version-2.0-work/target
> [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] Executing tasks
> main:
>      [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
> [INFO] Final Memory: 51M/300M
> [INFO] ------------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CHAIN-57) Chain 2.0 does not build on older JDKs

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Simone Tripodi resolved CHAIN-57.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
         Assignee: Simone Tripodi

Issue marked as resolved after Elijah verification on compilers zoo

> Chain 2.0 does not build on older JDKs
> --------------------------------------
>
>                 Key: CHAIN-57
>                 URL: https://issues.apache.org/jira/browse/CHAIN-57
>             Project: Commons Chain
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
> Ubuntu 10.10 x64
> Versions Tested:
> {noformat}
> ibm-java2-x86_64-50 (1.5 j9vmxa6423ifx-20110624) [SUCCESS]
> Sun/Oracle 1.5.0_22 [FAILURE]
> OpenJdk 1.6.0_20 [SUCCESS]
> Sun/Oracle 1.6.0_11 [FAILURE]
> Sun/Oracle 1.6.0_21 [FAILURE]
> Sun/Oracle 1.6.0_27 [SUCCESS]
> ibm-java-x86_64-60 (1.6 jvmxa6460-20081105_25433) [FAILURE]
> ibm-java-x86_64-60 (1.6 jvmxa6460sr9-20110624_85526) [SUCCESS]
> {noformat}
>            Reporter: Elijah Zupancic
>            Assignee: Simone Tripodi
>            Priority: Minor
>             Fix For: 2.0
>
>
> Older versions of the JDK irrespective of vendor fail to compile chain v2.
> I recommend that we do not do any code changes, but rather inform the users in the documentation to compile with a newer JDK version.
> The following is the typical output of a failed build. This particular output is when I tried to build using the Sun/Oracle JDK 1.6.0_21.
> {noformat}
> mvn clean package
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons Chain
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for updates from internal
> [INFO] Repository 'internal' will be blacklisted
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/elijah/dev/version-2.0-work/target
> [INFO] [antrun:run {execution: javadoc.resources}]
> [INFO] Executing tasks
> main:
>      [copy] Copying 2 files to /home/elijah/dev/version-2.0-work/target/apidocs/META-INF
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 63 source files to /home/elijah/dev/version-2.0-work/target/classes
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for commons-chain:commons-chain:jar:2.0-SNAPSHOT : Did not find matching referal for !javax.portlet
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'iso-8859-1' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 37 source files to /home/elijah/dev/version-2.0-work/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/elijah/dev/version-2.0-work/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java:[141,42] type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Wed Sep 07 08:09:12 PDT 2011
> [INFO] Final Memory: 51M/300M
> [INFO] ------------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira