ruby-protobuf / protobuf

A pure ruby implementation of Google's Protocol Buffers
https://github.com/ruby-protobuf
MIT License
463 stars 101 forks source link

NoMethodError: undefined method `[]' for <ClassName>:Class #418

Open mogman1 opened 4 years ago

mogman1 commented 4 years ago

Please see https://github.com/mogman1/protobuf_error_script for a test script that produces this bug reliably and the issue submitted to JRuby at https://github.com/jruby/jruby/issues/6225. As I was able to pinpoint this to a specific commit in JRuby (see issue), I believe this to be a JRuby bug, but thought I should also log an issue here so you are aware of it.