Use Advanced Search to search the entire archive.
Re: Remove "generic" multiply/divide operations from Quantity
- From: Martin Desruisseaux <
>
- To:
- Subject: Re: Remove "generic" multiply/divide operations from Quantity
- Date: Mon, 20 Oct 2014 00:15:31 +0900
- Organization: Geomatys
Le 20/10/14 00:09, Werner Keil a écrit :
>
>
It however looks like especially the Output of Unit<?> is going to
>
cause us trouble in JDK8+ ;-/
>
This question should be over for a long time: there is no other possible
output for multiply/divide/inverse/pow operations, no matter how we turn
the problem, except if we provide a Class argument.
I'm in the process right now to write an email to the OpenJDK mailing
list for making that clear. But I will submit it to this list before to
send it - I will not send it without authorisation.
>
The reflect() method of ReflectionDemo won't compile with Unit<?>
>
either for input parameters coming from at least a "chain" of
>
wildcards like Unit.multiply(Unit<?>).asType() which again throws out
>
Unit<?>.
>
I will look at that tomorrow.
Martin