Loading ...
Sorry, an error occurred while loading the content.
 

Re: [gelide] Gel cannot find main method

Expand Messages
  • Gerald Nunn
    It s the inner class that is throwing the parser off, I ll have a look at it probably just needs a tweak somewhere. I ll take care of it for the next version.
    Message 1 of 2 , Nov 26, 2002
      It's the inner class that is throwing the parser off, I'll have a look at it probably just needs a tweak somewhere. I'll take care of it for the next version.

      Gerald



      On 11/26/2002 at 12:54 PM Peter Elias wrote:

      >Hi,
      >try the following example, Gel 0.8.7 h rejects to run it. It is quite
      >funny: if you declare 'object' just when you assing to it, or if you omit
      >'public' in the declaration of method(), it will run.
      > Peter Elias
      >
      >/* begin of example */
      >class Test {
      > void test() {
      > Object object;
      > object = new Object() {
      > public void method() {
      > }
      > };
      > }
      > public static void main(String[] args) {
      > }
      >}
      >/* end of example */
      >
      >
      >
      >
      >
      >To unsubscribe from this group, send an email to:
      >gelide-unsubscribe@yahoogroups.com
      >
      >
      >
      >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    Your message has been successfully submitted and would be delivered to recipients shortly.