-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
None
-
None
With the deprecation of stream-based GSSContext methods in JDK-8072996, we might consider adding methods based on ByteBuffer objects. This is just a memo and there is no plan for it.
We will make it clear that the input ByteBuffer only contains the next token and nothing more nothing less. We will also need to be clear about where the error token will be placed.
It is not wise to maintain 2 sets of implementations (ByteBuffer and byte[]). Therefore I think we will reimplement the byte[] methods as a wrapper on the ByteBuffer ones, and we will need to make sure the performance of byte[] methods is at least as good as the current implementation.
We will make it clear that the input ByteBuffer only contains the next token and nothing more nothing less. We will also need to be clear about where the error token will be placed.
It is not wise to maintain 2 sets of implementations (ByteBuffer and byte[]). Therefore I think we will reimplement the byte[] methods as a wrapper on the ByteBuffer ones, and we will need to make sure the performance of byte[] methods is at least as good as the current implementation.
- relates to
-
JDK-8072996 Deprecate stream-based GSSContext methods
- Resolved