You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Christofer Dutz (JIRA)" <ji...@apache.org> on 2017/06/19 14:16:00 UTC

[jira] [Commented] (EDGENT-423) Range.toStringUnsigned() not supported on Java7/android

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

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

Please see Java7Helper classes (2 of them) in my latest commit: 
https://github.com/chrisdutz/incubator-edgent/commit/4e04d2b54da28ea4abdc0f172aabb5651f0c46e4

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