edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale LaBossiere <dml.apa...@gmail.com>
Subject Re: Java7 compatability issue in analytics/sensors
Date Mon, 19 Jun 2017 13:20:20 GMT
Nice catch!
I created https://issues.apache.org/jira/browse/EDGENT-423
— Dale

> On Jun 18, 2017, at 8:04 AM, Christofer Dutz <christofer.dutz@c-ware.de> wrote:
> While fine tuning my maven migration, I stumbled over a problem in the analytics/sensors
> As part of the build I am validating the classes for Java7 against the signatures of
the Java 7 SDK. Here my plugin found an issue I thought was worth reporting.
> In the class org.apache.edgent.analytics.sensors.Range almost at the end in the method
toUnsignedString we are using Byte.toUnsignedInt, which is only available in Java 8 … there
is no back-port for java 7 for this code. Eventually we should replace this with code that
works on Java 7 too.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message