Skip to content

revisit LS' Java (collection) integration patches #12800

@kares

Description

@kares

at this point LS likely relies on some of the patches such as being able to + on java.util.List instances (just like one can + Ruby arrays). however, some of the patches might be supported by JRuby natively.
(also JRuby 9.3 should introduce native support for inspect-ing Java types such as collections)

the patches should work with Ruby extended Java classes such as this one, atm coll#inspect fails:
TypeError: no implicit conversion of LogStash::Outputs::TestSink::Queue into Array
(from org/logstash/RubyJavaIntegration.java:218:in inspect'`)

HINT: JRuby 9.3 should provide inspect for all Java collection types

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions