sagax has quit [Ping timeout: 244 seconds]
genpaku has quit [Remote host closed the connection]
genpaku has joined #jruby
sagax has joined #jruby
razetime has joined #jruby
razetime has quit [Ping timeout: 265 seconds]
razetime has joined #jruby
PierreJacoboni[m has joined #jruby
razetime has quit [Ping timeout: 252 seconds]
razetime has joined #jruby
JasonMiller[m] has quit [Quit: You have been kicked for being idle]
razetime has quit [Ping timeout: 260 seconds]
razetime_ has joined #jruby
<byteit101[m]> master jruby with irb+readline changes is unusable for java objects for me
razetime_ has quit [Ping timeout: 265 seconds]
subbu has joined #jruby
razetime has joined #jruby
subbu has quit [Ping timeout: 250 seconds]
<headius> Interesting
<headius> The right thing is probably putting back methods, maybe a subset of what you did, and those just will become packages you have to access with a string
<headius> I doubt we'll run into problems
<headius> And then it will turn out there's one guy out there who's written a Java wrapper for JRuby that uses a bunch of core methods as package names
<headius> But I imagine just a few reflection methods added back would make this work
<headius> We are a little bit aggressive in there right now
<byteit101[m]> I did nothing, the filer of that jira (vs my irb one) added back methods
<byteit101[m]> I have found the place we remove methods though
subbu has joined #jruby
<headius> Oops ok
<headius> Yeah we should add back a subset
<headius> 9.4 is as good a time as any
<byteit101[m]> also this build of master isn't giving me foo= so I'll need to investigat
<byteit101[m]> headius: for packages, irb is erroring when searching ObjectSpace. That's bad in JRuby, yes?
<byteit101[m]> ObjectSpace.each_object(Module){|m|
<byteit101[m]> could we just remove the packages out of the modules OS?
razetime has quit [Remote host closed the connection]
subbu has quit [Quit: Leaving]
<byteit101[m]> headius: new PR to add tests and fix some cases of setFoo not generating foo=
<byteit101[m]> How are objects added to the objectspace?
<headius> Yes I suppose that is also an option, we could add code into object space to skip those modules
<headius> We walk down the class hierarchy from Object for each_object(Module)
<byteit101[m]> I ask as the ctor argument is still adding the packages to the space
<headius> Yeah that's for a general object walking which is normally not enabled
<headius> We can support modules all the time by walking each class's table of subclasses
<headius> I'm trying to remember if there's a reason why we don't just filter them
<headius> We have other issues about this, probably worth digging them up to see what solutions we have proposed and shot down
<byteit101[m]> what mvn command should I be running for incremental testing? I often have to do a full clean and package because of generated classes
<headius> It used to be easier to just rebuild JRuby but I think the command is now something like mvn -pl core -pl shaded
<headius> We really need a rework of our build system so that incremental builds only rebuild the jar
<byteit101[m]> ah that seems to be it
<byteit101[m]> thanks!
<byteit101[m]> headius: I think I correctly removed the modules from OS in my new PR. I would like a review of that though. It does fix IRB today
<byteit101[m]> I have to fix PTY.spawn. I'm going to look at packaging libfixposix as mentioned in that issue this weekend
<headius> I'll have a look at your PR
<headius> Wrapping that library would be great! I've never gotten around to it unfortunately
<headius> It would make our process spawning much more feature complete
<byteit101[m]> I've been making so many PRs the past few days
<byteit101[m]> But yes, I ran into https://github.com/pry/pry/issues/1992 again and the best and most portable fix would be PTY.spawn
<headius> It could be something we roll into JNR and build it into the JFFI stub
<headius> Assuming it has a compatible license
<byteit101[m]> I'd like it for MRI too, so I'm probably going to package it separately at least, but that can be good too
<byteit101[m]> mostly because I'd like to add a pty.spawn_advanced or such that accepts fds
<byteit101[m]> naming is hard
<byteit101[m]> Options: IO.for_fd gains a jruby-internal kw argument, or I add IO.for_fd_jruby() as a new method ?
<headius> What's the kw?
<headius> Generally better to keep our changes separate so maybe even under JRuby::IO or something
<byteit101[m]> trying to find a nice way to pass the name and type of the pts into IO & file
<byteit101[m]> MRI:
<byteit101[m]> [#<IO:masterpty:/dev/pts/42>, #<File:/dev/pts/42>]
<byteit101[m]> JRuby: [#<IO:fd 18>, #<File:nil>]
<byteit101[m]> for PTY.open
<byteit101[m]> pty.rb calls IO.for_fd and File.for_fd in our code
<byteit101[m]> so we control both sides of the initialization
<byteit101[m]> or hmm...
<byteit101[m]> new PR for that
<byteit101[m]> so productive today :-)