dev@glassfish.java.net

Build error?

From: Nandini Ektare <Nandini.Ektare_at_Sun.COM>
Date: Mon, 26 Oct 2009 12:26:34 -0700

Hudson seems to indicate everything is fine.

But locally I get this compilation error on latest v3 trunk.

Anyone else see this?

Thanks
Nandini


[INFO] [hk2:hk2-compile {execution: default-hk2-compile}]
[INFO] Compiling 167 source files to
/Users/glassfish/ws/v3/core/kernel/target/classes
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:42:
package com.sun.grizzly.util.AbstractThreadPool does not exist
import com.sun.grizzly.util.AbstractThreadPool.Worker;
                                              ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:42:
package com.sun.grizzly.util.AbstractThreadPool does not exist
import com.sun.grizzly.util.AbstractThreadPool.Worker;
                                              ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableEmbeddedHttp.java:70:
newThreadPool(java.lang.String,int,int,int,long,java.util.concurrent.TimeUnit)
in com.sun.enterprise.v3.services.impl.monitor.MonitorableEmbeddedHttp
cannot override
newThreadPool(java.lang.String,int,int,int,long,java.util.concurrent.TimeUnit)
in com.sun.grizzly.config.GrizzlyEmbeddedHttp; attempting to use
incompatible return type
found : com.sun.grizzly.util.ExtendedThreadPool
required: com.sun.grizzly.util.DefaultThreadPool
    protected ExtendedThreadPool newThreadPool(String name, int minThreads,
                                 ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableEmbeddedHttp.java:69:
method does not override or implement a method from a supertype
    @Override
    ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:138:
cannot find symbol
symbol : method
onWorkerStarted(com.sun.grizzly.util.DefaultThreadPool.Worker)
location: class com.sun.grizzly.http.StatsThreadPool
        super.onWorkerStarted(worker);
             ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:136:
method does not override or implement a method from a supertype
    @Override
    ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:143:
method does not override or implement a method from a supertype
    @Override
    ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:154:
cannot find symbol
symbol : method onMaxNumberOfThreadsReached()
location: class com.sun.grizzly.http.StatsThreadPool
        super.onMaxNumberOfThreadsReached();
             ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:150:
method does not override or implement a method from a supertype
    @Override
    ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableThreadPool.java:184:
cannot find symbol
symbol : method nextThreadId()
location: class
com.sun.enterprise.v3.services.impl.monitor.MonitorableThreadPool.ProbeWorkerThreadFactory
                    "-(" + nextThreadId() + ")",
                           ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableEmbeddedHttps.java:69:
newThreadPool(java.lang.String,int,int,int,long,java.util.concurrent.TimeUnit)
in com.sun.enterprise.v3.services.impl.monitor.MonitorableEmbeddedHttps
cannot override
newThreadPool(java.lang.String,int,int,int,long,java.util.concurrent.TimeUnit)
in com.sun.grizzly.config.GrizzlyEmbeddedHttp; attempting to use
incompatible return type
found : com.sun.grizzly.util.ExtendedThreadPool
required: com.sun.grizzly.util.DefaultThreadPool
    protected ExtendedThreadPool newThreadPool(String name, int minThreads,
                                 ^
/Users/glassfish/ws/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/MonitorableEmbeddedHttps.java:68:
method does not override or implement a method from a supertype
    @Override
    ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
11 errors
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Fatal error compiling