razetime has joined #jruby
razetime has quit [Ping timeout: 268 seconds]
razetime has joined #jruby
razetime has quit [Ping timeout: 246 seconds]
razetime has joined #jruby
<byteit101[m]> I constantly get `Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0` in some environments. executable-hooks too, and occationally jruby-launcher. Do you know what causes this? This is across multiple machines and rvm installations
<headius> I have reported this issue but never managed to isolate it enough to get help from the Rubygems maintainers
<byteit101[m]> ah
<byteit101[m]> unrelated side note: https://javadoc.io/static/org.gridkit.jvmtool/hprof-heap/0.9.3/org/netbeans/lib/profiler/heap/Instance.html has the 'java_class' method that conflicts with jruby if you want to know of java libraries with jruby method names for future reference
<headius> Oh funky
<headius> Wonder why they used underscore case
<byteit101[m]> they don't, it's getJavaClass, but our rubyification expands it out to java_class
<headius> Oh gotcha
<headius> Do we allow it to overwrite that method? I know we guard some method names but can't remember which
<byteit101[m]> we do (handy for me I want the library's java_class, not our java_class)
<byteit101[m]> jruby-9.3.3.0 :024 > fth.instance.java_class.java_class
<byteit101[m]> jruby-9.3.3.0 :025 > fth.instance.java_class
<byteit101[m]> => #<Java::OrgNetbeansLibProfilerHeap::ClassDump:0x6f43c82>
<byteit101[m]> => #<Java::JavaLang::Class: org.netbeans.lib.profiler.heap.ClassDump>
<headius> Perhaps we should have some backup names for important things (this probably isn't one since we have moved away from the old JavaClass stuff)
<byteit101[m]> ruby_send :java_class?
<headius> Perhaps something more like JavaUtilities.java_class(xxx)
<byteit101[m]> Though you can still access it today:... (full message at <https://libera.ems.host/_matrix/media/r0/download/libera.chat/e22e799014eefc01d17cc5e2cd82785bc3f50ad1>)
razetime has quit [Remote host closed the connection]