[webbeans-issues] [JBoss JIRA] Updated: (WBRI-267) Supporting proxies with no no-arg constructors
Pete Muir (JIRA)
jira-events at lists.jboss.org
Sat Jul 25 14:00:29 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated WBRI-267:
---------------------------
Assignee: (was: Nicklas Karlsson)
> Supporting proxies with no no-arg constructors
> ----------------------------------------------
>
> Key: WBRI-267
> URL: https://jira.jboss.org/jira/browse/WBRI-267
> Project: Web Beans
> Issue Type: Feature Request
> Components: Contexts
> Reporter: Pete Muir
>
> On Tue, May 12, 2009 at 1:11 AM, Jason T. Greene
> <jason.greene at redhat.com> wrote:
> Hi Everyone,
> As a non-standard extension, I was thinking that we could support generation
> proxies of classes not containing no-arg constructors by using various
> techniques that are supported by most JDKs.
> This would involve generating a proxy with a constructor call passing bogus
> parameters. Then a JDK specific approach would be used to instantiate the
> proxy class:
> Sun, IcedTea, Mac: Unsafe.allocateInstance() - The most efficient
> Above + IBM, JRockit: ReflectionFactory.newConstructorForSerialization()
--
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 weld-issues
mailing list