Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
6d6d1476
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看板
提交
6d6d1476
编写于
10月 06, 2010
作者:
D
darcy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6917323: serializable classes in java.dyn do not specify serialVersionUIDs
Reviewed-by: jrose
上级
accccf1e
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
32 addition
and
10 deletion
+32
-10
src/share/classes/java/dyn/InvokeDynamicBootstrapError.java
src/share/classes/java/dyn/InvokeDynamicBootstrapError.java
+5
-3
src/share/classes/java/dyn/LinkagePermission.java
src/share/classes/java/dyn/LinkagePermission.java
+3
-1
src/share/classes/java/dyn/NoAccessException.java
src/share/classes/java/dyn/NoAccessException.java
+4
-1
src/share/classes/java/dyn/WrongMethodTypeException.java
src/share/classes/java/dyn/WrongMethodTypeException.java
+4
-1
src/share/classes/java/lang/LinkageError.java
src/share/classes/java/lang/LinkageError.java
+16
-4
未找到文件。
src/share/classes/java/dyn/InvokeDynamicBootstrapError.java
浏览文件 @
6d6d1476
...
...
@@ -39,8 +39,11 @@ package java.dyn;
* {@link Linkage#registerBootstrapMethod registerBootstrapMethod}.
*
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public
class
InvokeDynamicBootstrapError
extends
LinkageError
{
private
static
final
long
serialVersionUID
=
292L
;
/**
* Constructs an {@code InvokeDynamicBootstrapError} with no detail message.
*/
...
...
@@ -63,10 +66,9 @@ public class InvokeDynamicBootstrapError extends LinkageError {
* detail message and cause.
*
* @param s the detail message.
* @param cause the cause.
* @param cause the cause
, may be {@code null}
.
*/
public
InvokeDynamicBootstrapError
(
String
s
,
Throwable
cause
)
{
super
(
s
);
this
.
initCause
(
cause
);
super
(
s
,
cause
);
}
}
src/share/classes/java/dyn/LinkagePermission.java
浏览文件 @
6d6d1476
/*
* Copyright (c) 2008, 20
09
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 20
10
, 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
...
...
@@ -81,6 +81,8 @@ import java.util.StringTokenizer;
*/
public
final
class
LinkagePermission
extends
BasicPermission
{
private
static
final
long
serialVersionUID
=
292L
;
/**
* Create a new LinkagePermission with the given name.
* The name is the symbolic name of the LinkagePermission, such as
...
...
src/share/classes/java/dyn/NoAccessException.java
浏览文件 @
6d6d1476
/*
* Copyright (c) 2008, 20
09
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 20
10
, 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
...
...
@@ -35,8 +35,11 @@ package java.dyn;
* on behalf of the method handle creator,
* at the time of creation.
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public
class
NoAccessException
extends
RuntimeException
{
private
static
final
long
serialVersionUID
=
292L
;
/**
* Constructs a {@code NoAccessException} with no detail message.
*/
...
...
src/share/classes/java/dyn/WrongMethodTypeException.java
浏览文件 @
6d6d1476
/*
* Copyright (c) 2008, 20
09
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 20
10
, 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
...
...
@@ -38,8 +38,11 @@ package java.dyn;
* instead of when the mismatched method handle is called.
*
* @author John Rose, JSR 292 EG
* @since 1.7
*/
public
class
WrongMethodTypeException
extends
RuntimeException
{
private
static
final
long
serialVersionUID
=
292L
;
/**
* Constructs a {@code WrongMethodTypeException} with no detail message.
*/
...
...
src/share/classes/java/lang/LinkageError.java
浏览文件 @
6d6d1476
/*
* Copyright (c) 1995, 20
08
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 20
10
, 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
...
...
@@ -26,7 +26,7 @@
package
java.lang
;
/**
* Subclasses of
<code>LinkageError</code>
indicate that a class has
* Subclasses of
{@code LinkageError}
indicate that a class has
* some dependency on another class; however, the latter class has
* incompatibly changed after the compilation of the former class.
*
...
...
@@ -39,14 +39,14 @@ class LinkageError extends Error {
private
static
final
long
serialVersionUID
=
3579600108157160122L
;
/**
* Constructs a
<code>LinkageError</code>
with no detail message.
* Constructs a
{@code LinkageError}
with no detail message.
*/
public
LinkageError
()
{
super
();
}
/**
* Constructs a
<code>LinkageError</code>
with the specified detail
* Constructs a
{@code LinkageError}
with the specified detail
* message.
*
* @param s the detail message.
...
...
@@ -54,4 +54,16 @@ class LinkageError extends Error {
public
LinkageError
(
String
s
)
{
super
(
s
);
}
/**
* Constructs a {@code LinkageError} with the specified detail
* message and cause.
*
* @param s the detail message.
* @param cause the cause, may be {@code null}
* @since 1.7
*/
public
LinkageError
(
String
s
,
Throwable
cause
)
{
super
(
s
,
cause
);
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录