Skip to main content

[jsr363-experts] Re: 0.8-RC3

  • From: Werner Keil < >
  • To: " " < >
  • Subject: [jsr363-experts] Re: 0.8-RC3
  • Date: Sat, 11 Jul 2015 16:50:59 +0200

Note, UOM-SE deliberately trails behind, it got the first 0.8 RC but some
issues solved in RI (e.g. formatting) are not yet there.
Also some "extensions" to arithmetic operations, Otavio added to the SE
port show

Failed tests:
  DecimalComparableQuantityTest.multiplyOperationsExceptionTest
Expected exception: java.lang.ClassCastException
  DecimalComparableQuantityTest.divideOperationsExceptionTest Expected
exception: java.lang.ClassCastException
  DoubleComparableQuantityTest.multiplyOperationsExceptionTest
Expected exception: java.lang.ClassCastException
  DoubleComparableQuantityTest.divideOperationsExceptionTest Expected
exception: java.lang.ClassCastException
  NumberComparableQuantityTest.multiplyOperationsExceptionTest
Expected exception: java.lang.ClassCastException
  NumberComparableQuantityTest.divideOperationsExceptionTest Expected
exception: java.lang.ClassCastException

ClassCastException should be thrown trying things like
ComparableQuantity<Speed> speed = metre.multiply(metre, Speed.class);
but it isn't. We have to keep an eye on that, as it looks like asType() in
the RI also shows a similar behavior. As far as JScience 5 it didn't, so
something to look into for the next sprint.

Regards,

Werner


[jsr363-experts] 0.8-RC3

Werner Keil 07/03/2015

[jsr363-experts] Re: 0.8-RC3

Werner Keil 07/11/2015

[jsr363-experts] Re: 0.8-RC3

Werner Keil 07/11/2015
 
 
Close
loading
Please Confirm
Close