[jboss-dev] testsuite cluster related compile problems

Brian Stansberry brian.stansberry at redhat.com
Tue Nov 4 15:36:38 EST 2008


Suggest you blow away your thirdparty/jboss/cache folder and rebuild.

JBC was upgraded to version 3.0.0.CR4 last night, commit r80452. The 
DelegatingMockCache class was modified as part of the same commit.

https://jira.jboss.org/jira/browse/JBAS-6079?page=com.atlassian.jira.plugin.ext.subversion%3Asubversion-commits-tabpanel

Scott Stark wrote:
> I'm seeing this both in eclipse and from the command line compile after 
> updating my jbossas trunk workspace. In the middle of a library change, 
> checkin?
> 
> compile-classes-only:
>    [javac] Compiling 13 source files to 
> /Users/svn/JBossHead/jboss-head/testsuite/output/classes
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/DelegatingMockCache.java:48: 
> org.jboss.test.cluster.testutil.DelegatingMockCache is not abstract and 
> does not override abstract method get(org.jboss.cache.Fqn<?>,K) in 
> org.jboss.cache.Cache
>    [javac] public class DelegatingMockCache<K, V> implements Cache<K, V>
>    [javac]        ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/DelegatingMockCache.java:61: 
> cannot find symbol
>    [javac] symbol  : method 
> addInterceptor(org.jboss.cache.interceptors.base.CommandInterceptor,java.lang.Class) 
> 
>    [javac] location: interface org.jboss.cache.Cache<K,V>
>    [javac]       delegate.addInterceptor(arg0, arg1);         
> [javac]               ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/DelegatingMockCache.java:66: 
> cannot find symbol
>    [javac] symbol  : method 
> addInterceptor(org.jboss.cache.interceptors.base.CommandInterceptor,int)
>    [javac] location: interface org.jboss.cache.Cache<K,V>
>    [javac]       delegate.addInterceptor(arg0, arg1);         
> [javac]               ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/DelegatingMockCache.java:71: 
> cannot find symbol
>    [javac] symbol  : method removeInterceptor(int)
>    [javac] location: interface org.jboss.cache.Cache<K,V>
>    [javac]       delegate.removeInterceptor(arg0);         
> [javac]               ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/DelegatingMockCache.java:76: 
> cannot find symbol
>    [javac] symbol  : method startBatch()
>    [javac] location: interface org.jboss.cache.Cache<K,V>
>    [javac]       delegate.startBatch();       [javac]               ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/DelegatingMockCache.java:81: 
> cannot find symbol
>    [javac] symbol  : method endBatch(boolean)
>    [javac] location: interface org.jboss.cache.Cache<K,V>
>    [javac]       delegate.endBatch(arg0);         [javac]               ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/SessionTestUtil.java:173: 
> cannot find symbol
>    [javac] symbol  : method setSerializationExecutorPoolSize(int)
>    [javac] location: class org.jboss.cache.config.Configuration
>    [javac]       config.setSerializationExecutorPoolSize(0);
>    [javac]             ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/compatibility/test/matrix/MatrixTestContainer.java:196: 
> warning: non-varargs call of varargs method with inexact argument type 
> for last parameter;
>    [javac] cast to java.lang.Class for a varargs call
>    [javac] cast to java.lang.Class[] for a non-varargs call and to 
> suppress this warning
>    [javac]             method = clazz.getMethod("suite", null);
>    [javac]                                               ^
>    [javac] 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/compatibility/test/matrix/MatrixTestContainer.java:204: 
> warning: non-varargs call of varargs method with inexact argument type 
> for last parameter;
>    [javac] cast to java.lang.Object for a varargs call
>    [javac] cast to java.lang.Object[] for a non-varargs call and to 
> suppress this warning
>    [javac]             return (Test) method.invoke(null, null);
>    [javac]                                               ^
>    [javac] Note: 
> /Users/svn/JBossHead/jboss-head/testsuite/src/main/org/jboss/test/cluster/testutil/SessionTestUtil.java 
> uses or overrides 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] 7 errors
>    [javac] 2 warnings
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development


-- 
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry at redhat.com



More information about the jboss-development mailing list