Skip to main content

Re: Email proposal to the core-libs-dev@openjdk.java.net

  • From: Martin Desruisseaux < >
  • To:
  • Subject: Re: Email proposal to the
  • Date: Sat, 01 Nov 2014 12:07:33 +0900
  • Organization: Geomatys

Le 01/11/14 05:12, Otávio Gonçalves de Santana a écrit :
> Actually I used your, just I want explain better and talk we are open
> to another strategie, considering Java 9 and above.
> https://docs.google.com/document/d/1Xtfn3FHQK_fIjc6uI3IA70OlXpG1qdntJo0zohMyIQk/edit#

I can not open the document, I get an "authorisation refused".

But Otavio, I think that "explaining the context" will just bother the
JDK peoples for no reason. The non-wildcard syntax is a violation of
parameterized type safety (unless we add a Class argument), and there is
no excuse for that. No context explanation can make it acceptable, and
nothing related to generic type reification can solve that because the
problem is not type erasure. All this discussion can be summarized in
just one question:

    /Are we allowed to break Java parameterized type safety?/

You seems to believe that the answer is yes. I think it is a big no-no,
with no exception tolerated (at least in a public API).

    Martin



Re: Email proposal to the

Martin Desruisseaux 11/01/2014

Re: Email proposal to the

Martin Desruisseaux 11/01/2014

Re: Email proposal to the

Otávio Gonçalves de Santana 11/01/2014

Re: Email proposal to the

Martin Desruisseaux 11/01/2014

Re: Email proposal to the

Martin Desruisseaux 11/01/2014

Re: Email proposal to the

Otávio Gonçalves de Santana 11/01/2014

Re: Email proposal to the

Martin Desruisseaux 11/01/2014
 
 
Close
loading
Please Confirm
Close