List Info

Thread: Class >> securityPolicy causes infinite loop




Class >> securityPolicy causes infinite loop
country flaguser name
United States
2008-03-05 17:00:09
Issue status update for 
http://smalltalk.gn
u.org/node/181
Post a follow up: 
htt
p://smalltalk.gnu.org/project/comments/add/181

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  sdp
 Updated by:   sdp
 Status:       active


samosiris:~$ gst
GNU Smalltalk ready

st> Object securityPolicy
"Global garbage collection... done"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... Segmentation fault (core
dumped)
samosiris:~$






_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Class >> securityPolicy causes infinite loop
country flaguser name
United States
2008-03-18 04:56:11
Issue status update for 
http://sma
lltalk.gnu.org/project/issue/181
Post a follow up: 
htt
p://smalltalk.gnu.org/project/comments/add/181

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  sdp
 Updated by:   bonzinip
-Status:       active
+Status:       fixed

Just two methods with the wrong name:

diff --git a/kernel/Class.st b/kernel/Class.st
index 2aa5b6e..3dd4b39 100644
--- a/kernel/Class.st
+++ b/kernel/Class.st
 -541,12
+541,12  the class category.'>
        aStream nextPutAll: (self nameIn: Smalltalk)
     ]
 
-    policy [
+    securityPolicy [
        
        ^securityPolicy
     ]
 
-    policy: aSecurityPolicy [
+    securityPolicy: aSecurityPolicy [
        
        securityPolicy := aSecurityPolicy withOwner: self
     ]




_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )