summaryrefslogtreecommitdiffstats
path: root/weaver5
diff options
context:
space:
mode:
authoraclement <aclement>2010-05-19 15:13:28 +0000
committeraclement <aclement>2010-05-19 15:13:28 +0000
commit32284aa74065421fcda4d7cbb36b163242a2e528 (patch)
treecf0f417f5f53ae1dacbbcf337566b77145571493 /weaver5
parent5bfb1c03c7b1c192d7b748ae024696367546b886 (diff)
downloadaspectj-32284aa74065421fcda4d7cbb36b163242a2e528.tar.gz
aspectj-32284aa74065421fcda4d7cbb36b163242a2e528.zip
312839: smaller class files
Diffstat (limited to 'weaver5')
-rw-r--r--weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java b/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java
index 6211d5db9..5eda5d577 100644
--- a/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java
+++ b/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java
@@ -387,12 +387,13 @@ public class WildTypePatternResolutionTestCase extends TestCase {
private TypePattern writeAndRead(TypePattern etp) {
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
- CompressingDataOutputStream dos = new CompressingDataOutputStream(baos);
+ ConstantPoolSimulator cps = new ConstantPoolSimulator();
+ CompressingDataOutputStream dos = new CompressingDataOutputStream(baos, cps);
etp.write(dos);
dos.flush();
dos.close();
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
- VersionedDataInputStream in = new VersionedDataInputStream(bais);
+ VersionedDataInputStream in = new VersionedDataInputStream(bais, cps);
in.setVersion(new WeaverVersionInfo());
TypePattern ret = TypePattern.read(in, null);
return ret;