river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter <j...@zeus.net.au>
Subject Re: Build failed in Jenkins: River-trunk-jdk7 #17
Date Mon, 20 Feb 2012 10:50:35 GMT
The issue is caused by new abstract methods in java 7 not implemented by the class in question.


Source=6 and target=6 should still compile the class.

This compiles fine with jdk 1.6 javac.

That's why I think it's a jdk7 compiler bug, unless there's some issue with compiler args.

If it's a java7 bug, I could work around it by implementing the java7 methods, then use reflection
to check (at runtime) if the java 7 methods are present on the encapsulated class.

Cheers,

Peter.

----- Original message -----
> See <https://builds.apache.org/job/River-trunk-jdk7/17/changes>
>
> Changes:
>
> [sijskes] removed source/target overrides in javac-cmd call
>
> ------------------------------------------
> [...truncated 597 lines...]
> all.clean:
>
> clean-result:
>
> clean-build:
>      [delete] Deleting directory
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/build
>
> clean-lib:
>      [delete] Deleting directory
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/lib      [delete] Deleting
> directory /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/lib-ext
>
> clean-trust:
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/fiddler.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/fiddler.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/fiddler.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/group.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/group.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/group.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/mahalo.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/mahalo.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/mahalo.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/mercury.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/mercury.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/mercury.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/norm.cert
>    [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/norm.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/norm.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/outrigger.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/outrigger.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/outrigger.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/phoenix.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/phoenix.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/phoenix.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/reggie.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/reggie.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/reggie.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/tester.cert
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/tester.keystore
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/tester.password
>      [delete] Deleting
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/harness/trust/truststore
>
> clean-doc:
>      [delete] Deleting directory
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/qa/doc/api
>
> clean:
>
> clean:
>      [delete] Deleting directory
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/examples/hello/build   
> [delete] Deleting directory
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/examples/hello/lib   
> [delete] Deleting directory
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/examples/hello/doc   
> [delete] Deleting directory
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/examples/hello/prebuiltkeys
>
> duplicate-text-files:
>
> release-src:
>        [mkdir] Created dir:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/dist            [zip] Building
> zip:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/dist/apache-river-trunk-src.zip
>            [tar] Building tar:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/dist/apache-river-trunk-src.tar.gz
>
> deps:
>
> prep:
>        [mkdir] Created dir:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/build        [mkdir] Created
> dir: /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/build/classes     
> [mkdir] Created dir:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/build/deps        [mkdir]
> Created dir: /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry   
>  [mkdir] Created dir:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/lib-dl        [mkdir] Created
> dir: /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/lib-ext
>
> LeaseRenewalManager.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> LookupDiscovery.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> LookupLocatorDiscovery.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> dis-common-entries:
>
> browser.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/browser
>
> destroy.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> fiddler-persistent.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/fiddler-persistent
>
> fiddler-transient.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/fiddler-transient
>
> JoinManager.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> svc-common-entries:
>
> fiddler-activatable.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/fiddler-activatable
>
> mahalo-activatable.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/mahalo-activatable
>
> mahalo-persistent.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/mahalo-persistent
>
> mahalo-transient.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/mahalo-transient
>
> mercury-activatable.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/mercury-activatable
>
> mercury-persistent.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/mercury-persistent
>
> mercury-transient.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/mercury-transient
>
> norm-activatable.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/norm-activatable
>
> norm-persistent.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/norm-persistent
>
> norm-transient.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/norm-transient
>
> outrigger-activatable.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/outrigger-activatable
>
> outrigger-persistent.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/outrigger-persistent
>
> outrigger-transient.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/outrigger-transient
>
> phoenix.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> phoenix-group.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> phoenix-stop.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> reggie-activatable.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/reggie-activatable
>
> reggie-persistent.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/reggie-persistent
>
> reggie-transient.configentry:
>          [echo] Creating
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry/reggie-transient
>
> ServiceDiscoveryManager.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> sharedgroup.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> start.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> WakeupManager.configentry:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/configentry
>
> configentry:
>
> start.copy-resources:
>          [copy] Copying 1 file to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/build/classes/com/sun/jini/start/resources
>
> tools.copy-resources:
>          [copy] Copying 8 files to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/build/classes/com/sun/jini/tool/resources
>
> copy-resources:
>
> copy-extlibs:
>          [copy] Copying 3 files to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/lib
>
> compile:
>        [javac] Compiling 923 source files to
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/build/classes        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:31:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac] import sun.rmi.server.UnicastServerRef;       
[javac] 
>                                      ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:32:
> warning: LiveRef is internal proprietary API and may be removed in a future
> release        [javac] import sun.rmi.transport.LiveRef;        [javac]   
                       
>                  ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:28:
> warning: MarshalInputStream is internal proprietary API and may be removed in a
> future release        [javac] import sun.rmi.server.MarshalInputStream;       
[javac]
>                                          ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:29:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac] import sun.rmi.server.UnicastServerRef;       
[javac] 
>                                      ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:30:
> warning: LiveRef is internal proprietary API and may be removed in a future
> release        [javac] import sun.rmi.transport.LiveRef;        [javac]   
                       
>                  ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:69:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac]        static class BootstrapServerRef extends
> UnicastServerRef {        [javac]                               
                                                        ^   
 
> [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:63:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac]           exportMethod =
> UnicastServerRef.class.getMethod("exportObject",        [javac]            
                         
> ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:93:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac]     UnicastServerRef uref = getServerRef(new LiveRef(new
> ObjID(id), port));        [javac]     ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:93:
> warning: LiveRef is internal proprietary API and may be removed in a future
> release        [javac]     UnicastServerRef uref = getServerRef(new LiveRef(new
> ObjID(id), port));        [javac]                                
                                                    ^     
> [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:115:
> warning: LiveRef is internal proprietary API and may be removed in a future
> release        [javac]        UnicastServerRef getServerRef(LiveRef lref) { 
   
> [javac]                                                   
                ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:115:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac]        UnicastServerRef getServerRef(LiveRef lref)
{     
> [javac]        ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/SunJrmpExporter.java:116:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac]     return new UnicastServerRef(lref);       
[javac]          
>            ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:61:
> warning: LiveRef is internal proprietary API and may be removed in a future
> release        [javac]        UnicastServerRef getServerRef(LiveRef lref) { 
   
> [javac]                                                   
                ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:61:
> warning: UnicastServerRef is internal proprietary API and may be removed in a
> future release        [javac]        UnicastServerRef getServerRef(LiveRef lref)
{     
> [javac]        ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:76:
> warning: MarshalInputStream is internal proprietary API and may be removed in a
> future release        [javac]               MarshalInputStream.class.getDeclaredMethod( 
   
> [javac]               ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/com/sun/jini/phoenix/RegistrySunExporter.java:87:
> warning: LiveRef is internal proprietary API and may be removed in a future
> release        [javac]     public BootstrapServerRef(LiveRef lref) {       
[javac]          
>                                          ^        [javac]
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/src/org/apache/river/api/delegates/DelegateSocketChannel.java:39:
> error: DelegateSocketChannel is not abstract and does not override abstract
> method getRemoteAddress() in SocketChannel        [javac] class
> DelegateSocketChannel extends SocketChannel {        [javac] ^        [javac]
Note:
> Some input files use or override a deprecated API.        [javac] Note: Recompile
> with -Xlint:deprecation for details.        [javac] Note: Some input files use
> unchecked or unsafe operations.        [javac] Note: Recompile with
> -Xlint:unchecked for details.        [javac] 1 error        [javac] 16 warnings
>
> BUILD FAILED
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/hudson.xml:27: The
> following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/build.xml:517: The
> following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/River-trunk-jdk7/common.xml:216: Compile
> failed; see the compiler error output for details.
>
> Total time: 33 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Publishing Javadoc
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message