Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1410

fail to test GenericsMethodSignatureImpl class.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.2
    • Component/s: Core Components
    • Labels:
      None
    • Environment:
      jdk1.5

      Description

      fail to test GenericsMethodSignatureImpl class.

      public class GenericsMethodSignatureImplTest {

      public static abstract class BaseTest<T>{

      }
      public static abstract class MyTest<T,E>extends BaseTest<T>

      { public abstract E getRelativeObject(); public abstract void setRelativeObject(E e); }

      @Test
      public void test_generic() {
      Class testClass=MyTest.class;
      Method[] methods = testClass.getMethods();
      for (Method method : methods)

      { MethodSignatureImpl msi = new GenericsMethodSignatureImpl(testClass,method); msi.hashCode(); }

      }

      }

        Attachments

          Activity

            People

            • Assignee:
              jkuhnert Jesse Kuhnert
              Reporter:
              bitiboy Jun Tsai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: