edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale LaBossiere (JIRA)" <j...@apache.org>
Subject [jira] [Created] (EDGENT-423) Range.toStringUnsigned() not supported on Java7/android
Date Mon, 19 Jun 2017 13:20:00 GMT
Dale LaBossiere created EDGENT-423:

             Summary: Range.toStringUnsigned() not supported on Java7/android
                 Key: EDGENT-423
                 URL: https://issues.apache.org/jira/browse/EDGENT-423
             Project: Edgent
          Issue Type: Bug
          Components: Miscellaneous
            Reporter: Dale LaBossiere
            Priority: Minor

>From Chris Dutz:

While fine tuning my maven migration, I stumbled over a problem in the analytics/sensors modules.
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

This message was sent by Atlassian JIRA

View raw message