FFI: Instantiating a new Pointer with address zero raises an error
------------------------------------------------------------------
Key: JRUBY-3704
URL: http://jira.codehaus.org/browse/JRUBY-3704
Project: JRuby
Issue Type: Bug
Reporter: Andrea Fazzi
Assignee: Thomas E Enebo
Fix For: JRuby 1.3
Trying to instantiate a null Pointer raises a NullPointerException.
irb(main):002:0> FFI::Pointer.new(0)
BasePointer.java:55:in `getAddress': java.lang.NullPointerException
[snip]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email