From 709ed84f9065a5ff9039684de87fce7b0b7e0f34 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 8 Apr 2010 00:51:23 +0200 Subject: gluegen imports now com.jogamp.common.nio.* and java.nio.* instead of using FQCN in emitted files. --- src/java/com/sun/gluegen/JavaEmitter.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/java/com/sun/gluegen/JavaEmitter.java') 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()) { -- cgit v1.2.3