You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by GitBox <gi...@apache.org> on 2020/09/21 13:40:11 UTC
[GitHub] [jena] strangepleasures commented on a change in pull request #799: JENA-1951 Add support for scripting languages other than JavaScript
strangepleasures commented on a change in pull request #799:
URL: https://github.com/apache/jena/pull/799#discussion_r492052649
##########
File path: jena-arq/src/main/java/org/apache/jena/sparql/function/scripting/NV.java
##########
@@ -65,9 +65,9 @@ public static Object fromNodeValue(NodeValue nv) {
return nv.getString();
if ( nv.isNumber() ) {
if ( nv.isInteger())
- return nv.getInteger();
+ return nv.getInteger().longValue();
Review comment:
Most script engines don't support BigInteger and BigDecimal :-(
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org