[PPL-devel] a bug in PPL Java bindings

Gianluca Amato amato at sci.unich.it
Tue Feb 14 10:18:10 CET 2012


Hi,
I'm here again with another problem concerning boxes and Java bindings. 
I found by chance a sequence of operations which gives a wrong result. 
It is difficult to describe what happens, therefore I prepared a small 
Java program exhibiting the bad behavior. The program should print

A in 0, B in 1
A in 0, B in 1
A in 0, B in 4
false
A in 0, B in 4

but it prints:

A in 0, B in 1
A in 0, B in 1
A in 0, B in 4
false
A in 0, B in [1, 4]

Cheers,
--gianluca

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PPLBug.java
Type: text/x-java
Size: 1841 bytes
Desc: not available
URL: <http://www.cs.unipr.it/pipermail/ppl-devel/attachments/20120214/c20c1f60/attachment.java>


More information about the PPL-devel mailing list