🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #1126

Re: Kolizja nazw metod między Javą i JRuby

#1126
From: Marcin Mielżyński
Date: Wed, 13 Aug 2008 12:13
17 lines
1153 bytes
package pl.foo.bar;
public class X {
     public void initialize() {
         System.out.println("foo");
     }
}


include Java
require 'X.jar'

X = Java::PlFooBar::X
jcls = X.java_class
m = jcls.declared_method("initialize")
m.invoke(X.new.java_object)

lopex
Technical Details
Message-ID: <g7uj60$t0a$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
References: <op.ufr54lxjyvsyti@vantify_ec>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: Marcin Mielżyński <lopx@gazeta.pl>
Newsgroups: pl.comp.lang.ruby
Subject: Re: Kolizja nazw metod między Javą i JRuby
Date: Wed, 13 Aug 2008 14:13:51 +0200
Organization: Onet.pl
Lines: 17
Message-ID: <g7uj60$t0a$1@news.onet.pl>
References: <op.ufr54lxjyvsyti@vantify_ec>
NNTP-Posting-Host: ns37685.ovh.net
Mime-Version: 1.0
X-Trace: news.onet.pl 1218629633 29706 87.98.217.227 (13 Aug 2008 12:13:53 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Wed, 13 Aug 2008 12:13:53 +0000 (UTC)
X-Sender: 5Da2qcG7AWj7WISFX859Php/OS6q4VnB
In-Reply-To: <op.ufr54lxjyvsyti@vantify_ec>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit