Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
544c7984
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
544c7984
编写于
11月 01, 2013
作者:
M
malenkov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8026491: Typos in string literals
Reviewed-by: alexsch, anthony
上级
0a9a69b6
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
41 addition
and
41 deletion
+41
-41
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java
+1
-1
src/macosx/classes/com/apple/laf/resources/aqua.properties
src/macosx/classes/com/apple/laf/resources/aqua.properties
+1
-1
src/share/classes/com/sun/imageio/plugins/common/StandardMetadataFormatResources.java
...ageio/plugins/common/StandardMetadataFormatResources.java
+1
-1
src/share/classes/com/sun/jmx/snmp/daemon/SnmpSubBulkRequestHandler.java
...es/com/sun/jmx/snmp/daemon/SnmpSubBulkRequestHandler.java
+2
-2
src/share/classes/com/sun/jmx/snmp/daemon/SnmpSubNextRequestHandler.java
...es/com/sun/jmx/snmp/daemon/SnmpSubNextRequestHandler.java
+2
-2
src/share/classes/com/sun/jmx/snmp/daemon/SnmpSubRequestHandler.java
...lasses/com/sun/jmx/snmp/daemon/SnmpSubRequestHandler.java
+2
-2
src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java
...s/com/sun/tools/example/debug/gui/CommandInterpreter.java
+2
-2
src/share/classes/com/sun/tools/script/shell/init.js
src/share/classes/com/sun/tools/script/shell/init.js
+1
-1
src/share/classes/com/sun/tools/script/shell/messages.properties
...re/classes/com/sun/tools/script/shell/messages.properties
+1
-1
src/share/classes/javax/management/modelmbean/RequiredModelMBean.java
...asses/javax/management/modelmbean/RequiredModelMBean.java
+2
-2
src/share/classes/javax/swing/KeyboardManager.java
src/share/classes/javax/swing/KeyboardManager.java
+1
-1
src/share/classes/javax/swing/SortingFocusTraversalPolicy.java
...hare/classes/javax/swing/SortingFocusTraversalPolicy.java
+1
-1
src/share/classes/javax/swing/text/AbstractDocument.java
src/share/classes/javax/swing/text/AbstractDocument.java
+2
-2
src/share/classes/sun/awt/AppContext.java
src/share/classes/sun/awt/AppContext.java
+1
-1
src/share/classes/sun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL.java
...sun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL.java
+2
-2
src/share/classes/sun/misc/ExtensionDependency.java
src/share/classes/sun/misc/ExtensionDependency.java
+1
-1
src/share/classes/sun/rmi/rmic/RMIGenerator.java
src/share/classes/sun/rmi/rmic/RMIGenerator.java
+2
-2
src/share/classes/sun/security/jgss/krb5/InitialToken.java
src/share/classes/sun/security/jgss/krb5/InitialToken.java
+1
-1
src/share/classes/sun/security/jgss/spnego/SpNegoContext.java
...share/classes/sun/security/jgss/spnego/SpNegoContext.java
+4
-4
src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java
src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java
+2
-2
src/share/native/sun/security/pkcs11/wrapper/p11_util.c
src/share/native/sun/security/pkcs11/wrapper/p11_util.c
+3
-3
src/share/sample/nio/chatserver/ClientReader.java
src/share/sample/nio/chatserver/ClientReader.java
+1
-1
src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
+1
-1
src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java
src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java
+1
-1
src/windows/classes/sun/security/krb5/internal/tools/Klist.java
...ndows/classes/sun/security/krb5/internal/tools/Klist.java
+1
-1
src/windows/classes/sun/security/krb5/internal/tools/Ktab.java
...indows/classes/sun/security/krb5/internal/tools/Ktab.java
+2
-2
未找到文件。
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java
浏览文件 @
544c7984
...
...
@@ -227,7 +227,7 @@ public class AquaFileChooserUI extends FileChooserUI {
// Exist in basic.properties (though we might want to override)
fileDescriptionText
=
UIManager
.
getString
(
"FileChooser.fileDescriptionText"
);
directoryDescriptionText
=
UIManager
.
getString
(
"FileChooser.directoryDescriptionText"
);
newFolderErrorText
=
getString
(
"FileChooser.newFolderErrorText"
,
"Error occured during folder creation"
);
newFolderErrorText
=
getString
(
"FileChooser.newFolderErrorText"
,
"Error occur
r
ed during folder creation"
);
saveButtonText
=
UIManager
.
getString
(
"FileChooser.saveButtonText"
);
openButtonText
=
UIManager
.
getString
(
"FileChooser.openButtonText"
);
...
...
src/macosx/classes/com/apple/laf/resources/aqua.properties
浏览文件 @
544c7984
...
...
@@ -38,7 +38,7 @@
############ FILE CHOOSER STRINGS #############
FileChooser.fileDescription.textAndMnemonic
=
Generic File
FileChooser.directoryDescription.textAndMnemonic
=
Directory
FileChooser.newFolderError.textAndMnemonic
=
Error occured during folder creation
FileChooser.newFolderError.textAndMnemonic
=
Error occur
r
ed during folder creation
FileChooser.newFolderErrorSeparator
=
:
FileChooser.acceptAllFileFilter.textAndMnemonic
=
All Files
FileChooser.cancelButton.textAndMnemonic
=
Cancel
...
...
src/share/classes/com/sun/imageio/plugins/common/StandardMetadataFormatResources.java
浏览文件 @
544c7984
...
...
@@ -123,7 +123,7 @@ public class StandardMetadataFormatResources extends ListResourceBundle {
"The vertical position, in millimeters, where the image should be rendered on media "
},
{
"HorizontalPixelOffset"
,
"The horizonal position, in pixels, where the image should be rendered onto a raster display"
},
"The horizon
t
al position, in pixels, where the image should be rendered onto a raster display"
},
{
"VerticalPixelOffset"
,
"The vertical position, in pixels, where the image should be rendered onto a raster display"
},
...
...
src/share/classes/com/sun/jmx/snmp/daemon/SnmpSubBulkRequestHandler.java
浏览文件 @
544c7984
...
...
@@ -111,7 +111,7 @@ class SnmpSubBulkRequestHandler extends SnmpSubRequestHandler {
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINEST
))
{
SNMP_ADAPTOR_LOGGER
.
logp
(
Level
.
FINEST
,
SnmpSubRequestHandler
.
class
.
getName
(),
"run"
,
"["
+
Thread
.
currentThread
()
+
"]:an Snmp error occured during the operation"
,
x
);
"]:an Snmp error occur
r
ed during the operation"
,
x
);
}
}
catch
(
Exception
x
)
{
...
...
@@ -119,7 +119,7 @@ class SnmpSubBulkRequestHandler extends SnmpSubRequestHandler {
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINEST
))
{
SNMP_ADAPTOR_LOGGER
.
logp
(
Level
.
FINEST
,
SnmpSubRequestHandler
.
class
.
getName
(),
"run"
,
"["
+
Thread
.
currentThread
()
+
"]:a generic error occured during the operation"
,
x
);
"]:a generic error occur
r
ed during the operation"
,
x
);
}
}
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINER
))
{
...
...
src/share/classes/com/sun/jmx/snmp/daemon/SnmpSubNextRequestHandler.java
浏览文件 @
544c7984
...
...
@@ -127,7 +127,7 @@ class SnmpSubNextRequestHandler extends SnmpSubRequestHandler {
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINEST
))
{
SNMP_ADAPTOR_LOGGER
.
logp
(
Level
.
FINEST
,
SnmpSubRequestHandler
.
class
.
getName
(),
"run"
,
"["
+
Thread
.
currentThread
()
+
"]:an Snmp error occured during the operation"
,
x
);
"]:an Snmp error occur
r
ed during the operation"
,
x
);
}
}
catch
(
Exception
x
)
{
...
...
@@ -135,7 +135,7 @@ class SnmpSubNextRequestHandler extends SnmpSubRequestHandler {
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINEST
))
{
SNMP_ADAPTOR_LOGGER
.
logp
(
Level
.
FINEST
,
SnmpSubRequestHandler
.
class
.
getName
(),
"run"
,
"["
+
Thread
.
currentThread
()
+
"]:a generic error occured during the operation"
,
x
);
"]:a generic error occur
r
ed during the operation"
,
x
);
}
}
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINER
))
{
...
...
src/share/classes/com/sun/jmx/snmp/daemon/SnmpSubRequestHandler.java
浏览文件 @
544c7984
...
...
@@ -231,7 +231,7 @@ class SnmpSubRequestHandler implements SnmpDefinitions, Runnable {
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINEST
))
{
SNMP_ADAPTOR_LOGGER
.
logp
(
Level
.
FINEST
,
SnmpSubRequestHandler
.
class
.
getName
(),
"run"
,
"["
+
Thread
.
currentThread
()
+
"]:an Snmp error occured during the operation"
,
x
);
"]:an Snmp error occur
r
ed during the operation"
,
x
);
}
}
catch
(
Exception
x
)
{
...
...
@@ -239,7 +239,7 @@ class SnmpSubRequestHandler implements SnmpDefinitions, Runnable {
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINEST
))
{
SNMP_ADAPTOR_LOGGER
.
logp
(
Level
.
FINEST
,
SnmpSubRequestHandler
.
class
.
getName
(),
"run"
,
"["
+
Thread
.
currentThread
()
+
"]:a generic error occured during the operation"
,
x
);
"]:a generic error occur
r
ed during the operation"
,
x
);
}
}
if
(
SNMP_ADAPTOR_LOGGER
.
isLoggable
(
Level
.
FINER
))
{
...
...
src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java
浏览文件 @
544c7984
...
...
@@ -377,7 +377,7 @@ public class CommandInterpreter {
env
.
failure
(
"Attempt to launch main class \""
+
clname
+
"\" failed."
);
}
}
else
{
env
.
failure
(
"No main class specifed and no current default defined."
);
env
.
failure
(
"No main class specif
i
ed and no current default defined."
);
}
}
else
{
clname
=
t
.
nextToken
();
...
...
@@ -428,7 +428,7 @@ public class CommandInterpreter {
env
.
failure
(
"Attempt to attach to port \""
+
portName
+
"\" failed."
);
}
}
else
{
env
.
failure
(
"No port specifed and no current default defined."
);
env
.
failure
(
"No port specif
i
ed and no current default defined."
);
}
}
else
{
portName
=
t
.
nextToken
();
...
...
src/share/classes/com/sun/tools/script/shell/init.js
浏览文件 @
544c7984
...
...
@@ -806,7 +806,7 @@ function XSLTransform(inp, style, out) {
out
=
arguments
[
2
];
break
;
default
:
println
(
"
XSL tranform requires 2 or 3 arguments
"
);
println
(
"
XSL tran
s
form requires 2 or 3 arguments
"
);
return
;
}
...
...
src/share/classes/com/sun/tools/script/shell/messages.properties
浏览文件 @
544c7984
...
...
@@ -36,7 +36,7 @@ engine.not.found=\
script engine for language {0} can not be found
engine.info
=
\
Language {0} {1} implemention "{2}" {3}
Language {0} {1} implement
at
ion "{2}" {3}
encoding.unsupported
=
\
encoding {0} is not supported
...
...
src/share/classes/javax/management/modelmbean/RequiredModelMBean.java
浏览文件 @
544c7984
...
...
@@ -360,7 +360,7 @@ public class RequiredModelMBean
MODELMBEAN_LOGGER
.
logp
(
Level
.
FINER
,
RequiredModelMBean
.
class
.
getName
(),
"setManagedResource(Object,String)"
,
"Managed Resouce Type is not supported: "
+
mr_type
);
"Managed Resou
r
ce Type is not supported: "
+
mr_type
);
}
throw
new
InvalidTargetObjectTypeException
(
mr_type
);
}
...
...
@@ -369,7 +369,7 @@ public class RequiredModelMBean
MODELMBEAN_LOGGER
.
logp
(
Level
.
FINER
,
RequiredModelMBean
.
class
.
getName
(),
"setManagedResource(Object,String)"
,
"Managed Resouce is valid"
);
"Managed Resou
r
ce is valid"
);
}
managedResource
=
mr
;
...
...
src/share/classes/javax/swing/KeyboardManager.java
浏览文件 @
544c7984
...
...
@@ -208,7 +208,7 @@ class KeyboardManager {
public
boolean
fireKeyboardAction
(
KeyEvent
e
,
boolean
pressed
,
Container
topAncestor
)
{
if
(
e
.
isConsumed
())
{
System
.
out
.
println
(
"Aquired pre-used event!"
);
System
.
out
.
println
(
"A
c
quired pre-used event!"
);
Thread
.
dumpStack
();
}
...
...
src/share/classes/javax/swing/SortingFocusTraversalPolicy.java
浏览文件 @
544c7984
...
...
@@ -116,7 +116,7 @@ public class SortingFocusTraversalPolicy
index
=
Collections
.
binarySearch
(
cycle
,
aComponent
,
comparator
);
}
catch
(
ClassCastException
e
)
{
if
(
log
.
isLoggable
(
PlatformLogger
.
Level
.
FINE
))
{
log
.
fine
(
"### During the binary search for "
+
aComponent
+
" the exception occured: "
,
e
);
log
.
fine
(
"### During the binary search for "
+
aComponent
+
" the exception occur
r
ed: "
,
e
);
}
return
-
1
;
}
...
...
src/share/classes/javax/swing/text/AbstractDocument.java
浏览文件 @
544c7984
...
...
@@ -1367,7 +1367,7 @@ public abstract class AbstractDocument implements Document, Serializable {
currWriter
=
Thread
.
currentThread
();
numWriters
=
1
;
}
catch
(
InterruptedException
e
)
{
throw
new
Error
(
"Interrupted attempt to aquire write lock"
);
throw
new
Error
(
"Interrupted attempt to a
c
quire write lock"
);
}
}
...
...
@@ -1409,7 +1409,7 @@ public abstract class AbstractDocument implements Document, Serializable {
}
numReaders
+=
1
;
}
catch
(
InterruptedException
e
)
{
throw
new
Error
(
"Interrupted attempt to aquire read lock"
);
throw
new
Error
(
"Interrupted attempt to a
c
quire read lock"
);
}
}
...
...
src/share/classes/sun/awt/AppContext.java
浏览文件 @
544c7984
...
...
@@ -430,7 +430,7 @@ public final class AppContext {
try
{
w
.
dispose
();
}
catch
(
Throwable
t
)
{
log
.
finer
(
"exception occured while disposing app context"
,
t
);
log
.
finer
(
"exception occur
r
ed while disposing app context"
,
t
);
}
}
AccessController
.
doPrivileged
(
new
PrivilegedAction
<
Void
>()
{
...
...
src/share/classes/sun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL.java
浏览文件 @
544c7984
...
...
@@ -188,7 +188,7 @@ public class JVM_MANAGEMENT_MIB_IMPL extends JVM_MANAGEMENT_MIB {
sendTrap
(
trap
,
list
);
}
catch
(
Exception
e
)
{
log
.
error
(
"handleNotification"
,
"Exception occured : "
+
e
);
"Exception occur
r
ed : "
+
e
);
}
}
}
...
...
@@ -243,7 +243,7 @@ public class JVM_MANAGEMENT_MIB_IMPL extends JVM_MANAGEMENT_MIB {
adaptor
.
snmpV2Trap
(
peer
,
trap
,
list
,
null
);
}
catch
(
Exception
e
)
{
log
.
error
(
"sendTrap"
,
"Exception occured while sending trap to ["
+
"Exception occur
r
ed while sending trap to ["
+
target
+
"]. Exception : "
+
e
);
log
.
debug
(
"sendTrap"
,
e
);
}
...
...
src/share/classes/sun/misc/ExtensionDependency.java
浏览文件 @
544c7984
...
...
@@ -265,7 +265,7 @@ public class ExtensionDependency {
* the jar file.
* </p>
*
* @param extensionName key in the attibute list
* @param extensionName key in the att
r
ibute list
* @param attr manifest file attributes
* @param file installed extension jar file to compare the requested
* extension against.
...
...
src/share/classes/sun/rmi/rmic/RMIGenerator.java
浏览文件 @
544c7984
...
...
@@ -1132,7 +1132,7 @@ public class RMIGenerator implements RMIConstants, Generator {
throws
IOException
{
if
(
types
.
length
!=
names
.
length
)
{
throw
new
Error
(
"paramter type and name arrays different sizes"
);
throw
new
Error
(
"param
e
ter type and name arrays different sizes"
);
}
for
(
int
i
=
0
;
i
<
types
.
length
;
i
++)
{
...
...
@@ -1213,7 +1213,7 @@ public class RMIGenerator implements RMIConstants, Generator {
throws
IOException
{
if
(
types
.
length
!=
names
.
length
)
{
throw
new
Error
(
"paramter type and name arrays different sizes"
);
throw
new
Error
(
"param
e
ter type and name arrays different sizes"
);
}
boolean
readObject
=
false
;
...
...
src/share/classes/sun/security/jgss/krb5/InitialToken.java
浏览文件 @
544c7984
...
...
@@ -192,7 +192,7 @@ abstract class InitialToken extends Krb5Token {
if
(
krbCredMessage
.
length
>
0x0000ffff
)
throw
new
GSSException
(
GSSException
.
FAILURE
,
-
1
,
"Incorrect mess
s
age length"
);
"Incorrect message length"
);
writeLittleEndian
(
krbCredMessage
.
length
,
temp
);
checksumBytes
[
pos
++]
=
temp
[
0
];
...
...
src/share/classes/sun/security/jgss/spnego/SpNegoContext.java
浏览文件 @
544c7984
...
...
@@ -360,7 +360,7 @@ public class SpNegoContext implements GSSContextSpi {
if
(
internal_mech
==
null
)
{
// return wth failure
throw
new
GSSException
(
errorCode
,
-
1
,
"supported mechan
si
m from server is null"
);
"supported mechan
is
m from server is null"
);
}
// get the negotiated result
...
...
@@ -911,7 +911,7 @@ public class SpNegoContext implements GSSContextSpi {
return
mechContext
.
isEstablished
();
}
else
{
if
(
DEBUG
)
{
System
.
out
.
println
(
"The underlying mechan
si
m context has "
+
System
.
out
.
println
(
"The underlying mechan
is
m context has "
+
"not been initialized"
);
}
return
false
;
...
...
@@ -1024,7 +1024,7 @@ public class SpNegoContext implements GSSContextSpi {
return
peerName
;
}
else
{
if
(
DEBUG
)
{
System
.
out
.
println
(
"The underlying mechan
si
m context has "
+
System
.
out
.
println
(
"The underlying mechan
is
m context has "
+
"not been initialized"
);
}
return
null
;
...
...
@@ -1040,7 +1040,7 @@ public class SpNegoContext implements GSSContextSpi {
return
myName
;
}
else
{
if
(
DEBUG
)
{
System
.
out
.
println
(
"The underlying mechan
si
m context has "
+
System
.
out
.
println
(
"The underlying mechan
is
m context has "
+
"not been initialized"
);
}
return
null
;
...
...
src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java
浏览文件 @
544c7984
...
...
@@ -450,9 +450,9 @@ public class FileChooserDemo extends JPanel implements ActionListener {
"User cancelled operation. No file was chosen."
);
}
else
if
(
retval
==
ERROR_OPTION
)
{
JOptionPane
.
showMessageDialog
(
frame
,
"An error occured. No file was chosen."
);
"An error occur
r
ed. No file was chosen."
);
}
else
{
JOptionPane
.
showMessageDialog
(
frame
,
"Unknown operation occured."
);
JOptionPane
.
showMessageDialog
(
frame
,
"Unknown operation occur
r
ed."
);
}
}
...
...
src/share/native/sun/security/pkcs11/wrapper/p11_util.c
浏览文件 @
544c7984
...
...
@@ -598,16 +598,16 @@ void jAttributeArrayToCKAttributeArray(JNIEnv *env, jobjectArray jArray, CK_ATTR
throwOutOfMemoryError
(
env
,
0
);
return
;
}
TRACE1
(
", converting %d attibutes"
,
jLength
);
TRACE1
(
", converting %d att
r
ibutes"
,
jLength
);
for
(
i
=
0
;
i
<
(
*
ckpLength
);
i
++
)
{
TRACE1
(
", getting %d. attibute"
,
i
);
TRACE1
(
", getting %d. att
r
ibute"
,
i
);
jAttribute
=
(
*
env
)
->
GetObjectArrayElement
(
env
,
jArray
,
i
);
if
((
*
env
)
->
ExceptionCheck
(
env
))
{
freeCKAttributeArray
(
*
ckpArray
,
i
);
return
;
}
TRACE1
(
", jAttribute = %d"
,
jAttribute
);
TRACE1
(
", converting %d. attibute"
,
i
);
TRACE1
(
", converting %d. att
r
ibute"
,
i
);
(
*
ckpArray
)[
i
]
=
jAttributeToCKAttribute
(
env
,
jAttribute
);
if
((
*
env
)
->
ExceptionCheck
(
env
))
{
freeCKAttributeArray
(
*
ckpArray
,
i
);
...
...
src/share/sample/nio/chatserver/ClientReader.java
浏览文件 @
544c7984
...
...
@@ -58,7 +58,7 @@ class ClientReader {
}
/**
* Runs a cycle of doing a beforeRead action and then
inquir
ing a new
* Runs a cycle of doing a beforeRead action and then
enqueu
ing a new
* read on the client. Handles closed channels and errors while reading.
* If the client is still connected a new round of actions are called.
*/
...
...
src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
浏览文件 @
544c7984
...
...
@@ -1173,7 +1173,7 @@ abstract class XDecoratedPeer extends XWindowPeer {
}
if
(
target
==
activeWindow
&&
target
!=
focusedWindow
)
{
// Happens when an owned window is currently focused
focusLog
.
fine
(
"Focus is on child window - transfering it back to the owner"
);
focusLog
.
fine
(
"Focus is on child window - transfer
r
ing it back to the owner"
);
handleWindowFocusInSync
(-
1
);
return
true
;
}
...
...
src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java
浏览文件 @
544c7984
...
...
@@ -266,7 +266,7 @@ final class WindowsSelectorImpl extends SelectorImpl {
private
void
checkForException
()
throws
IOException
{
if
(
exception
==
null
)
return
;
StringBuffer
message
=
new
StringBuffer
(
"An exception occured"
+
StringBuffer
message
=
new
StringBuffer
(
"An exception occur
r
ed"
+
" during the execution of select(): \n"
);
message
.
append
(
exception
);
message
.
append
(
'\n'
);
...
...
src/windows/classes/sun/security/krb5/internal/tools/Klist.java
浏览文件 @
544c7984
...
...
@@ -336,7 +336,7 @@ public class Klist {
System
.
out
.
println
(
" name\t name of credentials cache or "
+
" keytab with the prefix. File-based cache or "
+
"keytab's prefix is FILE:."
);
System
.
out
.
println
(
" -c specifes that credential cache is to be "
+
System
.
out
.
println
(
" -c specif
i
es that credential cache is to be "
+
"listed"
);
System
.
out
.
println
(
" -k specifies that key tab is to be listed"
);
System
.
out
.
println
(
" options for credentials caches:"
);
...
...
src/windows/classes/sun/security/krb5/internal/tools/Ktab.java
浏览文件 @
544c7984
...
...
@@ -381,12 +381,12 @@ public class Ktab {
}
}
}
catch
(
KrbException
e
)
{
System
.
err
.
println
(
"Error occured while deleting the entry. "
+
System
.
err
.
println
(
"Error occur
r
ed while deleting the entry. "
+
"Deletion failed."
);
e
.
printStackTrace
();
System
.
exit
(-
1
);
}
catch
(
IOException
e
)
{
System
.
err
.
println
(
"Error occured while deleting the entry. "
+
System
.
err
.
println
(
"Error occur
r
ed while deleting the entry. "
+
" Deletion failed."
);
e
.
printStackTrace
();
System
.
exit
(-
1
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录