Can't inherit and override new() for FFI::Buffer, Pointer, or MemoryPointer
---------------------------------------------------------------------------
Key: JRUBY-4519
URL: http://jira.codehaus.org/browse/JRUBY-4519
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.4
Reporter: Wayne Meissner
Assignee: Wayne Meissner
Priority: Trivial
Fix For: JRuby 1.5
>From [http://github.com/ffi/ffi/issues#issue/27]
The code below works fine in MRI but not JRuby. The problem appears to be
something strange going on when attempting to inherit from base types like
FFI::Pointer, MemoryPointer, Buffer, etc. and overriding initialize() with a
call to super().
[http://gist.github.com/275646]
Am I doing something wrong here? Guessing this has something to do with
multiiple creators in the java implementation but that's just a shot in the
dark. I dont really understand how JRuby's FFI is implemented well enough to
investigate.
--
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