Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GRAILS-10823 workaround. add this file to grails-app/conf directory
import org.codehaus.groovy.grails.web.json.JSONObject
class JsonWorkaroundBootStrap {
def init = { servletContext ->
// activate workaround for GRAILS-10823
println("activating workaround for GRAILS-10823 - use this only for Grails 2.3.3")
org.springframework.util.ReflectionUtils.findField(JSONObject, "useStreamingJavascriptEncoder").with {
accessible = true
set(null, false)
def destroy = {
Copy link

lhotari commented Nov 22, 2013

another workaround (backport of the fix): lhotari/FrameworkBenchmarks@61e4a03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment