User: juha    
  Date: 00/09/30 00:38:44

  Modified:    src/main/org/jboss/verifier/strategy EJBVerifier11.java
  Log:
  Commented out two events that were misleadingly complaining
  about illegal RMI-IIOP value types for primary keys.
  
  Revision  Changes    Path
  1.18      +11 -6     jboss/src/main/org/jboss/verifier/strategy/EJBVerifier11.java
  
  Index: EJBVerifier11.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/verifier/strategy/EJBVerifier11.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- EJBVerifier11.java        2000/09/25 17:43:27     1.17
  +++ EJBVerifier11.java        2000/09/30 07:38:43     1.18
  @@ -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: EJBVerifier11.java,v 1.17 2000/09/25 17:43:27 juha Exp $
  + * $Id: EJBVerifier11.java,v 1.18 2000/09/30 07:38:43 juha Exp $
    */
   
   
  @@ -61,7 +61,7 @@
    * @author   Juha Lindfors ([EMAIL PROTECTED])
    * @author  Aaron Mulder  ([EMAIL PROTECTED])
    *
  - * @version $Revision: 1.17 $
  + * @version $Revision: 1.18 $
    * @since    JDK 1.3
    */
   public class EJBVerifier11 extends AbstractVerifier {
  @@ -1414,11 +1414,16 @@
                               }
                           } catch(NullPointerException e) {} // That's OK - the 
implementor expected the fields to have values
                       } catch(IllegalAccessException e) {
  -                        fireSpecViolationEvent(entity, new Section("9.2.9.a"));
  -                        status = false;
  +                        // [FIXME] The two error messages below are incorrect.
  +                        //         The RMI-IDL language mapping does not require
  +                        //         the value types to have a no args constructor.
  +                        //                                                  [JPL]
  +                        //
  +                        //fireSpecViolationEvent(entity, new Section("9.2.9.a"));
  +                        //status = false;
                       } catch(InstantiationException e) {
  -                        fireSpecViolationEvent(entity, new Section("9.2.9.a"));
  -                        status = false;
  +                        //fireSpecViolationEvent(entity, new Section("9.2.9.a"));
  +                        //status = false;
                       }
                   }
               } catch(ClassNotFoundException e) {
  
  
  

Reply via email to