diff -r 2455ef1f5bbc -r d5e927d5853b javaruntimes/midp/runtime/javasrc/com/nokia/mj/impl/rt/utils/CmdLineArgsPermission.java --- a/javaruntimes/midp/runtime/javasrc/com/nokia/mj/impl/rt/utils/CmdLineArgsPermission.java Wed Sep 01 12:33:18 2010 +0100 +++ b/javaruntimes/midp/runtime/javasrc/com/nokia/mj/impl/rt/utils/CmdLineArgsPermission.java Tue Sep 14 21:06:50 2010 +0300 @@ -77,6 +77,10 @@ */ public boolean equals(Object obj) { + if (!(obj instanceof CmdLineArgsPermission)) + { + return false; + } return (obj.hashCode() == hashCode()); }