This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: void run()


> I'm hoping the attached patch should fix it.  

Sorry, no luck.  Changing the name seems like an OK idea.

The jikes error now is:

  Found 2 semantic errors compiling "Bar.java":

       1. public class Bar {
                       ^-^
  *** Semantic Error: The static method "void
      run(gnu.mapping.CallContext $1);" cannot hide the accessible
      instance method "void run(gnu.mapping.CallContext $1) throws
      java.lang.Throwable;" declared in type "gnu.expr.ModuleBody".


       1. public class Bar {
                       ^-^
  *** Semantic Error: The method "void run(gnu.mapping.CallContext
      $1);" with private access cannot replace the accessible method
      "void run(gnu.mapping.CallContext $1) throws
      java.lang.Throwable;" with public access declared in type
      "gnu.expr.ModuleBody".

Regards,
Chris Dean



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]