Project

General

Profile

Actions

Bug #5973

closed

Usage of 64-bit constants raises exceptions in jruby

Added by Mikhail Chupilko almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
Template Processor
Target version:
Start date:
05/21/2015
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
150619

Description

The following code example raises an exception "The value is too big for int"

    y = 0x7fc0_0001_ffc0_0001

    And x1, x0, 0, x, x, y

The following one would result in "bignum is too big to convert into long"
    y = 0xffc0_0001_ffc0_0001

    And x1, x0, 0, x, x, y

y is specified as card(64) in the nml part

Actions

Also available in: Atom PDF