diff options
author | Sven Gothel <[email protected]> | 2010-04-08 02:24:30 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-08 02:24:30 +0200 |
commit | d3ec98ea43cf0e38860e64c111c7b09ed4b363bd (patch) | |
tree | 1601fd95b56d7271b80ef111500e1f087797bcb7 /src/java/com/sun/gluegen/JavaEmitter.java | |
parent | 7cc4bb2a8bcc4c16b6a12826abbd874bf38f9dc1 (diff) | |
parent | 8831df5f260e84e4fc342092afa19c786e7883b9 (diff) |
Merge branch 'master' of github.com:mbien/gluegenVALID_BUILDS_01
Diffstat (limited to 'src/java/com/sun/gluegen/JavaEmitter.java')
-rw-r--r-- | src/java/com/sun/gluegen/JavaEmitter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/JavaEmitter.java b/src/java/com/sun/gluegen/JavaEmitter.java index 4cee09c..ec7d951 100644 --- a/src/java/com/sun/gluegen/JavaEmitter.java +++ b/src/java/com/sun/gluegen/JavaEmitter.java @@ -46,6 +46,7 @@ import java.util.*; import java.text.MessageFormat; import com.sun.gluegen.cgram.types.*; +import java.nio.Buffer; import java.util.logging.Logger; import static java.util.logging.Level.*; @@ -1589,6 +1590,7 @@ public class JavaEmitter implements GlueEmitter { imports.add(cfg.gluegenRuntimePackage()+".*"); imports.add(DynamicLookupHelper.class.getPackage().getName()+".*"); imports.add(Buffers.class.getPackage().getName()+".*"); + imports.add(Buffer.class.getPackage().getName()+".*"); if (cfg.allStatic() || cfg.emitInterface()) { |