Author: gcasa
Date: Tue May 12 02:24:12 2015
New Revision: 38485

URL: http://svn.gna.org/viewcvs/gnustep?rev=38485&view=rev
Log:
Fix for bug#45040

Modified:
    apps/gorm/trunk/ChangeLog
    apps/gorm/trunk/GormLib/IBObjectAdditions.m

Modified: apps/gorm/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gorm/trunk/ChangeLog?rev=38485&r1=38484&r2=38485&view=diff
==============================================================================
--- apps/gorm/trunk/ChangeLog   (original)
+++ apps/gorm/trunk/ChangeLog   Tue May 12 02:24:12 2015
@@ -1,9 +1,18 @@
+2015-05-11 Gregory John Casamento <[email protected]
+
+       * GormLib/IBObjectAdditions.m: Removed canSubstituteForClass:
+       dummy implementation.  The reason for this is because some objc
+       runtime implementations do not smash categories the same and
+       do not allow replacement of class methods.  For this reason
+       it was failing on some operating systems.  Fixes bug#45040.
+
 2015-04-17 Riccardo Mottola <[email protected]>
 
        * Palettes/3Containers/GormTabViewAttributesInspector.m
        * Palettes/3Containers/GormBrowserAttributesInspector.m
        * GormCore/GormFilePrefsManager.m
-       Use cast to larger type for string formatting to allow compilation on 
Solaris.
+       Use cast to larger type for string formatting to allow
+       compilation on Solaris.
 
 2015-03-02 00:04-EST Gregory John Casamento <[email protected]>
 

Modified: apps/gorm/trunk/GormLib/IBObjectAdditions.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gorm/trunk/GormLib/IBObjectAdditions.m?rev=38485&r1=38484&r2=38485&view=diff
==============================================================================
--- apps/gorm/trunk/GormLib/IBObjectAdditions.m (original)
+++ apps/gorm/trunk/GormLib/IBObjectAdditions.m Tue May 12 02:24:12 2015
@@ -30,10 +30,14 @@
 @implementation NSObject (_IBObjectAdditions)
 
 // Return yes if origClass can substitute for current class, otherwise NO.
+/*  NOTE: Some versions of the runtime handle loading of class methods
+          differently and do not replace them with the later loaded version.
+         For this reason, this method is being removed.  
 + (BOOL)canSubstituteForClass: (Class)origClass
 {
   return NO;
 }
+*/
 
 /**
    This method is called on all objects after


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to