Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1436

TypeHelper.getType(java.util.List.class) throws ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Java-SDO-beta1, Java-SDO-1.0
    • Java-SDO-1.0
    • None

    Description

      The following simple test case fails:

      package org.apache.tuscany.sdo.test;

      import java.util.List;

      import junit.framework.TestCase;

      import commonj.sdo.helper.TypeHelper;

      /**

      • @version $Rev$ $Date$
        */
        public class TypeHelperTestCase extends TestCase {
        public void testGetType() { assertTrue(TypeHelper.INSTANCE.getType(List.class) instanceof commonj.sdo.Type); }

        }

      Attachments

        Activity

          People

            Unassigned Unassigned
            rfeng Zhaohui Feng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: