[jboss-jira] [JBoss JIRA] Created: (JASSIST-113) Possible regression in ProxyFactory.createClass() when super interface is non-public

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Tue Apr 13 00:44:06 EDT 2010


Possible regression in ProxyFactory.createClass() when super interface is non-public
------------------------------------------------------------------------------------

                 Key: JASSIST-113
                 URL: https://jira.jboss.org/jira/browse/JASSIST-113
             Project: Javassist
          Issue Type: Bug
            Reporter: Marius Bogoevici
            Assignee: Shigeru Chiba
             Fix For: 3.12.0.GA


This is an issue encountered with 3.12.0-SNAPSHOT. A test which consists of these two classes:

interface Bear
{
   void hibernate();
}


public class NonpublicInterfaceTest extends TestCase
{

   public void testProxyFactoryWithNonPublicInterface()
   {
      ProxyFactory proxyFactory = new ProxyFactory();
      proxyFactory.setInterfaces(new Class[]{Bear.class});
      proxyFactory.createClass();
   }
}

fails with [1]. Similar code used to work properly with 3.11.0.GA, so this may be a regression.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list