Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot subclass standard class Time #5125
Because of some code that does not believe in duck typing, I need to subclass
However, the same code fails in JRuby 188.8.131.52:
Whereas providing an empty constructor works fine even in JRuby:
Is this an obscure bug or have I misunderstood something?
jruby 184.108.40.206 (2.3.3) 2017-09-06 8e1c115 Java HotSpot(TM) 64-Bit Server VM 25.121-b13 on 1.8.0_121-b13 +jit [darwin-x86_64]