Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] I can't generate RMI stubs from 1.1 .class, but I could from 1.0.6 - Another bug?

Hi again,

Another problem when moving my stuff from 1.0.6 to 1.1 is regarding
distribution. I have an aspect to implement distribution in a system.
The aspect uses RMI to distribute the system facade from the GUI. As I
mentioned in the previous email I am using Eclipse 2.1.1 with AJDT
1.1.4, and cannot generate the stub and skeleton classes from the .class
file generated by AspectJ. When running rmic I got a compiler error (see
attached file). I was wondering if the class file generated by AspectJ
1.1 (AJDT 1.1.4) is different from the one generated by AspectJ1.0.6?
This is the only difference I can figure!

Did anybody have this problem?

BTW: I tried to generate the stub with SDK 1.2, 1.3 and 1.4, and I got
the same error in all of them.

Best Regards,

--
Sérgio Soares
Centro de Informática - UFPE
scbs@xxxxxxxxxxx
http://www.cin.ufpe.br/~scbs

Software Productivity Group
http://www.cin.ufpe.br/spg

sun.tools.java.CompilerError: checkOverride() synthetic
        at sun.tools.java.MemberDefinition.checkOverride(MemberDefinition.java:558)
        at sun.tools.java.MemberDefinition.checkOverride(MemberDefinition.java:524)
        at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:1295)
        at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1499)
        at sun.tools.java.BinaryClass.basicCheck(BinaryClass.java:71)
        at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:128)
        at sun.tools.java.Environment.getQualifiedClassDefinition(Environment.java:390)
        at sun.tools.java.Environment.resolve(Environment.java:217)
        at sun.tools.tree.FieldExpression.toType(FieldExpression.java:186)
        at sun.tools.tree.FieldExpression.checkCommon(FieldExpression.java:401)
        at sun.tools.tree.FieldExpression.checkValue(FieldExpression.java:211)
        at sun.tools.tree.Expression.checkInitializer(Expression.java:173)
        at sun.tools.tree.ArrayExpression.checkInitializer(ArrayExpression.java:39)
        at sun.tools.tree.NewArrayExpression.checkValue(NewArrayExpression.java:54)
        at sun.tools.tree.MethodExpression.checkValue(MethodExpression.java:257)

        at sun.tools.tree.AssignExpression.checkValue(AssignExpression.java:32)
        at sun.tools.tree.BinaryAssignExpression.check(BinaryAssignExpression.java:46)
        at sun.tools.tree.ExpressionStatement.check(ExpressionStatement.java:30)

        at sun.tools.tree.Statement.checkBlockStatement(Statement.java:148)
        at sun.tools.tree.CompoundStatement.check(CompoundStatement.java:56)
        at sun.tools.tree.TryStatement.check(TryStatement.java:44)
        at sun.tools.tree.Statement.checkBlockStatement(Statement.java:148)
        at sun.tools.tree.CompoundStatement.check(CompoundStatement.java:56)
        at sun.tools.tree.Statement.checkMethod(Statement.java:83)
        at sun.tools.javac.SourceMember.check(SourceMember.java:530)
        at sun.tools.javac.SourceClass.checkMembers(SourceClass.java:967)
        at sun.tools.javac.SourceClass.checkInternal(SourceClass.java:603)
        at sun.tools.javac.SourceClass.check(SourceClass.java:502)
        at sun.rmi.rmic.Main.compileClass(Main.java:688)
        at sun.rmi.rmic.Main.compileAllClasses(Main.java:633)
        at sun.rmi.rmic.Main.doCompile(Main.java:531)
        at sun.rmi.rmic.Main.compile(Main.java:128)
        at sun.rmi.rmic.Main.main(Main.java:756)
error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
1 error


Back to the top