<headius[m]> rabidmonk: hello there
<headius[m]> the exception should be propagated out as a RaiseException, which is not a a checked exception (i.e. javac won't yell at you if you don't handle it)
<headius[m]> so if you catch org.jruby.exception.RaiseException you'll capture just about anything that might bubble out
<headius[m]> oops that's org.jruby.exceptions (note the plural)
<headius[m]> there are also Java subclasses for most of the core Ruby exceptions, like org.jruby.exceptions.NameError or StandardError or what have you
<headius[m]> hmm
<headius[m]> you could try to catch (Throwable) and see what it is
<headius[m]> I'm confused why it's not a RaiseException but now I'm thinking perhaps the ScriptingContainer API wraps it with something else
<headius[m]> (that API was created a long time ago, before we had a nice set of Java exceptions to raise)
<headius[m]> I don't see anything that would be re-wrapping it
<valphilnagel> hedius[m]: Yeah we did :) Probably timezone?... I will try to create the PR...let's see how it goes from there...
<headius[m]> valphilnagel: I'm here now!
<valphilnagel> Hi!
<valphilnagel> I haven't done the fork and PR.. let me do that and you can see the changes
<headius[m]> rabidmonk: this is the API we recommend for embedding
<headius[m]> the alternatives are using javax.scripting, which is pretty limited as an API, or using JRuby's internals directly
<headius[m]> rabidmonk: aha, so it does rewrap it
<headius[m]> you should be able to catch that exception and then unwrap it to get the actual cause
<headius[m]> ha yes
rabidmonk[m] has joined #jruby
<rabidmonk[m]> thank you headius I'll play around with this more
_whitelogger has joined #jruby
nirvdrum has quit [Ping timeout: 265 seconds]
ur5us_ has quit [Ping timeout: 260 seconds]
nirvdrum has joined #jruby
<valphilnagel> Hi headius[m], I just found out the OpenJFX component only works on Java 11 onwards... for JRubyFX, what's the minimum Java version ? Java 8 ?
ur5us_ has joined #jruby
snickers has joined #jruby
ur5us_ has quit [Ping timeout: 260 seconds]
<headius[m]> valphilnagel: so I assume your changes will require moving to the OpenJFX packages, yeah?
valphilnagel has quit [Ping timeout: 244 seconds]
valphilnagel has joined #jruby
ur5us_ has joined #jruby
snickers has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us_ has quit [Ping timeout: 260 seconds]
<valphilnagel> hedius[m] I've created the fork and PR (JRubyFX Support Pre-Built OpenJFX Libraries #127)
<valphilnagel> The pre-built OpenJFX is compiled using Java 10 unfortunately...
<valphilnagel> For JRubyFX-FXMLLoader project https://github.com/byteit101/JRubyFX-FXMLLoader/pull/12
<valphilnagel> Sorry the PR for JRubyFX is at https://github.com/jruby/jrubyfx/pull/127
<valphilnagel> headius[m] I tried to compile jfx source code in Java 1.8, it failed with message :FAIL: java version mismatch: JDK version (1.8.0_252) < minimum version (11)
<valphilnagel> It seems the OpenJFX is based starting from Java 11 onwards... I don't know how it affects the JRubyFX direction...
<valphilnagel> JRubyFX is a very helpful library for me to develop some desktop app...
sagax has quit [Ping timeout: 260 seconds]
sagax has joined #jruby
rusk has quit [Remote host closed the connection]
xardion has quit [Remote host closed the connection]
xardion has joined #jruby
ahorek[m] has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (no_sourceposition:1680673 by Thomas E. Enebo): The build is still failing. https://travis-ci.org/jruby/jruby/builds/687517142 [144 min 31 sec]
travis-ci has left #jruby [#jruby]
<byteit101[m]> headius: speaking of jrubyfx, I'd love to get feedback on this PR so I can drop most of the fxmlloader in favor of the native java fxmlloader once it's merged: https://github.com/jruby/jruby/pull/6141
travis-ci has joined #jruby
<travis-ci> jruby/jruby (no_sourceposition:54307cf by Thomas E. Enebo): The build was fixed. https://travis-ci.org/jruby/jruby/builds/687545427 [139 min 8 sec]
travis-ci has left #jruby [#jruby]
<headius[m]> byteit101: I have it in my queue to look at, will try to do that today
<byteit101[m]> Awesome, thanks! I know it probably needs some more work, as per my questions at the top of it, but those are things I couldn't really answer myself
travis-ci has joined #jruby
<travis-ci> jruby/jruby (no_sourceposition:1d8301e by Thomas E. Enebo): The build was broken. https://travis-ci.org/jruby/jruby/builds/687588363 [103 min 26 sec]
travis-ci has left #jruby [#jruby]
nirvdrum has quit [Quit: Leaving]
<headius[m]> github slow this afternoon?
<headius[m]> my pushes are taking forever
<headius[m]> hmm yep and a clone just failed
knu has quit [Quit: Reboot...]
knu has joined #jruby
<headius[m]> this five year old oolong isn't terrible
<headius[m]> kares or enebo is this still valid? https://github.com/jruby/activerecord-jdbc-adapter/issues/1060