- From: Daniel Hernandez <daniel@degu.cl>
- Date: Mon, 01 Jan 2024 19:30:41 +0100
- To: public-rdf-ruby@w3.org
Hi all,
I am running irb 1.4.2 with jruby 9.4.2.0 and Java OpenJDK 11.0.21
11. The constant Jars is initially uninitialized. However, I can access
constant Jars after requiring 'sparql/client'. Why?
I am using sparql-client 3.2.
The following code reproduces the issue.
$ irb
irb(main):001:0> Jars
org/jruby/RubyModule.java:4311:in `const_missing': uninitialized constant Jars (NameError)
from (irb):1:in `evaluate'
from org/jruby/RubyKernel.java:1143:in `eval'
from org/jruby/RubyKernel.java:1586:in `loop'
from org/jruby/RubyKernel.java:1292:in `catch'
from org/jruby/RubyKernel.java:1292:in `catch'
from /opt/jruby/lib/ruby/gems/shared/gems/irb-1.4.2/exe/irb:11:in `<main>'
from org/jruby/RubyKernel.java:1091:in `load'
from /opt/jruby/bin/irb:23:in `<main>'
irb(main):002:0> require 'sparql/client'
=> true
irb(main):003:0> Jars
=> Jars
Best,
Daniel
Received on Monday, 1 January 2024 18:42:19 UTC