Guest69 has joined #jruby
marciol has joined #jruby
marciol has quit [Ping timeout: 255 seconds]
hone has quit [Ping timeout: 256 seconds]
<machty> how do i declare/register a `become_java!'d ruby class so that a separate java thread (that starts after this declaration) can find it using a class name?
<machty> i guess i have to do jrubyc
<machty> hmm i'm not sure if that's right
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
camlow325 has quit [Ping timeout: 240 seconds]
Guest69 has joined #jruby
<machty> figured it out
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
marciol has joined #jruby
marciol has quit [Ping timeout: 258 seconds]
Guest69 has joined #jruby
subbu is now known as subbu|away
marciol has joined #jruby
marciol has quit [Ping timeout: 255 seconds]
subbu|away is now known as subbu
marciol has joined #jruby
marciol has quit [Ping timeout: 252 seconds]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
thedarkone2 has quit [Quit: thedarkone2]
marciol has joined #jruby
marciol has quit [Ping timeout: 276 seconds]
blaxter has joined #jruby
blaxter has quit [Quit: foo]
prasun has joined #jruby
vtunka has joined #jruby
marciol has joined #jruby
marciol has quit [Ping timeout: 264 seconds]
vtunka has quit [Quit: Leaving]
atm0sphere has joined #jruby
prasun has quit [Ping timeout: 255 seconds]
shellac has joined #jruby
vtunka has joined #jruby
drbobbeaty has joined #jruby
prasun has joined #jruby
marciol has joined #jruby
marciol has quit [Ping timeout: 240 seconds]
Guest69 has joined #jruby
atm0sphere has quit [Ping timeout: 252 seconds]
bbrowning_away is now known as bbrowning
marciol has joined #jruby
tcrawley-away is now known as tcrawley
<machty> i need help getting a locally compiled .class to properly import into jruby
<machty> this page is not very helpful without examples
atm0sphere has joined #jruby
<machty> should i be using $CLASSPATH << "..." or $LOAD_PATH = "..." ?
<machty> is there _any_ better debugging information JRuby could provide here?
<machty> other than "nope, couldn't find it"
<machty> something like Rails where it says "tried searching in the following directories"
<machty> aaaand i fixed it
bbrowning is now known as bbrowning_away
camlow325 has joined #jruby
camlow325 has quit [Ping timeout: 255 seconds]
atm0sphere is now known as darede
darede is now known as golang
ankitr has joined #jruby
ankitr is now known as atm0sphere
atm0sphere is now known as golangpr
enebo has joined #jruby
marciol has quit [Remote host closed the connection]
marciol has joined #jruby
marciol has quit [Ping timeout: 245 seconds]
cremes has joined #jruby
vtunka has quit [Ping timeout: 260 seconds]
vtunka has joined #jruby
phlebas has quit [Ping timeout: 258 seconds]
phlebas has joined #jruby
cschneid has quit [Ping timeout: 258 seconds]
electrical has quit [Ping timeout: 258 seconds]
electrical has joined #jruby
prasun has quit [Ping timeout: 255 seconds]
cschneid has joined #jruby
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
bbrowning_away is now known as bbrowning
marciol has joined #jruby
msg31 has joined #jruby
prasun has joined #jruby
<msg31> Hello. I'm struggling with what I feel a problem that is probably very simple for someone experienced. I've installed ldapjdk on my RHEL7 system. For good measure I require '/usr/share/java/ldapjdk.jar'. java_import netscape.ldap.LDAPConnection fails with 'NameError: undefined local variable or method `netscape' for main:Object'. I'm not really sure how to troubleshoot this further
<ericuspiceworks> msg31: try Java::NetscapeLdap::LDAPConnection
<msg31> ericuspiceworks, that seems to work, can you explain what is going on?
vtunka has quit [Quit: Leaving]
camlow325 has joined #jruby
camlow325 has quit [Client Quit]
camlow325 has joined #jruby
<GitHub13> [jruby] enebo pushed 2 new commits to master: https://git.io/vDiQm
<GitHub13> jruby/master f7d1444 Thomas E. Enebo: Fix last curry spec failing and then some......
<GitHub13> jruby/master 85b367e Thomas E. Enebo: Fix last curry spec failing and then some......
golangpr has quit [Quit: Leaving]
<ericuspiceworks> msg31: I don't think the x.y.z notation works outside of java.
<ericuspiceworks> I always use Java::OrgCompany::Class
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bbrowning is now known as bbrowning_away
thedarkone2 has joined #jruby
<GitHub137> [jruby] enebo pushed 1 new commit to master: https://git.io/vDiAw
<GitHub137> jruby/master 679bb6e Thomas E. Enebo: Polish the stone...get rid of some extra processing of parameters for opt/rest side of Proc#curry
Guest69 has joined #jruby
<headius> ericuspiceworks: it should work, but we only define the top-level java, javax, org, and com packages
<headius> anything outside those you need Java:: in front of, but dots still work
<headius> msg31: ^^
<headius> ericuspiceworks: the camel case form is discouraged because it can be ambiguous
<enebo> It is also too magical
<headius> Java::org.company.Class is preferred
<headius> or with org you can omit Java::
prasun has quit [Ping timeout: 276 seconds]
<msg31> great, thanks
<msg31> unfortunately the ldapsdk java library does not have support for TLS :'(
<msg31> Maybe there is a clever solution I don't know about. net-ldap does not support a connection timeout until version 0.13, however 0.13 is only supported with ruby >= 2.0. Is there a way I can timeout out a method if it takes too long in jruby?
<msg31> Unfortunately I'm stuck working with jruby 1.7.26 as that is what puppetserver ships with
<headius> oh, I was just about to ask
<headius> what 2.0 stuff does it use?
<headius> net-ldap I mean
<headius> there must be a TLS LDAP lib for Java out there *somewhere*
<msg31> headius, I believe its using some new options in Socket.tcp. https://github.com/ruby-ldap/ruby-net-ldap/pull/243
<msg31> Would I be able to use timeout ruby module or is that a bad idea with jruby?
<travis-ci> jruby/jruby (master:679bb6e by Thomas E. Enebo): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/201575189)
golang has quit [Ping timeout: 255 seconds]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bbrowning_away is now known as bbrowning
prasun has joined #jruby
shellac has quit [Quit: Leaving]
kith has quit [Quit: kith]
lanceball is now known as lance|afk
camlow325 has quit [Quit: WeeChat 1.5]
thedarkone2 has quit [Quit: thedarkone2]
camlow325 has joined #jruby
lance|afk is now known as lanceball
marciol has quit [Remote host closed the connection]
marciol has joined #jruby
prasun has quit [Ping timeout: 276 seconds]
<GitHub32> [jruby] enebo closed issue #4304: Singleton on non-persistent Java type Java::JavaLang::NullPointerException https://git.io/vXS4g
swills_ is now known as swills
prasun has joined #jruby
Guest69 has joined #jruby
hone has joined #jruby
prasun has quit [Ping timeout: 255 seconds]
camlow325 has quit [Quit: WeeChat 1.5]
hobodave has joined #jruby
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
thedarkone2 has joined #jruby
<ericuspiceworks> Any idea when 9.1.8.0 will be released ?
<ericuspiceworks> headius: thanks for letting mek now. I was not aware you could do Java::com.foo.bar
<ericuspiceworks> msg31: i do not suggest writing new code that uses Ruby timeout.
bbrowning is now known as bbrowning_away
Guest69 has joined #jruby
tcrawley is now known as tcrawley-away
_whitelogger has joined #jruby
hone has quit [Ping timeout: 240 seconds]