Skip to main content

[jsr363-experts] Re: Reflection in RI (at least when Parsing)

  • From: Werner Keil < >
  • To: " " < >
  • Subject: [jsr363-experts] Re: Reflection in RI (at least when Parsing)
  • Date: Mon, 16 Feb 2015 13:01:58 +0100

All,

I think I came across a possible workaround. Still trying to compare
results of parse/format, also with regards to JUnit tests to see, whether
it matches the reflection calls in every aspect necessary for the RI. Units
look reasonably well, not sure about the prefix, we might need to add some
RI or API support that unit systems already offer.

Regards,
Werner



On Sun, Feb 15, 2015 at 4:12 PM, Werner Keil 
< >
 wrote:

> Hi,
>
> Just wanted to raise your attention on a single but so far crucial line of
> RI code affecting https://java.net/jira/browse/UNITSOFMEASUREMENT-7
>
> We have to be able to parse units like "tec.units.ri.spi.SI.WATT" not only
> to instanciate the unit system class SI (that would still work under Java
> ME) but find out, that WATT is an AlternateUnit in this case.
>
> We may be able to retrieve strings differently, but getting from one class
> to another class/type seems hard without Reflection even though it is just
> a single line.
>
> Thoughts, ideas?
>
> Thanks,
> Werner
>


[jsr363-experts] Reflection in RI (at least when Parsing)

Werner Keil 02/15/2015

[jsr363-experts] Re: Reflection in RI (at least when Parsing)

Werner Keil 02/16/2015
 
 
Close
loading
Please Confirm
Close