The GTK+ peers are now building with the rest of Classpath, in the
"proper" build environment.  However, there are a few pieces of
Classpath which cannot be compiled.

Could those responsible for the following files please fix these
errors?

I'd like to change the build process, such that if any file doesn't
compile, we abort compilation -- as opposed to the current process
where we just ignore any files that we can't compile.

Files that need to be fixed:

java/awt/event/InputMethodEvent.java
java/security/SecureClassLoader.java
java/sql/DriverManager.java
java/text/ChoiceFormat.java


Found 2 semantic errors compiling "../java/awt/event/InputMethodEvent.java":

    25. import java.awt.font.TextHitInfo;
               <----------------------->
*** Error: "java/awt/font/TextHitInfo" is either a misplaced package name or a 
non-existent entity.


   100.                  int committedCharacterCount, TextHitInfo caret,
                                                      <--------->
*** Error: Type java/awt/event/TextHitInfo was not found.

Found 5 semantic errors compiling "../java/security/SecureClassLoader.java":

    30. public class SecureClassLoader extends ClassLoader
                     <--------------->
*** Error: The abstract method "java.lang.Class loadClass(java.lang.String name, 
boolean resolve);", inherited from type "java/lang/ClassLoader", is not implemented in 
the non-abstract class "java/security/SecureClassLoader".


    72.         this.parent = ClassLoader.getSystemClassLoader();
                              <-------------------------------->
*** Error: No method named "getSystemClassLoader" was found in type 
"java/lang/ClassLoader".


    91.         ProtectionDomain protectionDomain = new ProtectionDomain( codesource, 
getPermissions( codesource ) );
                                                                          <-------->
*** Error: No entity named "codesource" was found in this environment.


    91.         ProtectionDomain protectionDomain = new ProtectionDomain( codesource, 
getPermissions( codesource ) );
                                                                                       
               <-------->
*** Error: No entity named "codesource" was found in this environment.


    94.                 Class c = parent.defineClass(name, b, off, len, 
protectionDomain);
                                  
<----------------------------------------------------->
*** Error: No match was found for method "defineClass(java.lang.String, byte[], int, 
int, java.security.ProtectionDomain)".

Found 1 semantic error compiling "../java/sql/DriverManager.java":

   252.   ClassLoader cl = Thread.currentThread().getContextClassLoader();
                           <-------------------------------------------->
*** Error: No method named "getContextClassLoader" was found in type 
"java/lang/Thread".

Found 1 semantic error compiling "../java/text/ChoiceFormat.java":

    59. public class ChoiceFormat extends NumberFormat implements Serializable,
                     <---------->
*** Error: The abstract method "java.lang.StringBuffer format(java.lang.Object obj, 
java.lang.StringBuffer sb, java.text.FieldPosition pos);", inherited from type 
"java/text/Format", is not implemented in the non-abstract class 
"java/text/ChoiceFormat".

Reply via email to