src/share/classes/javax/net/ssl/SSLEngine.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 327,337 **** * threads. When an <code>SSLEngine</code> * is created, the current {@link java.security.AccessControlContext} * is saved. All future delegated tasks will be processed using this * context: that is, all access control decisions will be made using the * context captured at engine creation. ! * <P> * <HR> * * <B>Concurrency Notes</B>: * There are two concurrency issues to be aware of: * --- 327,337 ---- * threads. When an <code>SSLEngine</code> * is created, the current {@link java.security.AccessControlContext} * is saved. All future delegated tasks will be processed using this * context: that is, all access control decisions will be made using the * context captured at engine creation. ! * * <HR> * * <B>Concurrency Notes</B>: * There are two concurrency issues to be aware of: *
*** 343,353 **** * Applications must take care to ensure that generated packets * are delivered in sequence. If packets arrive * out-of-order, unexpected or fatal results may occur. * <P> * For example: ! * <P> * <pre> * synchronized (outboundLock) { * sslEngine.wrap(src, dst); * outboundQueue.put(dst); * } --- 343,353 ---- * Applications must take care to ensure that generated packets * are delivered in sequence. If packets arrive * out-of-order, unexpected or fatal results may occur. * <P> * For example: ! * * <pre> * synchronized (outboundLock) { * sslEngine.wrap(src, dst); * outboundQueue.put(dst); * }