commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath daily snapshot 20050103 FAILED


From: Michael Koch
Subject: [commit-cp] classpath daily snapshot 20050103 FAILED
Date: Mon, 3 Jan 2005 05:43:30 +0100 (CET)

*** Semantic Warning: This switch block can fall through to the next case. Did 
you forget a break statement?

Issued 1 semantic warning compiling "../../gnu/java/net/LineInputStream.java":

                      <-------
   167.               case -1:
   . . .
   172.                   }
        ------------------>
*** Semantic Warning: This switch block can fall through to the next case. Did 
you forget a break statement?

Issued 1 semantic warning compiling 
"../../gnu/java/net/protocol/ftp/FTPConnection.java":

              <---------------------------------------
   980.       case 426:                 // interrupted
   . . .
   985.           }
        ---------->
*** Semantic Warning: This switch block can fall through to the next case. Did 
you forget a break statement?

Found 3 semantic errors compiling 
"../../gnu/java/beans/decoder/DummyHandler.java":

    88.     public Class instantiateClass(String className)
                   ^--------------------^
*** Semantic Error: The method "java.lang.Class 
instantiateClass(java.lang.String className) throws 
java.lang.ClassNotFoundException;" must contain a return statement with an 
expression compatible with type "Class".


   137.     public Object getObject(String objectId)
                   ^--------------^
*** Semantic Error: The method "java.lang.Object getObject(java.lang.String 
objectId);" must contain a return statement with an expression compatible with 
type "Object".


   142.     public ElementHandler getParent()
                   ^----------------------^
*** Semantic Error: The method "gnu.java.beans.decoder.ElementHandler 
getParent();" must contain a return statement with an expression compatible 
with type "ElementHandler".

Found 4 semantic errors compiling 
"../../gnu/java/beans/decoder/DummyContext.java":

    69.     public Object endContext(Context outerContext) throws 
AssemblyException
                   ^---------------^
*** Semantic Error: The method "java.lang.Object 
endContext(gnu.java.beans.decoder.Context outerContext) throws 
gnu.java.beans.decoder.AssemblyException;" must contain a return statement with 
an expression compatible with type "Object".


    77.     public boolean subContextFailed()
                   ^----------------------^
*** Semantic Error: The method "boolean subContextFailed();" must contain a 
return statement with an expression compatible with type "boolean".


    93.     public Object get(int index) throws AssemblyException
                   ^--------^
*** Semantic Error: The method "java.lang.Object get(int index) throws 
gnu.java.beans.decoder.AssemblyException;" must contain a return statement with 
an expression compatible with type "Object".


   101.     public Object getResult()
                   ^--------------^
*** Semantic Error: The method "java.lang.Object getResult();" must contain a 
return statement with an expression compatible with type "Object".

Issued 1 semantic warning compiling 
"../../javax/swing/tree/DefaultTreeCellEditor.java":

    87.     public void EditorContainer()
                   ^------------------^
*** Semantic Warning: The name of this method "EditorContainer" matches the 
name of the containing class. However, the method is not a constructor since 
its declarator is qualified with a type.

Issued 1 semantic warning compiling 
"../../javax/imageio/stream/ImageInputStreamImpl.java":

                  <---------
   352.           case '\r':
   . . .
   356.                seek(oldPosition);
        -------------------------------->
*** Semantic Warning: This switch block can fall through to the next case. Did 
you forget a break statement?

Issued 2 semantic warnings compiling 
"../../gnu/xml/util/SAXNullTransformerFactory.java":

   638.               producer.setFeature(handler.FEATURE_URI + 
"namespace-prefixes",
                                                  ^---------^
*** Semantic Warning: Accessing the class field "FEATURE_URI" via an instance 
is discouraged because the field accessed will be the one in the variable's 
declared type, not the instance's dynamic type.


   649.           handler.bind (producer, handler);
                  ^----------^
*** Semantic Warning: Invoking the class method "bind" via an instance is 
discouraged because the method invoked will be the one in the variable's 
declared type, not the instance's dynamic type.

Issued 1 semantic warning compiling "../../gnu/xml/util/XCat.java":

                        <--------
   635.                 case '%':
   . . .
   637.                     hasbug = true;
        --------------------------------->
*** Semantic Warning: This switch block can fall through to the next case. Did 
you forget a break statement?

Issued 1 lexical warning in "../../gnu/java/rmi/dgc/DGCImpl_Stub.java":

    58.     private static java.lang.reflect.Method $method_clean_0;
                                                    ^-------------^
*** Lexical Warning: The use of "$" in an identifier, while legal, is strongly 
discouraged, since it can conflict with compiler-generated names. If you are 
trying to access a nested type, use "." instead of "$".
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/mkoch/src/classpath/build/lib'
make: *** [all-recursive] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]