Bugs item #448723, was opened at 2001-08-07 03:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=448723&group_id=22866

Category: JBossServer
Group: v2.5 Rabbit Hole (unstable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Luke Taylor (negaton)
Assigned to: Nobody/Anonymous (nobody)
Summary: Minor Bug in Verifier RMI/IIOP types

Initial Comment:
Following post to jboss-dev:

In org.jboss.verifier.strategy.AbstractVerifier, when inner classes are used as data 
types, the type of the 
parent class only has to be valid for RMI/IIOP if the inner class is non-static. The 
current version performs 
the check only if the class *is*static. Also the section number of the OMG Java/IDL 
spec referenced is 
incorrect (should be 28.2.4 (3)).

--- AbstractVerifierOld.java    Tue Aug  7 11:18:40 2001
+++ AbstractVerifier.java       Tue Aug  7 11:12:40 2001
@@ -987,9 +987,9 @@
          * If class is a non-static inner class then its containing class must
          * also be a conforming RMI/IDL value type.
          *
-         * Spec 2.8.4 (3)
+         * Spec 28.2.4 (3)
          */
-        if (type.getDeclaringClass() != null && isStatic(type))
+        if (type.getDeclaringClass() != null && !isStatic(type))
             if (!isRMIIDLValueType(type.getDeclaringClass()))
                 return false;

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=448723&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to