[jboss-dev] testsuite cluster related compile problems

Scott Stark sstark at redhat.com
Tue Nov 4 14:17:48 EST 2008


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




More information about the jboss-development mailing list