jgfoster / Jade

Jade is an Alternative Development Environment (IDE) for GemStone/S that runs on Microsoft Windows
MIT License
5 stars 2 forks source link

Methods go to (as yet unclassified) #62

Closed WillHensel closed 2 years ago

WillHensel commented 2 years ago

All new and edited methods go to a (as yet unclassified) category and must be recategorized.

jgfoster commented 2 years ago

The category string seems to be added as part of GemStone's Behavior>>compileMethod:. The only GemStone caller to that method is part of renaming an instance variable, which seems to be an unlikely code path for this problem. Yet there are no calls to this method in Jade!

It turns out that code with a class-side override of #'doesNotUnderstand:' changed the a message by removing keyword segments until a method was found. In combination with a Jade method that sent an unrecognized message this gave us the unexpected behavior.

JadeServer64Bit3x>>compileMethod:behavior:symbolList:inCategory: should be modified to see if the selector is recognized before sending the message.

jgfoster commented 2 years ago

Fixed in 2.4.18