Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
9adbdcb0
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9adbdcb0
编写于
7月 18, 2013
作者:
J
juh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8020426: Fix doclint accessibility issues in java.io
Reviewed-by: mduigou, darcy, chegar
上级
bd7b8ff9
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
48 addition
and
91 deletion
+48
-91
src/share/classes/java/io/DataInput.java
src/share/classes/java/io/DataInput.java
+43
-88
src/share/classes/java/io/File.java
src/share/classes/java/io/File.java
+1
-1
src/share/classes/java/io/ObjectStreamField.java
src/share/classes/java/io/ObjectStreamField.java
+3
-1
src/share/classes/java/io/RandomAccessFile.java
src/share/classes/java/io/RandomAccessFile.java
+1
-1
未找到文件。
src/share/classes/java/io/DataInput.java
浏览文件 @
9adbdcb0
...
@@ -48,132 +48,87 @@ package java.io;
...
@@ -48,132 +48,87 @@ package java.io;
* may be thrown if the input stream has been
* may be thrown if the input stream has been
* closed.
* closed.
*
*
* <h
4><a name="modified-utf-8">Modified UTF-8</a></h4
>
* <h
3><a name="modified-utf-8">Modified UTF-8</a></h3
>
* <p>
* <p>
* Implementations of the DataInput and DataOutput interfaces represent
* Implementations of the DataInput and DataOutput interfaces represent
* Unicode strings in a format that is a slight modification of UTF-8.
* Unicode strings in a format that is a slight modification of UTF-8.
* (For information regarding the standard UTF-8 format, see section
* (For information regarding the standard UTF-8 format, see section
* <i>3.9 Unicode Encoding Forms</i> of <i>The Unicode Standard, Version
* <i>3.9 Unicode Encoding Forms</i> of <i>The Unicode Standard, Version
* 4.0</i>).
* 4.0</i>).
* Note that in the following table
s
, the most significant bit appears in the
* Note that in the following table, the most significant bit appears in the
* far left-hand column.
* far left-hand column.
* <p>
* All characters in the range {@code '\u005Cu0001'} to
* {@code '\u005Cu007F'} are represented by a single byte:
*
*
* <blockquote>
* <blockquote>
* <table border="1" cellspacing="0" cellpadding="8"
width="50%"
* <table border="1" cellspacing="0" cellpadding="8"
* summary="Bit values and bytes">
* summary="Bit values and bytes">
* <tr>
* <tr>
* <th colspan="9"><span style="font-weight:normal">
* All characters in the range {@code '\u005Cu0001'} to
* {@code '\u005Cu007F'} are represented by a single byte:</span></th>
* </tr>
* <tr>
* <td></td>
* <td></td>
* <th id="bit_a">Bit Values</th>
* <th
colspan="8"
id="bit_a">Bit Values</th>
* </tr>
* </tr>
* <tr>
* <tr>
* <th id="byte1_a">Byte 1</th>
* <th id="byte1_a">Byte 1</th>
* <td>
* <td>
<center>0</center>
*
<table border="1" cellspacing="0" width="100%"
>
*
<td colspan="7"><center>bits 6-0</center
>
*
<
tr>
*
</
tr>
*
<td width="12%"><center>0</cente
r>
*
<t
r>
*
<td colspan="7"><center>bits 6-0</center
>
*
<th colspan="9"><span style="font-weight:normal"
>
*
</tr>
*
The null character {@code '\u005Cu0000'} and characters
*
</table>
*
in the range {@code '\u005Cu0080'} to {@code '\u005Cu07FF'} are
*
</td
>
*
represented by a pair of bytes:</span></th
>
* </tr>
* </tr>
* </table>
* </blockquote>
*
* <p>
* The null character {@code '\u005Cu0000'} and characters in the
* range {@code '\u005Cu0080'} to {@code '\u005Cu07FF'} are
* represented by a pair of bytes:
*
* <blockquote>
* <table border="1" cellspacing="0" cellpadding="8" width="50%"
* summary="Bit values and bytes">
* <tr>
* <tr>
* <td></td>
* <td></td>
* <th id="bit_b">Bit Values</th>
* <th
colspan="8"
id="bit_b">Bit Values</th>
* </tr>
* </tr>
* <tr>
* <tr>
* <th id="byte1_b">Byte 1</th>
* <th id="byte1_b">Byte 1</th>
* <td>
* <td><center>1</center>
* <table border="1" cellspacing="0" width="100%">
* <td><center>1</center>
* <tr>
* <td><center>0</center>
* <td width="12%"><center>1</center>
* <td colspan="5"><center>bits 10-6</center>
* <td width="13%"><center>1</center>
* <td width="12%"><center>0</center>
* <td colspan="5"><center>bits 10-6</center>
* </tr>
* </table>
* </td>
* </tr>
* </tr>
* <tr>
* <tr>
* <th id="byte2_a">Byte 2</th>
* <th id="byte2_a">Byte 2</th>
* <td>
* <td><center>1</center>
* <table border="1" cellspacing="0" width="100%">
* <td><center>0</center>
* <tr>
* <td colspan="6"><center>bits 5-0</center>
* <td width="12%"><center>1</center>
* </tr>
* <td width="13%"><center>0</center>
* <tr>
* <td colspan="6"><center>bits 5-0</center>
* <th colspan="9"><span style="font-weight:normal">
* </tr>
* {@code char} values in the range {@code '\u005Cu0800'}
* </table>
* to {@code '\u005CuFFFF'} are represented by three bytes:</span></th>
* </td>
* </tr>
* </tr>
* </table>
* </blockquote>
*
* <br>
* {@code char} values in the range {@code '\u005Cu0800'} to
* {@code '\u005CuFFFF'} are represented by three bytes:
*
* <blockquote>
* <table border="1" cellspacing="0" cellpadding="8" width="50%"
* summary="Bit values and bytes">
* <tr>
* <tr>
* <td></td>
* <td></td>
* <th id="bit_c">Bit Values</th>
* <th
colspan="8"
id="bit_c">Bit Values</th>
* </tr>
* </tr>
* <tr>
* <tr>
* <th id="byte1_c">Byte 1</th>
* <th id="byte1_c">Byte 1</th>
* <td>
* <td><center>1</center>
* <table border="1" cellspacing="0" width="100%">
* <td><center>1</center>
* <tr>
* <td><center>1</center>
* <td width="12%"><center>1</center>
* <td><center>0</center>
* <td width="13%"><center>1</center>
* <td colspan="4"><center>bits 15-12</center>
* <td width="12%"><center>1</center>
* <td width="13%"><center>0</center>
* <td colspan="4"><center>bits 15-12</center>
* </tr>
* </table>
* </td>
* </tr>
* </tr>
* <tr>
* <tr>
* <th id="byte2_b">Byte 2</th>
* <th id="byte2_b">Byte 2</th>
* <td>
* <td><center>1</center>
* <table border="1" cellspacing="0" width="100%">
* <td><center>0</center>
* <tr>
* <td colspan="6"><center>bits 11-6</center>
* <td width="12%"><center>1</center>
* <td width="13%"><center>0</center>
* <td colspan="6"><center>bits 11-6</center>
* </tr>
* </table>
* </td>
* </tr>
* </tr>
* <tr>
* <tr>
* <th id="byte3">Byte 3</th>
* <th id="byte3">Byte 3</th>
* <td>
* <td><center>1</center>
* <table border="1" cellspacing="0" width="100%">
* <td><center>0</center>
* <tr>
* <td colspan="6"><center>bits 5-0</center>
* <td width="12%"><center>1</center>
* <td width="13%"><center>0</center>
* <td colspan="6"><center>bits 5-0</center>
* </tr>
* </table>
* </td>
* </tr>
* </tr>
* </table>
* </table>
* </blockquote>
* </blockquote>
*
* <p>
* <p>
* The differences between this format and the
* The differences between this format and the
* standard UTF-8 format are the following:
* standard UTF-8 format are the following:
...
...
src/share/classes/java/io/File.java
浏览文件 @
9adbdcb0
...
@@ -129,7 +129,7 @@ import sun.security.action.GetPropertyAction;
...
@@ -129,7 +129,7 @@ import sun.security.action.GetPropertyAction;
* created, the abstract pathname represented by a <code>File</code> object
* created, the abstract pathname represented by a <code>File</code> object
* will never change.
* will never change.
*
*
* <h
4>Interoperability with {@code java.nio.file} package</h4
>
* <h
3>Interoperability with {@code java.nio.file} package</h3
>
*
*
* <p> The <a href="../../java/nio/file/package-summary.html">{@code java.nio.file}</a>
* <p> The <a href="../../java/nio/file/package-summary.html">{@code java.nio.file}</a>
* package defines interfaces and classes for the Java virtual machine to access
* package defines interfaces and classes for the Java virtual machine to access
...
...
src/share/classes/java/io/ObjectStreamField.java
浏览文件 @
9adbdcb0
/*
/*
* Copyright (c) 1996, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 20
13
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -240,6 +240,8 @@ public class ObjectStreamField
...
@@ -240,6 +240,8 @@ public class ObjectStreamField
* Returns boolean value indicating whether or not the serializable field
* Returns boolean value indicating whether or not the serializable field
* represented by this ObjectStreamField instance is unshared.
* represented by this ObjectStreamField instance is unshared.
*
*
* @return {@code true} if this field is unshared
*
* @since 1.4
* @since 1.4
*/
*/
public
boolean
isUnshared
()
{
public
boolean
isUnshared
()
{
...
...
src/share/classes/java/io/RandomAccessFile.java
浏览文件 @
9adbdcb0
...
@@ -128,7 +128,7 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
...
@@ -128,7 +128,7 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
* meanings are:
* meanings are:
*
*
* <table summary="Access mode permitted values and meanings">
* <table summary="Access mode permitted values and meanings">
* <tr><th
><p align="left">Value</p></th><th><p align="left">Meaning</p>
</th></tr>
* <tr><th
align="left">Value</th><th align="left">Meaning
</th></tr>
* <tr><td valign="top"><tt>"r"</tt></td>
* <tr><td valign="top"><tt>"r"</tt></td>
* <td> Open for reading only. Invoking any of the <tt>write</tt>
* <td> Open for reading only. Invoking any of the <tt>write</tt>
* methods of the resulting object will cause an {@link
* methods of the resulting object will cause an {@link
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录