edgent-dev mailing list archives

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

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

Christofer Dutz commented on EDGENT-423:
----------------------------------------

Well with the changes I did in my pull-request all modules work on java7 (except some examples)

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message