Jesse Glick commented on Bug JENKINS-27725

This is in the GDK. I already added support for DefaultGroovyMethods but this seems to be coming from somewhere else, I am not sure where. The general problem is that groovy-sandbox gets information from the Groovy compiler about the superficial form of the call—Date, format, String—but has no clue what actual JVM method is about to be invoked. And in Groovy the answer is never simple.

In general the workaround is to stick to Java Platform methods, such as explicit use of SimpleDateFormat here.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to