#821: uncached ObjC stub - Abort trap
----------------------------+-----------------------------------------------
Reporter: jazz...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
----------------------------+-----------------------------------------------
{{{
$ cat a.rb
begin
framework 'Cocoa'
rescue
NSWorkspaceLaunchWithoutActivation = 512
end
p NSWorkspace
NSWorkspace.sharedWorkspace.openURLs(
[ NSURL.URLWithString('http://www.macruby.org/')],
withAppBundleIdentifier:nil,
options:NSWorkspaceLaunchWithoutActivation,
additionalEventParamDescriptor:nil,
launchIdentifiers:nil)
}}}
{{{
$ macrubyc -o a --static --framework Cocoa a.rb; ./a
#<NSWorkspace:0x20026b160>
uncached ObjC stub `c@:@@q...@^@'
Abort trap
}}}
Maybe this is a known restriction of the AOT-compilation...
--
Ticket URL: <http://www.macruby.org/trac/ticket/821>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel