bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #15725] anon classes defined by (object ...) not being w


From: tk
Subject: [Bug-kawa] [bug #15725] anon classes defined by (object ...) not being written
Date: Tue, 14 Feb 2006 19:38:57 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8

Follow-up Comment #2, bug #15725 (project kawa):

  
I have a potential fix for this bug, depending on the cause,
which is ambiguous. As the previous comment shows, classes are
named differently in the compiled archive depending on whether
the source file contains an (object ...) form. When the object
form is present, class names are generated based on the file
name, otherwise their names are based on "atFileLevel"
(i.e. LambdaExp.fileFunctionName).

But the loader expects the main class to be named "atFileLevel",
so the filename-derived classname breaks. The fix I've implemented 
arranges for the the main class to always be the first entry
written to the archive, so the loader can assume the same
regardless of the class name.

If the actual problem is that the class names are being generated
incorrectly, this is the wrong fix. If the preceding description
is correct, then I can provide a patch.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15725>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]