If you have a ColdFusion template having more than 66kb of text outside of the CFML tags then you might run into bug 54007. The result will be that the page will not compile on CFMX 6.x and the result will be a error and stack trace similar to the following:

unexpected constant #35 -1

java.lang.IllegalStateException: unexpected constant #35 -1
at coldfusion.compiler.ClassReader.readCpool(ClassReader.java:155)
at coldfusion.compiler.ClassReader.getClassName(ClassReader.java:164)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:153)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:284)
at coldfusion.util.LruCache.get(LruCache.java:188)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:214)

For example, if you had a template that containing nothing other than "0123456789" repeated over and over until the file was greater than 66kb, then you would see the error.

To work around it, divide the template into sub-templates where each one has less than 66kb of text, then CFINCLUDE it from a parent template.