Re: Test and what's next?
On Sat, May 13, 2017 at 10:05 am, Guillermo González de Agüero wrote:
Regardinf pre-UEL, are there already alternative methods on thosw interfaces to use UEL?
There often are indeed, see for example this one:
getAction returns a MethodBinding, which is the deprecated pre-UEL type that everyone desperately wants to get rid off.
It has been replaced by:
Which in this case is in another interface. There are also cases (in abstract classes mostly) where the deprecated and replacement are in the same class.
There's an initial list in the JSF spec document itself. At least those things would be a prime candidate to be actually removed, but as said that's not always easy because of Java EE's backward compatibility rules.
In some cases the deprecated methods just sit there and nothing would normally call them. In other cases, unfortunately, they are still called and chained to their replacements, again for backwards compatibility. Those show up in the stack traces and are really not so nice to have around. One example is the ResourceResolver and the ResourceHandler. The resolver is deprecated, but it's still called. See http://arjan-tijms.omnifaces.org/p/jsf-22.html#809