Aaron Patterson created JRUBY-6646: -------------------------------------- Summary: DateTime.now breaks Key: JRUBY-6646 URL: https://jira.codehaus.org/browse/JRUBY-6646 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.7 Reporter: Aaron Patterson Assignee: Thomas E Enebo
This is probably related to JRUBY-6645, but I'm filing this anyway just in case. Calling DateTime.now raises an exception on master and probably shouldn't: [aaron@mobile-166-129-194-155 psych (jruby)]$ ../jruby/bin/jruby --1.9 -rdate -e'p DateTime.now' RubyTime$INVOKER$i$0$0$subsec.gen:-1:in `call': java.lang.NoSuchMethodError: org.jruby.RubyTime.subsec()Lorg/jruby/RubyRational; from CachingCallSite.java:292:in `cacheAndCall' from CachingCallSite.java:135:in `call' from CallNoArgNode.java:63:in `interpret' from FCallTwoArgNode.java:38:in `interpret' from CallOneArgNode.java:57:in `interpret' from LocalAsgnNode.java:123:in `interpret' from NewlineNode.java:104:in `interpret' from BlockNode.java:71:in `interpret' from ASTInterpreter.java:75:in `INTERPRET_METHOD' from InterpretedMethod.java:147:in `call' from DefaultMethod.java:183:in `call' from WrapperMethod.java:54:in `call' from CachingCallSite.java:292:in `cacheAndCall' from CachingCallSite.java:135:in `call' from -e:1:in `__file__' from -e:-1:in `load' from Ruby.java:778:in `runScript' from Ruby.java:771:in `runScript' from Ruby.java:648:in `runNormally' from Ruby.java:497:in `runFromMain' from Main.java:375:in `doRunFromMain' from Main.java:264:in `internalRun' from Main.java:230:in `run' from Main.java:214:in `run' from Main.java:194:in `main' [aaron@mobile-166-129-194-155 psych (jruby)]$ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email