Skip to main content

[jsr363-experts] Service release of RI

  • From: Werner Keil < >
  • To: " " < >
  • Subject: [jsr363-experts] Service release of RI
  • Date: Tue, 4 Oct 2016 14:19:58 +0200

Dear Ex Experts,

We should soon get a Service Release of the JSR 363 RI.
Mostly to fix https://java.net/jira/browse/UNITSOFMEASUREMENT-195

I was hoping to address other issues like
https://github.com/unitsofmeasurement/uom-systems/issues/41 ;(the current
snapshot or e.g. Imperial already does that based on the 1.0 releases of RI
and API) by offering some kind of "builder pattern" for name, symbol or
label of a unit, but unfortunately the static initialization pretty much
all of these units makes it impossible to instantiate a concrete builder
similar to e.g. Calendar.Builder or Locale.Builder. Because the concrete
constructors like new Builder() conflicted with the static way all those
types are called or created.

The protected Helper class is closer to e.g.
Calendar.CalendarAccessControlContext which also deals with calendar
permissions in a static way.

It should be improved slightly in 1.0.1, e.g. via the UnitStyle enum
instead of boolean flags to use by concrete unit systems, otherwise it
remains a static helper class with that name instead of a Builder class.

Should be explained in the RI User Guide which so far only briefly mentions
AbstractSystemOfUnits talking about the Units class.

In 3 weeks I plan to join the Eclipse Science F2F at EclipseCon Europe
Unconference:
https://wiki.eclipse.org/Eclipse_Unconference_Europe_2016#16:00-17:30_Time_
slot_4

A few Science projects already use JSR 275 and either that or others
(mostly GeoAPI I guess) cause a massive demand for JSR 275 despite its
rejected state (and strictly interpreting the Spec License, one would have
to "delete all copies" upon evaluation;-)

Others plan to add support for physical quantities, so it's a good
opportunity to talk about ways to use JSR 363. Once the Eclipse IP team
finally got to accept it, now that JSR 363 is Final...?

Regards,
Werner

Werner Keil | JCP Executive Committee Member, JSR 363 Maintenance Lead |
Eclipse UOMo Lead, Babel Language Champion | Apache Committer

Twitter @wernerkeil | @UnitAPI | @JSR354 | @AgoravaProj | @JSONProcessing
| #DevOps | #EclipseUOMo
Skype werner.keil | Google+ gplus.to/wernerkeil


[jsr363-experts] Service release of RI

Werner Keil 10/04/2016
 
 
Close
loading
Please Confirm
Close