[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/24166] New: compile error (cvs-2005-10-02)
From: |
hys545 at dreamwiz dot com |
Subject: |
[Bug classpath/24166] New: compile error (cvs-2005-10-02) |
Date: |
2 Oct 2005 07:52:05 -0000 |
Making all in lib
make[1]: Entering directory `/home/hys545/class/classpath/lib'
true
top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '..'.
Adding java source files from VM directory ../vm/reference
/usr/bin/jikes +Pno-shadow +Pno-switchcheck +F -encoding UTF-8 -bootclasspath
'' -extdirs '' -sourcepath '' --classpath
../vm/reference:..:../external/w3c_dom:../external/sax:.: -d . @classes
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":
100. 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":
172. 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.
Found 2 syntax errors in "../javax/imageio/ImageIO.java":
962. if (input instanceof spi.getInputClass())
^
*** Syntax Error: | expected instead of this token
1010. if (input instanceof spi.getOutputClass())
^
*** Syntax Error: | expected instead of this token
Found 1 semantic error compiling "../javax/imageio/ImageIO.java":
260. public WriterObjectFilter(ImageReader reader,
^----------------^
*** Semantic Error: The name of the constructor "WriterObjectFilter" does not
match the name of the class "TranscoderFilter". Assuming it is a method with
missing return type.
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 itcan conflict with compiler-generated names. If you are
trying to access a nested type, use "." instead of "$".
Issued 1 semantic warning compiling
"../gnu/java/awt/peer/gtk/GtkDialogPeer.java":
<----------------
97. heavyWeightClass = JPopupMenu.class.
98. forName("javax.swing.JPopupMenu$HeavyWeightPopup");
-------------------------->
*** Semantic Warning: Invoking the class method "forName" via an instance is
discouraged because themethod invoked will be the one in the variable's
declared type, not the instance's dynamic type.
make[1]: *** [compile-classes] 오류 1
make[1]: Leaving directory `/home/hys545/class/classpath/lib'
make: *** [all-recursive] 오류 1
--
Summary: compile error (cvs-2005-10-02)
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: classpath
AssignedTo: address@hidden
ReportedBy: address@hidden
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24166
- [Bug classpath/24166] New: compile error (cvs-2005-10-02),
hys545 at dreamwiz dot com <=