You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Peter Rossbach <pr...@objektpark.de> on 2005/11/01 09:52:24 UTC

Re: svn commit: r329853 - /tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r329853 - /tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java

Posted by Costin Manolache <co...@gmail.com>.
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 <pr...@objektpark.de> 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: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org