classpath-testresults
[Top][All Lists]
Advanced

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

[cp-testresults] classpath daily snapshot 20060717 FAILED


From: Michael Koch
Subject: [cp-testresults] classpath daily snapshot 20060717 FAILED
Date: Mon, 17 Jul 2006 05:49:22 +0200 (CEST)


   867.     return viewFactory;
                   ^---------^
*** Semantic Error: The type of this return expression, 
"javax.swing.text.html.HTMLEditorKit$HTMLFactory", does not match the return 
type of the method, "javax.swing.text.ViewFactory".


   971.       super.read(in, doc, pos);
              ^----------------------^
*** Semantic Error: No accessible method with signature "read(java.io.Reader, 
javax.swing.text.Document, int)" was found in type "java.lang.Object".


   995.       super.write(out, doc, pos, len);
              ^-----------------------------^
*** Semantic Error: No accessible method with signature "write(java.io.Writer, 
javax.swing.text.Document, int, int)" was found in type "java.lang.Object".


  1017.     return (HTMLEditorKit) super.clone();
                                   ^-----------^
*** Semantic Error: The method "java.lang.Object clone() throws 
java.lang.CloneNotSupportedException;" can throw the checked exception 
"java.lang.CloneNotSupportedException", so its invocation must be enclosed in a 
try statement that catches the exception, or else this method must be declared 
to throw the exception.


  1043.     super.install(c);
            ^--------------^
*** Semantic Error: No accessible method with signature 
"install(javax.swing.JEditorPane)" was found in type "java.lang.Object".


  1045.     c.addMouseListener(mouseListener);
            ^-------------------------------^
*** Semantic Error: No applicable overload for a method with signature 
"addMouseListener(javax.swing.text.html.HTMLEditorKit.LinkController)" was 
found in type "java.awt.Component". Perhaps you wanted the overloaded version 
"void addMouseListener(java.awt.event.MouseListener listener);" instead?


  1058.     super.deinstall(c);
            ^----------------^
*** Semantic Error: No accessible method with signature 
"deinstall(javax.swing.JEditorPane)" was found in type "java.lang.Object".


  1059.     c.removeMouseListener(mouseListener);
            ^----------------------------------^
*** Semantic Error: No applicable overload for a method with signature 
"removeMouseListener(javax.swing.text.html.HTMLEditorKit.LinkController)" was 
found in type "java.awt.Component". Perhaps you wanted the overloaded version 
"void removeMouseListener(java.awt.event.MouseListener listener);" instead?


  1086.     return TextAction.augmentList(super.getActions(), defaultActions);
                                          ^----------------^
*** Semantic Error: No accessible method with signature "getActions()" was 
found in type "java.lang.Object".

Found 2 semantic errors compiling "../../javax/swing/JEditorPane.java":

   621.         if (getEditorKit() instanceof HTMLEditorKit)
                    ^-------------------------------------^
*** Semantic Error: The type of the left sub-expression, 
"javax.swing.text.EditorKit", cannot possibly be an instance of type 
"javax.swing.text.html.HTMLEditorKit".


   778.     if (kit instanceof HTMLEditorKit && desc instanceof HTMLDocument)
                ^--------------------------^
*** Semantic Error: The type of the left sub-expression, 
"javax.swing.text.EditorKit", cannot possibly be an instance of type 
"javax.swing.text.html.HTMLEditorKit".

Found 1 semantic error compiling "../../javax/swing/plaf/basic/BasicHTML.java":

   409.     HTMLRootView rootView = new HTMLRootView(c, view, kit, doc);
                                    ^---------------------------------^
*** Semantic Error: No applicable overload was found for a constructor with 
signature "HTMLRootView(javax.swing.JComponent, javax.swing.text.View, 
javax.swing.text.html.HTMLEditorKit, javax.swing.text.html.HTMLDocument)" in 
type "javax.swing.plaf.basic.BasicHTML$HTMLRootView". Perhaps you wanted the 
overloaded version "HTMLRootView(javax.swing.JComponent c, 
javax.swing.text.View view, javax.swing.text.EditorKit kit, 
javax.swing.text.Document doc);" instead?

Issued 1 semantic warning compiling 
"../../external/sax/org/xml/sax/helpers/ParserAdapter.java":

   564.                             atts.addAttribute (nsSupport.XMLNS, prefix,
                                                                 ^---^
*** Semantic Warning: Accessing the class field "XMLNS" 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.

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

   109.     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 2 semantic warnings compiling 
"../../javax/swing/plaf/metal/MetalSliderUI.java":

   129.   protected final int TICK_BUFFER = 4;
                              ^-------------^
*** Semantic Warning: Final field "TICK_BUFFER" is initialized with a constant 
expression and could be made static to save space.


   132.   protected final String SLIDER_FILL = "JSlider.isFilled";
                                 ^------------------------------^
*** Semantic Warning: Final field "SLIDER_FILL" is initialized with a constant 
expression and could be made static to save space.

Issued 1 semantic warning compiling 
"../../javax/swing/plaf/basic/BasicInternalFrameUI.java":

   179.     protected final int RESIZE_NONE = 0;
                                ^-------------^
*** Semantic Warning: Final field "RESIZE_NONE" is initialized with a constant 
expression and could be made static to save space.

Issued 1 lexical warning in 
"../../gnu/java/rmi/registry/RegistryImpl_Stub.java":

    61.     private static java.lang.reflect.Method $method_bind_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]