rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #jruby
rrutkowski has quit [Ping timeout: 240 seconds]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
cremes has quit [Quit: cremes]
<GitHub104> [jruby] mkristian force-pushed jruby-readline-update from 66a447a to 6f67d38: https://git.io/vbOha
<GitHub104> jruby/jruby-readline-update 6f67d38 Christian Meier: upgrade jruby-readline version
<GitHub104> jruby/jruby-readline-update 972933f Christian Meier: upgrade jar-dependencies version
claudiuinberlin has joined #jruby
<GitHub165> [jruby] mkristian force-pushed jruby-readline-update from 6f67d38 to 9070914: https://git.io/vbOha
<GitHub165> jruby/jruby-readline-update 9070914 Christian Meier: upgrade jruby-readline version
<GitHub165> jruby/jruby-readline-update fcf89d8 Christian Meier: upgrade jar-dependencies version
rdubya has quit [Read error: Connection reset by peer]
rdubya1 has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
<travis-ci> jruby/jruby (jruby-readline-update:9070914 by Christian Meier): The build passed. (https://travis-ci.org/jruby/jruby/builds/334619096)
<GitHub20> [jruby] mkristian force-pushed jruby-readline-update from 9070914 to b8c9ca9: https://git.io/vbOha
<GitHub20> jruby/jruby-readline-update b8c9ca9 Christian Meier: upgrade jruby-readline version
shellac has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rdubya1 has quit [Quit: Leaving.]
rdubya has joined #jruby
<travis-ci> jruby/jruby (jruby-readline-update:b8c9ca9 by Christian Meier): The build passed. (https://travis-ci.org/jruby/jruby/builds/334635781)
drbobbeaty has joined #jruby
bbrowning_away is now known as bbrowning
cremes has joined #jruby
cremes has quit [Quit: cremes]
cremes has joined #jruby
<GitHub24> [jruby] cshupp1 opened issue #5018: open3.rb broken in JRuby https://git.io/vNSL4
xardion has quit [Remote host closed the connection]
<GitHub168> [jruby] enebo closed pull request #4991: Update File#path to raise IOError for files opened with File::Constants::TMPFILE option (ruby-2.5...file-path-now-raises-ioerror-when-tmpfile) https://git.io/vNuXN
<GitHub38> [jruby] enebo pushed 4 new commits to ruby-2.5: https://git.io/vNSYC
<GitHub38> jruby/ruby-2.5 c2a2d25 Miguel Landaeta: Update File#path to raise an IOError for files opened with File::Constants::TMPFILE option...
<GitHub38> jruby/ruby-2.5 7b6a410 Miguel Landaeta: Expand support for open(2) TMPFILE flag
<GitHub38> jruby/ruby-2.5 7b8ca7a Miguel Landaeta: Add MRI test for File#path when opened with File::Constants::TMPFILE option
<GitHub7> [jruby] enebo closed pull request #4999: IO#write accepts multiple arguments (ruby-2.5...io-write-accepts-multiple-arguments) https://git.io/vNa5R
<GitHub74> [jruby] enebo pushed 3 new commits to ruby-2.5: https://git.io/vNSYE
<GitHub74> jruby/ruby-2.5 ecf16d2 Thomas E Enebo: Merge pull request #4999 from nomadium/io-write-accepts-multiple-arguments...
<GitHub74> jruby/ruby-2.5 561259b Miguel Landaeta: Implement IO#write variant that accept multiple arguments...
<GitHub74> jruby/ruby-2.5 da12660 Miguel Landaeta: Add MRI tests for IO#write accepting multiple arguments
<GitHub155> [jruby] enebo pushed 2 new commits to master: https://git.io/vNSYX
<GitHub155> jruby/master 63821af Thomas E Enebo: Merge pull request #5011 from nomadium/fix-array-test-zip-exclude...
<GitHub155> jruby/master b8637fe Miguel Landaeta: Remove TestArray#test_zip exclusion test case
<GitHub178> [jruby] enebo closed pull request #5011: Remove TestArray#test_zip exclusion test case (master...fix-array-test-zip-exclude) https://git.io/vNPWE
xardion has joined #jruby
olle has joined #jruby
<GitHub25> [jruby] enebo pushed 2 new commits to master: https://git.io/vNSOY
<GitHub25> jruby/master 9a9d63e Thomas E Enebo: Merge pull request #5013 from arjanvandervelde/master...
<GitHub25> jruby/master b617d55 Arjan van der Velde: fix issue where expr fails on freebsd....
<GitHub93> [jruby] enebo closed pull request #5013: fix issue where expr fails on freebsd. (master...master) https://git.io/vN1Kb
<GitHub133> [jruby] enebo pushed 1 new commit to jruby-9.1: https://git.io/vNSOz
<GitHub133> jruby/jruby-9.1 07950ec Arjan van der Velde: fix issue where expr fails on freebsd....
<olle> enebo: This looks cool, too https://github.com/jruby/jruby/pull/5017
<GitHub119> [jruby] enebo pushed 2 new commits to master: https://git.io/vNSO7
<GitHub119> jruby/master c7f5058 Thomas E Enebo: Merge pull request #5014 from nomadium/fix-array-test-uniq-bang-with-freeze...
<GitHub140> [jruby] enebo closed pull request #5014: Remove TestArray#test_uniq_bang_with_freeze exclusion test case (master...fix-array-test-uniq-bang-with-freeze) https://git.io/vN1MZ
<GitHub119> jruby/master 825a4ad Miguel Landaeta: Remove TestArray#test_uniq_bang_with_freeze exclusion test case
<GitHub138> [jruby] enebo pushed 1 new commit to jruby-9.1: https://git.io/vNS3U
<GitHub138> jruby/jruby-9.1 245e4fe Miguel Landaeta: Remove TestArray#test_uniq_bang_with_freeze exclusion test case
<GitHub90> [jruby] enebo closed pull request #5015: Remove unused import statements (jruby-9.1...not_used_import) https://git.io/vNM3t
<GitHub56> [jruby] enebo pushed 3 new commits to jruby-9.1: https://git.io/vNS3Y
<GitHub56> jruby/jruby-9.1 f0e14b1 Thomas E Enebo: Merge pull request #5015 from yui-knk/not_used_import...
<GitHub56> jruby/jruby-9.1 716a0d2 yui-knk: Remove unused import statements
<GitHub56> jruby/jruby-9.1 cbd05f6 yui-knk: Remove unused import statements
<GitHub86> [jruby] enebo pushed 3 new commits to jruby-9.1: https://git.io/vNS3D
<GitHub132> [jruby] enebo closed pull request #5017: Add `#test_power_of_0` and `#test_power_of_1_and_minus_1` to test targets (jruby-9.1...test_power_of) https://git.io/vNDtd
<GitHub86> jruby/jruby-9.1 6df757c Thomas E Enebo: Merge pull request #5017 from yui-knk/test_power_of...
<GitHub86> jruby/jruby-9.1 55a891a yui-knk: Add `#test_power_of_1_and_minus_1` to test targets...
<GitHub86> jruby/jruby-9.1 47eeadc yui-knk: Add `#test_power_of_0` to test targets...
<eregon> Doing the usual spec update today
<GitHub108> [jruby] eregon pushed 4 new commits to master: https://git.io/vNS3x
<GitHub108> jruby/master 39bc569 Benoit Daloze: Squashed 'spec/ruby/' changes from 0fe33ac..83063a3...
<GitHub108> jruby/master 9a3ed41 Benoit Daloze: Merge ruby/mspec commit 'fff6ad075543dfe75768ea9864afcaa9efbb3223'
<GitHub108> jruby/master fff6ad0 Benoit Daloze: Squashed 'spec/mspec/' changes from 5f563e4..5d49a6c...
<GitHub142> [jruby] olleolleolle opened pull request #5019: Do not leak DNS Request IDs (jruby-9.1...carry-do-not-leak-dns-request-ids-to-jruby-9-1) https://git.io/vNSsU
<GitHub31> [jruby] olleolleolle opened pull request #5020: README: Add jruby-9.1 branch Travis build badge (master...patch-1) https://git.io/vNSGP
olle has quit [Quit: olle]
drbobbeaty has quit [Read error: Connection reset by peer]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
shellac has quit [Quit: Leaving]
cshupp has joined #jruby
<cshupp> @enebo what is the maven command to build jruby's complete jar?
skbb has joined #jruby
<skbb> I upgraded jruby for my rails application from 1.7.18--> 1.7.27 to support a TLS 1.2 related change. I am unsure what underying ruby version is running with 1.7.27? I needed help to figure out if I need to update my rails from 3.2.18 to 4 or higher.
<cshupp> Run RUBY_VERSION to see
<cshupp> C:\work\VSO\vso>java -jar c:\languages\ruby\jruby-9.0.4.0\jruby-complete-9.0.4.0.jar -Sjirb
<cshupp> irb(main):001:0> RUBY_VERSION
<skbb> thanks, I get this: jruby 1.7.27 (1.9.3p551) for `jruby -v`. Id rails 3.2.18 compatible with 1.7.27?
<skbb> thanks, I get this: jruby 1.7.27 (1.9.3p551) for `jruby -v`. Is rails 3.2.18 compatible with 1.7.27?
<cshupp> I used to run rails 3.2 with 1.6 and 1.7
<cshupp> with no issues
<skbb> Great. So seemingly no update needed. thanks!
<cshupp> But that is the jruby version
<cshupp> not the ruby version
<skbb> Yep so rails 3.2.18 should be compatible with jruby 1.7.27 accurate?
<cshupp> I would think so, I never had issues.
<skbb> gotcha, thanks.
<cshupp> I was 3.2.3 though
<headius> eregon: thank you! In the future maybe you could do it on a branch, so we don't have master going super red until we can work around it
<headius> I haven't looked at CI today to know whether we went super red, I'm just saying in general :-)
<cshupp> @headius, regarding your improve_windows_open3 branch...
<cshupp> Do you expect this error?
cremes has quit [Quit: cremes]
<headius> cshupp: it's still in progress unfortunately
<headius> that looks like you need a full recompile
<headius> assuming I didn't commit uncompilable code to the branch, which is definitely a possibility too
<cshupp> mvn clean package?
<cshupp> I am testing master now...
skbb has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<headius> yeah
<headius> that method was added some time ago for unrelated reasons
<cshupp> enebo is asking me to try your branch for this:
<headius> ah yes, he just hassled me to work on it :-)
<headius> there's another bug that's very similar, have you seen it?
<headius> I think we should try to condence all the open3 windows bugs into one
<cshupp> Shoot me the link
<headius> condense
<headius> I know there are others
<headius> subprocesses on Windows is what's really broken
<headius> I never ported the win32 bits of MRI's process logic
<cshupp> It might be related
<cshupp> hard for me to tell
<headius> I'm looking at another issue at the moment but I'll try to circle back to this today or tomorrow
<headius> it's in the queue :-D
<cshupp> OK, i did a mnv clean package
<cshupp> followed by
<cshupp> mvn -Pcomplete
<cshupp> on master
<cshupp> irb will not come up
<cshupp> Everything builds
cremes has joined #jruby
pcarlisle has joined #jruby
skbb has joined #jruby
olle has joined #jruby
skbb has quit [Client Quit]
olle has quit [Client Quit]
shai has joined #jruby
shai is now known as Guest87362
Guest87362 has left #jruby [#jruby]
jruby-n00b has joined #jruby
<jruby-n00b> Hey, this might be a beginner's error, but I'm getting some "NameError: uninitialized constant" errors when running with jruby, vs it not happening when running with MRI. What is a good starting point to figure out the underlying problem for this?
<jruby-n00b> I'm using thrift in this case, and it's not loading some auto-gen ruby code (a thrift constant), whereas in MRI there is no such problem.
<headius> cshupp: ok, then there's some code generation bug somewhere
<headius> cshupp: I'll try to merge from master
<headius> jruby-n00b: hey there!
<cshupp> headius that is master.
<headius> best option generally is to open a bug so we can investigate together
<headius> cshupp: ok something's up with your env then
<cshupp> OK, but I was hoping I was the bug.
<jruby-n00b> I did find https://github.com/jruby/jruby/issues/3920 and not sure if that could be related. My installed version is: jruby 9.1.15.0 (2.3.3) 2017-12-07 929fde8 Java HotSpot(TM) 64-Bit Server VM 25.152-b16 on 1.8.0_152-b16 +jit [darwin-x86_64]
<GitHub175> [jruby] headius pushed 1 new commit to jruby-9.1: https://git.io/vNSVY
<GitHub175> jruby/jruby-9.1 dd9e5e7 Charles Oliver Nutter: Remove some defunct code references to Rubinius.
<headius> cshupp: I'll double check here
<cshupp> OK
<cshupp> I am on Windows.
<cshupp> One of the three rails peole on the planet...
<headius> jruby-n00b: hmm it looks like that particular issue is ok on 9.x
<headius> it could be related but I'd say you should open a new bug with your details
<headius> cshupp: we feel your pain...hoping to catch our Windows support up again here
skbb has joined #jruby
<headius> cshupp: hey I'm confused...you said that was master but your past shows jruby-complete-9.1.16.0
<headius> in any case we have test suites that build and run the jruby-complete jar through a number of test suites
<cshupp> One sec I just shut that ide down
<cshupp> I will do a git show
<headius> I suspect you are mixing JRuby jars from two branches, because the packed thing is only on master
<cshupp> I was switching local branches between master and your pull request
<cshupp> but I expected the mvn clean package to do the clean part
<headius> it certainly should
<headius> do you have anything JRuby or Java-related in ENV?
<cshupp> JRUBY_HOME i unset
<cshupp> or nothing builds
<cshupp> I will create a gist of the two builds
Antiarc has quit [Ping timeout: 276 seconds]
cremes has quit [Quit: cremes]
skbb has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Antiarc has joined #jruby
<jruby-n00b> headius: is it possible it's due to lazy loading? ie, a sub-require of a file that is implicit, and a constant referenced from one of those files that isn't explicitely specified. Is that jruby behavior?
<headius> jruby-n00b: well, there are various complexities around loading in parallel, loading with autoload etc
<GitHub198> [jruby] enebo closed pull request #5020: README: Add jruby-9.1 branch Travis build badge (master...patch-1) https://git.io/vNSGP
<GitHub93> [jruby] enebo pushed 2 new commits to master: https://git.io/vNSoi
<GitHub93> jruby/master 61205a6 Thomas E Enebo: Merge pull request #5020 from olleolleolle/patch-1...
<GitHub93> jruby/master 4b7905d Olle Jonsson: README: Add jruby-9.1 branch badge [ci skip]
<headius> we have not ironed all those out but we have not had a bug report about them in a while
<cshupp> headius, this time I manually cleaned out the target directory
<cshupp> re-ran against master
<cshupp> I only got 9.2.2 snapshots
<GitHub120> [jruby] enebo pushed 2 new commits to jruby-9.1: https://git.io/vNSo7
<GitHub120> jruby/jruby-9.1 26005d0 Thomas E Enebo: Merge pull request #5019 from olleolleolle/carry-do-not-leak-dns-request-ids-to-jruby-9-1...
<GitHub120> jruby/jruby-9.1 ada05fa Pavel Forkert: Do not leak DNS Request IDs...
<GitHub42> [jruby] enebo closed pull request #5019: Do not leak DNS Request IDs (jruby-9.1...carry-do-not-leak-dns-request-ids-to-jruby-9-1) https://git.io/vNSsU
<cshupp> no 9.1.16
<cshupp> irb does come up
<cshupp> with the dreaded windows error
<cshupp> but you guys are working on that one.
<cshupp> I will try your branch now
<cshupp> btw exiting irb shows this error? Do you want a bug written up against snapshot?
<headius> oh yes please
<headius> blasted readline issues
<cshupp> Ahhh, headius, your branch makes the 9.1.16s
<cshupp> but irb comes up this time!
<headius> woot
<headius> what's on the branch right now just disables some things that Windows doesn't have...the ultimate fix for this stuff will be to finish the port
claudiuinberlin has joined #jruby
<headius> enebo: perhaps I should conservatively merge the fix from that branch to 9.1 and finish up the port for 9.2
<cshupp> enebo and headius
<cshupp> I updated the bug
<cshupp> the results are unchanged.
<headius> ok
<cshupp> Sorry for the bad nes, and thanks for all you do!
<cshupp> Sorry for the bad news, and thanks for all you do!
<enebo> weird error message
<enebo> cshupp: that is the directory you invoke irb from right?
<cshupp> headius and enebo since I have that branch ready let me know if you would like me to pull and try again.
<enebo> C:\work\VSO\vso
<cshupp> I started with that mistake, but switched to rails root
<cshupp> IE I dsidn't run from the target directory
<cshupp> IE I didn't run from the target directory
<cshupp> But I run which bundle to ensure I see the right one
<enebo> cshupp: so if you run from rails dir does it report the rails dir then?
<cshupp> => ["/c/work/VSO/gem_home/bin/bundle\n",
<cshupp> that is the right one
<cshupp> my gem home is c:\work\VSO\gem_home
<enebo> cshupp: ok but I am wondering where the directory I pasted above comes from
<enebo> cshupp: is that a real dir or are you in it?
<enebo> cshupp: trying to understand if that is just how it reports errors or whether it made some funky path
<cshupp> This pastebin thing sucks
<cshupp> that one is right.
<enebo> cshupp: ok so you are in vso/vso and it is just the error reporting telling us that
<cshupp> yes
<cshupp> it is what happens when you create a vso directory to clone the vso project
<enebo> ok
<cshupp> then you smack yourself and live with it...
<cshupp> Now I have your guys code in jruby/jruby
<cshupp> so I am not improving...
<headius> I am going to focus on this populator/dynamicmethod thing for now, bbl
<enebo> another thing I did not connect is capture3 is working partially since you used it for other things
<cshupp> Yes, I cannot explain that
<cshupp> it will not run a ruby binstub
<enebo> My guess is sub-process from a sub-process which uses IO
<cshupp> I wonder...
<cshupp> let me append jruby to it.
<enebo> capture3 jruby -ve1
<cshupp> Could it be that it is not clever enough to use cygwin superpowers?
<enebo> If that doesn't work then we know bundler is not specific
<enebo> but you used which
<enebo> that is from cygwin and it worked right?
<cshupp> yeah but that is a binary executable
<enebo> yeah
<cshupp> it isn't using the shebang
<enebo> try CMD once then
<cshupp> Which one?
<cshupp> just 'cmd'
<cshupp> to bring a windows shell up?
<enebo> I am guessing there is a .bat/cmd binstub on windows bundler right?
<enebo> yeah
<cshupp> irb(main):006:0> sttdout, stderr, status = Open3.capture3({}, "cmd")
<cshupp> irb(main):007:0>
<cshupp> => ["Microsoft Windows [Version 10.0.16299.192]\r\n(c) 2017 Microsoft Corporation. All rights reserved.\r\n\r\nC:\\work\\VSO\\vso>", "", #<Process::Status: pid 16776 exit 0>]
<enebo> So I think things you can do to try and narrow would be capture running a jruby sub-process AND while in a CMD window try and run bundler the way you reported
<enebo> The second thing may eliminate cygwin
<enebo> The first thing may point to something more basic about jruby
jruby-n00b has quit [Ping timeout: 240 seconds]
<cshupp> So the bundle stuff does work for me in a cmd shell
<enebo> 1) capture3({}, "jruby -ve 1") 2) in cmd 'Open3.capture3({}, "bundle exec rake routes")'
<enebo> So I just mean what shell you are in when you enter irb itself
<enebo> I think if you enter irb from CMD instead of cygwin bash window it will use windows binstub and not unix one
<cshupp> OK, so this works:
<cshupp> irb(main):008:0> sttdout, stderr, status = Open3.capture3({}, "jruby c:/work/vso/gem_home/bin/bundle exec rake routes")
<cshupp> ch_text/fetch_text(.:format) fetch_text#fetch_text\r\n", "C:/work/VSO/vso/config/environment.rb:5: warning: already initialized constant WINDOWS\r\nC:/work/VSO/vso/config/environment.rb:7: warning: already initialized constant
<cshupp> => ["\"The version is \"\r\n\"Setting rails war to use production\"\r\n Prefix Verb URI Pattern Controller#Action\r\n root GET / welcome#index\r\nfetch_text GET /fet
<cshupp> CATALINA_HOME\r\n", #<Process::Status: pid 21152 exit 0>]
<cshupp> irb(main):009:0>
<cshupp> this is against headius's branch
<enebo> ok that is interesting
<enebo> I would definitely paste that into the issue
<enebo> Looks like it may just be a directory/path find the thing issue then
<cshupp> OK, I never use cygwins shell btw
<cshupp> I only have it on my path
<enebo> It did say that in the error message but it is hard to know if we can trust those sorts of message
<enebo> cshupp: ah ok so not an issue then
<enebo> cshupp: and your test largely demonstrates that the binstub does work now too
<cshupp> OK I will add this to the bug
<cshupp> but not with the shebang
<enebo> well who knows? I guess I don't follow that
<enebo> All I see is if you use fully qualified path to bundle it works
<cshupp> OK, let me try and explain
<cshupp> The first line of bundle's binstub is:
<cshupp> #! jruby
<cshupp> #! jruby
<cshupp> most windows people type 'jruby bundle exec rake routes'
<cshupp> but cygwin give shebang powers
<headius> enebo: I see what you mean about the FFI stuff
<cshupp> The thing is I am fairly certain I opened webpacker up and add the jruby
<headius> I had not noticed Wayne made a superclass of DynamicMethod that all the FFI-based methods extend
<cshupp> to the command
<enebo> cshupp: ok I missed the 'jruby ' in that snippet above
<cshupp> and it still didn't work
<enebo> cshupp: I skipped over that thinking all you did was add the full path to bundle
<cshupp> I did do that to feed it to jruby
<enebo> headius: so we can add name to that subtype to eliminate that use of setName in DynamicMethod
<headius> well that's the problem
<headius> these things get constructed many places without any name
<headius> like, no name even available...a wrapper around a function pointer
<enebo> and we do not know they are the subtype at all?
<headius> and FFI does not track or connect name with function pointer
<headius> at this point I'm considering just making the name be some bogus generated thing like ffi<pointer>
<enebo> headius: Are you trying to solve the whole enchilada right now? More than just addBuiltinMethod use of setName?
jrafanie has joined #jruby
<enebo> I do not think ffi methods make it into that
<headius> the thread is long
<headius> in order to make invokers set name in constructor I have to change how they're generated
<headius> FFI uses the same interfaces to generate
<enebo> headius: minimum level of happiness for me is removing setName from builtin method thing
<enebo> oh
<enebo> and FFI also uses same code
<headius> many of the paths to generating and constructing invokers has no name anywhere near
<headius> so lots of signatures have to gain it
<enebo> yeah
<headius> I mean even MethodFactory doesn't pass in name
<headius> it gets it from annotation for most methods, but does not get anything on the FFI path
<enebo> so populators could be changed but there is common code which cannot use the same construction
<enebo> so ffi would have either a fake name or have to be somewhat different
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<headius> yeah
<headius> or I'd have to do a LOT of hacking in FFI to get the name to always be with a function, which might not even be possible
<headius> or I have it setName
<headius> my thought currently is that the fake name is fine
<headius> it's only used for inspect and super and these are FFI methods so they don't super
<enebo> headius: yeah and it is not like ffi will not setName later if it is a valid name
<enebo> headius: probably better to know we can always return something to avoid null checking or NPE if we don't
<headius> enebo: there's a class called MethodMissingMethod you created that is no longer used
<enebo> headius: and long term we can still probably make FFI push that setName method down to a more specialized type
<headius> it's from 2010...tweaks since then have been general DynamicMethod changes
<headius> I'm deleting it FYI if you want to have a look
<enebo> headius: yeah I doubt anyone will miss it :)
<enebo> headius: I did notice it a couple of weeks ago
<enebo> when I tried pushing bytelist through all methods
<enebo> I think I did delete it during that experiment since the API would have needed to change
<headius> well, should be easy to merge then :-)
<enebo> I did not roll with those changes
<enebo> but I was committed on removing :)
<headius> I'm making the name change on 9.1 but it will likely only be visible in the Method#inspect update on master
<headius> very little code looks at getName on 9.1
<enebo> headius: does that mean less is looking at name passed through call() etc?
<headius> well all the places that needed name on 9.1 had it already
<headius> through whatever mechanism
<enebo> yeah but I mean on master
<headius> the change on master aligns Method#inspect logic and DynamicMethod name requirement
<headius> with what's in MRI's method structure
<headius> basically
<enebo> headius: so master will largely defer to field on method vs parameter to call
<enebo> I am hoping for always so we can eliminate the parameter for 10k :)
<headius> well so the name passed in seems to almost never be different from the bound name
<headius> alias passes through the old name
<cshupp> BTW, this will work
<cshupp> sterr, stdout, status = Open3.capture3(webpack_env, "jruby #{ENV['GEM_HOME']}\\bin\\bundle exec webpack")
<headius> so it begs the question whether the param is even needed now
<enebo> "almost never" - class computer talk
<cshupp> on either 9.1.15 or the snapshot
<cshupp> once I take jruby out it bombs
<enebo> headius: yeah it would be awesome to know that
<headius> enebo: yeah, I just noticed it again because I realized AliasMethod didn't need an "oldName" field...its natural name should be the old name anyway
<cshupp> Will you be able to make shebangs work?
<headius> so that's one more place where all we need is the original method's name
<enebo> headius: yeah I had a merge conflict with that :)
<headius> noticed as in during porting...they get the "natural" name from the alias and it's the old name
<headius> so I just did that
<headius> now I'm not sure if anything passes through a different name
<headius> I guess define_method might
<headius> but that could be set once too
<enebo> cshupp: Are you sure it is not calling bundle.bat?
<headius> it's a super thing when it differs, IF it ever differs now
<enebo> headius: define_method though seems like it could construct something with a name?
<cshupp> let me put an echo in and see
<headius> enebo: yeah exactly
<enebo> headius: yeah ProcMethod has no name field but there is no reason it couldn't
<enebo> or I should say extra constructor
<headius> so again, I don't know anywhere that has to have a name passed in
<headius> but that's another adventure unrelated to this
<enebo> headius: hey if you correct these cases and run test:mri or specs perhaps you can find something or not!
<headius> all methods will have a non-null name on 9.1 and master, but master makes more use of it
<enebo> if not then that is somewhat exciting
<enebo> I think I would just change the name to _ everywhere
<headius> yeah, just trying to narrow my scope for the 2.5 days before I travel :-)
<enebo> then for 10k remove it
<enebo> :)
<headius> I'll be working in transit a lot during the drip but I need to get something together for RubyConf
<headius> the other two confs are condensed versions of LavaOne talk
<headius> enebo: rest of the change doesn't seem bad...I'll run some sanity checks and push it
<headius> I believe I can make name final now also
<cshupp> This does:
<cshupp> sterr, stdout, status = Open3.capture3(webpack_env, "bundle.bat exec webpack")
<cshupp> and my war is built
<cshupp> w/o the .bat it seems to go for the binstub directly
cremes has joined #jruby
<headius> cshupp: that is not surprising...capture3 uses popen3 which is the only one with a working Windows impl
<cshupp> A yucky little cmd shell opens up too, but my monkey opatch has the same thing
<cshupp> So is this a jruby bug, or should the webpacker team smell windows and call the bat file?
<cshupp> If I type:
<cshupp> bundle exec webpack
<cshupp> from the shell the shell chooses the bat file
<cshupp> copen doesn't
<enebo> cshupp: one thing to try is similar test with MRI on windows
<cshupp> OK
<cshupp> Open3.capture3({}, "bundle exec webpack")
<cshupp> works on mri ruby
<cshupp> and mri treats 'bundle' as 'bundle.bat'
<cshupp> So for clarity:
<cshupp> sterr, stdout, status = Open3.capture3({}, "bundle.bat exec webpack")
<cshupp> That works on JRUBY
<cshupp> sterr, stdout, status = Open3.capture3({}, "bundle exec webpack")
<cshupp> That fails on jruby
<cshupp> They both work on MRI
<cshupp> So I think you are right enabo.
<cshupp> So I think you are right enebo.
<enebo> cshupp: ok cool. Add that to the issue.
<cshupp> Done
<enebo> thanks. you narrowed it down quite a bit. minimal is probably just two bin stubs (.sh and .bat) and we pick .sh all the time vs .bat on windows
<headius> cshupp: that seems to just be an issue finding executable when it's a bat
<headius> not looking for .bat before no ext
<enebo> oh yeah or nothing first
<headius> I seem to remember we had special logic for executable searching in Windows
<enebo> I know I did a ton of logic in jnr-posix for exec which was based on MRI code
<headius> ran into a few more paths not setting name but they were all deprecated, unused, or for things like UndefinedMethod
<enebo> I wish spawn was properly in there and we could probably leverage some of that
<headius> yeah that's the full solution
<headius> getting the win32 equivalent
<enebo> headius: you going to raise on getName on Undefined?
<headius> I found some Ruby FFI impls of subprocess launching that can probably form the baseline for our Windows spawn
<enebo> or perhaps that is too extreme
<enebo> EXTREME!
<headius> setName
<headius> and I'll just deprecate it and make it do nothing for the moment
<headius> oh wait, I just added it didn't I?
<enebo> setName has been there a long time I think
<enebo> Or I thought it had been
<cshupp> Will you be able to make it pretty w/o the cmd shell popping up?
<GitHub82> [jruby] headius pushed 1 new commit to jruby-9.1: https://git.io/vNSF3
<GitHub82> jruby/jruby-9.1 577d13a Charles Oliver Nutter: Force DynamicMethod.name to always be non-null and final.
<headius> enebo: I deleted it...if you are worried about fallout I can put it back as a no-op
<headius> enebo: setName was added when I introduced hybrid backtraces
<headius> so yeah it's pretty old
<headius> kinda was hacking around missing names back then too
<headius> cshupp: does MRI have an ugly shell window?
drbobbeaty has joined #jruby
<GitHub55> [jruby] headius pushed 1 new commit to master: https://git.io/vNSxl
<GitHub55> jruby/master f8ac719 Charles Oliver Nutter: Merge branch 'jruby-9.1'
<lopex> \o/
<lopex> headius: there's conflict in Rational_Test.rb
<enebo> I might have messed up a merge
<enebo> I did use the github conflict/merge editor for a couple
<headius> I had a messy merge here too
<headius> but it seemed ok
<headius> oops, I guess I missed it while fixing conflicts
<GitHub193> [jruby] headius pushed 1 new commit to master: https://git.io/vNShk
<GitHub193> jruby/master 83021d8 Charles Oliver Nutter: Fix merge conflict that got committed.
<headius> enebo: seems like it's in and ok
<lopex> headius: did you look at that chr ?
<lopex> I cant reproduce that
<headius> lopex: I did not
<headius> it will be on master now possibly
<headius> you are running on what OS?
<lopex> headius: linux and windows
<lopex> now testing additional test_regexp excludes
<lopex> enebo, headius wrt that windows transcode we could regenerate data for 2.3 ultimately
<enebo> lopex: question is whether this change will make someones application break?
<lopex> enebo: unlikely ? :P
<enebo> I guess my argument at the moment is if this is a bug in the encoding data perhaps no one would expect this to work in the first place
<lopex> yeah
<enebo> So by using 2.4 data in 2.3 we may not get a bug report saying our windows transcoding logic is broken
<lopex> that's 2.5 data, but it has zero changes wrt 2.4 :P
<enebo> ok
<lopex> wrt transcoders
<lopex> there's code range changes and fold data changes in 2.5
<enebo> headius: lopex: If so then we should just merge that PR and basically mark it as an invalid test
<lopex> we can always go back for data
<enebo> lopex: so perhaps we should say YAGNI and roll with 2.5 data on our 2.3 release and see if someone reports against it
<headius> lopex: same thing fails on Windows or something else?
<enebo> something else
<enebo> headius: some transcoding test using a windows code page sort of deal fails
<headius> hmm ok
<headius> the chr failures are not a huge worry, but I want to know why they fail now
<enebo> headius: it is like something which did not return an error now does because of data fixes
<enebo> or the opposite
<headius> I don't think I've seen this
bbrowning is now known as bbrowning_away
<lopex> headius: that case you posted works for me on linux (chr)
<headius> maybe I missed a link
<lopex> so I'm confused
<headius> hmm
<headius> I already excluded that
<headius> it was excluded on master
<headius> so it's still an open question why it fails
<enebo> headius: wait so does 2.5 work then?
<lopex> it's the one that expected an error ?
<lopex> since 2.4 it doesnt
<enebo> or I don't even know what works means now :)
<headius> I am not sure...I believe I punted this because I didn't know why it failed, figured it was related to stale unicode/encoding in jcodings
<enebo> If so then why would it even exist in 2.4 mri tests then?
<lopex> headius: for me it sounds that the test is stale
<enebo> If 2.5 flips this test then it sounds stale to me too
<headius> ok I think I'm getting it now...the test doesn't exist in 2.5?
<enebo> If they removed it then I guess I don't know
<lopex> it exists just doesnt expect an error
<headius> or in 2.4 after some point
<headius> the tests for 2.4 on master are from like 2.4.1
<headius> so they may have removed that assertion later
<enebo> ah ok so I think this must just be some data update thing where there was a bug and they fixed it
<headius> seems like a non-issue...we should update the test and if we pass it we're good
<headius> and I'm not concerned about 2.3 because they backport stuff like this constantly
<headius> this is minor
<enebo> well I will merge this exclude for now
<GitHub34> [jruby] enebo closed pull request #5016: Exclude `#test_windows_1255` from our tests (jruby-9.1...test_windows_1255) https://git.io/vNMzr
<GitHub149> [jruby] enebo pushed 2 new commits to jruby-9.1: https://git.io/vNSjo
<GitHub149> jruby/jruby-9.1 323169c Thomas E Enebo: Merge pull request #5016 from yui-knk/test_windows_1255...
<GitHub149> jruby/jruby-9.1 b337ce0 yui-knk: Exclude `#test_windows_1255` from our tests...
<headius> yep, stale
<lopex> ok, so we got that one sorted
<enebo> looks like just .chr on 9.1?
<headius> we'll just exclude it on 9.1, linked to some info
<lopex> and chr ones work for me too
<headius> yeah chr
<headius> I think I reproduced on my Linux vm
<lopex> on master
<headius> I did not dig in
<lopex> but chr is mostly mbcToCode
<lopex> er, codeToMbc
<headius> three minor JI failures from name patch
<headius> lopex: right
<lopex> which was not changed for ascii at very least
<lopex> oh wait
<headius> no recent change to those specs
<headius> hmm
<headius> there's a bug number associated with it but MRI doesn't use github for bugs
<headius> and the number is very low, like pre-rubyspec low
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> but this is an OLD spec
<headius> lopex: that seems to be the bug referenced in the spec
<headius> so maybe there's a bit of logic in there we missed somewhere in our pipeline
<lopex> I think it's too old
<lopex> wait
<lopex> which case explicitly doesnt work
<lopex> jruby -e "Encoding.default_internal = 'US-ASCII'; 0x100.chr" ?
<headius> bringing up my vm
<lopex> locale thing ?
<headius> lopex: ok I'm confused, it doesn't fail for me either
<headius> ubuntu 16.something
<headius> I really don't understand why ithis would fail on travis only
<lopex> external locale ?
<lopex> shouldnt be that case
cremes has quit [Quit: cremes]
<headius> well it's just *supposed* to be an LTS ubuntu
<headius> there's a docker image you can get to reproduce issues
<headius> I don't know if it's posted publicly but emailing travis support will get the link
<headius> asarih: ping!!!!
cremes has joined #jruby
<GitHub17> [jruby] ChrisBr opened pull request #5021: Do modifyCheck for each pair in Array#sort! (master...bug/frozen_sort) https://git.io/vN9fl
jruby-n00b has joined #jruby
<GitHub159> [jruby] lopex pushed 1 new commit to master: https://git.io/vN9J7
<GitHub159> jruby/master 992dbc0 Marcin Mielzynski: remove 7 more excludes from TestRegexp
jrafanie has quit [Ping timeout: 256 seconds]
eregon_ has joined #jruby
<eregon_> [exec] 12)
<eregon_> [exec] Thread.current returns the correct thread in a Fiber FAILED
<eregon_> [exec] Expected #<Thread:0x65f72a1e run>
<eregon_> [exec] to be identical to #<Thread:0x6b30d8d0@/home/travis/build/jruby/jruby/spec/ruby/core/thread/current_spec.rb:21 run>
<eregon_> [exec]
<eregon_> [exec] /home/travis/build/jruby/jruby/spec/ruby/core/thread/current_spec.rb:23:in `block in (root)'
<eregon_> This sounds worth fixing
jruby-n00b has quit [Ping timeout: 240 seconds]
<eregon_> > <headius> In the future maybe you could do it on a branch, so we don't have master going super red until we can work around it
<eregon_> How would that work? I could make a PR. But it needs to be merged before any other spec is added otherwise it gets complicated
<eregon_> Tagging new specs with jruby unfortunately takes me quite a bit of time, so it'd be nice if I can leave that to you guys (and you can also judge if worth fixing immediately or not)
jruby-n00b has joined #jruby
<GitHub197> [jruby] eregon pushed 2 new commits to master: https://git.io/vN9TQ
<GitHub197> jruby/master fd96ac1 Benoit Daloze: Remove Fixnum/Bignum tags since specs were moved to Integer
<GitHub197> jruby/master 69d11ab Benoit Daloze: Tag failing specs
<eregon_> I added tags this time, specs should be green again :)
<eregon_> An easy way to run specs and add tags would make this nicer. Currently I use
<eregon_> bin/jruby spec/mspec/bin/mspec tag -Gfails -Gcritical -Gslow --add fails some_spec.rb
<jruby-n00b> headius: what is the best alternative for open4() in jruby context? seems like https://github.com/jruby/jruby/blob/master/core/src/main/ruby/jruby/kernel/io.rb#L32 - is that a blocking call?
<eregon_> which is very long
<eregon_> Running specs in a Maven phase adds this prefix and lots of extra output, it'd be nicer to run them directly
<eregon_> Do you use Rake nowadays or maybe some helper script to run specs/tests?
<jruby-n00b> It seems like perhaps ahoward/open4() is not jruby-compatible, although I am running on a system that has fork(), not windows.
eregon_ has quit [Quit: Leaving]
<jruby-n00b> sorry for the @ mention, should have addressed the channel.
<jruby-n00b> Or hmm, perhaps ` is the way to go.
<jruby-n00b> :grimace: ignore me please.
Liothen has quit [*.net *.split]
kares has quit [*.net *.split]
subbu has quit [*.net *.split]
neoice has quit [*.net *.split]
jruby-n00b has left #jruby [#jruby]
neoice has joined #jruby
Liothen has joined #jruby
kares has joined #jruby
subbu has joined #jruby