User: negaton
Date: 01/10/29 05:26:12
Modified: src/main/org/jboss/verifier/strategy Tag: Branch_2_4
AbstractVerifier.java
Log:
Backport of fix for bug #448723. Static inner classes not being reported as valid
RMI/IIOP types.
Revision Changes Path
No revision
No revision
1.18.4.1 +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.18
retrieving revision 1.18.4.1
diff -u -r1.18 -r1.18.4.1
--- AbstractVerifier.java 2001/06/07 21:27:06 1.18
+++ AbstractVerifier.java 2001/10/29 13:26:12 1.18.4.1
@@ -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.18 2001/06/07 21:27:06 kvvinaymenon Exp $
+ * $Id: AbstractVerifier.java,v 1.18.4.1 2001/10/29 13:26:12 negaton Exp $
*/
// standard imports
@@ -62,7 +62,7 @@
* @author Aaron Mulder ([EMAIL PROTECTED])
* @author Vinay Menon ([EMAIL PROTECTED])
*
- * @version $Revision: 1.18 $
+ * @version $Revision: 1.18.4.1 $
* @since JDK 1.3
*/
public abstract class AbstractVerifier implements VerificationStrategy {
@@ -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;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development