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] [Commented] (EDGENT-423) Range.toStringUnsigned() not supported on Java7/android
Date Mon, 19 Jun 2017 14:27:00 GMT

    [ https://issues.apache.org/jira/browse/EDGENT-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054092#comment-16054092

Dale LaBossiere commented on EDGENT-423:

Note, hmm... while JAVA_SUPPORT.md says analytics.sensors is supported in java7,
analytics.sensors is NOT included in test7Run, which explains why this Range issue
wasn't discovered earlier.  Unclear which was really intended at this time, though
obviously a good idea to support everything we can under j7.

> 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
> 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.

This message was sent by Atlassian JIRA

View raw message