Name: vi73552 Date: 05/11/99
sun.tools.java.CompilerError: checkMeet(), no abstract method
at sun.tools.java.MemberDefinition.checkMeet(MemberDefinition.java:667)
at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:1361)
at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1508)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1135)
at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:137)
at sun.tools.javac.SourceClass.checkSupers(SourceClass.java:804)
at sun.tools.javac.SourceClass.resolveTypeStructure(SourceClass.java:1229)
at sun.tools.javac.SourceMember.resolveTypeStructure(SourceMember.java:332)
at sun.tools.javac.SourceClass.resolveTypeStructure(SourceClass.java:1238)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1082)
at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:137)
at sun.tools.javac.Main.compile(Main.java:504)
at sun.tools.javac.Main.main(Main.java:733)
error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
E:\jtool>g:\jdk1.2.1\bin\java -version
java version "1.2.1"
Classic VM (build JDK-1.2.1-A, native threads)
E:\jtool>g:\jdk1.2.1\bin\java -fullversion
java full version "JDK-1.2.1-A"
I was creating a package "jtool" that was overriding the Iterator interfact internally.
Sorry, I can't give you the source, but I am willing to answer questions about it, if you wish
The same thing happens when I use the jdk1.1.8 version of the compiler.
(Review ID: 58076)
======================================================================
Name: skT88420 Date: 08/11/99
I tried running a compile and received the following error:
sun.tools.java.CompilerError: checkMeet(), no abstract method
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Error.java:50)
at sun.tools.java.CompilerError.<init>(CompilerError.java:29)
at sun.tools.java.MemberDefinition.checkMeet(MemberDefinition.java:667)
at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.javac.SourceClass.checkSupers(Compiled Code)
at sun.tools.javac.SourceClass.resolveTypeStructure(Compiled Code)
at sun.tools.javac.SourceClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:733)
HERE IS THE Source:
==================================================
class RegCode extends _RegCodeImplBase
{
String m_regCodeVal;
String m_propertiesFilePath;
Properties temp;
public RegCode()
{
temp = new Properties();
//System.out.println("******* ABOUT TO LOAD PROPERTIES *****");
m_propertiesFilePath = "/usr/netscape/suitespot/plugins/ServletExecN
SAPI/https-norris-http/Servlets/Reggie.properties";
try{
FileInputStream in = new FileInputStream(m_propertiesFilePath);
temp.load(in);
// temp.list(System.out);
}
catch(IOException e)
{
System.out.println("******* COULDN'T LOAD PROPERTIES *****");
System.out.println(e);
}
.
.
.
end of RegCode
class RegCodeFactoryServant extends _RegCodeFactoryImplBase
{
public RegCodeFactoryServant() {};
public RegCode createRegCodeObj() {
return new RegCode();
}
}
The RegCodeFactoryServant is new code. the RegCode stuff
compiled without a problem before.
(Review ID: 93766)
======================================================================
- duplicates
-
JDK-4123500 Compiler dies when class attempts to implement itself
-
- Closed
-