[cdi-dev] [Vote] for CDI-527 / PR 271 allow proxying of classes with non-private final methods

Mark Struberg struberg at yahoo.de
Fri Feb 12 09:55:45 EST 2016


I have no clue where some folks get the idea that I introduced a new concept! 
The term ‚proxy‘ is well defined both in the the whole Java universe (see java.lang.reflect.Proxy) and also got introduced in the CDI spec as early as 2008. That makes 8 years now… Wanna get rid of all that?

> it has poor performance, and
FUD and not true anymore since ages!
It’s an implementation detail. In OpenWebBeans we do 10 MILLION proxy invocations in 20 milliseconds on my notebook. I don’t call that slow…

LieGrue,
strub


> Am 12.02.2016 um 15:41 schrieb José Paumard <jose.paumard at gmail.com>:
> 
> -1
> 
> For me it looks like setting implementation details in the specification, a really wrong idea imho. 
> 
> Plus, what does "proxy" mean ? We need to define the term in the spec. Does it refer to java.lang.Proxy ? We all know that this class has been written a long time ago, it has poor performance, and has already submitted replacements based on MethodHandle and INDY. 
> 
> José
> 
> 
> 2016-02-11 12:09 GMT+01:00 George Gastaldi <ggastald at redhat.com>:
> +1
> 
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
> 
> Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
> 
> 
> 
> -- 
> Java le soir Cours Java en ligne
> Twitter Paris JUG
> M : +33 6 76 82 91 47
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
> 
> Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.




More information about the cdi-dev mailing list