Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
7fbf6a42
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看板
提交
7fbf6a42
编写于
8月 23, 2013
作者:
C
chegar
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
81522d99
e5ad279e
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
106 addition
and
51 deletion
+106
-51
src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java
...sses/com/sun/rowset/internal/XmlReaderContentHandler.java
+2
-2
src/share/classes/javax/sql/rowset/spi/SyncFactory.java
src/share/classes/javax/sql/rowset/spi/SyncFactory.java
+23
-2
src/share/classes/sun/security/provider/ByteArrayAccess.java
src/share/classes/sun/security/provider/ByteArrayAccess.java
+45
-6
src/share/lib/security/java.security-linux
src/share/lib/security/java.security-linux
+2
-0
src/share/lib/security/java.security-macosx
src/share/lib/security/java.security-macosx
+2
-0
src/share/lib/security/java.security-solaris
src/share/lib/security/java.security-solaris
+2
-0
src/share/lib/security/java.security-windows
src/share/lib/security/java.security-windows
+2
-0
src/share/native/sun/java2d/cmm/lcms/cmsintrp.c
src/share/native/sun/java2d/cmm/lcms/cmsintrp.c
+26
-40
test/java/lang/SecurityManager/CheckPackageAccess.java
test/java/lang/SecurityManager/CheckPackageAccess.java
+2
-1
未找到文件。
src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java
浏览文件 @
7fbf6a42
/*
* Copyright (c) 2003, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 201
3
, 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
...
...
@@ -660,7 +660,7 @@ public class XmlReaderContentHandler extends DefaultHandler {
//Added the handling for Class tags to take care of maps
//Makes an entry into the map upon end of class tag
try
{
typeMap
.
put
(
Key_map
,
Class
.
forName
(
Value_map
));
typeMap
.
put
(
Key_map
,
sun
.
reflect
.
misc
.
ReflectUtil
.
forName
(
Value_map
));
}
catch
(
ClassNotFoundException
ex
)
{
throw
new
SAXException
(
MessageFormat
.
format
(
resBundle
.
handleGetObject
(
"xmlrch.errmap"
).
toString
(),
ex
.
getMessage
()));
...
...
src/share/classes/javax/sql/rowset/spi/SyncFactory.java
浏览文件 @
7fbf6a42
...
...
@@ -35,6 +35,8 @@ import java.io.FileInputStream;
import
java.io.InputStream
;
import
java.io.IOException
;
import
java.io.FileNotFoundException
;
import
java.security.AccessController
;
import
java.security.PrivilegedAction
;
import
javax.naming.*
;
...
...
@@ -348,7 +350,17 @@ public class SyncFactory {
/*
* Dependent on application
*/
String
strRowsetProperties
=
System
.
getProperty
(
"rowset.properties"
);
String
strRowsetProperties
;
try
{
strRowsetProperties
=
AccessController
.
doPrivileged
(
new
PrivilegedAction
<
String
>()
{
public
String
run
()
{
return
System
.
getProperty
(
"rowset.properties"
);
}
},
null
,
new
PropertyPermission
(
"rowset.properties"
,
"read"
));
}
catch
(
Exception
ex
)
{
strRowsetProperties
=
null
;
}
if
(
strRowsetProperties
!=
null
)
{
// Load user's implementation of SyncProvider
// here. -Drowset.properties=/abc/def/pqr.txt
...
...
@@ -393,7 +405,16 @@ public class SyncFactory {
* load additional properties from -D command line
*/
properties
.
clear
();
String
providerImpls
=
System
.
getProperty
(
ROWSET_SYNC_PROVIDER
);
String
providerImpls
;
try
{
providerImpls
=
AccessController
.
doPrivileged
(
new
PrivilegedAction
<
String
>()
{
public
String
run
()
{
return
System
.
getProperty
(
ROWSET_SYNC_PROVIDER
);
}
},
null
,
new
PropertyPermission
(
ROWSET_SYNC_PROVIDER
,
"read"
));
}
catch
(
Exception
ex
)
{
providerImpls
=
null
;
}
if
(
providerImpls
!=
null
)
{
int
i
=
0
;
...
...
src/share/classes/sun/security/provider/ByteArrayAccess.java
浏览文件 @
7fbf6a42
/*
* Copyright (c) 2006, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006, 201
3
, 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
...
...
@@ -43,10 +43,8 @@ import sun.misc.Unsafe;
* These are the only platforms we currently support, but other optimized
* variants could be added as needed.
*
* NOTE that because this code performs unchecked direct memory access, it
* MUST be restricted to trusted code. It is imperative that the caller protects
* against out of bounds memory access by performing the necessary bounds
* checks before calling methods in this class.
* NOTE that ArrayIndexOutOfBoundsException will be thrown if the bounds checks
* failed.
*
* This class may also be helpful in improving the performance of the
* crypto code in the SunJCE provider. However, for now it is only accessible by
...
...
@@ -103,6 +101,10 @@ final class ByteArrayAccess {
* byte[] to int[] conversion, little endian byte order.
*/
static
void
b2iLittle
(
byte
[]
in
,
int
inOfs
,
int
[]
out
,
int
outOfs
,
int
len
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
len
)
||
(
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
len
/
4
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
inOfs
+=
byteArrayOfs
;
len
+=
inOfs
;
...
...
@@ -131,6 +133,10 @@ final class ByteArrayAccess {
// Special optimization of b2iLittle(in, inOfs, out, 0, 64)
static
void
b2iLittle64
(
byte
[]
in
,
int
inOfs
,
int
[]
out
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
64
)
||
(
out
.
length
<
16
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
inOfs
+=
byteArrayOfs
;
out
[
0
]
=
unsafe
.
getInt
(
in
,
(
long
)(
inOfs
));
...
...
@@ -176,6 +182,10 @@ final class ByteArrayAccess {
* int[] to byte[] conversion, little endian byte order.
*/
static
void
i2bLittle
(
int
[]
in
,
int
inOfs
,
byte
[]
out
,
int
outOfs
,
int
len
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
len
/
4
)
||
(
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
len
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
outOfs
+=
byteArrayOfs
;
len
+=
outOfs
;
...
...
@@ -204,6 +214,9 @@ final class ByteArrayAccess {
// Store one 32-bit value into out[outOfs..outOfs+3] in little endian order.
static
void
i2bLittle4
(
int
val
,
byte
[]
out
,
int
outOfs
)
{
if
((
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
4
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
unsafe
.
putInt
(
out
,
(
long
)(
byteArrayOfs
+
outOfs
),
val
);
}
else
if
(
bigEndian
&&
((
outOfs
&
3
)
==
0
))
{
...
...
@@ -220,6 +233,10 @@ final class ByteArrayAccess {
* byte[] to int[] conversion, big endian byte order.
*/
static
void
b2iBig
(
byte
[]
in
,
int
inOfs
,
int
[]
out
,
int
outOfs
,
int
len
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
len
)
||
(
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
len
/
4
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
inOfs
+=
byteArrayOfs
;
len
+=
inOfs
;
...
...
@@ -248,6 +265,10 @@ final class ByteArrayAccess {
// Special optimization of b2iBig(in, inOfs, out, 0, 64)
static
void
b2iBig64
(
byte
[]
in
,
int
inOfs
,
int
[]
out
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
64
)
||
(
out
.
length
<
16
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
inOfs
+=
byteArrayOfs
;
out
[
0
]
=
reverseBytes
(
unsafe
.
getInt
(
in
,
(
long
)(
inOfs
)));
...
...
@@ -293,6 +314,10 @@ final class ByteArrayAccess {
* int[] to byte[] conversion, big endian byte order.
*/
static
void
i2bBig
(
int
[]
in
,
int
inOfs
,
byte
[]
out
,
int
outOfs
,
int
len
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
len
/
4
)
||
(
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
len
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
outOfs
+=
byteArrayOfs
;
len
+=
outOfs
;
...
...
@@ -321,6 +346,9 @@ final class ByteArrayAccess {
// Store one 32-bit value into out[outOfs..outOfs+3] in big endian order.
static
void
i2bBig4
(
int
val
,
byte
[]
out
,
int
outOfs
)
{
if
((
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
4
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
unsafe
.
putInt
(
out
,
(
long
)(
byteArrayOfs
+
outOfs
),
reverseBytes
(
val
));
}
else
if
(
bigEndian
&&
((
outOfs
&
3
)
==
0
))
{
...
...
@@ -337,6 +365,10 @@ final class ByteArrayAccess {
* byte[] to long[] conversion, big endian byte order.
*/
static
void
b2lBig
(
byte
[]
in
,
int
inOfs
,
long
[]
out
,
int
outOfs
,
int
len
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
len
)
||
(
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
len
/
8
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
inOfs
+=
byteArrayOfs
;
len
+=
inOfs
;
...
...
@@ -378,6 +410,10 @@ final class ByteArrayAccess {
// Special optimization of b2lBig(in, inOfs, out, 0, 128)
static
void
b2lBig128
(
byte
[]
in
,
int
inOfs
,
long
[]
out
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
128
)
||
(
out
.
length
<
16
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
if
(
littleEndianUnaligned
)
{
inOfs
+=
byteArrayOfs
;
out
[
0
]
=
reverseBytes
(
unsafe
.
getLong
(
in
,
(
long
)(
inOfs
)));
...
...
@@ -406,6 +442,10 @@ final class ByteArrayAccess {
* long[] to byte[] conversion, big endian byte order.
*/
static
void
l2bBig
(
long
[]
in
,
int
inOfs
,
byte
[]
out
,
int
outOfs
,
int
len
)
{
if
((
inOfs
<
0
)
||
((
in
.
length
-
inOfs
)
<
len
/
8
)
||
(
outOfs
<
0
)
||
((
out
.
length
-
outOfs
)
<
len
))
{
throw
new
ArrayIndexOutOfBoundsException
();
}
len
+=
outOfs
;
while
(
outOfs
<
len
)
{
long
i
=
in
[
inOfs
++];
...
...
@@ -419,5 +459,4 @@ final class ByteArrayAccess {
out
[
outOfs
++]
=
(
byte
)(
i
);
}
}
}
src/share/lib/security/java.security-linux
浏览文件 @
7fbf6a42
...
...
@@ -181,6 +181,7 @@ package.access=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
@@ -225,6 +226,7 @@ package.definition=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
src/share/lib/security/java.security-macosx
浏览文件 @
7fbf6a42
...
...
@@ -182,6 +182,7 @@ package.access=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
@@ -226,6 +227,7 @@ package.definition=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
src/share/lib/security/java.security-solaris
浏览文件 @
7fbf6a42
...
...
@@ -183,6 +183,7 @@ package.access=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
@@ -226,6 +227,7 @@ package.definition=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
src/share/lib/security/java.security-windows
浏览文件 @
7fbf6a42
...
...
@@ -182,6 +182,7 @@ package.access=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
@@ -226,6 +227,7 @@ package.definition=sun.,\
com.sun.imageio.,\
com.sun.istack.internal.,\
com.sun.jmx.,\
com.sun.naming.internal.,\
com.sun.proxy.,\
com.sun.org.apache.bcel.internal.,\
com.sun.org.apache.regexp.internal.,\
...
...
src/share/native/sun/java2d/cmm/lcms/cmsintrp.c
浏览文件 @
7fbf6a42
...
...
@@ -215,6 +215,11 @@ void LinLerp1D(register const cmsUInt16Number Value[],
Output
[
0
]
=
LinearInterp
(
rest
,
y0
,
y1
);
}
// To prevent out of bounds indexing
cmsINLINE
cmsFloat32Number
fclamp
(
cmsFloat32Number
v
)
{
return
v
<
0
.
0
f
?
0
.
0
f
:
(
v
>
1
.
0
f
?
1
.
0
f
:
v
);
}
// Floating-point version of 1D interpolation
static
...
...
@@ -227,13 +232,15 @@ void LinLerp1Dfloat(const cmsFloat32Number Value[],
int
cell0
,
cell1
;
const
cmsFloat32Number
*
LutTable
=
(
cmsFloat32Number
*
)
p
->
Table
;
val2
=
fclamp
(
Value
[
0
]);
// if last value...
if
(
Value
[
0
]
==
1
.
0
)
{
if
(
val2
==
1
.
0
)
{
Output
[
0
]
=
LutTable
[
p
->
Domain
[
0
]];
return
;
}
val2
=
p
->
Domain
[
0
]
*
Value
[
0
];
val2
*=
p
->
Domain
[
0
];
cell0
=
(
int
)
floor
(
val2
);
cell1
=
(
int
)
ceil
(
val2
);
...
...
@@ -292,13 +299,15 @@ void Eval1InputFloat(const cmsFloat32Number Value[],
cmsUInt32Number
OutChan
;
const
cmsFloat32Number
*
LutTable
=
(
cmsFloat32Number
*
)
p
->
Table
;
val2
=
fclamp
(
Value
[
0
]);
// if last value...
if
(
Value
[
0
]
==
1
.
0
)
{
if
(
val2
==
1
.
0
)
{
Output
[
0
]
=
LutTable
[
p
->
Domain
[
0
]];
return
;
}
val2
=
p
->
Domain
[
0
]
*
Value
[
0
];
val2
*=
p
->
Domain
[
0
];
cell0
=
(
int
)
floor
(
val2
);
cell1
=
(
int
)
ceil
(
val2
);
...
...
@@ -339,8 +348,8 @@ void BilinearInterpFloat(const cmsFloat32Number Input[],
dxy
;
TotalOut
=
p
->
nOutputs
;
px
=
Input
[
0
]
*
p
->
Domain
[
0
];
py
=
Input
[
1
]
*
p
->
Domain
[
1
];
px
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
py
=
fclamp
(
Input
[
1
])
*
p
->
Domain
[
1
];
x0
=
(
int
)
_cmsQuickFloor
(
px
);
fx
=
px
-
(
cmsFloat32Number
)
x0
;
y0
=
(
int
)
_cmsQuickFloor
(
py
);
fy
=
py
-
(
cmsFloat32Number
)
y0
;
...
...
@@ -454,20 +463,9 @@ void TrilinearInterpFloat(const cmsFloat32Number Input[],
TotalOut
=
p
->
nOutputs
;
// We need some clipping here
px
=
Input
[
0
];
py
=
Input
[
1
];
pz
=
Input
[
2
];
if
(
px
<
0
)
px
=
0
;
if
(
px
>
1
)
px
=
1
;
if
(
py
<
0
)
py
=
0
;
if
(
py
>
1
)
py
=
1
;
if
(
pz
<
0
)
pz
=
0
;
if
(
pz
>
1
)
pz
=
1
;
px
*=
p
->
Domain
[
0
];
py
*=
p
->
Domain
[
1
];
pz
*=
p
->
Domain
[
2
];
px
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
py
=
fclamp
(
Input
[
1
])
*
p
->
Domain
[
1
];
pz
=
fclamp
(
Input
[
2
])
*
p
->
Domain
[
2
];
x0
=
(
int
)
_cmsQuickFloor
(
px
);
fx
=
px
-
(
cmsFloat32Number
)
x0
;
y0
=
(
int
)
_cmsQuickFloor
(
py
);
fy
=
py
-
(
cmsFloat32Number
)
y0
;
...
...
@@ -609,20 +607,9 @@ void TetrahedralInterpFloat(const cmsFloat32Number Input[],
TotalOut
=
p
->
nOutputs
;
// We need some clipping here
px
=
Input
[
0
];
py
=
Input
[
1
];
pz
=
Input
[
2
];
if
(
px
<
0
)
px
=
0
;
if
(
px
>
1
)
px
=
1
;
if
(
py
<
0
)
py
=
0
;
if
(
py
>
1
)
py
=
1
;
if
(
pz
<
0
)
pz
=
0
;
if
(
pz
>
1
)
pz
=
1
;
px
*=
p
->
Domain
[
0
];
py
*=
p
->
Domain
[
1
];
pz
*=
p
->
Domain
[
2
];
px
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
py
=
fclamp
(
Input
[
1
])
*
p
->
Domain
[
1
];
pz
=
fclamp
(
Input
[
2
])
*
p
->
Domain
[
2
];
x0
=
(
int
)
_cmsQuickFloor
(
px
);
rx
=
(
px
-
(
cmsFloat32Number
)
x0
);
y0
=
(
int
)
_cmsQuickFloor
(
py
);
ry
=
(
py
-
(
cmsFloat32Number
)
y0
);
...
...
@@ -1039,8 +1026,7 @@ void Eval4InputsFloat(const cmsFloat32Number Input[],
cmsFloat32Number
Tmp1
[
MAX_STAGE_CHANNELS
],
Tmp2
[
MAX_STAGE_CHANNELS
];
cmsInterpParams
p1
;
pk
=
Input
[
0
]
*
p
->
Domain
[
0
];
pk
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
k0
=
_cmsQuickFloor
(
pk
);
rest
=
pk
-
(
cmsFloat32Number
)
k0
;
...
...
@@ -1127,7 +1113,7 @@ void Eval5InputsFloat(const cmsFloat32Number Input[],
cmsFloat32Number
Tmp1
[
MAX_STAGE_CHANNELS
],
Tmp2
[
MAX_STAGE_CHANNELS
];
cmsInterpParams
p1
;
pk
=
Input
[
0
]
*
p
->
Domain
[
0
];
pk
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
k0
=
_cmsQuickFloor
(
pk
);
rest
=
pk
-
(
cmsFloat32Number
)
k0
;
...
...
@@ -1214,7 +1200,7 @@ void Eval6InputsFloat(const cmsFloat32Number Input[],
cmsFloat32Number
Tmp1
[
MAX_STAGE_CHANNELS
],
Tmp2
[
MAX_STAGE_CHANNELS
];
cmsInterpParams
p1
;
pk
=
Input
[
0
]
*
p
->
Domain
[
0
];
pk
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
k0
=
_cmsQuickFloor
(
pk
);
rest
=
pk
-
(
cmsFloat32Number
)
k0
;
...
...
@@ -1299,7 +1285,7 @@ void Eval7InputsFloat(const cmsFloat32Number Input[],
cmsFloat32Number
Tmp1
[
MAX_STAGE_CHANNELS
],
Tmp2
[
MAX_STAGE_CHANNELS
];
cmsInterpParams
p1
;
pk
=
Input
[
0
]
*
p
->
Domain
[
0
];
pk
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
k0
=
_cmsQuickFloor
(
pk
);
rest
=
pk
-
(
cmsFloat32Number
)
k0
;
...
...
@@ -1384,7 +1370,7 @@ void Eval8InputsFloat(const cmsFloat32Number Input[],
cmsFloat32Number
Tmp1
[
MAX_STAGE_CHANNELS
],
Tmp2
[
MAX_STAGE_CHANNELS
];
cmsInterpParams
p1
;
pk
=
Input
[
0
]
*
p
->
Domain
[
0
];
pk
=
fclamp
(
Input
[
0
])
*
p
->
Domain
[
0
];
k0
=
_cmsQuickFloor
(
pk
);
rest
=
pk
-
(
cmsFloat32Number
)
k0
;
...
...
test/java/lang/SecurityManager/CheckPackageAccess.java
浏览文件 @
7fbf6a42
...
...
@@ -23,7 +23,7 @@
/*
* @test
* @bug 6741606 7146431 8000450
* @bug 6741606 7146431 8000450
8022945
* @summary Make sure all restricted packages listed in the package.access
* property in the java.security file are blocked
* @run main/othervm CheckPackageAccess
...
...
@@ -54,6 +54,7 @@ public class CheckPackageAccess {
"com.sun.imageio."
,
"com.sun.istack.internal."
,
"com.sun.jmx."
,
"com.sun.naming.internal."
,
"com.sun.proxy."
,
"com.sun.org.apache.bcel.internal."
,
"com.sun.org.apache.regexp.internal."
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录