Sorry, eclipse autocompletion tricks... There is no crypto in byte buffer - no idea how it got there, but I have the imports folded.
The code doesn't work anyway - the ByteBuffer has some very flippy behavior, I'm still trying to figure out the best workaround. ( position and limit have different behavior when the buffer is in append mode - start-end in ByteChunk meant start/end of the data portion, but in ByteBuffer it can also mean start/end of the empty portion ) Costin On 11/1/05, Peter Rossbach <[EMAIL PROTECTED]> wrote: > Hey, > > means the package import "sun.security.krb5.**" that we can't use ByteChunk > at other JVm's like jrockit? > > I don't see the usage? :-) > > > Peter > > http://svn.apache.org/viewcvs/tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java?rev=329853&r1=329852&r2=329853&view=diff > ============================================================================== > --- tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java (original) > +++ tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java Mon Oct 31 > 08:39:42 2005 > @@ -18,6 +18,10 @@ > > import java.io.IOException; > import java.io.Serializable; > +import java.nio.ByteBuffer; > + > +import sun.security.krb5.internal.crypto.b; > +import sun.security.krb5.internal.crypto.t; > > --- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]