dev@glassfish.java.net

Why does build fail with _at_Override? (trunk)

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 23 Oct 2008 13:10:04 -0700

All compiles fine on my machine (Mac OS X, JDK 1.6), QL passes, etc.

But Hudson fails. I'm mystified why Hudson won't compile it.

I have to head out for a doctor appt, so I apologize for the breakage.

If this is a problem, the @Override annotations can be removed.

Lloyd

..............................................
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish team, LSARC member



Begin forwarded message:

> From: Hudson <Kohsuke.Kawaguchi_at_Sun.COM>
> Date: October 23, 2008 1:00:29 PM PDT
> To: sjsas-ws-tech_at_sun.com, llc_at_dev.java.net
> Subject: Build failed in Hudson: glassfish-v3-devbuild #3765
>
> See http://hudson.sfbay/job/glassfish-v3-devbuild/3765/changes
>
> Changes:
>
> [Lloyd Chambers] added PropertiesDesc annotation to all interfaces
> that implement PropertyBag
> added ToDo annotation to all such interfaces with as-yet
> undocumented properties
> added all documented properties per the Admin reference guide
> added SystemPropertyBag
> documented the system properties that I could find
>
> ------------------------------------------
> [...truncated 29244 lines...]
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/SecurityService.java
> :323: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JaccProvider.java
> :123: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AuditModule.java
> :105: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProviderConfig.java
> :177: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/FilterConfig.java
> :89: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AdminObjectResource.java
> :173: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/MonitoringService.java
> :87: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ModuleMonitoringLevels.java
> :258: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Transports.java
> :78: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/SelectionKeyHandler.java
> :111: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AlertService.java
> :94: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ListenerConfig.java
> :106: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/PortUnification.java
> :109: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProtocolFinder.java
> :119: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Protocol.java
> :256: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProtocolChainInstanceHandler.java
> :112: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProtocolChain.java
> :127: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ModuleLogLevels.java
> :599: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LifecycleModule.java
> :210: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/J2eeApplication.java
> :251: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/HttpListener.java
> :400: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/VirtualServer.java
> :365: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/MailResource.java
> :277: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ThreadPool.java
> :203: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ExtensionModule.java
> :227: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ConnectorConnectionPool.java
> :477: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/PersistenceManagerFactoryResource.java
> :175: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Engine.java
> :108: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ResourceAdapterConfig.java
> :139: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Config.java
> :462: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Config.java
> :471: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AdminService.java
> :130: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbContainer.java
> :278: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/MdbContainer.java
> :149: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmsService.java
> :302: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/TransactionService.java
> :206: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/DiagnosticService.java
> :208: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JavaConfig.java
> :316: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AvailabilityService.java
> :278: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/GroupManagementService.java
> :175: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmxConnector.java
> :226: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbTimerService.java
> :139: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmsHost.java
> :156: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Profiler.java
> :143: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/WebContainerAvailability.java
> :189: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbContainerAvailability.java
> :174: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmsAvailability.java
> :105: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Event.java
> :141: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/CustomResource.java
> :175: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/NetworkListener.java
> :169: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JdbcResource.java
> :157: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java
> :187: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java
> :256: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Application.java
> :324: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AppclientModule.java
> :159: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Mbean.java
> :176: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/WebModule.java
> :248: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/NetworkConfig.java
> :126: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Protocols.java
> :68: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/NodeAgent.java
> :176: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Domain.java
> :334: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Domain.java
> :343: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JdbcConnectionPool.java
> :588: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ExternalJndiResource.java
> :193: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ConnectorResource.java
> :159: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbModule.java
> :234: method does not override a method from its superclass
> @Override
> ^
> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ConnectorModule.java
> :174: method does not override a method from its superclass
> @Override
> ^
> Note: http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Application.java
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 79 errors
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
> Embedded error: APT failed: 1
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error
> compiling
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> 583)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
> 478)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
> 315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
> 430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal
> error compiling
> at
> org
> .apache
> .maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:
> 526)
> at
> com
> .sun.enterprise.module.maven.CompilerMojo.execute(CompilerMojo.java:
> 149)
> at
> com
> .sun
> .enterprise.module.maven.HK2CompileMojo.execute(HK2CompileMojo.java:
> 137)
> at
> org
> .apache
> .maven
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> 451)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> 558)
> ... 16 more
> Caused by: org.codehaus.plexus.compiler.CompilerException: APT
> failed: 1
> at com.sun.enterprise.module.maven.HK2CompileMojo
> $1.compileInProcess(HK2CompileMojo.java:130)
> at
> com.sun.enterprise.module.maven.AptCompiler.compile(AptCompiler.java:
> 103)
> at
> org
> .apache
> .maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:
> 521)
> ... 20 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 15 seconds
> [INFO] Finished at: Thu Oct 23 13:00:20 PDT 2008
> [INFO] Final Memory: 48M/116M
> [INFO]
> ------------------------------------------------------------------------
> Recording fingerprints
> Recording test results
>