Issue validation: #Collection cannot be changed using the classbuilder....
Hi, I uploaded a slice to fogbugz which includes removing the class side Ivars from Collection to a new class managing a default random generator instance. The Monkey throws this error while checking: /Error: #Collection cannot be changed using the classbuilder. Use the reflective APi (e.g #addClassVariable:). If you know what you are doing, you can use #disableDuring: of DangerousClassNotifier/ Anyone know how to resolve this correctly? Case 16577: https://pharo.fogbugz.com/f/cases/16577 <https://pharo.fogbugz.com/f/cases/16577> Error message: https://ci.inria.fr/pharo/job/Pharo-5.0-Issue-Validator/13783//artifact/vali... <https://ci.inria.fr/pharo/job/Pharo-5.0-Issue-Validator/13783//artifact/vali...> Best regards, Henrik -- View this message in context: http://forum.world.st/Issue-validation-Collection-cannot-be-changed-using-th... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 15 Sep 2015, at 18:23, Henrik Nergaard <henrin10@uia.no> wrote:
Hi,
I uploaded a slice to fogbugz which includes removing the class side Ivars from Collection to a new class managing a default random generator instance. The Monkey throws this error while checking: /Error: #Collection cannot be changed using the classbuilder. Use the reflective APi (e.g #addClassVariable:). If you know what you are doing, you can use #disableDuring: of DangerousClassNotifier/
Anyone know how to resolve this correctly?
Yes, you can add DangerousClassNotifier disable as a pre-load and a a postload: DangerousClassNotifier enable. This way the monkey can check it and we can integrate it using the integration tool. Marcus
Thanks Marcus, that fixed the issue. Best regards, Henrik -- View this message in context: http://forum.world.st/Issue-validation-Collection-cannot-be-changed-using-th... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hi guys could you have a look at the SciSmalltalk random package because it would be nice to make sure that the one in the image is in ysnc with the ones in the package. Stef PS preparing to leav to teach pharo in africa :) Le 15/9/15 18:23, Henrik Nergaard a écrit :
Hi,
I uploaded a slice to fogbugz which includes removing the class side Ivars from Collection to a new class managing a default random generator instance. The Monkey throws this error while checking: /Error: #Collection cannot be changed using the classbuilder. Use the reflective APi (e.g #addClassVariable:). If you know what you are doing, you can use #disableDuring: of DangerousClassNotifier/
Anyone know how to resolve this correctly?
Case 16577: https://pharo.fogbugz.com/f/cases/16577 <https://pharo.fogbugz.com/f/cases/16577>
Error message: https://ci.inria.fr/pharo/job/Pharo-5.0-Issue-Validator/13783//artifact/vali... <https://ci.inria.fr/pharo/job/Pharo-5.0-Issue-Validator/13783//artifact/vali...>
Best regards, Henrik
-- View this message in context: http://forum.world.st/Issue-validation-Collection-cannot-be-changed-using-th... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (3)
-
Henrik Nergaard -
Marcus Denker -
stepharo