Hi

MMBase has some issues with the reserved keyword 'assert' which 
is currently used in the following classes:

org/mmbase/bridge/implementation/BasicCloud.java
org/mmbase/bridge/implementation/BasicNode.java
org/mmbase/bridge/implementation/BasicRelation.java
org/mmbase/security/Authorization.java
org/mmbase/security/NoAuthorization.java
org/mmbase/security/implementation/context/ContextAuthorization.java
org/mmbase/security/implementation/basic/OwnerAuthorization.java
opg/mmbase/security/implementation/cloud/Verify.java

These implement and call a method in bridge with the name 'assert'  which is 
reserved in 1.3 and will give a 'Syntax Error' in 1.4

There are some more issues with assert as a variable, nl
./mmbase/module/irc/communication/irc/IrcReplies.java

Proposed solution:

Substitute all assert-methods to a methodname and -call with name 'verify'. 
Substitute all assert-variables to a variable-name 'verify'

This is now done on my machine and I want to commit it. 
Are there any objections against it? If not I will commit them tomorrow.

gr,
 marcel maatkamp 
 VPRO Digitaal


Reply via email to