8047721: @since should have JDK version
Reviewed-by: darcy, wetmore
This commit is contained in:
parent
589ee38cbd
commit
a8306dd34f
jdk/src/share/classes
java/lang
javax
@ -107,6 +107,7 @@ import java.lang.annotation.Annotation;
|
|||||||
* loader to be found.
|
* loader to be found.
|
||||||
*
|
*
|
||||||
* @see ClassLoader#definePackage
|
* @see ClassLoader#definePackage
|
||||||
|
* @since 1.2
|
||||||
*/
|
*/
|
||||||
public class Package implements java.lang.reflect.AnnotatedElement {
|
public class Package implements java.lang.reflect.AnnotatedElement {
|
||||||
/**
|
/**
|
||||||
|
@ -170,7 +170,6 @@ public class CipherInputStream extends FilterInputStream {
|
|||||||
* @return the next byte of data, or <code>-1</code> if the end of the
|
* @return the next byte of data, or <code>-1</code> if the end of the
|
||||||
* stream is reached.
|
* stream is reached.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public int read() throws IOException {
|
public int read() throws IOException {
|
||||||
if (ostart >= ofinish) {
|
if (ostart >= ofinish) {
|
||||||
@ -196,7 +195,6 @@ public class CipherInputStream extends FilterInputStream {
|
|||||||
* the stream has been reached.
|
* the stream has been reached.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @see java.io.InputStream#read(byte[], int, int)
|
* @see java.io.InputStream#read(byte[], int, int)
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public int read(byte b[]) throws IOException {
|
public int read(byte b[]) throws IOException {
|
||||||
return read(b, 0, b.length);
|
return read(b, 0, b.length);
|
||||||
@ -217,7 +215,6 @@ public class CipherInputStream extends FilterInputStream {
|
|||||||
* the stream has been reached.
|
* the stream has been reached.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @see java.io.InputStream#read()
|
* @see java.io.InputStream#read()
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public int read(byte b[], int off, int len) throws IOException {
|
public int read(byte b[], int off, int len) throws IOException {
|
||||||
if (ostart >= ofinish) {
|
if (ostart >= ofinish) {
|
||||||
@ -254,7 +251,6 @@ public class CipherInputStream extends FilterInputStream {
|
|||||||
* @param n the number of bytes to be skipped.
|
* @param n the number of bytes to be skipped.
|
||||||
* @return the actual number of bytes skipped.
|
* @return the actual number of bytes skipped.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public long skip(long n) throws IOException {
|
public long skip(long n) throws IOException {
|
||||||
int available = ofinish - ostart;
|
int available = ofinish - ostart;
|
||||||
@ -277,7 +273,6 @@ public class CipherInputStream extends FilterInputStream {
|
|||||||
* @return the number of bytes that can be read from this input stream
|
* @return the number of bytes that can be read from this input stream
|
||||||
* without blocking.
|
* without blocking.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public int available() throws IOException {
|
public int available() throws IOException {
|
||||||
return (ofinish - ostart);
|
return (ofinish - ostart);
|
||||||
@ -292,7 +287,6 @@ public class CipherInputStream extends FilterInputStream {
|
|||||||
* stream.
|
* stream.
|
||||||
*
|
*
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
if (closed) {
|
if (closed) {
|
||||||
@ -321,7 +315,6 @@ public class CipherInputStream extends FilterInputStream {
|
|||||||
* <code>mark</code> and <code>reset</code> methods.
|
* <code>mark</code> and <code>reset</code> methods.
|
||||||
* @see java.io.InputStream#mark(int)
|
* @see java.io.InputStream#mark(int)
|
||||||
* @see java.io.InputStream#reset()
|
* @see java.io.InputStream#reset()
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public boolean markSupported() {
|
public boolean markSupported() {
|
||||||
return false;
|
return false;
|
||||||
|
@ -114,7 +114,6 @@ public class CipherOutputStream extends FilterOutputStream {
|
|||||||
*
|
*
|
||||||
* @param b the <code>byte</code>.
|
* @param b the <code>byte</code>.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public void write(int b) throws IOException {
|
public void write(int b) throws IOException {
|
||||||
ibuffer[0] = (byte) b;
|
ibuffer[0] = (byte) b;
|
||||||
@ -138,7 +137,6 @@ public class CipherOutputStream extends FilterOutputStream {
|
|||||||
* @exception NullPointerException if <code>b</code> is null.
|
* @exception NullPointerException if <code>b</code> is null.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @see javax.crypto.CipherOutputStream#write(byte[], int, int)
|
* @see javax.crypto.CipherOutputStream#write(byte[], int, int)
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public void write(byte b[]) throws IOException {
|
public void write(byte b[]) throws IOException {
|
||||||
write(b, 0, b.length);
|
write(b, 0, b.length);
|
||||||
@ -152,7 +150,6 @@ public class CipherOutputStream extends FilterOutputStream {
|
|||||||
* @param off the start offset in the data.
|
* @param off the start offset in the data.
|
||||||
* @param len the number of bytes to write.
|
* @param len the number of bytes to write.
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public void write(byte b[], int off, int len) throws IOException {
|
public void write(byte b[], int off, int len) throws IOException {
|
||||||
obuffer = cipher.update(b, off, len);
|
obuffer = cipher.update(b, off, len);
|
||||||
@ -174,7 +171,6 @@ public class CipherOutputStream extends FilterOutputStream {
|
|||||||
* the cipher's block size, no bytes will be written out.
|
* the cipher's block size, no bytes will be written out.
|
||||||
*
|
*
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public void flush() throws IOException {
|
public void flush() throws IOException {
|
||||||
if (obuffer != null) {
|
if (obuffer != null) {
|
||||||
@ -198,7 +194,6 @@ public class CipherOutputStream extends FilterOutputStream {
|
|||||||
* stream.
|
* stream.
|
||||||
*
|
*
|
||||||
* @exception IOException if an I/O error occurs.
|
* @exception IOException if an I/O error occurs.
|
||||||
* @since JCE1.2
|
|
||||||
*/
|
*/
|
||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
if (closed) {
|
if (closed) {
|
||||||
|
@ -125,7 +125,7 @@ import com.sun.naming.internal.ResourceManager;
|
|||||||
* @see Context
|
* @see Context
|
||||||
* @see NamingManager#setInitialContextFactoryBuilder
|
* @see NamingManager#setInitialContextFactoryBuilder
|
||||||
* NamingManager.setInitialContextFactoryBuilder
|
* NamingManager.setInitialContextFactoryBuilder
|
||||||
* @since JNDI 1.1 / Java 2 Platform, Standard Edition, v 1.3
|
* @since 1.3, JNDI 1.1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class InitialContext implements Context {
|
public class InitialContext implements Context {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user