From 4955acd14b35597625c16b5021ecda78b0667163 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 18 May 2010 19:46:37 +0000 Subject: [PATCH] passing the correct compressors around (for small class file sizes enhancement) --- .../ajdt/internal/compiler/ast/EclipseAttributeAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/EclipseAttributeAdapter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/EclipseAttributeAdapter.java index 4d1a80b55..a6539247a 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/EclipseAttributeAdapter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/EclipseAttributeAdapter.java @@ -10,11 +10,11 @@ * PARC initial implementation * ******************************************************************/ - package org.aspectj.ajdt.internal.compiler.ast; import org.aspectj.weaver.AjAttribute; import org.aspectj.org.eclipse.jdt.internal.compiler.IAttribute; +import org.aspectj.org.eclipse.jdt.internal.compiler.codegen.ConstantPool; public class EclipseAttributeAdapter implements IAttribute { AjAttribute attr; @@ -27,8 +27,8 @@ public class EclipseAttributeAdapter implements IAttribute { return attr.getNameChars(); } - public byte[] getAllBytes(short nameIndex) { - return attr.getAllBytes(nameIndex); + public byte[] getAllBytes(short nameIndex, ConstantPool constantPool) { + return attr.getAllBytes(nameIndex, new EclipseConstantPoolWriter(constantPool)); } } -- 2.39.5