Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 05 15:05
    chadlwilson opened #6960
  • Dec 03 17:16
    AndyObtiva commented #6958
  • Dec 03 16:27
    headius commented #6958
  • Dec 03 15:54
    headius opened #6959
  • Dec 03 15:54
    headius milestoned #6959
  • Dec 03 15:14
    enebo milestoned #6958
  • Dec 03 05:45
    apple-corps commented #6950
  • Dec 03 00:29
    AndyObtiva opened #6958
  • Dec 02 22:41

    enebo on new_sprintf

    Explicit width can mark rightpa… More test_sprintf_comb.rb fixes (compare)

  • Dec 02 22:29

    enebo on master

    Make split-super errors slightl… Merge pull request #6957 from b… (compare)

  • Dec 02 22:29
    enebo closed #6957
  • Dec 02 22:29
    enebo milestoned #6957
  • Dec 02 22:28
    byteit101 review_requested #6957
  • Dec 02 22:28
    byteit101 opened #6957
  • Dec 02 17:33
    headius closed #1107
  • Dec 02 17:33
    headius milestoned #1107
  • Dec 02 17:09
    enebo milestoned #6444
  • Dec 02 17:09
    enebo demilestoned #6444
  • Dec 02 16:32

    enebo on jruby-9.3

    Update for next dev cycle (compare)

  • Dec 02 16:29

    enebo on 9.3.2.0

    (compare)

Matt Patterson
@fidothe
although i realise that the JDK 1.8 version I have installed outside weird macOS system java thing is 1.8u131. Trying again with 1.8u222 from AdoptOpenJDK
Matt Patterson
@fidothe
logs from test runs on both 1.8u131 and 1.8u222 here: https://gist.github.com/fidothe/dc10bee69950dbe69ca35fb46b68f8dd
Ghost
@ghost~5377c1e9048862e761fa1c25
I think I've been in this room since the start, but I'm heading off now as it's the last room I'm on Gitter for and it's becoming increasingly painful. Catch me on Twitter or the GraalVM Slack room or something if you need me.
Andrea Scarpino
@ilpianista_gitlab
I'm trying to patch a Jenkins plugin this way: http://dpaste.com/2NNQW49 However, the following results in GitParameterPluginAvailable always set to false. Instead, if I prepend the java class name with Java. I get the following backtrace: http://dpaste.com/1SX9VK9
My first question is: which way is the correct way? With the Java. prefix or without it?
Andrea Scarpino
@ilpianista_gitlab
which is the difference between require 'java' and include Java?
Charles Oliver Nutter
@headius
To close the loop here, not much difference; include Java would trigger require 'java' if it had not already been loaded, but in all recent JRuby versions it's already there. The difference comes in where you actually include; whatever module you include Java into will gain some peculiar side effects of our module/package logic that lives in the Java module.
Recommendation is to avoid include Java now, and use require 'java' only as future-proofing in case we don't load it by default some day.
jlahtinen
@jlahtinen
jruby/jruby-rack#217 who would know something about this?
Uwe Kubosch
@donv
@headius Are on this: https://issuetracker.google.com/issues/138705083 They want more info...
Charles Oliver Nutter
@headius
Ah yes
I gave them an example piece of code, I guess I also need to generate an example app 🙄
Charles Oliver Nutter
@headius
got it
hopefully this is enough
Charles Oliver Nutter
@headius
Friendly reminder for folks still here... we will continue to monitor, but Gitter has not been maintained and notifications are unreliable (I don't get them at all). We've moved our official chat room to Matrix, since it's active, FOSS, and bridges very well to IRC. You can join us via https://matrix.to/#/#jruby:matrix.org
There is a Gitter bridge for Matrix, but it has never worked well enough for us to enable it. Hopefully that will change in the future, but you'll get a quicker response if you use IRC (Freenode, #jruby) or Matrix.
That is all...carry on!
Charles Oliver Nutter
@headius
@donv Fixed for future Android 10+ builds, apparently!
Charles Oliver Nutter
@headius
Whoever it was that fixed it is apparently interested in seeing more Android JRuby apps, so that's interesting
Charles Oliver Nutter
@headius
@donv If it's possible for us to detect android we could commit the invoke/invokeExact patch to JRuby, I suppose
it's bothersome that this fix won't go into earlier versions but I'd like to start reducing that patch set
Uwe Kubosch
@donv
@headius Yes, this looks good. Reducing the patch set is the next task, and making a maven package for easy consumption.
@headius I looked at matrix. What client do you use?
Charles Oliver Nutter
@headius
I use the Riot electron app, it works pretty well
oh I'll answer there
annabackiyam
@annabackiyam_twitter
Hi @headius, We are migrating our db from Mysql to Oracle and I'm trying to use activerecord-jdbc-adapter-52.1 and getting argument error similar to the one given here (jruby/activerecord-jdbc-adapter#955) while establishing the connection with adpater as "jdbc". Any workaround for oracle adapters? Appreciate your help.
randiaz95
@randiaz95
Hi guys!!
Charles Oliver Nutter
@headius
@randiaz95 Hi there! most of us were off for xmas, but we also don't use this channel much anymore. We've moved our official chat to Matrix at https://matrix.to/#/#jruby:matrix.org
Cris Shupp
@cshupp1
@annabackiyam_twitter Did you get Oracle working for yourself? I may be able to help. We have used this gem:
activerecord-oracle_enhanced-adapter
Charles Oliver Nutter
@headius
@cshupp1 Any help you can provide would be great... we recommend that adapter for all JRuby+Oracle users but we don't have a lot of experience using it ourselves
I think @annabackiyam_twitter also stopped by the Matrix channel, so if we could move discussion there that would be great too
manvendrakumarsingh
@manvendrakumarsingh
Hello
It is possible for to ROR project to integrate into java.
Blane Dabney
@raelik
@manvendrakumarsingh The short answer is yes. The longer answer depends on what exactly you mean by that.
nzakaluk
@nzakaluk
Hey i was wondering if anyone could help me out. I'm having some issues downloading the JRuby 9.2.11.1 Windows Executable (x64) file. keep getting an internal error code 20. Any thoughts?
Abel Salgado Romero
@abelsromero
Hi, I sent a PR for the jruby-maven-plugins for an issue opened 25 days ago and none got any answer form mkristian? Without the, the plugins don't work with jruby 9.2.10.x or higher. Is there anyone else than can review it?
Abel Salgado Romero
@abelsromero
Sorry to bother again, but still no answer about the PR torquebox/jruby-maven-plugins#106. Is there really no one arrond to check. The issue it tries to fix means no more jruby-plugin for latests version of jruby
J.V.
@JV81608177_twitter
Hi
Charles Oliver Nutter
@headius
@nzakaluk @abelsromero @JV81608177_twitter Sorry nobody responded but we have largely moved our chat to Matrix. If you still have questions or issues, you can join us there or on Freenode IRC #jruby that is proxied to Matrix: jruby.org/chat
that autolink may not work so here's another: https://www.jruby.org/chat
Rohit Jangid
@rohitjangid
Is this group active?
Aaron
@chemturion
No @rohitjangid chat here has moved to Matrix. See https://www.jruby.org/chat
Romain Manni-Bucau
@rmannibucau
if it can help: rubygems.org seems broken, http://rubygems-proxy.torquebox.org/releases/ can replace it (temporarly i guess)
Charles Oliver Nutter
@headius
@rmannibucau I think you are referring to the gems being installed via mavengem plugin, yes? Hoping to get that fixed and a release out soon... something change on rubygems.org over the summer that broke it.
And yeah like @chemturion said please join Matrix, as we are not really monitoring this very often anymore
Oleksiy Kovyrin
@kovyrin
Hello, everybody

I think I have a definitive proof of JRuby's Thread.current object changing in the middle of a process run... Like, local block-level variables remain the same, everything works as expected, but Thread.current is completely different (different ruby object instance, different object_id, different thread-local contents, etc) at the end of the method compared to the value at the beginning of the same method. This completely breaks my mental model of how computers work. Anybody else seen or experience anything like that?

P.S. In case it is relevant:

  • The thread where it happens is a jruby running within jetty, specifically a jruby-rack-worker thread
Oleksiy Kovyrin
@kovyrin
Specific scenario where I'm observing (I was not able to reproduce it outside of our application):
  • 4 jruby rack workers are started using jruby.worker.script=SharedTogo::Workers.start_all!
  • Each logs its thread_id at the beginning, then goes into an infinite loop, periodically checking a Concurrent::AtomicBoolean shutdown flag
  • An at_exit block is used to set the shutdown flag to true
  • When the workers notice the flag, they exit the loop and log their thread id - at this point it is completely different and the worker has lost its thread-local variables
Oh, and one more weird factoid: Thread.list at the end of the method contains a single value in each thread - the new thread object for each thread. Meaning in each of 4 worker threads Thread.list == [Thread.current]