equal
deleted
inserted
replaced
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4495742 |
26 * @bug 4495742 |
27 * @summary Add non-blocking SSL/TLS functionality, usable with any |
27 * @summary Add non-blocking SSL/TLS functionality, usable with any |
28 * I/O abstraction |
28 * I/O abstraction |
|
29 * @ignore the dependent implementation details are changed |
|
30 * @author Brad Wetmore |
29 * |
31 * |
|
32 * @run main/othervm ConnectionTest |
|
33 */ |
|
34 |
|
35 /* |
30 * This is a bit hacky, meant to test various conditions. The main |
36 * This is a bit hacky, meant to test various conditions. The main |
31 * thing I wanted to do with this was to do buffer reads/writes |
37 * thing I wanted to do with this was to do buffer reads/writes |
32 * when buffers were not empty. (buffer.position() = 10) |
38 * when buffers were not empty. (buffer.position() = 10) |
33 * The code could certainly be tightened up a lot. |
39 * The code could certainly be tightened up a lot. |
34 * |
|
35 * @author Brad Wetmore |
|
36 * |
|
37 * @run main/othervm ConnectionTest |
|
38 */ |
40 */ |
39 |
|
40 import javax.net.ssl.*; |
41 import javax.net.ssl.*; |
41 import javax.net.ssl.SSLEngineResult.*; |
42 import javax.net.ssl.SSLEngineResult.*; |
42 import java.io.*; |
43 import java.io.*; |
43 import java.security.*; |
44 import java.security.*; |
44 import java.nio.*; |
45 import java.nio.*; |