User: negaton
Date: 01/10/29 05:24:33
Modified: src/main/org/jboss/verifier/strategy AbstractVerifier.java
Log:
Fix for bug #448723. Static inner classes being reported as invalid RMI/IIOP types.
Revision Changes Path
1.22 +4 -4 jboss/src/main/org/jboss/verifier/strategy/AbstractVerifier.java
Index: AbstractVerifier.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/verifier/strategy/AbstractVerifier.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- AbstractVerifier.java 2001/10/05 18:22:00 1.21
+++ AbstractVerifier.java 2001/10/29 13:24:32 1.22
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* This package and its source code is available at www.jboss.org
- * $Id: AbstractVerifier.java,v 1.21 2001/10/05 18:22:00 starksm Exp $
+ * $Id: AbstractVerifier.java,v 1.22 2001/10/29 13:24:32 negaton Exp $
*/
// standard imports
@@ -62,7 +62,7 @@
* @author Aaron Mulder ([EMAIL PROTECTED])
* @author Vinay Menon ([EMAIL PROTECTED])
*
- * @version $Revision: 1.21 $
+ * @version $Revision: 1.22 $
* @since JDK 1.3
*/
public abstract class AbstractVerifier implements VerificationStrategy {
@@ -991,9 +991,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;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development