Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] Adding generics to API for Jakarta EE 9?

On Thu, Feb 6, 2020 at 9:47 AM BJ Hargrave <hargrave@xxxxxxxxxx> wrote:
>
> I don't think there is any issue.
>
> "Method handles do not represent their function-like types in terms of Java parameterized (generic) types" from the section on your link titled "Interoperation between method handles and Java generics".

Excellent, thanks for catching that!

Scott

> --
>
> BJ Hargrave
> Senior Technical Staff Member, IBM // office: +1 386 848 1781
> OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
> hargrave@xxxxxxxxxx
>
>
>
> ----- Original message -----
> From: Scott Marlow <smarlow@xxxxxxxxxx>
> Sent by: jakartaee-platform-dev-bounces@xxxxxxxxxxx
> To: jakartaee-platform developer discussions <jakartaee-platform-dev@xxxxxxxxxxx>
> Cc:
> Subject: [EXTERNAL] Re: [jakartaee-platform-dev] Adding generics to API for Jakarta EE 9?
> Date: Thu, Feb 6, 2020 09:32
>
> On Wed, Feb 5, 2020 at 12:34 PM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
> >
> > Hi,
> >
> > I was thinking to add missing generics to the Jakarta Authentication API for Jakarta EE 9. This is a binary compatible change. Jakarta Expression has done this too. Obviously the TCK signature file needs to be adjusted for this, but it has to be adjusted anyway for the javax -> jakarta change.
> >
> > Thoughts?
>
> Hi,
>
> I wonder if adding generics could break EE 8 applications that depend
> on MethodHandle#invokeExact [1]?  I'm not sure if that would be a
> concern but am curious what others think.
>
> Scott
>
> [1] https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html#invokeExact-java.lang.Object...-
>
> >
> > Kind regards,
> > Arjan Tijms
> > _______________________________________________
> > jakartaee-platform-dev mailing list
> > jakartaee-platform-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> > https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev
>
> _______________________________________________
> jakartaee-platform-dev mailing list
> jakartaee-platform-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev
>
>
>
>
> _______________________________________________
> jakartaee-platform-dev mailing list
> jakartaee-platform-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev



Back to the top