You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2022/06/05 05:56:27 UTC

[hbase] branch branch-2 updated: HBASE-26983 Upgrade JRuby to 9.3.4.0 (#4378)

This is an automated email from the ASF dual-hosted git repository.

busbey pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new bb8b80e7a97 HBASE-26983 Upgrade JRuby to 9.3.4.0 (#4378)
bb8b80e7a97 is described below

commit bb8b80e7a97c1abdef7a7e08f7bcbada808f9d4a
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Sun Jun 5 00:15:59 2022 -0500

    HBASE-26983 Upgrade JRuby to 9.3.4.0 (#4378)
    
    - Update JRuby
    - Replace java_kind_of since it has been removed
    - update jcoding / joni to match jruby
    
    Signed-off-by: Peter Somogyi <ps...@apache.org>
    (cherry picked from commit d1149f7e2009ae993cf95ba7eafe2e5999bee54b)
---
 hbase-shell/src/main/ruby/hbase/security.rb | 2 +-
 pom.xml                                     | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hbase-shell/src/main/ruby/hbase/security.rb b/hbase-shell/src/main/ruby/hbase/security.rb
index 0bb0e8bdd21..9fe5d48a427 100644
--- a/hbase-shell/src/main/ruby/hbase/security.rb
+++ b/hbase-shell/src/main/ruby/hbase/security.rb
@@ -182,7 +182,7 @@ module Hbase
     end
 
     def isTablePermission?(permission)
-      permission.java_kind_of?(org.apache.hadoop.hbase.security.access.TablePermission)
+      permission.kind_of?(org.apache.hadoop.hbase.security.access.TablePermission)
     end
 
     # Does Namespace exist
diff --git a/pom.xml b/pom.xml
index 6ceced68b6c..c1dc986891e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -574,7 +574,7 @@
     <wx.rs.api.version>2.1.1</wx.rs.api.version>
     <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
     <glassfish.el.version>3.0.1-b08</glassfish.el.version>
-    <jruby.version>9.2.13.0</jruby.version>
+    <jruby.version>9.3.4.0</jruby.version>
     <junit.version>4.13.2</junit.version>
     <hamcrest.version>1.3</hamcrest.version>
     <opentelemetry.version>1.0.1</opentelemetry.version>
@@ -595,8 +595,8 @@
     <jamon-runtime.version>2.4.1</jamon-runtime.version>
     <jettison.version>1.3.8</jettison.version>
     <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
-    <joni.version>2.1.31</joni.version>
-    <jcodings.version>1.0.55</jcodings.version>
+    <joni.version>2.1.42</joni.version>
+    <jcodings.version>1.0.56</jcodings.version>
     <spy.version>2.12.2</spy.version>
     <bouncycastle.version>1.67</bouncycastle.version>
     <kerby.version>1.0.1</kerby.version>