[
https://issues.jboss.org/browse/JASSIST-142?page=com.atlassian.jira.plugi...
]
Shigeru Chiba commented on JASSIST-142:
---------------------------------------
due to an artificial limit imposed in
ClassPoolTail.copyStream(InputStream, OutputStream).
OK, thanks. Did you see IOException("too much data")?
Javassist throws a CannotCompileException on the
org.codehaus.groovy.runtime.ArrayUtil class
--------------------------------------------------------------------------------------------
Key: JASSIST-142
URL:
https://issues.jboss.org/browse/JASSIST-142
Project: Javassist
Issue Type: Bug
Affects Versions: 3.14.0.GA
Environment: N/A
Reporter: Robert Elliot
Assignee: Shigeru Chiba
With Groovy 1.7.5 on the classpath the following snippet throws a
CannotCompileException:
{noformat}ClassPool classPool = new ClassPool();
classPool.appendSystemPath();
CtClass ctClass = classPool.get("org.codehaus.groovy.runtime.ArrayUtil");
ctClass.toBytecode();{noformat}
This is currently preventing me using PowerMock in a test case written in Groovy, which
seems a shame. It appears to be due to an artificial limit imposed in
ClassPoolTail.copyStream(InputStream, OutputStream).
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira