Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
33968c10
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看板
提交
33968c10
编写于
6月 07, 2012
作者:
A
asaha
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
8533007c
17999d2a
变更
203
展开全部
隐藏空白更改
内联
并排
Showing
203 changed file
with
4654 addition
and
2275 deletion
+4654
-2275
.hgtags
.hgtags
+2
-0
make/com/apple/osxui/Makefile
make/com/apple/osxui/Makefile
+2
-6
make/com/oracle/security/ucrypto/Makefile
make/com/oracle/security/ucrypto/Makefile
+1
-1
make/common/internal/Resources.gmk
make/common/internal/Resources.gmk
+4
-0
make/common/shared/Defs-java.gmk
make/common/shared/Defs-java.gmk
+4
-4
make/java/redist/Makefile
make/java/redist/Makefile
+29
-6
make/sun/security/ec/Makefile
make/sun/security/ec/Makefile
+2
-2
make/sun/security/mscapi/Makefile
make/sun/security/mscapi/Makefile
+1
-1
make/sun/security/pkcs11/Makefile
make/sun/security/pkcs11/Makefile
+1
-1
make/sun/xawt/Makefile
make/sun/xawt/Makefile
+14
-7
makefiles/com/oracle/security/ucrypto/Makefile
makefiles/com/oracle/security/ucrypto/Makefile
+1
-1
makefiles/common/shared/Defs-java.gmk
makefiles/common/shared/Defs-java.gmk
+4
-4
makefiles/sun/security/ec/Makefile
makefiles/sun/security/ec/Makefile
+3
-2
makefiles/sun/security/mscapi/Makefile
makefiles/sun/security/mscapi/Makefile
+3
-2
makefiles/sun/security/pkcs11/Makefile
makefiles/sun/security/pkcs11/Makefile
+2
-1
makefiles/sun/xawt/Makefile
makefiles/sun/xawt/Makefile
+15
-7
src/macosx/classes/com/apple/laf/AquaButtonLabeledUI.java
src/macosx/classes/com/apple/laf/AquaButtonLabeledUI.java
+6
-2
src/macosx/classes/com/apple/laf/AquaLookAndFeel.java
src/macosx/classes/com/apple/laf/AquaLookAndFeel.java
+1
-1
src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java
src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java
+1
-1
src/macosx/classes/com/apple/laf/resources/aqua.properties
src/macosx/classes/com/apple/laf/resources/aqua.properties
+79
-101
src/macosx/classes/java/util/prefs/MacOSXPreferences.java
src/macosx/classes/java/util/prefs/MacOSXPreferences.java
+11
-0
src/macosx/classes/java/util/prefs/MacOSXPreferencesFactory.java
...osx/classes/java/util/prefs/MacOSXPreferencesFactory.java
+2
-0
src/macosx/classes/java/util/prefs/MacOSXPreferencesFile.java
...macosx/classes/java/util/prefs/MacOSXPreferencesFile.java
+25
-19
src/macosx/classes/sun/awt/CGraphicsDevice.java
src/macosx/classes/sun/awt/CGraphicsDevice.java
+3
-3
src/macosx/classes/sun/lwawt/LWComponentPeer.java
src/macosx/classes/sun/lwawt/LWComponentPeer.java
+41
-5
src/macosx/classes/sun/lwawt/LWCursorManager.java
src/macosx/classes/sun/lwawt/LWCursorManager.java
+3
-3
src/macosx/classes/sun/lwawt/LWTextComponentPeer.java
src/macosx/classes/sun/lwawt/LWTextComponentPeer.java
+12
-0
src/macosx/classes/sun/lwawt/LWWindowPeer.java
src/macosx/classes/sun/lwawt/LWWindowPeer.java
+36
-21
src/macosx/classes/sun/lwawt/PlatformWindow.java
src/macosx/classes/sun/lwawt/PlatformWindow.java
+2
-0
src/macosx/classes/sun/lwawt/macosx/CEmbeddedFrame.java
src/macosx/classes/sun/lwawt/macosx/CEmbeddedFrame.java
+6
-15
src/macosx/classes/sun/lwawt/macosx/CFileDialog.java
src/macosx/classes/sun/lwawt/macosx/CFileDialog.java
+27
-19
src/macosx/classes/sun/lwawt/macosx/CPlatformEmbeddedFrame.java
...cosx/classes/sun/lwawt/macosx/CPlatformEmbeddedFrame.java
+3
-0
src/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java
src/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java
+4
-0
src/macosx/classes/sun/lwawt/macosx/CPlatformView.java
src/macosx/classes/sun/lwawt/macosx/CPlatformView.java
+2
-2
src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java
src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java
+18
-2
src/macosx/classes/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java
...lasses/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java
+4
-3
src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
+4
-0
src/macosx/native/sun/awt/AWTView.m
src/macosx/native/sun/awt/AWTView.m
+22
-6
src/macosx/native/sun/awt/AWTWindow.h
src/macosx/native/sun/awt/AWTWindow.h
+27
-2
src/macosx/native/sun/awt/AWTWindow.m
src/macosx/native/sun/awt/AWTWindow.m
+213
-99
src/macosx/native/sun/awt/CFileDialog.h
src/macosx/native/sun/awt/CFileDialog.h
+8
-4
src/macosx/native/sun/awt/CFileDialog.m
src/macosx/native/sun/awt/CFileDialog.m
+35
-13
src/macosx/native/sun/awt/CImage.m
src/macosx/native/sun/awt/CImage.m
+0
-1
src/macosx/native/sun/awt/LWCToolkit.m
src/macosx/native/sun/awt/LWCToolkit.m
+34
-0
src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m
src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m
+2
-1
src/share/classes/com/sun/crypto/provider/HmacCore.java
src/share/classes/com/sun/crypto/provider/HmacCore.java
+38
-121
src/share/classes/com/sun/crypto/provider/HmacMD5.java
src/share/classes/com/sun/crypto/provider/HmacMD5.java
+3
-89
src/share/classes/com/sun/crypto/provider/HmacPKCS12PBESHA1.java
...re/classes/com/sun/crypto/provider/HmacPKCS12PBESHA1.java
+6
-75
src/share/classes/com/sun/crypto/provider/HmacSHA1.java
src/share/classes/com/sun/crypto/provider/HmacSHA1.java
+3
-89
src/share/classes/com/sun/crypto/provider/KeyGeneratorCore.java
...are/classes/com/sun/crypto/provider/KeyGeneratorCore.java
+21
-42
src/share/classes/com/sun/crypto/provider/OAEPParameters.java
...share/classes/com/sun/crypto/provider/OAEPParameters.java
+5
-1
src/share/classes/com/sun/crypto/provider/SunJCE.java
src/share/classes/com/sun/crypto/provider/SunJCE.java
+31
-5
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif.properties
.../com/sun/java/swing/plaf/motif/resources/motif.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_de.properties
...m/sun/java/swing/plaf/motif/resources/motif_de.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_es.properties
...m/sun/java/swing/plaf/motif/resources/motif_es.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_fr.properties
...m/sun/java/swing/plaf/motif/resources/motif_fr.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_it.properties
...m/sun/java/swing/plaf/motif/resources/motif_it.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ja.properties
...m/sun/java/swing/plaf/motif/resources/motif_ja.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties
...m/sun/java/swing/plaf/motif/resources/motif_ko.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_pt_BR.properties
...un/java/swing/plaf/motif/resources/motif_pt_BR.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_sv.properties
...m/sun/java/swing/plaf/motif/resources/motif_sv.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_CN.properties
...un/java/swing/plaf/motif/resources/motif_zh_CN.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_TW.properties
...un/java/swing/plaf/motif/resources/motif_zh_TW.properties
+19
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows.properties
.../sun/java/swing/plaf/windows/resources/windows.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_de.properties
...n/java/swing/plaf/windows/resources/windows_de.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_es.properties
...n/java/swing/plaf/windows/resources/windows_es.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_fr.properties
...n/java/swing/plaf/windows/resources/windows_fr.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_it.properties
...n/java/swing/plaf/windows/resources/windows_it.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ja.properties
...n/java/swing/plaf/windows/resources/windows_ja.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ko.properties
...n/java/swing/plaf/windows/resources/windows_ko.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_pt_BR.properties
...ava/swing/plaf/windows/resources/windows_pt_BR.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_sv.properties
...n/java/swing/plaf/windows/resources/windows_sv.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_CN.properties
...ava/swing/plaf/windows/resources/windows_zh_CN.properties
+20
-24
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_TW.properties
...ava/swing/plaf/windows/resources/windows_zh_TW.properties
+20
-24
src/share/classes/com/sun/rowset/FilteredRowSetImpl.java
src/share/classes/com/sun/rowset/FilteredRowSetImpl.java
+1
-1
src/share/classes/java/awt/Component.java
src/share/classes/java/awt/Component.java
+11
-9
src/share/classes/java/awt/Container.java
src/share/classes/java/awt/Container.java
+7
-5
src/share/classes/java/awt/DefaultKeyboardFocusManager.java
src/share/classes/java/awt/DefaultKeyboardFocusManager.java
+4
-4
src/share/classes/java/awt/Dialog.java
src/share/classes/java/awt/Dialog.java
+9
-4
src/share/classes/java/awt/FileDialog.java
src/share/classes/java/awt/FileDialog.java
+4
-8
src/share/classes/java/awt/Frame.java
src/share/classes/java/awt/Frame.java
+1
-1
src/share/classes/java/awt/KeyboardFocusManager.java
src/share/classes/java/awt/KeyboardFocusManager.java
+199
-124
src/share/classes/java/awt/Window.java
src/share/classes/java/awt/Window.java
+2
-2
src/share/classes/java/lang/Integer.java
src/share/classes/java/lang/Integer.java
+3
-1
src/share/classes/java/nio/MappedByteBuffer.java
src/share/classes/java/nio/MappedByteBuffer.java
+10
-2
src/share/classes/java/security/spec/MGF1ParameterSpec.java
src/share/classes/java/security/spec/MGF1ParameterSpec.java
+7
-1
src/share/classes/java/security/spec/PSSParameterSpec.java
src/share/classes/java/security/spec/PSSParameterSpec.java
+2
-1
src/share/classes/java/util/NoSuchElementException.java
src/share/classes/java/util/NoSuchElementException.java
+4
-5
src/share/classes/java/util/UUID.java
src/share/classes/java/util/UUID.java
+8
-8
src/share/classes/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java
...ava/util/concurrent/atomic/AtomicIntegerFieldUpdater.java
+39
-5
src/share/classes/java/util/concurrent/atomic/AtomicLongFieldUpdater.java
...s/java/util/concurrent/atomic/AtomicLongFieldUpdater.java
+54
-8
src/share/classes/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java
...a/util/concurrent/atomic/AtomicReferenceFieldUpdater.java
+50
-16
src/share/classes/java/util/prefs/AbstractPreferences.java
src/share/classes/java/util/prefs/AbstractPreferences.java
+2
-0
src/share/classes/java/util/regex/Pattern.java
src/share/classes/java/util/regex/Pattern.java
+107
-33
src/share/classes/javax/swing/JApplet.java
src/share/classes/javax/swing/JApplet.java
+1
-1
src/share/classes/javax/swing/JComponent.java
src/share/classes/javax/swing/JComponent.java
+5
-2
src/share/classes/javax/swing/JDialog.java
src/share/classes/javax/swing/JDialog.java
+1
-1
src/share/classes/javax/swing/JFrame.java
src/share/classes/javax/swing/JFrame.java
+1
-1
src/share/classes/javax/swing/JInternalFrame.java
src/share/classes/javax/swing/JInternalFrame.java
+1
-1
src/share/classes/javax/swing/JWindow.java
src/share/classes/javax/swing/JWindow.java
+1
-1
src/share/classes/javax/swing/UIManager.java
src/share/classes/javax/swing/UIManager.java
+23
-11
src/share/classes/sun/awt/AWTAccessor.java
src/share/classes/sun/awt/AWTAccessor.java
+3
-1
src/share/classes/sun/awt/SunToolkit.java
src/share/classes/sun/awt/SunToolkit.java
+5
-42
src/share/classes/sun/management/Agent.java
src/share/classes/sun/management/Agent.java
+8
-2
src/share/classes/sun/nio/ch/SocketChannelImpl.java
src/share/classes/sun/nio/ch/SocketChannelImpl.java
+4
-11
src/share/classes/sun/security/ec/ECDSASignature.java
src/share/classes/sun/security/ec/ECDSASignature.java
+9
-1
src/share/classes/sun/security/ec/SunECEntries.java
src/share/classes/sun/security/ec/SunECEntries.java
+16
-1
src/share/classes/sun/security/pkcs11/P11Digest.java
src/share/classes/sun/security/pkcs11/P11Digest.java
+4
-1
src/share/classes/sun/security/pkcs11/P11Mac.java
src/share/classes/sun/security/pkcs11/P11Mac.java
+6
-3
src/share/classes/sun/security/pkcs11/P11Signature.java
src/share/classes/sun/security/pkcs11/P11Signature.java
+10
-0
src/share/classes/sun/security/pkcs11/SunPKCS11.java
src/share/classes/sun/security/pkcs11/SunPKCS11.java
+27
-1
src/share/classes/sun/security/pkcs11/wrapper/Functions.java
src/share/classes/sun/security/pkcs11/wrapper/Functions.java
+6
-1
src/share/classes/sun/security/provider/DigestBase.java
src/share/classes/sun/security/provider/DigestBase.java
+6
-21
src/share/classes/sun/security/provider/MD2.java
src/share/classes/sun/security/provider/MD2.java
+9
-12
src/share/classes/sun/security/provider/MD4.java
src/share/classes/sun/security/provider/MD4.java
+7
-11
src/share/classes/sun/security/provider/MD5.java
src/share/classes/sun/security/provider/MD5.java
+7
-11
src/share/classes/sun/security/provider/SHA.java
src/share/classes/sun/security/provider/SHA.java
+7
-12
src/share/classes/sun/security/provider/SHA2.java
src/share/classes/sun/security/provider/SHA2.java
+45
-27
src/share/classes/sun/security/provider/SHA5.java
src/share/classes/sun/security/provider/SHA5.java
+9
-29
src/share/classes/sun/security/provider/SecureRandom.java
src/share/classes/sun/security/provider/SecureRandom.java
+2
-2
src/share/classes/sun/security/provider/SunEntries.java
src/share/classes/sun/security/provider/SunEntries.java
+16
-2
src/share/classes/sun/security/provider/certpath/SunCertPathBuilder.java
...es/sun/security/provider/certpath/SunCertPathBuilder.java
+3
-1
src/share/classes/sun/security/rsa/RSASignature.java
src/share/classes/sun/security/rsa/RSASignature.java
+10
-3
src/share/classes/sun/security/rsa/SunRsaSignEntries.java
src/share/classes/sun/security/rsa/SunRsaSignEntries.java
+7
-1
src/share/classes/sun/security/ssl/SSLContextImpl.java
src/share/classes/sun/security/ssl/SSLContextImpl.java
+30
-21
src/share/classes/sun/security/validator/SimpleValidator.java
...share/classes/sun/security/validator/SimpleValidator.java
+1
-1
src/share/classes/sun/security/x509/AlgorithmId.java
src/share/classes/sun/security/x509/AlgorithmId.java
+25
-5
src/share/classes/sun/tools/jcmd/JCmd.java
src/share/classes/sun/tools/jcmd/JCmd.java
+4
-1
src/share/demo/jfc/Notepad/Notepad.java
src/share/demo/jfc/Notepad/Notepad.java
+90
-170
src/share/demo/jfc/Notepad/resources/Notepad.properties
src/share/demo/jfc/Notepad/resources/Notepad.properties
+0
-30
src/share/demo/jfc/Notepad/resources/NotepadSystem.properties
...share/demo/jfc/Notepad/resources/NotepadSystem.properties
+12
-0
src/share/demo/management/MemoryMonitor/README.txt
src/share/demo/management/MemoryMonitor/README.txt
+1
-1
src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
...e/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
+5
-1
src/share/native/com/sun/java/util/jar/pack/jni.cpp
src/share/native/com/sun/java/util/jar/pack/jni.cpp
+6
-2
src/share/native/java/net/net_util.h
src/share/native/java/net/net_util.h
+3
-0
src/share/native/sun/awt/image/cvutils/img_dcm.h
src/share/native/sun/awt/image/cvutils/img_dcm.h
+0
-2
src/share/native/sun/awt/image/cvutils/img_dcm8.h
src/share/native/sun/awt/image/cvutils/img_dcm8.h
+0
-2
src/share/native/sun/java2d/opengl/OGLContext.h
src/share/native/sun/java2d/opengl/OGLContext.h
+1
-0
src/share/native/sun/java2d/opengl/OGLTextRenderer.c
src/share/native/sun/java2d/opengl/OGLTextRenderer.c
+4
-5
src/share/native/sun/java2d/opengl/OGLVertexCache.c
src/share/native/sun/java2d/opengl/OGLVertexCache.c
+22
-20
src/share/native/sun/java2d/opengl/OGLVertexCache.h
src/share/native/sun/java2d/opengl/OGLVertexCache.h
+1
-1
src/share/native/sun/java2d/pipe/SpanClipRenderer.c
src/share/native/sun/java2d/pipe/SpanClipRenderer.c
+0
-1
src/solaris/classes/sun/awt/X11/GtkFileDialogPeer.java
src/solaris/classes/sun/awt/X11/GtkFileDialogPeer.java
+8
-2
src/solaris/classes/sun/awt/X11/XFileDialogPeer.java
src/solaris/classes/sun/awt/X11/XFileDialogPeer.java
+9
-2
src/solaris/native/java/net/Inet4AddressImpl.c
src/solaris/native/java/net/Inet4AddressImpl.c
+13
-6
src/solaris/native/java/net/Inet6AddressImpl.c
src/solaris/native/java/net/Inet6AddressImpl.c
+11
-6
src/solaris/native/java/net/net_util_md.c
src/solaris/native/java/net/net_util_md.c
+10
-0
src/solaris/native/java/util/TimeZone_md.c
src/solaris/native/java/util/TimeZone_md.c
+1
-1
src/solaris/native/sun/awt/initIDs.c
src/solaris/native/sun/awt/initIDs.c
+0
-2
src/solaris/native/sun/nio/ch/EPollArrayWrapper.c
src/solaris/native/sun/nio/ch/EPollArrayWrapper.c
+5
-55
src/windows/classes/sun/awt/windows/WFileDialogPeer.java
src/windows/classes/sun/awt/windows/WFileDialogPeer.java
+10
-7
src/windows/classes/sun/security/mscapi/RSASignature.java
src/windows/classes/sun/security/mscapi/RSASignature.java
+2
-2
src/windows/classes/sun/security/mscapi/SunMSCAPI.java
src/windows/classes/sun/security/mscapi/SunMSCAPI.java
+11
-3
src/windows/native/sun/tools/attach/WindowsVirtualMachine.c
src/windows/native/sun/tools/attach/WindowsVirtualMachine.c
+11
-1
test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java
test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java
+15
-1
test/com/sun/crypto/provider/Cipher/RSA/TestOAEPParameterSpec.java
...sun/crypto/provider/Cipher/RSA/TestOAEPParameterSpec.java
+2
-1
test/com/sun/crypto/provider/Cipher/RSA/TestOAEPWithParams.java
...om/sun/crypto/provider/Cipher/RSA/TestOAEPWithParams.java
+3
-3
test/com/sun/crypto/provider/KeyGenerator/Test4628062.java
test/com/sun/crypto/provider/KeyGenerator/Test4628062.java
+43
-25
test/com/sun/crypto/provider/Mac/MacClone.java
test/com/sun/crypto/provider/Mac/MacClone.java
+37
-9
test/com/sun/crypto/provider/Mac/MacKAT.java
test/com/sun/crypto/provider/Mac/MacKAT.java
+25
-4
test/demo/zipfs/ZipFSTester.java
test/demo/zipfs/ZipFSTester.java
+41
-0
test/demo/zipfs/basic.sh
test/demo/zipfs/basic.sh
+1
-0
test/java/awt/Dialog/ModalDialogPermission/ModalDialogPermission.java
...t/Dialog/ModalDialogPermission/ModalDialogPermission.java
+60
-0
test/java/awt/Dialog/ModalDialogPermission/java.policy
test/java/awt/Dialog/ModalDialogPermission/java.policy
+3
-0
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP.java
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP.java
+26
-0
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP_AWT.java
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP_AWT.java
+50
-0
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP_Swing.java
...java/awt/Focus/FocusTraversalPolicy/InitialFTP_Swing.java
+46
-0
test/java/awt/GraphicsDevice/CloneConfigsTest.java
test/java/awt/GraphicsDevice/CloneConfigsTest.java
+1
-1
test/java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java
...awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java
+100
-0
test/java/net/Inet4Address/PingThis.java
test/java/net/Inet4Address/PingThis.java
+91
-0
test/java/nio/MappedByteBuffer/Truncate.java
test/java/nio/MappedByteBuffer/Truncate.java
+5
-0
test/java/rmi/activation/checkusage/CheckUsage.java
test/java/rmi/activation/checkusage/CheckUsage.java
+2
-5
test/java/rmi/testlibrary/ActivationLibrary.java
test/java/rmi/testlibrary/ActivationLibrary.java
+47
-12
test/java/rmi/testlibrary/JavaVM.java
test/java/rmi/testlibrary/JavaVM.java
+71
-7
test/java/rmi/testlibrary/RMID.java
test/java/rmi/testlibrary/RMID.java
+55
-19
test/java/rmi/testlibrary/StreamPipe.java
test/java/rmi/testlibrary/StreamPipe.java
+58
-15
test/java/util/UUID/UUIDTest.java
test/java/util/UUID/UUIDTest.java
+15
-3
test/java/util/concurrent/atomic/AtomicUpdaters.java
test/java/util/concurrent/atomic/AtomicUpdaters.java
+189
-0
test/java/util/prefs/RemoveNullKeyCheck.java
test/java/util/prefs/RemoveNullKeyCheck.java
+63
-9
test/java/util/regex/RegExTest.java
test/java/util/regex/RegExTest.java
+82
-2
test/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java
...vax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java
+101
-0
test/sun/management/AgentCMETest.java
test/sun/management/AgentCMETest.java
+73
-0
test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java
test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java
+4
-1
test/sun/security/krb5/auto/SSL.java
test/sun/security/krb5/auto/SSL.java
+12
-2
test/sun/security/mscapi/ShortRSAKey1024.sh
test/sun/security/mscapi/ShortRSAKey1024.sh
+20
-5
test/sun/security/mscapi/ShortRSAKey512.sh
test/sun/security/mscapi/ShortRSAKey512.sh
+20
-5
test/sun/security/mscapi/ShortRSAKey768.sh
test/sun/security/mscapi/ShortRSAKey768.sh
+20
-5
test/sun/security/mscapi/SignUsingNONEwithRSA.java
test/sun/security/mscapi/SignUsingNONEwithRSA.java
+1
-1
test/sun/security/mscapi/SignUsingSHA2withRSA.java
test/sun/security/mscapi/SignUsingSHA2withRSA.java
+1
-1
test/sun/security/pkcs11/MessageDigest/DigestKAT.java
test/sun/security/pkcs11/MessageDigest/DigestKAT.java
+7
-1
test/sun/security/pkcs11/MessageDigest/TestCloning.java
test/sun/security/pkcs11/MessageDigest/TestCloning.java
+1
-1
test/sun/security/pkcs11/Signature/TestRSAKeyLength.java
test/sun/security/pkcs11/Signature/TestRSAKeyLength.java
+2
-2
test/sun/security/pkcs11/ec/TestCurves.java
test/sun/security/pkcs11/ec/TestCurves.java
+2
-1
test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java
test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java
+2
-1
test/sun/security/pkcs11/rsa/TestSignatures.java
test/sun/security/pkcs11/rsa/TestSignatures.java
+2
-1
test/sun/security/provider/MessageDigest/DigestKAT.java
test/sun/security/provider/MessageDigest/DigestKAT.java
+8
-2
test/sun/security/provider/MessageDigest/Offsets.java
test/sun/security/provider/MessageDigest/Offsets.java
+2
-1
test/sun/security/provider/MessageDigest/TestSHAClone.java
test/sun/security/provider/MessageDigest/TestSHAClone.java
+3
-3
test/sun/security/provider/certpath/ReverseBuilder/ReverseBuild.java
...curity/provider/certpath/ReverseBuilder/ReverseBuild.java
+345
-0
test/sun/security/rsa/TestKeyPairGenerator.java
test/sun/security/rsa/TestKeyPairGenerator.java
+3
-2
test/sun/security/rsa/TestSignatures.java
test/sun/security/rsa/TestSignatures.java
+3
-2
test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/BasicConstraints.java
...l/internal/ssl/X509TrustManagerImpl/BasicConstraints.java
+555
-0
test/tools/launcher/Arrrghs.java
test/tools/launcher/Arrrghs.java
+2
-2
未找到文件。
.hgtags
浏览文件 @
33968c10
...
@@ -161,3 +161,5 @@ ddfe5562f61f54ed2121ac0c73b688b94f3e66b5 jdk8-b32
...
@@ -161,3 +161,5 @@ ddfe5562f61f54ed2121ac0c73b688b94f3e66b5 jdk8-b32
9e82ac15ab80370d6e021aea7b98c7c9626adb5e jdk8-b37
9e82ac15ab80370d6e021aea7b98c7c9626adb5e jdk8-b37
c45f3509a70796c54b48f32910d1caf435763416 jdk8-b38
c45f3509a70796c54b48f32910d1caf435763416 jdk8-b38
b6f52911752110a2889681923992c7a0baa52ccc jdk8-b39
b6f52911752110a2889681923992c7a0baa52ccc jdk8-b39
b88fc3359dc7edabfa8a228855d8cebf8843c055 jdk8-b40
4eac56f073ea8179b1a35fcd2af9b48b0088be9f jdk8-b41
make/com/apple/osxui/Makefile
浏览文件 @
33968c10
...
@@ -65,12 +65,8 @@ FILES_export = \
...
@@ -65,12 +65,8 @@ FILES_export = \
com/apple/laf/ScreenMenuPropertyHandler.java
\
com/apple/laf/ScreenMenuPropertyHandler.java
\
com/apple/laf/ScreenMenuPropertyListener.java
com/apple/laf/ScreenMenuPropertyListener.java
#RESOURCE_BUNDLES_COMPILED_PROPERTIES += \
RESOURCE_BUNDLES_COMPILED_PROPERTIES
+=
\
# com/apple/laf/resources/aqua.properties \
com/apple/laf/resources/aqua.properties
# com/apple/laf/resources/aqua_de.properties \
# com/apple/laf/resources/aqua_fr.properties \
# com/apple/laf/resources/aqua_ja.properties
#
#
# Rules
# Rules
...
...
make/com/oracle/security/ucrypto/Makefile
浏览文件 @
33968c10
...
@@ -139,7 +139,7 @@ ifndef OPENJDK
...
@@ -139,7 +139,7 @@ ifndef OPENJDK
#
#
CLASSDESTDIR
=
$(TEMPDIR)
/classes
CLASSDESTDIR
=
$(TEMPDIR)
/classes
JAVAHFLAGS
=
-bootclasspath
\
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
"
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
$(JCE_PATH)
"
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Library.gmk
include
$(BUILDDIR)/common/Library.gmk
...
...
make/common/internal/Resources.gmk
浏览文件 @
33968c10
...
@@ -197,6 +197,10 @@ $(GENSRCDIR)/%.java: $(SHARE_SRC)/classes/%.properties
...
@@ -197,6 +197,10 @@ $(GENSRCDIR)/%.java: $(SHARE_SRC)/classes/%.properties
$(add-property-java-file)
$(add-property-java-file)
$(GENSRCDIR)/%.java: $(GENSRCDIR)/%.properties
$(GENSRCDIR)/%.java: $(GENSRCDIR)/%.properties
$(add-property-java-file)
$(add-property-java-file)
ifdef PLATFORM_SRC_MACOS
$(GENSRCDIR)/%.java: $(PLATFORM_SRC_MACOS)/classes/%.properties
$(add-property-java-file)
endif
ifndef OPENJDK
ifndef OPENJDK
$(GENSRCDIR)/%.java: $(CLOSED_PLATFORM_SRC)/classes/%.properties
$(GENSRCDIR)/%.java: $(CLOSED_PLATFORM_SRC)/classes/%.properties
$(add-property-java-file)
$(add-property-java-file)
...
...
make/common/shared/Defs-java.gmk
浏览文件 @
33968c10
#
#
# Copyright (c) 2007, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2007, 201
2
, 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
...
@@ -139,7 +139,7 @@ JAVACFLAGS += $(JAVAC_LINT_OPTIONS)
...
@@ -139,7 +139,7 @@ JAVACFLAGS += $(JAVAC_LINT_OPTIONS)
# built implicitly/explicitly.
# built implicitly/explicitly.
#
#
ifeq ($(wildcard $(SHARE_SRC)/classes/javax/crypto/Cipher.java),)
ifeq ($(wildcard $(SHARE_SRC)/classes/javax/crypto/Cipher.java),)
JCE
FLAGS
= $(CLASSPATH_SEPARATOR)$(LIBDIR)/jce.jar
JCE
_PATH
= $(CLASSPATH_SEPARATOR)$(LIBDIR)/jce.jar
endif
endif
# Add the source level
# Add the source level
...
@@ -152,11 +152,11 @@ TARGET_CLASS_VERSION = 7
...
@@ -152,11 +152,11 @@ TARGET_CLASS_VERSION = 7
CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
JAVACFLAGS += $(CLASS_VERSION)
JAVACFLAGS += $(CLASS_VERSION)
JAVACFLAGS += -encoding ascii
JAVACFLAGS += -encoding ascii
JAVACFLAGS += "-Xbootclasspath:$(CLASSBINDIR)$(JCE
FLAGS
)"
JAVACFLAGS += "-Xbootclasspath:$(CLASSBINDIR)$(JCE
_PATH
)"
JAVACFLAGS += $(OTHER_JAVACFLAGS)
JAVACFLAGS += $(OTHER_JAVACFLAGS)
# Needed for javah
# Needed for javah
JAVAHFLAGS += -bootclasspath "$(CLASSBINDIR)$(JCE
FLAGS
)"
JAVAHFLAGS += -bootclasspath "$(CLASSBINDIR)$(JCE
_PATH
)"
# Needed for javadoc to ensure it builds documentation
# Needed for javadoc to ensure it builds documentation
# against the newly built classes
# against the newly built classes
...
...
make/java/redist/Makefile
浏览文件 @
33968c10
...
@@ -261,8 +261,7 @@ ifndef BUILD_CLIENT_ONLY
...
@@ -261,8 +261,7 @@ ifndef BUILD_CLIENT_ONLY
ifeq
($(ZIP_DEBUGINFO_FILES),1)
ifeq
($(ZIP_DEBUGINFO_FILES),1)
# the import JDK may not contain the target of the symlink
# the import JDK may not contain the target of the symlink
ifneq
($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),)
ifneq
($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),)
# check for the .diz file, but create the .debuginfo link
IMPORT_LIST
+=
$(LIB_LOCATION)
/
$(SERVER_LOCATION)
/
$(LIBJSIG_DIZ_NAME)
IMPORT_LIST
+=
$(LIB_LOCATION)
/
$(SERVER_LOCATION)
/
$(LIBJSIG_DEBUGINFO_NAME)
endif
endif
else
else
# the import JDK may not contain the target of the symlink
# the import JDK may not contain the target of the symlink
...
@@ -319,8 +318,7 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
...
@@ -319,8 +318,7 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
ifeq
($(ZIP_DEBUGINFO_FILES),1)
ifeq
($(ZIP_DEBUGINFO_FILES),1)
# the import JDK may not contain the target of the symlink
# the import JDK may not contain the target of the symlink
ifneq
($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),)
ifneq
($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),)
# check for the .diz file, but create the .debuginfo link
IMPORT_LIST
+=
$(LIB_LOCATION)
/
$(CLIENT_LOCATION)
/
$(LIBJSIG_DIZ_NAME)
IMPORT_LIST
+=
$(LIB_LOCATION)
/
$(CLIENT_LOCATION)
/
$(LIBJSIG_DEBUGINFO_NAME)
endif
endif
else
else
# the import JDK may not contain the target of the symlink
# the import JDK may not contain the target of the symlink
...
@@ -472,11 +470,24 @@ $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME):
...
@@ -472,11 +470,24 @@ $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME):
$(
call
install-sym-link, ../
$(LIBJSIG_NAME)
)
$(
call
install-sym-link, ../
$(LIBJSIG_NAME)
)
ifeq
($(ENABLE_FULL_DEBUG_SYMBOLS),1)
ifeq
($(ENABLE_FULL_DEBUG_SYMBOLS),1)
# we don't create a symlink to a libjsig.diz file
# We don't create a symlink to a libjsig.diz file, but we do put
# the libjsig.debuginfo symlink into a libjsig.diz file. The aurora
# system does not like dangling symlinks.
ifeq
($(ZIP_DEBUGINFO_FILES),1)
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DIZ_NAME)
\
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DIZ_NAME)
:
@
$
(
prep-target
)
$(LN)
-s
../
$(LIBJSIG_DEBUGINFO_NAME)
$
(
@D
)
/
$(LIBJSIG_DEBUGINFO_NAME)
(
$(CD)
$
(
@D
)
;
\
$(ZIPEXE)
-y
$(LIBJSIG_DIZ_NAME)
$(LIBJSIG_DEBUGINFO_NAME)
;
\
$(RM)
$(LIBJSIG_DEBUGINFO_NAME)
;
\
)
else
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
\
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
\
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
:
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
:
@
$
(
prep-target
)
@
$
(
prep-target
)
$(
call
install-sym-link, ../
$(LIBJSIG_DEBUGINFO_NAME)
)
$(
call
install-sym-link, ../
$(LIBJSIG_DEBUGINFO_NAME)
)
endif
endif
endif
else
else
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME)
:
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME)
:
...
@@ -484,10 +495,22 @@ $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME):
...
@@ -484,10 +495,22 @@ $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME):
$(
call
install-sym-link, ../
$(LIBJSIG_NAME)
)
$(
call
install-sym-link, ../
$(LIBJSIG_NAME)
)
ifeq
($(ENABLE_FULL_DEBUG_SYMBOLS),1)
ifeq
($(ENABLE_FULL_DEBUG_SYMBOLS),1)
# we don't create a symlink to a libjsig.diz file
# We don't create a symlink to a libjsig.diz file, but we do put
# the libjsig.debuginfo symlink into a libjsig.diz file. The aurora
# system does not like dangling symlinks.
ifeq
($(ZIP_DEBUGINFO_FILES),1)
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DIZ_NAME)
:
@
$
(
prep-target
)
$(LN)
-s
../
$(LIBJSIG_DEBUGINFO_NAME)
$
(
@D
)
/
$(LIBJSIG_DEBUGINFO_NAME)
(
$(CD)
$
(
@D
)
;
\
$(ZIPEXE)
-y
$(LIBJSIG_DIZ_NAME)
$(LIBJSIG_DEBUGINFO_NAME)
;
\
$(RM)
$(LIBJSIG_DEBUGINFO_NAME)
;
\
)
else
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
:
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME)
:
@
$
(
prep-target
)
@
$
(
prep-target
)
$(
call
install-sym-link, ../
$(LIBJSIG_DEBUGINFO_NAME)
)
$(
call
install-sym-link, ../
$(LIBJSIG_DEBUGINFO_NAME)
)
endif
endif
endif
endif
endif
...
...
make/sun/security/ec/Makefile
浏览文件 @
33968c10
#
#
# Copyright (c) 2009, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 201
2
, 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
...
@@ -160,7 +160,7 @@ ifeq ($(NATIVE_ECC_AVAILABLE), true)
...
@@ -160,7 +160,7 @@ ifeq ($(NATIVE_ECC_AVAILABLE), true)
$(PKGDIR)
/ECKeyPairGenerator.java
$(PKGDIR)
/ECKeyPairGenerator.java
JAVAHFLAGS
=
-bootclasspath
\
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
"
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
$(JCE_PATH)
"
#
#
...
...
make/sun/security/mscapi/Makefile
浏览文件 @
33968c10
...
@@ -150,7 +150,7 @@ OTHER_INCLUDES += \
...
@@ -150,7 +150,7 @@ OTHER_INCLUDES += \
#
#
CLASSDESTDIR
=
$(TEMPDIR)
/classes
CLASSDESTDIR
=
$(TEMPDIR)
/classes
JAVAHFLAGS
=
-bootclasspath
\
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
"
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
$(JCE_PATH)
"
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Mapfile-vers.gmk
...
...
make/sun/security/pkcs11/Makefile
浏览文件 @
33968c10
...
@@ -151,7 +151,7 @@ OTHER_INCLUDES += \
...
@@ -151,7 +151,7 @@ OTHER_INCLUDES += \
#
#
CLASSDESTDIR
=
$(TEMPDIR)
/classes
CLASSDESTDIR
=
$(TEMPDIR)
/classes
JAVAHFLAGS
=
-bootclasspath
\
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
"
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
$(JCE_PATH)
"
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Mapfile-vers.gmk
...
...
make/sun/xawt/Makefile
浏览文件 @
33968c10
#
#
# Copyright (c) 2002, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2002, 201
2
, 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
...
@@ -225,10 +225,16 @@ ifeq ($(ARCH_DATA_MODEL), 32)
...
@@ -225,10 +225,16 @@ ifeq ($(ARCH_DATA_MODEL), 32)
SIZERS
=
$(SIZER)
.32
SIZERS
=
$(SIZER)
.32
SIZERS_C
=
$(SIZER_32_C)
SIZERS_C
=
$(SIZER_32_C)
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.32
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.32
ifdef
CROSS_COMPILE_ARCH
CFLAGS_32
=
-m32
endif
else
# !32
else
# !32
SIZERS
=
$(SIZER)
.64
SIZERS
=
$(SIZER)
.64
SIZERS_C
=
$(SIZER_64_C)
SIZERS_C
=
$(SIZER_64_C)
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.64
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.64
ifdef
CROSS_COMPILE_ARCH
CFLAGS_64
=
-m64
endif
endif
# 32
endif
# 32
endif
# !macosx
endif
# !macosx
endif
# solaris
endif
# solaris
...
@@ -264,16 +270,17 @@ WRAPPER_GENERATOR_TEMPDIR=$(TEMPDIR)/sun/awt/X11/generator
...
@@ -264,16 +270,17 @@ WRAPPER_GENERATOR_TEMPDIR=$(TEMPDIR)/sun/awt/X11/generator
WRAPPER_GENERATOR_CLASS
=
$(WRAPPER_GENERATOR_TEMPDIR)
/WrapperGenerator.class
WRAPPER_GENERATOR_CLASS
=
$(WRAPPER_GENERATOR_TEMPDIR)
/WrapperGenerator.class
XLIBTYPES
=
$(PLATFORM_SRC)
/classes/sun/awt/X11/generator/xlibtypes.txt
XLIBTYPES
=
$(PLATFORM_SRC)
/classes/sun/awt/X11/generator/xlibtypes.txt
$(SIZERS)
:
$(SIZERS_C)
$
(
prep-target
)
ifndef
CROSS_COMPILE_ARCH
ifndef
CROSS_COMPILE_ARCH
$(CC)
$
(
CFLAGS_
$(
subst
.,,
$(
suffix
$@
))
)
$(CPPFLAGS)
-c
-o
$(SIZER)
$(
suffix
$@
)
.o
$(SIZER)
$(
suffix
$@
)
.c
SIZERS_CC
=
$(CC)
$(CC)
$
(
CFLAGS_
$(
subst
.,,
$(
suffix
$@
))
)
-o
$@
$(CPPFLAGS)
$(SIZER)
$(
suffix
$@
)
.o
else
else
$(HOST_CC)
$(CPPFLAGS)
-c
-o
$(SIZER)
$(
suffix
$@
)
.o
$(SIZER)
$(
suffix
$@
)
.c
SIZERS_CC
=
$(HOST_CC)
$(HOST_CC)
$(CPPFLAGS)
-o
$@
$(SIZER)
$(
suffix
$@
)
.o
endif
endif
$(SIZERS)
:
$(SIZERS_C)
$
(
prep-target
)
$(SIZERS_CC)
$
(
CFLAGS_
$(
subst
.,,
$(
suffix
$@
))
)
$(CPPFLAGS)
-c
-o
$(SIZER)
$(
suffix
$@
)
.o
$(SIZER)
$(
suffix
$@
)
.c
$(SIZERS_CC)
$
(
CFLAGS_
$(
subst
.,,
$(
suffix
$@
))
)
-o
$@
$(CPPFLAGS)
$(SIZER)
$(
suffix
$@
)
.o
$(WRAPPER_GENERATOR_CLASS)
:
$(WRAPPER_GENERATOR_JAVA)
$(WRAPPER_GENERATOR_CLASS)
:
$(WRAPPER_GENERATOR_JAVA)
$
(
prep-target
)
$
(
prep-target
)
$(BOOT_JAVAC_CMD)
-d
$(WRAPPER_GENERATOR_TEMPDIR)
$(WRAPPER_GENERATOR_JAVA)
$(BOOT_JAVAC_CMD)
-d
$(WRAPPER_GENERATOR_TEMPDIR)
$(WRAPPER_GENERATOR_JAVA)
...
...
makefiles/com/oracle/security/ucrypto/Makefile
浏览文件 @
33968c10
...
@@ -139,7 +139,7 @@ ifndef OPENJDK
...
@@ -139,7 +139,7 @@ ifndef OPENJDK
#
#
CLASSDESTDIR
=
$(TEMPDIR)
/classes
CLASSDESTDIR
=
$(TEMPDIR)
/classes
JAVAHFLAGS
=
-bootclasspath
\
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
"
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
$(JCE_PATH)
"
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Library.gmk
include
$(BUILDDIR)/common/Library.gmk
...
...
makefiles/common/shared/Defs-java.gmk
浏览文件 @
33968c10
#
#
# Copyright (c) 2007, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2007, 201
2
, 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
...
@@ -141,7 +141,7 @@ JAVACFLAGS += $(JAVAC_LINT_OPTIONS)
...
@@ -141,7 +141,7 @@ JAVACFLAGS += $(JAVAC_LINT_OPTIONS)
# built implicitly/explicitly.
# built implicitly/explicitly.
#
#
ifeq ($(wildcard $(SHARE_SRC)/classes/javax/crypto/Cipher.java),)
ifeq ($(wildcard $(SHARE_SRC)/classes/javax/crypto/Cipher.java),)
JCE
FLAGS
= $(CLASSPATH_SEPARATOR)$(LIBDIR)/jce.jar
JCE
_PATH
= $(CLASSPATH_SEPARATOR)$(LIBDIR)/jce.jar
endif
endif
# Add the source level
# Add the source level
...
@@ -154,11 +154,11 @@ TARGET_CLASS_VERSION = 7
...
@@ -154,11 +154,11 @@ TARGET_CLASS_VERSION = 7
CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
JAVACFLAGS += $(CLASS_VERSION)
JAVACFLAGS += $(CLASS_VERSION)
JAVACFLAGS += -encoding ascii
JAVACFLAGS += -encoding ascii
JAVACFLAGS += "-Xbootclasspath:$(CLASSBINDIR)$(JCE
FLAGS
)"
JAVACFLAGS += "-Xbootclasspath:$(CLASSBINDIR)$(JCE
_PATH
)"
JAVACFLAGS += $(OTHER_JAVACFLAGS)
JAVACFLAGS += $(OTHER_JAVACFLAGS)
# Needed for javah
# Needed for javah
JAVAHFLAGS += -bootclasspath "$(CLASSBINDIR)$(JCE
FLAGS
)"
JAVAHFLAGS += -bootclasspath "$(CLASSBINDIR)$(JCE
_PATH
)"
# Needed for javadoc to ensure it builds documentation
# Needed for javadoc to ensure it builds documentation
# against the newly built classes
# against the newly built classes
...
...
makefiles/sun/security/ec/Makefile
浏览文件 @
33968c10
#
#
# Copyright (c) 2009, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 201
2
, 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
...
@@ -159,7 +159,8 @@ ifeq ($(NATIVE_ECC_AVAILABLE), true)
...
@@ -159,7 +159,8 @@ ifeq ($(NATIVE_ECC_AVAILABLE), true)
$(PKGDIR)
/ECDSASignature.java
\
$(PKGDIR)
/ECDSASignature.java
\
$(PKGDIR)
/ECKeyPairGenerator.java
$(PKGDIR)
/ECKeyPairGenerator.java
JAVAHFLAGS
+=
-Xbootclasspath
/p:
$(CLASSDESTDIR)
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)$(JCE_PATH)
"
#
#
# C and C++ files
# C and C++ files
...
...
makefiles/sun/security/mscapi/Makefile
浏览文件 @
33968c10
#
#
# Copyright (c) 2005, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2005, 201
2
, 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
...
@@ -149,7 +149,8 @@ OTHER_INCLUDES += \
...
@@ -149,7 +149,8 @@ OTHER_INCLUDES += \
# Rules
# Rules
#
#
CLASSDESTDIR
=
$(TEMPDIR)
/classes
CLASSDESTDIR
=
$(TEMPDIR)
/classes
JAVAHFLAGS
+=
-Xbootclasspath
/p:
$(CLASSDESTDIR)
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)$(JCE_PATH)
"
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Mapfile-vers.gmk
...
...
makefiles/sun/security/pkcs11/Makefile
浏览文件 @
33968c10
...
@@ -150,7 +150,8 @@ OTHER_INCLUDES += \
...
@@ -150,7 +150,8 @@ OTHER_INCLUDES += \
# Rules
# Rules
#
#
CLASSDESTDIR
=
$(TEMPDIR)
/classes
CLASSDESTDIR
=
$(TEMPDIR)
/classes
JAVAHFLAGS
=
-bootclasspath
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)
"
JAVAHFLAGS
=
-bootclasspath
\
"
$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)$(JCE_PATH)
"
include
$(BUILDDIR)/common/Mapfile-vers.gmk
include
$(BUILDDIR)/common/Mapfile-vers.gmk
...
...
makefiles/sun/xawt/Makefile
浏览文件 @
33968c10
#
#
# Copyright (c) 2002, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2002, 201
2
, 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
...
@@ -225,10 +225,16 @@ ifeq ($(ARCH_DATA_MODEL), 32)
...
@@ -225,10 +225,16 @@ ifeq ($(ARCH_DATA_MODEL), 32)
SIZERS
=
$(SIZER)
.32
SIZERS
=
$(SIZER)
.32
SIZERS_C
=
$(SIZER_32_C)
SIZERS_C
=
$(SIZER_32_C)
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.32
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.32
ifdef
CROSS_COMPILE_ARCH
CFLAGS_32
=
-m32
endif
else
# !32
else
# !32
SIZERS
=
$(SIZER)
.64
SIZERS
=
$(SIZER)
.64
SIZERS_C
=
$(SIZER_64_C)
SIZERS_C
=
$(SIZER_64_C)
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.64
SIZES
=
$(WRAPPER_GENERATOR_DIR)
/sizes.64
ifdef
CROSS_COMPILE_ARCH
CFLAGS_64
=
-m64
endif
endif
# 32
endif
# 32
endif
# !macosx
endif
# !macosx
endif
# solaris
endif
# solaris
...
@@ -264,16 +270,18 @@ WRAPPER_GENERATOR_TEMPDIR=$(TEMPDIR)/sun/awt/X11/generator
...
@@ -264,16 +270,18 @@ WRAPPER_GENERATOR_TEMPDIR=$(TEMPDIR)/sun/awt/X11/generator
WRAPPER_GENERATOR_CLASS
=
$(WRAPPER_GENERATOR_TEMPDIR)
/WrapperGenerator.class
WRAPPER_GENERATOR_CLASS
=
$(WRAPPER_GENERATOR_TEMPDIR)
/WrapperGenerator.class
XLIBTYPES
=
$(PLATFORM_SRC)
/classes/sun/awt/X11/generator/xlibtypes.txt
XLIBTYPES
=
$(PLATFORM_SRC)
/classes/sun/awt/X11/generator/xlibtypes.txt
$(SIZERS)
:
$(SIZERS_C)
$
(
prep-target
)
ifndef
CROSS_COMPILE_ARCH
ifndef
CROSS_COMPILE_ARCH
$(CC)
$
(
CFLAGS_
$(
subst
.,,
$(
suffix
$@
))
)
$(CPPFLAGS)
-c
-o
$(SIZER)
$(
suffix
$@
)
.o
$(SIZER)
$(
suffix
$@
)
.c
SIZERS_CC
=
$(CC)
$(CC)
$
(
CFLAGS_
$(
subst
.,,
$(
suffix
$@
))
)
-o
$@
$(CPPFLAGS)
$(SIZER)
$(
suffix
$@
)
.o
else
else
$(HOST_CC)
$(CPPFLAGS)
-c
-o
$(SIZER)
$(
suffix
$@
)
.o
$(SIZER)
$(
suffix
$@
)
.c
SIZERS_CC
=
$(HOST_CC)
$(HOST_CC)
$(CPPFLAGS)
-o
$@
$(SIZER)
$(
suffix
$@
)
.o
endif
endif
$(SIZERS)
:
$(SIZERS_C)
$
(
prep-target
)
$(SIZERS_CC)
$(CFLAGS_$(subst
.,,$(suffix
$@)))
$(CPPFLAGS)
-c
-o
$(SIZER)$(suffix
$@).o
$(SIZER)$(suffix
$@).c
$(SIZERS_CC)
$(CFLAGS_$(subst
.,,$(suffix
$@)))
-o
$@
$(CPPFLAGS)
$(SIZER)$(suffix
$@).o
$(WRAPPER_GENERATOR_CLASS)
:
$(WRAPPER_GENERATOR_JAVA)
$(WRAPPER_GENERATOR_CLASS)
:
$(WRAPPER_GENERATOR_JAVA)
$
(
prep-target
)
$
(
prep-target
)
$(BOOT_JAVAC_CMD)
-d
$(WRAPPER_GENERATOR_TEMPDIR)
$(WRAPPER_GENERATOR_JAVA)
$(BOOT_JAVAC_CMD)
-d
$(WRAPPER_GENERATOR_TEMPDIR)
$(WRAPPER_GENERATOR_JAVA)
...
...
src/macosx/classes/com/apple/laf/AquaButtonLabeledUI.java
浏览文件 @
33968c10
...
@@ -30,6 +30,7 @@ import java.awt.image.BufferedImage;
...
@@ -30,6 +30,7 @@ import java.awt.image.BufferedImage;
import
javax.swing.*
;
import
javax.swing.*
;
import
javax.swing.border.Border
;
import
javax.swing.border.Border
;
import
javax.swing.plaf.UIResource
;
import
javax.swing.plaf.basic.BasicHTML
;
import
javax.swing.plaf.basic.BasicHTML
;
import
javax.swing.text.View
;
import
javax.swing.text.View
;
...
@@ -76,8 +77,11 @@ public abstract class AquaButtonLabeledUI extends AquaButtonToggleUI implements
...
@@ -76,8 +77,11 @@ public abstract class AquaButtonLabeledUI extends AquaButtonToggleUI implements
protected
void
setThemeBorder
(
final
AbstractButton
b
)
{
protected
void
setThemeBorder
(
final
AbstractButton
b
)
{
super
.
setThemeBorder
(
b
);
super
.
setThemeBorder
(
b
);
// Set the correct border
Border
border
=
b
.
getBorder
();
b
.
setBorder
(
AquaButtonBorder
.
getBevelButtonBorder
());
if
(
border
==
null
||
border
instanceof
UIResource
)
{
// Set the correct border
b
.
setBorder
(
AquaButtonBorder
.
getBevelButtonBorder
());
}
}
}
protected
abstract
AquaButtonBorder
getPainter
();
protected
abstract
AquaButtonBorder
getPainter
();
...
...
src/macosx/classes/com/apple/laf/AquaLookAndFeel.java
浏览文件 @
33968c10
...
@@ -250,6 +250,7 @@ public class AquaLookAndFeel extends BasicLookAndFeel {
...
@@ -250,6 +250,7 @@ public class AquaLookAndFeel extends BasicLookAndFeel {
*/
*/
private
void
initResourceBundle
(
final
UIDefaults
table
)
{
private
void
initResourceBundle
(
final
UIDefaults
table
)
{
table
.
setDefaultLocale
(
Locale
.
getDefault
());
table
.
setDefaultLocale
(
Locale
.
getDefault
());
table
.
addResourceBundle
(
PKG_PREFIX
+
"resources.aqua"
);
try
{
try
{
final
ResourceBundle
aquaProperties
=
MacOSXResourceBundle
.
getMacResourceBundle
(
PKG_PREFIX
+
"resources.aqua"
);
final
ResourceBundle
aquaProperties
=
MacOSXResourceBundle
.
getMacResourceBundle
(
PKG_PREFIX
+
"resources.aqua"
);
final
Enumeration
<
String
>
propertyKeys
=
aquaProperties
.
getKeys
();
final
Enumeration
<
String
>
propertyKeys
=
aquaProperties
.
getKeys
();
...
@@ -259,7 +260,6 @@ public class AquaLookAndFeel extends BasicLookAndFeel {
...
@@ -259,7 +260,6 @@ public class AquaLookAndFeel extends BasicLookAndFeel {
table
.
put
(
key
,
aquaProperties
.
getString
(
key
));
table
.
put
(
key
,
aquaProperties
.
getString
(
key
));
}
}
}
catch
(
final
Exception
e
)
{
}
catch
(
final
Exception
e
)
{
table
.
addResourceBundle
(
PKG_PREFIX
+
"resources.aqua"
);
}
}
}
}
...
...
src/macosx/classes/com/apple/laf/AquaTabbedPaneUI.java
浏览文件 @
33968c10
...
@@ -318,7 +318,7 @@ public class AquaTabbedPaneUI extends AquaTabbedPaneCopyFromBasicUI {
...
@@ -318,7 +318,7 @@ public class AquaTabbedPaneUI extends AquaTabbedPaneCopyFromBasicUI {
}
}
// not for the scrolling tabs
// not for the scrolling tabs
if
(
tabIndex
>=
0
)
{
if
(
component
==
null
&&
tabIndex
>=
0
)
{
paintTitle
(
g2d
,
font
,
metrics
,
textRect
,
tabIndex
,
title
);
paintTitle
(
g2d
,
font
,
metrics
,
textRect
,
tabIndex
,
title
);
}
}
...
...
src/macosx/classes/com/apple/laf/resources/aqua.properties
浏览文件 @
33968c10
...
@@ -36,45 +36,45 @@
...
@@ -36,45 +36,45 @@
# support.
# support.
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.fileDescription
Text
=
Generic File
FileChooser.fileDescription
.textAndMnemonic
=
Generic File
FileChooser.directoryDescription
Text
=
Directory
FileChooser.directoryDescription
.textAndMnemonic
=
Directory
FileChooser.newFolderError
Text
=
Error occured during folder creation
FileChooser.newFolderError
.textAndMnemonic
=
Error occured during folder creation
FileChooser.newFolderErrorSeparator
=
:
FileChooser.newFolderErrorSeparator
=
:
FileChooser.acceptAllFileFilter
Text
=
All Files
FileChooser.acceptAllFileFilter
.textAndMnemonic
=
All Files
FileChooser.cancelButton
Text
=
Cancel
FileChooser.cancelButton
.textAndMnemonic
=
Cancel
FileChooser.saveButton
Text
=
Save
FileChooser.saveButton
.textAndMnemonic
=
Save
FileChooser.openButton
Text
=
Open
FileChooser.openButton
.textAndMnemonic
=
Open
FileChooser.saveDialogTitle
Text
=
Save
FileChooser.saveDialogTitle
.textAndMnemonic
=
Save
FileChooser.openDialogTitle
Text
=
Open
FileChooser.openDialogTitle
.textAndMnemonic
=
Open
FileChooser.updateButton
Text
=
Update
FileChooser.updateButton
.textAndMnemonic
=
Update
FileChooser.helpButton
Text
=
Help
FileChooser.helpButton
.textAndMnemonic
=
Help
FileChooser.directoryOpenButton
Text
=
Open
FileChooser.directoryOpenButton
.textAndMnemonic
=
Open
# File Size Units
# File Size Units
FileChooser.fileSizeKiloBytes
=
{0} KB
FileChooser.fileSizeKiloBytes
=
{0} KB
FileChooser.fileSizeMegaBytes
=
{0} MB
FileChooser.fileSizeMegaBytes
=
{0} MB
FileChooser.fileSizeGigaBytes
=
{0} GB
FileChooser.fileSizeGigaBytes
=
{0} GB
//
Mac-specific
strings
#
Mac-specific strings
FileChooser.saveTitle
Text
=
Save
FileChooser.saveTitle
.textAndMnemonic
=
Save
FileChooser.openTitle
Text
=
Open
FileChooser.openTitle
.textAndMnemonic
=
Open
FileChooser.newFolderExistsError
Text
=
That name is already taken
FileChooser.newFolderExistsError
.textAndMnemonic
=
That name is already taken
FileChooser.chooseButton
Text
=
Choose
FileChooser.chooseButton
.textAndMnemonic
=
Choose
FileChooser.newFolderButton
Text
=
New Folder
FileChooser.newFolderButton
.textAndMnemonic
=
New Folder
FileChooser.newFolderTitle
Text
=
New Folder
FileChooser.newFolderTitle
.textAndMnemonic
=
New Folder
FileChooser.fileNameLabel
Text
=
File:
FileChooser.fileNameLabel
.textAndMnemonic
=
File:
FileChooser.saveDialogFileNameLabel
Text
=
Save As:
FileChooser.saveDialogFileNameLabel
.textAndMnemonic
=
Save As:
FileChooser.filesOfTypeLabel
Text
=
File Format:
FileChooser.filesOfTypeLabel
.textAndMnemonic
=
File Format:
FileChooser.desktopName
=
Desktop
FileChooser.desktopName
=
Desktop
FileChooser.newFolderPrompt
Text
=
Name of new folder:
FileChooser.newFolderPrompt
.textAndMnemonic
=
Name of new folder:
FileChooser.untitledFolderName
=
untitled folder
FileChooser.untitledFolderName
=
untitled folder
FileChooser.untitledFileName
=
untitled
FileChooser.untitledFileName
=
untitled
FileChooser.createButton
Text
=
Create
FileChooser.createButton
.textAndMnemonic
=
Create
FileChooser.byDate
Text
=
Date Modified
FileChooser.byDate
.textAndMnemonic
=
Date Modified
FileChooser.by
NameText
=
Name
FileChooser.by
.textAndMnemonic
=
Name
FileChooser.newFolderAccessibleName
=
New Folder
FileChooser.newFolderAccessibleName
=
New Folder
FileChooser.mac.newFolder
=
untitled folder
FileChooser.mac.newFolder
=
untitled folder
...
@@ -82,76 +82,54 @@ FileChooser.mac.newFolder.subsequent=untitled folder {0}
...
@@ -82,76 +82,54 @@ FileChooser.mac.newFolder.subsequent=untitled folder {0}
############ COLOR CHOOSER STRINGS #############
############ COLOR CHOOSER STRINGS #############
ColorChooser.previewText
=
Preview
ColorChooser.preview.textAndMnemonic
=
Preview
ColorChooser.okText
=
OK
ColorChooser.ok.textAndMnemonic
=
OK
ColorChooser.cancelText
=
Cancel
ColorChooser.cancel.textAndMnemonic
=
Cancel
ColorChooser.resetText
=
Reset
ColorChooser.reset.textAndMnemonic
=
&Reset
# VK_XXX constant for 'ColorChooser.resetText' button to make mnemonic
ColorChooser.sample.textAndMnemonic
=
Sample Text Sample Text
ColorChooser.resetMnemonic
=
82
ColorChooser.swatches.textAndMnemonic
=
&Swatches
ColorChooser.sampleText
=
Sample Text Sample Text
ColorChooser.swatchesRecent.textAndMnemonic
=
Recent:
ColorChooser.swatchesNameText
=
Swatches
ColorChooser.hsb.textAndMnemonic
=
&HSB
ColorChooser.swatchesMnemonic
=
83
ColorChooser.hsbHue.textAndMnemonic
=
H
ColorChooser.swatchesDisplayedMnemonicIndex
=
0
ColorChooser.hsbSaturation.textAndMnemonic
=
S
ColorChooser.swatchesRecentText
=
Recent:
ColorChooser.hsbBrightness.textAndMnemonic
=
B
ColorChooser.hsbNameText
=
HSB
ColorChooser.hsbRed.textAndMnemonic
=
R
# Each of the ColorChooser types can define a mnemonic, as a KeyEvent.VK_XXX
ColorChooser.hsbGreen.textAndMnemonic
=
G
# constant, and an index into the text to render the mnemonic as. The
ColorChooser.hsbBlue.textAndMnemonic
=
B
# mnemonic is xxxMnemonic and the index of the character to underline is
ColorChooser.rgb.textAndMnemonic
=
R&GB
# xxxDisplayedMnemonicIndex.
ColorChooser.rgbRed.textAndMnemonic
=
Re&d
ColorChooser.hsbMnemonic
=
72
ColorChooser.rgbGreen.textAndMnemonic
=
Gree&n
ColorChooser.hsbDisplayedMnemonicIndex
=
0
ColorChooser.rgbBlue.textAndMnemonic
=
&Blue
ColorChooser.hsbHueText
=
H
ColorChooser.hsbSaturationText
=
S
ColorChooser.hsbBrightnessText
=
B
ColorChooser.hsbRedText
=
R
ColorChooser.hsbGreenText
=
G
ColorChooser.hsbBlueText
=
B
ColorChooser.rgbNameText
=
RGB
ColorChooser.rgbMnemonic
=
71
ColorChooser.rgbDisplayedMnemonicIndex
=
1
ColorChooser.rgbRedText
=
Red
ColorChooser.rgbRedMnemonic
=
68
ColorChooser.rgbGreenText
=
Green
ColorChooser.rgbGreenMnemonic
=
78
ColorChooser.rgbBlueText
=
Blue
ColorChooser.rgbBlueMnemonic
=
66
############ OPTION PANE STRINGS #############
############ OPTION PANE STRINGS #############
# Mnemonic keys correspond to KeyEvent.VK_XXX constant
# We only define mnemonics for YES/NO, but for completeness you can
# We only define mnemonics for YES/NO, but for completeness you can
# define mnemonics for any of the buttons.
# define mnemonics for any of the buttons.
OptionPane.yesButtonText
=
Yes
OptionPane.yesButton.textAndMnemonic
=
&Yes
OptionPane.yesButtonMnemonic
=
89
OptionPane.noButton.textAndMnemonic
=
&No
OptionPane.noButtonText
=
No
OptionPane.okButton.textAndMnemonic
=
OK
OptionPane.noButtonMnemonic
=
78
OptionPane.cancelButton.textAndMnemonic
=
Cancel
OptionPane.okButtonText
=
OK
OptionPane.title.textAndMnemonic
=
Select an Option
OptionPane.okButtonMnemonic
=
0
OptionPane.cancelButtonText
=
Cancel
OptionPane.cancelButtonMnemonic
=
0
OptionPane.titleText
=
Select an Option
# Title for the dialog for the showInputDialog methods. Only used if
# Title for the dialog for the showInputDialog methods. Only used if
# the developer uses one of the variants that doesn't take a title.
# the developer uses one of the variants that doesn't take a title.
OptionPane.inputDialog
Title
=
Input
OptionPane.inputDialog
.titleAndMnemonic
=
Input
# Title for the dialog for the showMessageDialog methods. Only used if
# Title for the dialog for the showMessageDialog methods. Only used if
# the developer uses one of the variants that doesn't take a title.
# the developer uses one of the variants that doesn't take a title.
OptionPane.messageDialog
Title
=
Message
OptionPane.messageDialog
.titleAndMnemonic
=
Message
############ Printing Dialog Strings ############
############ Printing Dialog Strings ############
PrintingDialog.titleProgress
Text
=
Printing
PrintingDialog.titleProgress
.textAndMnemonic
=
Printing
PrintingDialog.titleAborting
Text
=
Printing (Aborting)
PrintingDialog.titleAborting
.textAndMnemonic
=
Printing (Aborting)
PrintingDialog.contentInitial
Text
=
Printing in progress...
PrintingDialog.contentInitial
.textAndMnemonic
=
Printing in progress...
# The following string will be formatted by a MessageFormat
# The following string will be formatted by a MessageFormat
# and {0} will be replaced by page number being printed
# and {0} will be replaced by page number being printed
PrintingDialog.contentProgress
Text
=
Printed page {0}...
PrintingDialog.contentProgress
.textAndMnemonic
=
Printed page {0}...
PrintingDialog.contentAborting
Text
=
Printing aborting...
PrintingDialog.contentAborting
.textAndMnemonic
=
Printing aborting...
PrintingDialog.abortButtonText
=
Abort
PrintingDialog.abortButton.textAndMnemonic
=
&Abort
PrintingDialog.abortButtonMnemonic
=
65
PrintingDialog.abortButtonToolTip.textAndMnemonic
=
Abort Printing
PrintingDialog.abortButtonDisplayedMnemonicIndex
=
0
PrintingDialog.abortButtonToolTipText
=
Abort Printing
############ Internal Frame Strings ############
############ Internal Frame Strings ############
InternalFrame.iconButtonToolTip
=
Minimize
InternalFrame.iconButtonToolTip
=
Minimize
...
@@ -160,42 +138,42 @@ InternalFrame.restoreButtonToolTip=Restore
...
@@ -160,42 +138,42 @@ InternalFrame.restoreButtonToolTip=Restore
InternalFrame.closeButtonToolTip
=
Close
InternalFrame.closeButtonToolTip
=
Close
############ Internal Frame Title Pane Strings ############
############ Internal Frame Title Pane Strings ############
InternalFrameTitlePane.restoreButton
Text
=
Restore
InternalFrameTitlePane.restoreButton
.textAndMnemonic
=
Restore
InternalFrameTitlePane.moveButton
Text
=
Move
InternalFrameTitlePane.moveButton
.textAndMnemonic
=
Move
InternalFrameTitlePane.sizeButton
Text
=
Size
InternalFrameTitlePane.sizeButton
.textAndMnemonic
=
Size
InternalFrameTitlePane.minimizeButton
Text
=
Minimize
InternalFrameTitlePane.minimizeButton
.textAndMnemonic
=
Minimize
InternalFrameTitlePane.maximizeButton
Text
=
Maximize
InternalFrameTitlePane.maximizeButton
.textAndMnemonic
=
Maximize
InternalFrameTitlePane.closeButton
Text
=
Close
InternalFrameTitlePane.closeButton
.textAndMnemonic
=
Close
############ Text strings #############
############ Text strings #############
# Used for html forms
# Used for html forms
FormView.submitButton
Text
=
Submit Query
FormView.submitButton
.textAndMnemonic
=
Submit Query
FormView.resetButton
Text
=
Reset
FormView.resetButton
.textAndMnemonic
=
Reset
FormView.browseFileButton
Text
=
Browse...
FormView.browseFileButton
.textAndMnemonic
=
Browse...
############ Abstract Document Strings ############
############ Abstract Document Strings ############
AbstractDocument.styleChange
Text
=
style change
AbstractDocument.styleChange
.textAndMnemonic
=
style change
AbstractDocument.addition
Text
=
addition
AbstractDocument.addition
.textAndMnemonic
=
addition
AbstractDocument.deletion
Text
=
deletion
AbstractDocument.deletion
.textAndMnemonic
=
deletion
AbstractDocument.undo
Text
=
Undo
AbstractDocument.undo
.textAndMnemonic
=
Undo
AbstractDocument.redo
Text
=
Redo
AbstractDocument.redo
.textAndMnemonic
=
Redo
############ Abstract Button Strings ############
############ Abstract Button Strings ############
AbstractButton.click
Text
=
click
AbstractButton.click
.textAndMnemonic
=
click
############ Abstract Undoable Edit Strings ############
############ Abstract Undoable Edit Strings ############
AbstractUndoableEdit.undo
Text
=
Undo
AbstractUndoableEdit.undo
.textAndMnemonic
=
Undo
AbstractUndoableEdit.redo
Text
=
Redo
AbstractUndoableEdit.redo
.textAndMnemonic
=
Redo
############ Combo Box Strings ############
############ Combo Box Strings ############
ComboBox.togglePopup
Text
=
togglePopup
ComboBox.togglePopup
.textAndMnemonic
=
togglePopup
############ Progress Monitor Strings ############
############ Progress Monitor Strings ############
ProgressMonitor.progress
Text
=
Progress...
ProgressMonitor.progress
.textAndMnemonic
=
Progress...
############ Split Pane Strings ############
############ Split Pane Strings ############
SplitPane.leftButton
Text
=
left button
SplitPane.leftButton
.textAndMnemonic
=
left button
SplitPane.rightButton
Text
=
right button
SplitPane.rightButton
.textAndMnemonic
=
right button
# Used for Isindex
# Used for Isindex
IsindexView.prompt
=
This is a searchable index. Enter search keywords:
IsindexView.prompt
=
This is a searchable index. Enter search keywords:
...
...
src/macosx/classes/java/util/prefs/MacOSXPreferences.java
浏览文件 @
33968c10
...
@@ -135,18 +135,21 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -135,18 +135,21 @@ class MacOSXPreferences extends AbstractPreferences {
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
void
putSpi
(
String
key
,
String
value
)
protected
void
putSpi
(
String
key
,
String
value
)
{
{
file
.
addKeyToNode
(
path
,
key
,
value
);
file
.
addKeyToNode
(
path
,
key
,
value
);
}
}
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
String
getSpi
(
String
key
)
protected
String
getSpi
(
String
key
)
{
{
return
file
.
getKeyFromNode
(
path
,
key
);
return
file
.
getKeyFromNode
(
path
,
key
);
}
}
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
void
removeSpi
(
String
key
)
protected
void
removeSpi
(
String
key
)
{
{
Objects
.
requireNonNull
(
key
,
"Specified key cannot be null"
);
Objects
.
requireNonNull
(
key
,
"Specified key cannot be null"
);
...
@@ -155,6 +158,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -155,6 +158,7 @@ class MacOSXPreferences extends AbstractPreferences {
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
void
removeNodeSpi
()
protected
void
removeNodeSpi
()
throws
BackingStoreException
throws
BackingStoreException
{
{
...
@@ -174,6 +178,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -174,6 +178,7 @@ class MacOSXPreferences extends AbstractPreferences {
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
String
[]
childrenNamesSpi
()
protected
String
[]
childrenNamesSpi
()
throws
BackingStoreException
throws
BackingStoreException
{
{
...
@@ -183,6 +188,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -183,6 +188,7 @@ class MacOSXPreferences extends AbstractPreferences {
}
}
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
String
[]
keysSpi
()
protected
String
[]
keysSpi
()
throws
BackingStoreException
throws
BackingStoreException
{
{
...
@@ -192,6 +198,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -192,6 +198,7 @@ class MacOSXPreferences extends AbstractPreferences {
}
}
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
AbstractPreferences
childSpi
(
String
name
)
protected
AbstractPreferences
childSpi
(
String
name
)
{
{
// Add to parent's child list here and disallow sync
// Add to parent's child list here and disallow sync
...
@@ -203,6 +210,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -203,6 +210,7 @@ class MacOSXPreferences extends AbstractPreferences {
}
}
// AbstractPreferences override
// AbstractPreferences override
@Override
public
void
flush
()
public
void
flush
()
throws
BackingStoreException
throws
BackingStoreException
{
{
...
@@ -217,6 +225,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -217,6 +225,7 @@ class MacOSXPreferences extends AbstractPreferences {
}
}
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
void
flushSpi
()
protected
void
flushSpi
()
throws
BackingStoreException
throws
BackingStoreException
{
{
...
@@ -224,6 +233,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -224,6 +233,7 @@ class MacOSXPreferences extends AbstractPreferences {
}
}
// AbstractPreferences override
// AbstractPreferences override
@Override
public
void
sync
()
public
void
sync
()
throws
BackingStoreException
throws
BackingStoreException
{
{
...
@@ -244,6 +254,7 @@ class MacOSXPreferences extends AbstractPreferences {
...
@@ -244,6 +254,7 @@ class MacOSXPreferences extends AbstractPreferences {
}
}
// AbstractPreferences implementation
// AbstractPreferences implementation
@Override
protected
void
syncSpi
()
protected
void
syncSpi
()
throws
BackingStoreException
throws
BackingStoreException
{
{
...
...
src/macosx/classes/java/util/prefs/MacOSXPreferencesFactory.java
浏览文件 @
33968c10
...
@@ -26,10 +26,12 @@
...
@@ -26,10 +26,12 @@
package
java.util.prefs
;
package
java.util.prefs
;
class
MacOSXPreferencesFactory
implements
PreferencesFactory
{
class
MacOSXPreferencesFactory
implements
PreferencesFactory
{
@Override
public
Preferences
userRoot
()
{
public
Preferences
userRoot
()
{
return
MacOSXPreferences
.
getUserRoot
();
return
MacOSXPreferences
.
getUserRoot
();
}
}
@Override
public
Preferences
systemRoot
()
{
public
Preferences
systemRoot
()
{
return
MacOSXPreferences
.
getSystemRoot
();
return
MacOSXPreferences
.
getSystemRoot
();
}
}
...
...
src/macosx/classes/java/util/prefs/MacOSXPreferencesFile.java
浏览文件 @
33968c10
...
@@ -101,9 +101,10 @@ class MacOSXPreferencesFile {
...
@@ -101,9 +101,10 @@ class MacOSXPreferencesFile {
}
}
// Maps string -> weak reference to MacOSXPreferencesFile
// Maps string -> weak reference to MacOSXPreferencesFile
private
static
HashMap
cachedFiles
=
null
;
private
static
HashMap
<
String
,
WeakReference
<
MacOSXPreferencesFile
>>
cachedFiles
;
// Files that may have unflushed changes
// Files that may have unflushed changes
private
static
HashSet
changedFiles
=
null
;
private
static
HashSet
<
MacOSXPreferencesFile
>
changedFiles
;
// Timer and pending sync and flush tasks (which are both scheduled
// Timer and pending sync and flush tasks (which are both scheduled
...
@@ -136,13 +137,14 @@ class MacOSXPreferencesFile {
...
@@ -136,13 +137,14 @@ class MacOSXPreferencesFile {
{
{
MacOSXPreferencesFile
result
=
null
;
MacOSXPreferencesFile
result
=
null
;
if
(
cachedFiles
==
null
)
cachedFiles
=
new
HashMap
();
if
(
cachedFiles
==
null
)
cachedFiles
=
new
HashMap
<>();
String
hashkey
=
String
hashkey
=
newName
+
String
.
valueOf
(
isUser
);
newName
+
String
.
valueOf
(
isUser
);
WeakReference
hashvalue
=
(
WeakReference
)
cachedFiles
.
get
(
hashkey
);
WeakReference
<
MacOSXPreferencesFile
>
hashvalue
=
cachedFiles
.
get
(
hashkey
);
if
(
hashvalue
!=
null
)
{
if
(
hashvalue
!=
null
)
{
result
=
(
MacOSXPreferencesFile
)
hashvalue
.
get
();
result
=
hashvalue
.
get
();
}
}
if
(
result
==
null
)
{
if
(
result
==
null
)
{
// Java user node == CF current user, any host
// Java user node == CF current user, any host
...
@@ -150,7 +152,7 @@ class MacOSXPreferencesFile {
...
@@ -150,7 +152,7 @@ class MacOSXPreferencesFile {
result
=
new
MacOSXPreferencesFile
(
newName
,
result
=
new
MacOSXPreferencesFile
(
newName
,
isUser
?
cfCurrentUser
:
cfAnyUser
,
isUser
?
cfCurrentUser
:
cfAnyUser
,
isUser
?
cfAnyHost
:
cfCurrentHost
);
isUser
?
cfAnyHost
:
cfCurrentHost
);
cachedFiles
.
put
(
hashkey
,
new
WeakReference
(
result
));
cachedFiles
.
put
(
hashkey
,
new
WeakReference
<
MacOSXPreferencesFile
>
(
result
));
}
}
// Don't schedule this file for flushing until some nodes or
// Don't schedule this file for flushing until some nodes or
...
@@ -171,10 +173,11 @@ class MacOSXPreferencesFile {
...
@@ -171,10 +173,11 @@ class MacOSXPreferencesFile {
boolean
ok
=
true
;
boolean
ok
=
true
;
if
(
cachedFiles
!=
null
&&
!
cachedFiles
.
isEmpty
())
{
if
(
cachedFiles
!=
null
&&
!
cachedFiles
.
isEmpty
())
{
Iterator
iter
=
cachedFiles
.
values
().
iterator
();
Iterator
<
WeakReference
<
MacOSXPreferencesFile
>>
iter
=
cachedFiles
.
values
().
iterator
();
while
(
iter
.
hasNext
())
{
while
(
iter
.
hasNext
())
{
WeakReference
ref
=
(
WeakReference
)
iter
.
next
();
WeakReference
<
MacOSXPreferencesFile
>
ref
=
iter
.
next
();
MacOSXPreferencesFile
f
=
(
MacOSXPreferencesFile
)
ref
.
get
();
MacOSXPreferencesFile
f
=
ref
.
get
();
if
(
f
!=
null
)
{
if
(
f
!=
null
)
{
if
(!
f
.
synchronize
())
ok
=
false
;
if
(!
f
.
synchronize
())
ok
=
false
;
}
else
{
}
else
{
...
@@ -202,10 +205,11 @@ class MacOSXPreferencesFile {
...
@@ -202,10 +205,11 @@ class MacOSXPreferencesFile {
static
synchronized
boolean
syncUser
()
{
static
synchronized
boolean
syncUser
()
{
boolean
ok
=
true
;
boolean
ok
=
true
;
if
(
cachedFiles
!=
null
&&
!
cachedFiles
.
isEmpty
())
{
if
(
cachedFiles
!=
null
&&
!
cachedFiles
.
isEmpty
())
{
Iterator
<
WeakReference
>
iter
=
cachedFiles
.
values
().
iterator
();
Iterator
<
WeakReference
<
MacOSXPreferencesFile
>>
iter
=
cachedFiles
.
values
().
iterator
();
while
(
iter
.
hasNext
())
{
while
(
iter
.
hasNext
())
{
WeakReference
ref
=
iter
.
next
();
WeakReference
<
MacOSXPreferencesFile
>
ref
=
iter
.
next
();
MacOSXPreferencesFile
f
=
(
MacOSXPreferencesFile
)
ref
.
get
();
MacOSXPreferencesFile
f
=
ref
.
get
();
if
(
f
!=
null
&&
f
.
user
==
cfCurrentUser
)
{
if
(
f
!=
null
&&
f
.
user
==
cfCurrentUser
)
{
if
(!
f
.
synchronize
())
{
if
(!
f
.
synchronize
())
{
ok
=
false
;
ok
=
false
;
...
@@ -240,12 +244,10 @@ class MacOSXPreferencesFile {
...
@@ -240,12 +244,10 @@ class MacOSXPreferencesFile {
boolean
ok
=
true
;
boolean
ok
=
true
;
if
(
changedFiles
!=
null
&&
!
changedFiles
.
isEmpty
())
{
if
(
changedFiles
!=
null
&&
!
changedFiles
.
isEmpty
())
{
Iterator
iter
=
changedFiles
.
iterator
();
for
(
MacOSXPreferencesFile
f
:
changedFiles
)
{
while
(
iter
.
hasNext
())
{
if
(!
f
.
synchronize
())
MacOSXPreferencesFile
f
=
(
MacOSXPreferencesFile
)
iter
.
next
();
ok
=
false
;
if
(!
f
.
synchronize
())
ok
=
false
;
}
}
changedFiles
.
clear
();
changedFiles
.
clear
();
}
}
...
@@ -263,7 +265,8 @@ class MacOSXPreferencesFile {
...
@@ -263,7 +265,8 @@ class MacOSXPreferencesFile {
private
void
markChanged
()
private
void
markChanged
()
{
{
// Add this file to the changed file list
// Add this file to the changed file list
if
(
changedFiles
==
null
)
changedFiles
=
new
HashSet
();
if
(
changedFiles
==
null
)
changedFiles
=
new
HashSet
<>();
changedFiles
.
add
(
this
);
changedFiles
.
add
(
this
);
// Schedule a new flush and a shutdown hook, if necessary
// Schedule a new flush and a shutdown hook, if necessary
...
@@ -309,7 +312,9 @@ class MacOSXPreferencesFile {
...
@@ -309,7 +312,9 @@ class MacOSXPreferencesFile {
if
(
syncInterval
>
0
)
{
if
(
syncInterval
>
0
)
{
timer
().
schedule
(
new
TimerTask
()
{
timer
().
schedule
(
new
TimerTask
()
{
public
void
run
()
{
MacOSXPreferencesFile
.
syncWorld
();}
@Override
public
void
run
()
{
MacOSXPreferencesFile
.
syncWorld
();}
},
syncInterval
*
1000
,
syncInterval
*
1000
);
},
syncInterval
*
1000
,
syncInterval
*
1000
);
}
else
{
}
else
{
// syncInterval property not set. No sync timer ever.
// syncInterval property not set. No sync timer ever.
...
@@ -323,6 +328,7 @@ class MacOSXPreferencesFile {
...
@@ -323,6 +328,7 @@ class MacOSXPreferencesFile {
if
(
timer
==
null
)
{
if
(
timer
==
null
)
{
timer
=
new
Timer
(
true
);
// daemon
timer
=
new
Timer
(
true
);
// daemon
Thread
flushThread
=
new
Thread
()
{
Thread
flushThread
=
new
Thread
()
{
@Override
public
void
run
()
{
public
void
run
()
{
flushWorld
();
flushWorld
();
}
}
...
...
src/macosx/classes/sun/awt/CGraphicsDevice.java
浏览文件 @
33968c10
...
@@ -40,7 +40,7 @@ public class CGraphicsDevice extends GraphicsDevice {
...
@@ -40,7 +40,7 @@ public class CGraphicsDevice extends GraphicsDevice {
private
final
int
displayID
;
private
final
int
displayID
;
// Array of all GraphicsConfig instances for this device
// Array of all GraphicsConfig instances for this device
private
final
CGraphicsConfig
[]
configs
;
private
final
GraphicsConfiguration
[]
configs
;
// Default config (temporarily hard coded)
// Default config (temporarily hard coded)
private
final
int
DEFAULT_CONFIG
=
0
;
private
final
int
DEFAULT_CONFIG
=
0
;
...
@@ -49,7 +49,7 @@ public class CGraphicsDevice extends GraphicsDevice {
...
@@ -49,7 +49,7 @@ public class CGraphicsDevice extends GraphicsDevice {
public
CGraphicsDevice
(
int
displayID
)
{
public
CGraphicsDevice
(
int
displayID
)
{
this
.
displayID
=
displayID
;
this
.
displayID
=
displayID
;
configs
=
new
CGraphicsConfig
[]
{
configs
=
new
GraphicsConfiguration
[]
{
CGLGraphicsConfig
.
getConfig
(
this
,
0
)
CGLGraphicsConfig
.
getConfig
(
this
,
0
)
};
};
}
}
...
@@ -66,7 +66,7 @@ public class CGraphicsDevice extends GraphicsDevice {
...
@@ -66,7 +66,7 @@ public class CGraphicsDevice extends GraphicsDevice {
*/
*/
@Override
@Override
public
GraphicsConfiguration
[]
getConfigurations
()
{
public
GraphicsConfiguration
[]
getConfigurations
()
{
return
configs
;
return
configs
.
clone
()
;
}
}
/**
/**
...
...
src/macosx/classes/sun/lwawt/LWComponentPeer.java
浏览文件 @
33968c10
...
@@ -56,6 +56,8 @@ import sun.java2d.SunGraphics2D;
...
@@ -56,6 +56,8 @@ import sun.java2d.SunGraphics2D;
import
sun.java2d.opengl.OGLRenderQueue
;
import
sun.java2d.opengl.OGLRenderQueue
;
import
sun.java2d.pipe.Region
;
import
sun.java2d.pipe.Region
;
import
sun.util.logging.PlatformLogger
;
import
javax.swing.JComponent
;
import
javax.swing.JComponent
;
import
javax.swing.SwingUtilities
;
import
javax.swing.SwingUtilities
;
import
javax.swing.RepaintManager
;
import
javax.swing.RepaintManager
;
...
@@ -65,7 +67,10 @@ import sun.lwawt.macosx.CDropTarget;
...
@@ -65,7 +67,10 @@ import sun.lwawt.macosx.CDropTarget;
import
com.sun.java.swing.SwingUtilities3
;
import
com.sun.java.swing.SwingUtilities3
;
public
abstract
class
LWComponentPeer
<
T
extends
Component
,
D
extends
JComponent
>
public
abstract
class
LWComponentPeer
<
T
extends
Component
,
D
extends
JComponent
>
implements
ComponentPeer
,
DropTargetPeer
{
implements
ComponentPeer
,
DropTargetPeer
{
private
static
final
PlatformLogger
focusLog
=
PlatformLogger
.
getLogger
(
"sun.lwawt.focus.LWComponentPeer"
);
// State lock is to be used for modifications to this
// State lock is to be used for modifications to this
// peer's fields (e.g. bounds, background, font, etc.)
// peer's fields (e.g. bounds, background, font, etc.)
// It should be the last lock in the lock chain
// It should be the last lock in the lock chain
...
@@ -372,7 +377,7 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
...
@@ -372,7 +377,7 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
}
}
@Override
@Override
public
void
dispose
()
{
public
final
void
dispose
()
{
if
(
disposed
.
compareAndSet
(
false
,
true
))
{
if
(
disposed
.
compareAndSet
(
false
,
true
))
{
disposeImpl
();
disposeImpl
();
}
}
...
@@ -885,7 +890,13 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
...
@@ -885,7 +890,13 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
@Override
@Override
public
boolean
requestFocus
(
Component
lightweightChild
,
boolean
temporary
,
public
boolean
requestFocus
(
Component
lightweightChild
,
boolean
temporary
,
boolean
focusedWindowChangeAllowed
,
long
time
,
boolean
focusedWindowChangeAllowed
,
long
time
,
CausedFocusEvent
.
Cause
cause
)
{
CausedFocusEvent
.
Cause
cause
)
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINEST
))
{
focusLog
.
finest
(
"lightweightChild="
+
lightweightChild
+
", temporary="
+
temporary
+
", focusedWindowChangeAllowed="
+
focusedWindowChangeAllowed
+
", time= "
+
time
+
", cause="
+
cause
);
}
if
(
LWKeyboardFocusManagerPeer
.
getInstance
(
getAppContext
()).
if
(
LWKeyboardFocusManagerPeer
.
getInstance
(
getAppContext
()).
processSynchronousLightweightTransfer
(
getTarget
(),
lightweightChild
,
temporary
,
processSynchronousLightweightTransfer
(
getTarget
(),
lightweightChild
,
temporary
,
focusedWindowChangeAllowed
,
time
))
{
focusedWindowChangeAllowed
,
time
))
{
...
@@ -901,19 +912,44 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
...
@@ -901,19 +912,44 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
case
LWKeyboardFocusManagerPeer
.
SNFH_SUCCESS_PROCEED
:
case
LWKeyboardFocusManagerPeer
.
SNFH_SUCCESS_PROCEED
:
Window
parentWindow
=
SunToolkit
.
getContainingWindow
(
getTarget
());
Window
parentWindow
=
SunToolkit
.
getContainingWindow
(
getTarget
());
if
(
parentWindow
==
null
)
{
if
(
parentWindow
==
null
)
{
focusLog
.
fine
(
"request rejected, parentWindow is null"
);
LWKeyboardFocusManagerPeer
.
removeLastFocusRequest
(
getTarget
());
LWKeyboardFocusManagerPeer
.
removeLastFocusRequest
(
getTarget
());
return
false
;
return
false
;
}
}
LWWindowPeer
parentPeer
=
(
LWWindowPeer
)
parentWindow
.
getPeer
();
LWWindowPeer
parentPeer
=
(
LWWindowPeer
)
parentWindow
.
getPeer
();
if
(
parentPeer
==
null
)
{
if
(
parentPeer
==
null
)
{
focusLog
.
fine
(
"request rejected, parentPeer is null"
);
LWKeyboardFocusManagerPeer
.
removeLastFocusRequest
(
getTarget
());
LWKeyboardFocusManagerPeer
.
removeLastFocusRequest
(
getTarget
());
return
false
;
return
false
;
}
}
// A fix for 7145768. Ensure the parent window is currently natively focused.
// The more evident place to perform this check is in KFM.shouldNativelyFocusHeavyweight,
// however that is the shared code and this particular problem's reproducibility has
// platform specifics. So, it was decided to narrow down the fix to lwawt (OSX) in
// current release. TODO: consider fixing it in the shared code.
if
(!
focusedWindowChangeAllowed
)
{
LWWindowPeer
decoratedPeer
=
parentPeer
.
isSimpleWindow
()
?
LWWindowPeer
.
getOwnerFrameDialog
(
parentPeer
)
:
parentPeer
;
if
(
decoratedPeer
==
null
||
!
decoratedPeer
.
getPlatformWindow
().
isActive
())
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINE
))
{
focusLog
.
fine
(
"request rejected, focusedWindowChangeAllowed==false, "
+
"decoratedPeer is inactive: "
+
decoratedPeer
);
}
LWKeyboardFocusManagerPeer
.
removeLastFocusRequest
(
getTarget
());
return
false
;
}
}
boolean
res
=
parentPeer
.
requestWindowFocus
(
cause
);
boolean
res
=
parentPeer
.
requestWindowFocus
(
cause
);
// If parent window can be made focused and has been made focused (synchronously)
// If parent window can be made focused and has been made focused (synchronously)
// then we can proceed with children, otherwise we retreat
// then we can proceed with children, otherwise we retreat
if
(!
res
||
!
parentWindow
.
isFocused
())
{
if
(!
res
||
!
parentWindow
.
isFocused
())
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINE
))
{
focusLog
.
fine
(
"request rejected, res= "
+
res
+
", parentWindow.isFocused()="
+
parentWindow
.
isFocused
());
}
LWKeyboardFocusManagerPeer
.
removeLastFocusRequest
(
getTarget
());
LWKeyboardFocusManagerPeer
.
removeLastFocusRequest
(
getTarget
());
return
false
;
return
false
;
}
}
...
@@ -940,8 +976,8 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
...
@@ -940,8 +976,8 @@ public abstract class LWComponentPeer<T extends Component, D extends JComponent>
@Override
@Override
public
Image
createImage
(
int
w
,
int
h
)
{
public
Image
createImage
(
int
w
,
int
h
)
{
// TODO: accelerated image
CGraphicsConfig
gc
=
(
CGraphicsConfig
)
getGraphicsConfiguration
();
return
g
etGraphicsConfiguration
().
createCompatibleImage
(
w
,
h
);
return
g
c
.
createAcceleratedImage
(
getTarget
(),
w
,
h
);
}
}
@Override
@Override
...
...
src/macosx/classes/sun/lwawt/LWCursorManager.java
浏览文件 @
33968c10
...
@@ -88,20 +88,20 @@ public abstract class LWCursorManager {
...
@@ -88,20 +88,20 @@ public abstract class LWCursorManager {
}
else
{
}
else
{
cursor
=
(
c
!=
null
)
?
c
.
getCursor
()
:
null
;
cursor
=
(
c
!=
null
)
?
c
.
getCursor
()
:
null
;
}
}
// TODO: default cursor for modal blocked windows
setCursor
(
cursor
);
setCursor
(
cursor
);
}
}
/**
/**
* Returns the first visible, enabled and showing component under cursor.
* Returns the first visible, enabled and showing component under cursor.
* Returns null for modal blocked windows.
*
*
* @param cursorPos Current cursor position.
* @param cursorPos Current cursor position.
* @return Component
* @return Component
or null.
*/
*/
private
static
final
Component
findComponent
(
final
Point
cursorPos
)
{
private
static
final
Component
findComponent
(
final
Point
cursorPos
)
{
final
LWComponentPeer
<?,
?>
peer
=
LWWindowPeer
.
getPeerUnderCursor
();
final
LWComponentPeer
<?,
?>
peer
=
LWWindowPeer
.
getPeerUnderCursor
();
Component
c
=
null
;
Component
c
=
null
;
if
(
peer
!=
null
)
{
if
(
peer
!=
null
&&
peer
.
getWindowPeerOrSelf
().
getBlocker
()
==
null
)
{
c
=
peer
.
getTarget
();
c
=
peer
.
getTarget
();
if
(
c
instanceof
Container
)
{
if
(
c
instanceof
Container
)
{
final
Point
p
=
peer
.
getLocationOnScreen
();
final
Point
p
=
peer
.
getLocationOnScreen
();
...
...
src/macosx/classes/sun/lwawt/LWTextComponentPeer.java
浏览文件 @
33968c10
...
@@ -81,6 +81,18 @@ abstract class LWTextComponentPeer<T extends TextComponent, D extends JComponent
...
@@ -81,6 +81,18 @@ abstract class LWTextComponentPeer<T extends TextComponent, D extends JComponent
firstChangeSkipped
=
true
;
firstChangeSkipped
=
true
;
}
}
@Override
protected
final
void
disposeImpl
()
{
synchronized
(
getDelegateLock
())
{
// visible caret has a timer thread which must be stopped
getTextComponent
().
getCaret
().
setVisible
(
false
);
}
super
.
disposeImpl
();
}
/**
* This method should be called under getDelegateLock().
*/
abstract
JTextComponent
getTextComponent
();
abstract
JTextComponent
getTextComponent
();
public
Dimension
getPreferredSize
(
final
int
rows
,
final
int
columns
)
{
public
Dimension
getPreferredSize
(
final
int
rows
,
final
int
columns
)
{
...
...
src/macosx/classes/sun/lwawt/LWWindowPeer.java
浏览文件 @
33968c10
...
@@ -50,7 +50,7 @@ public class LWWindowPeer
...
@@ -50,7 +50,7 @@ public class LWWindowPeer
EMBEDDEDFRAME
EMBEDDEDFRAME
}
}
private
static
final
sun
.
util
.
logging
.
PlatformLogger
focusLog
=
PlatformLogger
.
getLogger
(
"sun.lwawt.focus.LWWindowPeer"
);
private
static
final
PlatformLogger
focusLog
=
PlatformLogger
.
getLogger
(
"sun.lwawt.focus.LWWindowPeer"
);
private
PlatformWindow
platformWindow
;
private
PlatformWindow
platformWindow
;
...
@@ -101,8 +101,6 @@ public class LWWindowPeer
...
@@ -101,8 +101,6 @@ public class LWWindowPeer
// events between MOUSE_PRESSED and MOUSE_RELEASED for particular button
// events between MOUSE_PRESSED and MOUSE_RELEASED for particular button
private
static
int
mouseClickButtons
=
0
;
private
static
int
mouseClickButtons
=
0
;
private
volatile
boolean
cachedFocusableWindow
;
private
volatile
boolean
isOpaque
=
true
;
private
volatile
boolean
isOpaque
=
true
;
private
static
final
Font
DEFAULT_FONT
=
new
Font
(
"Lucida Grande"
,
Font
.
PLAIN
,
13
);
private
static
final
Font
DEFAULT_FONT
=
new
Font
(
"Lucida Grande"
,
Font
.
PLAIN
,
13
);
...
@@ -172,8 +170,6 @@ public class LWWindowPeer
...
@@ -172,8 +170,6 @@ public class LWWindowPeer
setAlwaysOnTop
(
getTarget
().
isAlwaysOnTop
());
setAlwaysOnTop
(
getTarget
().
isAlwaysOnTop
());
updateMinimumSize
();
updateMinimumSize
();
cachedFocusableWindow
=
getTarget
().
isFocusableWindow
();
setOpacity
(
getTarget
().
getOpacity
());
setOpacity
(
getTarget
().
getOpacity
());
setOpaque
(
getTarget
().
isOpaque
());
setOpaque
(
getTarget
().
isOpaque
());
...
@@ -245,15 +241,17 @@ public class LWWindowPeer
...
@@ -245,15 +241,17 @@ public class LWWindowPeer
getInstance
(
getAppContext
());
getInstance
(
getAppContext
());
if
(
visible
)
{
if
(
visible
)
{
updateFocusableWindowState
();
if
(!
getTarget
().
isAutoRequestFocus
())
{
changeFocusedWindow
(
true
,
true
);
return
;
}
else
{
requestWindowFocus
(
CausedFocusEvent
.
Cause
.
ACTIVATION
);
}
// Focus the owner in case this window is focused.
// Focus the owner in case this window is focused.
}
else
if
(
manager
.
getCurrentFocusedWindow
()
==
getTarget
())
{
}
else
if
(
manager
.
getCurrentFocusedWindow
()
==
getTarget
())
{
// Transfer focus to the owner.
LWWindowPeer
owner
=
getOwnerFrameDialog
(
LWWindowPeer
.
this
);
LWWindowPeer
owner
=
getOwnerFrameDialog
(
LWWindowPeer
.
this
);
if
(
owner
!=
null
)
{
if
(
owner
!=
null
)
{
// KFM will do all the rest.
owner
.
requestWindowFocus
(
CausedFocusEvent
.
Cause
.
ACTIVATION
);
owner
.
changeFocusedWindow
(
true
,
false
);
}
}
}
}
}
}
...
@@ -400,7 +398,6 @@ public class LWWindowPeer
...
@@ -400,7 +398,6 @@ public class LWWindowPeer
@Override
@Override
public
void
updateFocusableWindowState
()
{
public
void
updateFocusableWindowState
()
{
cachedFocusableWindow
=
getTarget
().
isFocusableWindow
();
platformWindow
.
updateFocusableWindowState
();
platformWindow
.
updateFocusableWindowState
();
}
}
...
@@ -409,6 +406,8 @@ public class LWWindowPeer
...
@@ -409,6 +406,8 @@ public class LWWindowPeer
synchronized
(
getPeerTreeLock
())
{
synchronized
(
getPeerTreeLock
())
{
this
.
blocker
=
blocked
?
(
LWWindowPeer
)
blocker
.
getPeer
()
:
null
;
this
.
blocker
=
blocked
?
(
LWWindowPeer
)
blocker
.
getPeer
()
:
null
;
}
}
platformWindow
.
setModalBlocked
(
blocked
);
}
}
@Override
@Override
...
@@ -617,7 +616,7 @@ public class LWWindowPeer
...
@@ -617,7 +616,7 @@ public class LWWindowPeer
}
}
public
void
notifyActivation
(
boolean
activation
)
{
public
void
notifyActivation
(
boolean
activation
)
{
changeFocusedWindow
(
activation
,
false
);
changeFocusedWindow
(
activation
);
}
}
// MouseDown in non-client area
// MouseDown in non-client area
...
@@ -1063,6 +1062,10 @@ public class LWWindowPeer
...
@@ -1063,6 +1062,10 @@ public class LWWindowPeer
return
lastMouseEventPeer
;
return
lastMouseEventPeer
;
}
}
/*
* Requests platform to set native focus on a frame/dialog.
* In case of a simple window, triggers appropriate java focus change.
*/
public
boolean
requestWindowFocus
(
CausedFocusEvent
.
Cause
cause
)
{
public
boolean
requestWindowFocus
(
CausedFocusEvent
.
Cause
cause
)
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINE
))
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINE
))
{
focusLog
.
fine
(
"requesting native focus to "
+
this
);
focusLog
.
fine
(
"requesting native focus to "
+
this
);
...
@@ -1106,14 +1109,14 @@ public class LWWindowPeer
...
@@ -1106,14 +1109,14 @@ public class LWWindowPeer
}
}
// DKFM will synthesize all the focus/activation events correctly.
// DKFM will synthesize all the focus/activation events correctly.
changeFocusedWindow
(
true
,
false
);
changeFocusedWindow
(
true
);
return
true
;
return
true
;
// In case the toplevel is active but not focused, change focus directly,
// In case the toplevel is active but not focused, change focus directly,
// as requesting native focus on it will not have effect.
// as requesting native focus on it will not have effect.
}
else
if
(
getTarget
()
==
currentActive
&&
!
getTarget
().
hasFocus
())
{
}
else
if
(
getTarget
()
==
currentActive
&&
!
getTarget
().
hasFocus
())
{
changeFocusedWindow
(
true
,
false
);
changeFocusedWindow
(
true
);
return
true
;
return
true
;
}
}
return
platformWindow
.
requestWindowFocus
();
return
platformWindow
.
requestWindowFocus
();
...
@@ -1122,7 +1125,19 @@ public class LWWindowPeer
...
@@ -1122,7 +1125,19 @@ public class LWWindowPeer
private
boolean
focusAllowedFor
()
{
private
boolean
focusAllowedFor
()
{
Window
window
=
getTarget
();
Window
window
=
getTarget
();
// TODO: check if modal blocked
// TODO: check if modal blocked
return
window
.
isVisible
()
&&
window
.
isEnabled
()
&&
window
.
isFocusableWindow
();
return
window
.
isVisible
()
&&
window
.
isEnabled
()
&&
isFocusableWindow
();
}
private
boolean
isFocusableWindow
()
{
boolean
focusable
=
getTarget
().
isFocusableWindow
();
if
(
isSimpleWindow
())
{
LWWindowPeer
ownerPeer
=
getOwnerFrameDialog
(
this
);
if
(
ownerPeer
==
null
)
{
return
false
;
}
return
focusable
&&
ownerPeer
.
getTarget
().
isFocusableWindow
();
}
return
focusable
;
}
}
public
boolean
isSimpleWindow
()
{
public
boolean
isSimpleWindow
()
{
...
@@ -1131,19 +1146,19 @@ public class LWWindowPeer
...
@@ -1131,19 +1146,19 @@ public class LWWindowPeer
}
}
/*
/*
*
"Delegates" the responsibility of managing focus to keyboard focus manager
.
*
Changes focused window on java level
.
*/
*/
private
void
changeFocusedWindow
(
boolean
becomesFocused
,
boolean
isShowing
)
{
private
void
changeFocusedWindow
(
boolean
becomesFocused
)
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINE
))
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINE
))
{
focusLog
.
fine
((
becomesFocused
?
"gaining"
:
"loosing"
)
+
" focus window: "
+
this
);
focusLog
.
fine
((
becomesFocused
?
"gaining"
:
"loosing"
)
+
" focus window: "
+
this
);
}
}
if
(
isShowing
&&
!
getTarget
().
isAutoRequestFocus
()
||
skipNextFocusChange
)
{
if
(
skipNextFocusChange
)
{
focusLog
.
fine
(
"skipping focus change"
);
focusLog
.
fine
(
"skipping focus change"
);
skipNextFocusChange
=
false
;
skipNextFocusChange
=
false
;
return
;
return
;
}
}
if
(!
isFocusableWindow
()
&&
becomesFocused
)
{
if
(!
cachedFocusableWindow
)
{
focusLog
.
fine
(
"the window is not focusable"
);
return
;
return
;
}
}
if
(
becomesFocused
)
{
if
(
becomesFocused
)
{
...
@@ -1182,7 +1197,7 @@ public class LWWindowPeer
...
@@ -1182,7 +1197,7 @@ public class LWWindowPeer
postEvent
(
windowEvent
);
postEvent
(
windowEvent
);
}
}
private
static
LWWindowPeer
getOwnerFrameDialog
(
LWWindowPeer
peer
)
{
static
LWWindowPeer
getOwnerFrameDialog
(
LWWindowPeer
peer
)
{
Window
owner
=
(
peer
!=
null
?
peer
.
getTarget
().
getOwner
()
:
null
);
Window
owner
=
(
peer
!=
null
?
peer
.
getTarget
().
getOwner
()
:
null
);
while
(
owner
!=
null
&&
!(
owner
instanceof
Frame
||
owner
instanceof
Dialog
))
{
while
(
owner
!=
null
&&
!(
owner
instanceof
Frame
||
owner
instanceof
Dialog
))
{
owner
=
owner
.
getOwner
();
owner
=
owner
.
getOwner
();
...
...
src/macosx/classes/sun/lwawt/PlatformWindow.java
浏览文件 @
33968c10
...
@@ -108,6 +108,8 @@ public interface PlatformWindow {
...
@@ -108,6 +108,8 @@ public interface PlatformWindow {
public
void
flip
(
int
x1
,
int
y1
,
int
x2
,
int
y2
,
public
void
flip
(
int
x1
,
int
y1
,
int
x2
,
int
y2
,
BufferCapabilities
.
FlipContents
flipAction
);
BufferCapabilities
.
FlipContents
flipAction
);
public
void
setModalBlocked
(
boolean
blocked
);
public
void
toFront
();
public
void
toFront
();
public
void
toBack
();
public
void
toBack
();
...
...
src/macosx/classes/sun/lwawt/macosx/CEmbeddedFrame.java
浏览文件 @
33968c10
...
@@ -112,28 +112,19 @@ public class CEmbeddedFrame extends EmbeddedFrame {
...
@@ -112,28 +112,19 @@ public class CEmbeddedFrame extends EmbeddedFrame {
public
void
handleFocusEvent
(
boolean
focused
)
{
public
void
handleFocusEvent
(
boolean
focused
)
{
this
.
focused
=
focused
;
this
.
focused
=
focused
;
updateOverlayWindowActiveState
();
if
(
parentWindowActive
)
{
responder
.
handleWindowFocusEvent
(
focused
);
}
}
}
public
void
handleWindowFocusEvent
(
boolean
parentWindowActive
)
{
public
void
handleWindowFocusEvent
(
boolean
parentWindowActive
)
{
this
.
parentWindowActive
=
parentWindowActive
;
this
.
parentWindowActive
=
parentWindowActive
;
updateOverlayWindowActiveState
();
if
(
focused
)
{
responder
.
handleWindowFocusEvent
(
parentWindowActive
);
}
}
}
public
boolean
isParentWindowActive
()
{
public
boolean
isParentWindowActive
()
{
return
parentWindowActive
;
return
parentWindowActive
;
}
}
/*
* May change appearance of contents of window, and generate a
* WINDOW_ACTIVATED event.
*/
private
void
updateOverlayWindowActiveState
()
{
final
boolean
showAsFocused
=
parentWindowActive
&&
focused
;
dispatchEvent
(
new
FocusEvent
(
this
,
showAsFocused
?
FocusEvent
.
FOCUS_GAINED
:
FocusEvent
.
FOCUS_LOST
));
}
}
}
src/macosx/classes/sun/lwawt/macosx/CFileDialog.java
浏览文件 @
33968c10
...
@@ -34,6 +34,7 @@ import java.util.List;
...
@@ -34,6 +34,7 @@ import java.util.List;
import
java.io.*
;
import
java.io.*
;
import
sun.awt.CausedFocusEvent.Cause
;
import
sun.awt.CausedFocusEvent.Cause
;
import
sun.awt.AWTAccessor
;
import
sun.java2d.pipe.Region
;
import
sun.java2d.pipe.Region
;
class
CFileDialog
implements
FileDialogPeer
{
class
CFileDialog
implements
FileDialogPeer
{
...
@@ -53,33 +54,40 @@ class CFileDialog implements FileDialogPeer {
...
@@ -53,33 +54,40 @@ class CFileDialog implements FileDialogPeer {
title
=
" "
;
title
=
" "
;
}
}
String
userFileName
=
nativeRunFileDialog
(
title
,
String
[]
userFileNames
=
nativeRunFileDialog
(
title
,
dialogMode
,
navigateApps
,
dialogMode
,
target
.
isMultipleMode
(),
navigateApps
,
target
.
getFilenameFilter
()
!=
null
,
target
.
getFilenameFilter
()
!=
null
,
target
.
getDirectory
(),
target
.
getDirectory
(),
target
.
getFile
());
target
.
getFile
());
File
file
=
null
;
String
directory
=
null
;
if
(
userFileName
!=
null
)
{
String
file
=
null
;
File
[]
files
=
null
;
if
(
userFileNames
!=
null
)
{
// the dialog wasn't cancelled
// the dialog wasn't cancelled
file
=
new
File
(
userFileName
);
int
filesNumber
=
userFileNames
.
length
;
}
files
=
new
File
[
filesNumber
];
for
(
int
i
=
0
;
i
<
filesNumber
;
i
++)
{
files
[
i
]
=
new
File
(
userFileNames
[
i
]);
}
if
(
file
!=
null
)
{
directory
=
files
[
0
].
getParent
();
// make sure directory always ends in '/'
// make sure directory always ends in '/'
String
parent
=
file
.
getParent
();
if
(!
directory
.
endsWith
(
File
.
separator
))
{
if
(!
parent
.
endsWith
(
File
.
separator
))
{
directory
=
directory
+
File
.
separator
;
parent
=
parent
+
File
.
separator
;
}
}
// store results back in component
file
=
files
[
0
].
getName
();
// pick any file
target
.
setDirectory
(
parent
);
target
.
setFile
(
file
.
getName
());
}
else
{
// setting file name to null is how we tell
// java client that user hit the cancel button
target
.
setFile
(
null
);
}
}
// store results back in component
AWTAccessor
.
FileDialogAccessor
accessor
=
AWTAccessor
.
getFileDialogAccessor
();
accessor
.
setDirectory
(
target
,
directory
);
accessor
.
setFile
(
target
,
file
);
accessor
.
setFiles
(
target
,
files
);
}
finally
{
}
finally
{
// Java2 Dialog waits for hide to let show() return
// Java2 Dialog waits for hide to let show() return
target
.
dispose
();
target
.
dispose
();
...
@@ -133,8 +141,8 @@ class CFileDialog implements FileDialogPeer {
...
@@ -133,8 +141,8 @@ class CFileDialog implements FileDialogPeer {
return
ret
;
return
ret
;
}
}
private
native
String
nativeRunFileDialog
(
String
title
,
int
mode
,
private
native
String
[]
nativeRunFileDialog
(
String
title
,
int
mode
,
boolean
shouldNavigateApps
,
boolean
hasFilenameFilter
,
boolean
multipleMode
,
boolean
shouldNavigateApps
,
boolean
hasFilenameFilter
,
String
directory
,
String
file
);
String
directory
,
String
file
);
@Override
@Override
...
...
src/macosx/classes/sun/lwawt/macosx/CPlatformEmbeddedFrame.java
浏览文件 @
33968c10
...
@@ -205,4 +205,7 @@ public class CPlatformEmbeddedFrame implements PlatformWindow {
...
@@ -205,4 +205,7 @@ public class CPlatformEmbeddedFrame implements PlatformWindow {
@Override
@Override
public
void
setWindowState
(
int
windowState
)
{}
public
void
setWindowState
(
int
windowState
)
{}
@Override
public
void
setModalBlocked
(
boolean
blocked
)
{}
}
}
src/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java
浏览文件 @
33968c10
...
@@ -204,4 +204,8 @@ final class CPlatformResponder {
...
@@ -204,4 +204,8 @@ final class CPlatformResponder {
}
}
}
}
}
}
void
handleWindowFocusEvent
(
boolean
gained
)
{
peer
.
notifyActivation
(
gained
);
}
}
}
src/macosx/classes/sun/lwawt/macosx/CPlatformView.java
浏览文件 @
33968c10
...
@@ -49,9 +49,9 @@ public class CPlatformView extends CFRetainedResource {
...
@@ -49,9 +49,9 @@ public class CPlatformView extends CFRetainedResource {
super
(
0
,
true
);
super
(
0
,
true
);
}
}
public
void
initialize
(
LWWindowPeer
peer
)
{
public
void
initialize
(
LWWindowPeer
peer
,
CPlatformResponder
responder
)
{
this
.
peer
=
peer
;
this
.
peer
=
peer
;
this
.
responder
=
new
CPlatformResponder
(
peer
,
false
)
;
this
.
responder
=
responder
;
if
(!
LWCToolkit
.
getSunAwtDisableCALayers
())
{
if
(!
LWCToolkit
.
getSunAwtDisableCALayers
())
{
this
.
windowLayer
=
new
CGLLayer
(
peer
);
this
.
windowLayer
=
new
CGLLayer
(
peer
);
...
...
src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java
浏览文件 @
33968c10
...
@@ -61,6 +61,7 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
...
@@ -61,6 +61,7 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
private
static
native
void
nativeSetNSWindowMinimizedIcon
(
long
nsWindowPtr
,
long
nsImage
);
private
static
native
void
nativeSetNSWindowMinimizedIcon
(
long
nsWindowPtr
,
long
nsImage
);
private
static
native
void
nativeSetNSWindowRepresentedFilename
(
long
nsWindowPtr
,
String
representedFilename
);
private
static
native
void
nativeSetNSWindowRepresentedFilename
(
long
nsWindowPtr
,
String
representedFilename
);
private
static
native
void
nativeSetNSWindowSecurityWarningPositioning
(
long
nsWindowPtr
,
double
x
,
double
y
,
float
biasX
,
float
biasY
);
private
static
native
void
nativeSetNSWindowSecurityWarningPositioning
(
long
nsWindowPtr
,
double
x
,
double
y
,
float
biasX
,
float
biasY
);
private
static
native
void
nativeSetEnabled
(
long
nsWindowPtr
,
boolean
isEnabled
);
private
static
native
void
nativeSynthesizeMouseEnteredExitedEvents
(
long
nsWindowPtr
);
private
static
native
void
nativeSynthesizeMouseEnteredExitedEvents
(
long
nsWindowPtr
);
private
static
native
int
nativeGetScreenNSWindowIsOn_AppKitThread
(
long
nsWindowPtr
);
private
static
native
int
nativeGetScreenNSWindowIsOn_AppKitThread
(
long
nsWindowPtr
);
...
@@ -207,6 +208,7 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
...
@@ -207,6 +208,7 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
private
boolean
visible
=
false
;
// visibility status from native perspective
private
boolean
visible
=
false
;
// visibility status from native perspective
private
boolean
undecorated
;
// initialized in getInitialStyleBits()
private
boolean
undecorated
;
// initialized in getInitialStyleBits()
private
Rectangle
normalBounds
=
null
;
// not-null only for undecorated maximized windows
private
Rectangle
normalBounds
=
null
;
// not-null only for undecorated maximized windows
private
CPlatformResponder
responder
;
public
CPlatformWindow
(
final
PeerType
peerType
)
{
public
CPlatformWindow
(
final
PeerType
peerType
)
{
super
(
0
,
true
);
super
(
0
,
true
);
...
@@ -231,8 +233,9 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
...
@@ -231,8 +233,9 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
final
long
parentNSWindowPtr
=
(
owner
!=
null
?
owner
.
getNSWindowPtr
()
:
0
);
final
long
parentNSWindowPtr
=
(
owner
!=
null
?
owner
.
getNSWindowPtr
()
:
0
);
String
warningString
=
target
.
getWarningString
();
String
warningString
=
target
.
getWarningString
();
responder
=
new
CPlatformResponder
(
peer
,
false
);
contentView
=
new
CPlatformView
();
contentView
=
new
CPlatformView
();
contentView
.
initialize
(
peer
);
contentView
.
initialize
(
peer
,
responder
);
final
long
nativeWindowPtr
=
nativeCreateNSWindow
(
contentView
.
getAWTView
(),
styleBits
,
0
,
0
,
0
,
0
);
final
long
nativeWindowPtr
=
nativeCreateNSWindow
(
contentView
.
getAWTView
(),
styleBits
,
0
,
0
,
0
,
0
);
setPtr
(
nativeWindowPtr
);
setPtr
(
nativeWindowPtr
);
...
@@ -311,6 +314,10 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
...
@@ -311,6 +314,10 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
styleBits
=
SET
(
styleBits
,
NONACTIVATING
,
true
);
styleBits
=
SET
(
styleBits
,
NONACTIVATING
,
true
);
}
}
if
(
Window
.
Type
.
UTILITY
.
equals
(
target
.
getType
()))
{
styleBits
=
SET
(
styleBits
,
UTILITY
,
true
);
}
if
(
target
instanceof
javax
.
swing
.
RootPaneContainer
)
{
if
(
target
instanceof
javax
.
swing
.
RootPaneContainer
)
{
javax
.
swing
.
JRootPane
rootpane
=
((
javax
.
swing
.
RootPaneContainer
)
target
).
getRootPane
();
javax
.
swing
.
JRootPane
rootpane
=
((
javax
.
swing
.
RootPaneContainer
)
target
).
getRootPane
();
Object
prop
=
null
;
Object
prop
=
null
;
...
@@ -800,6 +807,15 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
...
@@ -800,6 +807,15 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
// value when the native notification comes to us
// value when the native notification comes to us
}
}
@Override
public
void
setModalBlocked
(
boolean
blocked
)
{
if
(
target
.
getModalExclusionType
()
==
Dialog
.
ModalExclusionType
.
APPLICATION_EXCLUDE
)
{
return
;
}
nativeSetEnabled
(
getNSWindowPtr
(),
!
blocked
);
}
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// UTILITY METHODS
// UTILITY METHODS
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
...
@@ -851,7 +867,7 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
...
@@ -851,7 +867,7 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
focusLogger
.
fine
(
"the app is inactive, so the notification is ignored"
);
focusLogger
.
fine
(
"the app is inactive, so the notification is ignored"
);
return
;
return
;
}
}
peer
.
notifyActivation
(
gained
);
responder
.
handleWindowFocusEvent
(
gained
);
}
}
private
void
deliverMoveResizeEvent
(
int
x
,
int
y
,
int
width
,
int
height
)
{
private
void
deliverMoveResizeEvent
(
int
x
,
int
y
,
int
width
,
int
height
)
{
...
...
src/macosx/classes/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java
浏览文件 @
33968c10
...
@@ -27,9 +27,9 @@ package sun.lwawt.macosx;
...
@@ -27,9 +27,9 @@ package sun.lwawt.macosx;
import
sun.awt.datatransfer.ToolkitThreadBlockedHandler
;
import
sun.awt.datatransfer.ToolkitThreadBlockedHandler
;
// TODO:BG this class is really a NOOP right now, but should be filled in if needed.
final
class
CToolkitThreadBlockedHandler
implements
ToolkitThreadBlockedHandler
{
final
class
CToolkitThreadBlockedHandler
implements
ToolkitThreadBlockedHandler
{
private
final
LWCToolkit
toolkit
=
(
LWCToolkit
)
java
.
awt
.
Toolkit
.
getDefaultToolkit
();
public
void
lock
()
{
public
void
lock
()
{
}
}
...
@@ -41,9 +41,10 @@ final class CToolkitThreadBlockedHandler implements ToolkitThreadBlockedHandler
...
@@ -41,9 +41,10 @@ final class CToolkitThreadBlockedHandler implements ToolkitThreadBlockedHandler
}
}
public
void
enter
()
{
public
void
enter
()
{
toolkit
.
startNativeNestedEventLoop
();
}
}
public
void
exit
()
{
public
void
exit
()
{
toolkit
.
stopNativeNestedEventLoop
();
}
}
}
}
src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
浏览文件 @
33968c10
...
@@ -63,6 +63,10 @@ public class LWCToolkit extends LWToolkit {
...
@@ -63,6 +63,10 @@ public class LWCToolkit extends LWToolkit {
private
static
native
void
initIDs
();
private
static
native
void
initIDs
();
static
native
void
startNativeNestedEventLoop
();
static
native
void
stopNativeNestedEventLoop
();
private
static
CInputMethodDescriptor
sInputMethodDescriptor
;
private
static
CInputMethodDescriptor
sInputMethodDescriptor
;
static
{
static
{
...
...
src/macosx/native/sun/awt/AWTView.m
浏览文件 @
33968c10
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
//#define IM_DEBUG TRUE
//#define IM_DEBUG TRUE
//#define EXTRA_DEBUG
//#define EXTRA_DEBUG
static
BOOL
shouldUsePressAndHold
()
{
static
BOOL
shouldUsePressAndHold
()
{
static
int
shouldUsePressAndHold
=
-
1
;
static
int
shouldUsePressAndHold
=
-
1
;
if
(
shouldUsePressAndHold
!=
-
1
)
return
shouldUsePressAndHold
;
if
(
shouldUsePressAndHold
!=
-
1
)
return
shouldUsePressAndHold
;
...
@@ -81,7 +80,7 @@ AWT_ASSERT_APPKIT_THREAD;
...
@@ -81,7 +80,7 @@ AWT_ASSERT_APPKIT_THREAD;
fEnablePressAndHold
=
shouldUsePressAndHold
();
fEnablePressAndHold
=
shouldUsePressAndHold
();
fInPressAndHold
=
NO
;
fInPressAndHold
=
NO
;
fPAHNeedsToSelect
=
NO
;
fPAHNeedsToSelect
=
NO
;
mouseIsOver
=
NO
;
mouseIsOver
=
NO
;
if
(
windowLayer
!=
nil
)
{
if
(
windowLayer
!=
nil
)
{
...
@@ -302,16 +301,25 @@ AWT_ASSERT_APPKIT_THREAD;
...
@@ -302,16 +301,25 @@ AWT_ASSERT_APPKIT_THREAD;
*/
*/
-
(
void
)
deliverJavaMouseEvent
:
(
NSEvent
*
)
event
{
-
(
void
)
deliverJavaMouseEvent
:
(
NSEvent
*
)
event
{
BOOL
isEnabled
=
YES
;
NSEventType
type
=
[
event
type
];
NSWindow
*
window
=
[
self
window
];
if
([
window
isKindOfClass
:
[
AWTWindow_Panel
class
]]
||
[
window
isKindOfClass
:
[
AWTWindow_Normal
class
]])
{
isEnabled
=
[(
AWTWindow
*
)[
window
delegate
]
isEnabled
];
}
if
(
!
isEnabled
)
{
return
;
}
NSEventType
type
=
[
event
type
];
// check synthesized mouse entered/exited events
// check synthesized mouse entered/exited events
if
((
type
==
NSMouseEntered
&&
mouseIsOver
)
||
(
type
==
NSMouseExited
&&
!
mouseIsOver
))
{
if
((
type
==
NSMouseEntered
&&
mouseIsOver
)
||
(
type
==
NSMouseExited
&&
!
mouseIsOver
))
{
return
;
return
;
}
else
if
((
type
==
NSMouseEntered
&&
!
mouseIsOver
)
||
(
type
==
NSMouseExited
&&
mouseIsOver
))
{
}
else
if
((
type
==
NSMouseEntered
&&
!
mouseIsOver
)
||
(
type
==
NSMouseExited
&&
mouseIsOver
))
{
mouseIsOver
=
!
mouseIsOver
;
mouseIsOver
=
!
mouseIsOver
;
}
}
[
AWTToolkit
eventCountPlusPlus
];
[
AWTToolkit
eventCountPlusPlus
];
JNIEnv
*
env
=
[
ThreadUtilities
getJNIEnv
];
JNIEnv
*
env
=
[
ThreadUtilities
getJNIEnv
];
...
@@ -385,6 +393,14 @@ AWT_ASSERT_APPKIT_THREAD;
...
@@ -385,6 +393,14 @@ AWT_ASSERT_APPKIT_THREAD;
}
}
-
(
void
)
deliverJavaKeyEventHelper
:
(
NSEvent
*
)
event
{
-
(
void
)
deliverJavaKeyEventHelper
:
(
NSEvent
*
)
event
{
static
NSEvent
*
sLastKeyEvent
=
nil
;
if
(
event
==
sLastKeyEvent
)
{
// The event is repeatedly delivered by keyDown: after performKeyEquivalent:
return
;
}
[
sLastKeyEvent
release
];
sLastKeyEvent
=
[
event
retain
];
[
AWTToolkit
eventCountPlusPlus
];
[
AWTToolkit
eventCountPlusPlus
];
JNIEnv
*
env
=
[
ThreadUtilities
getJNIEnv
];
JNIEnv
*
env
=
[
ThreadUtilities
getJNIEnv
];
...
...
src/macosx/native/sun/awt/AWTWindow.h
浏览文件 @
33968c10
...
@@ -35,28 +35,53 @@
...
@@ -35,28 +35,53 @@
@class
AWTView
;
@class
AWTView
;
@interface
AWTWindow
:
NS
Panel
<
NSWindowDelegate
>
{
@interface
AWTWindow
:
NS
Object
<
NSWindowDelegate
>
{
@private
@private
JNFWeakJObjectWrapper
*
javaPlatformWindow
;
JNFWeakJObjectWrapper
*
javaPlatformWindow
;
CMenuBar
*
javaMenuBar
;
CMenuBar
*
javaMenuBar
;
NSSize
javaMinSize
;
NSSize
javaMinSize
;
NSSize
javaMaxSize
;
NSSize
javaMaxSize
;
jint
styleBits
;
jint
styleBits
;
BOOL
isEnabled
;
}
}
// An instance of either AWTWindow_Normal or AWTWindow_Panel
@property
(
nonatomic
,
retain
)
NSWindow
*
nsWindow
;
@property
(
nonatomic
,
retain
)
JNFWeakJObjectWrapper
*
javaPlatformWindow
;
@property
(
nonatomic
,
retain
)
JNFWeakJObjectWrapper
*
javaPlatformWindow
;
@property
(
nonatomic
,
retain
)
CMenuBar
*
javaMenuBar
;
@property
(
nonatomic
,
retain
)
CMenuBar
*
javaMenuBar
;
@property
(
nonatomic
)
NSSize
javaMinSize
;
@property
(
nonatomic
)
NSSize
javaMinSize
;
@property
(
nonatomic
)
NSSize
javaMaxSize
;
@property
(
nonatomic
)
NSSize
javaMaxSize
;
@property
(
nonatomic
)
jint
styleBits
;
@property
(
nonatomic
)
jint
styleBits
;
@property
(
nonatomic
)
BOOL
isEnabled
;
-
(
id
)
initWithPlatformWindow
:(
JNFWeakJObjectWrapper
*
)
javaPlatformWindow
-
(
id
)
initWithPlatformWindow
:(
JNFWeakJObjectWrapper
*
)
javaPlatformWindow
styleBits
:(
jint
)
styleBits
styleBits
:(
jint
)
styleBits
frameRect
:(
NSRect
)
frameRect
frameRect
:(
NSRect
)
frameRect
contentView
:(
NSView
*
)
contentView
;
contentView
:(
NSView
*
)
contentView
;
-
(
void
)
adjustGrowBoxWindow
;
-
(
BOOL
)
isTopmostWindowUnderMouse
;
-
(
BOOL
)
isTopmostWindowUnderMouse
;
// NSWindow overrides delegate methods
-
(
BOOL
)
canBecomeKeyWindow
;
-
(
BOOL
)
canBecomeMainWindow
;
-
(
BOOL
)
worksWhenModal
;
-
(
void
)
sendEvent
:(
NSEvent
*
)
event
;
@end
@interface
AWTWindow_Normal
:
NSWindow
-
(
id
)
initWithDelegate
:(
AWTWindow
*
)
delegate
frameRect
:(
NSRect
)
rect
styleMask
:(
NSUInteger
)
styleMask
contentView
:(
NSView
*
)
view
;
@end
@interface
AWTWindow_Panel
:
NSPanel
-
(
id
)
initWithDelegate
:(
AWTWindow
*
)
delegate
frameRect
:(
NSRect
)
rect
styleMask
:(
NSUInteger
)
styleMask
contentView
:(
NSView
*
)
view
;
@end
@end
#endif _AWTWINDOW_H
#endif _AWTWINDOW_H
src/macosx/native/sun/awt/AWTWindow.m
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/macosx/native/sun/awt/CFileDialog.h
浏览文件 @
33968c10
...
@@ -46,11 +46,14 @@
...
@@ -46,11 +46,14 @@
// File dialog's mode
// File dialog's mode
jint
fMode
;
jint
fMode
;
// Indicates whether the user can select multiple files
BOOL
fMultipleMode
;
// Should we navigate into apps?
// Should we navigate into apps?
BOOL
fNavigateApps
;
BOOL
fNavigateApps
;
//
panel's filename
//
Contains the absolute paths of the selected files as URLs
NS
String
*
fReturnedFilename
;
NS
Array
*
fURLs
;
}
}
// Allocator
// Allocator
...
@@ -60,6 +63,7 @@
...
@@ -60,6 +63,7 @@
directory
:(
NSString
*
)
inPath
directory
:(
NSString
*
)
inPath
file
:(
NSString
*
)
inFile
file
:(
NSString
*
)
inFile
mode
:(
jint
)
inMode
mode
:(
jint
)
inMode
multipleMode
:(
BOOL
)
inMultipleMode
shouldNavigate
:(
BOOL
)
inNavigateApps
shouldNavigate
:(
BOOL
)
inNavigateApps
withEnv
:(
JNIEnv
*
)
env
;
withEnv
:(
JNIEnv
*
)
env
;
...
@@ -69,7 +73,7 @@
...
@@ -69,7 +73,7 @@
// Get dialog return value
// Get dialog return value
-
(
BOOL
)
userClickedOK
;
-
(
BOOL
)
userClickedOK
;
//
Filename user chose
//
Returns the absolute paths of the selected files as URLs
-
(
NS
String
*
)
filename
;
-
(
NS
Array
*
)
URLs
;
@end
@end
src/macosx/native/sun/awt/CFileDialog.m
浏览文件 @
33968c10
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
directory
:(
NSString
*
)
inPath
directory
:(
NSString
*
)
inPath
file
:(
NSString
*
)
inFile
file
:(
NSString
*
)
inFile
mode
:(
jint
)
inMode
mode
:(
jint
)
inMode
multipleMode
:(
BOOL
)
inMultipleMode
shouldNavigate
:(
BOOL
)
inNavigateApps
shouldNavigate
:(
BOOL
)
inNavigateApps
withEnv
:(
JNIEnv
*
)
env
;
withEnv
:(
JNIEnv
*
)
env
;
{
{
...
@@ -54,6 +55,7 @@
...
@@ -54,6 +55,7 @@
fTitle
=
inTitle
;
fTitle
=
inTitle
;
[
fTitle
retain
];
[
fTitle
retain
];
fMode
=
inMode
;
fMode
=
inMode
;
fMultipleMode
=
inMultipleMode
;
fNavigateApps
=
inNavigateApps
;
fNavigateApps
=
inNavigateApps
;
fPanelResult
=
NSCancelButton
;
fPanelResult
=
NSCancelButton
;
}
}
...
@@ -79,8 +81,8 @@
...
@@ -79,8 +81,8 @@
[
fTitle
release
];
[
fTitle
release
];
fTitle
=
nil
;
fTitle
=
nil
;
[
f
ReturnedFilename
release
];
[
f
URLs
release
];
f
ReturnedFilename
=
nil
;
f
URLs
=
nil
;
[
super
dealloc
];
[
super
dealloc
];
}
}
...
@@ -105,7 +107,7 @@
...
@@ -105,7 +107,7 @@
if
(
fMode
==
java_awt_FileDialog_LOAD
)
{
if
(
fMode
==
java_awt_FileDialog_LOAD
)
{
NSOpenPanel
*
openPanel
=
(
NSOpenPanel
*
)
thePanel
;
NSOpenPanel
*
openPanel
=
(
NSOpenPanel
*
)
thePanel
;
[
openPanel
setAllowsMultipleSelection
:
NO
];
[
openPanel
setAllowsMultipleSelection
:
fMultipleMode
];
[
openPanel
setCanChooseFiles
:
YES
];
[
openPanel
setCanChooseFiles
:
YES
];
[
openPanel
setCanChooseDirectories
:
NO
];
[
openPanel
setCanChooseDirectories
:
NO
];
[
openPanel
setCanCreateDirectories
:
YES
];
[
openPanel
setCanCreateDirectories
:
YES
];
...
@@ -114,8 +116,16 @@
...
@@ -114,8 +116,16 @@
[
thePanel
setDelegate
:
self
];
[
thePanel
setDelegate
:
self
];
fPanelResult
=
[
thePanel
runModalForDirectory
:
fDirectory
file
:
fFile
];
fPanelResult
=
[
thePanel
runModalForDirectory
:
fDirectory
file
:
fFile
];
[
thePanel
setDelegate
:
nil
];
[
thePanel
setDelegate
:
nil
];
fReturnedFilename
=
[
thePanel
filename
];
[
fReturnedFilename
retain
];
if
([
self
userClickedOK
])
{
if
(
fMode
==
java_awt_FileDialog_LOAD
)
{
NSOpenPanel
*
openPanel
=
(
NSOpenPanel
*
)
thePanel
;
fURLs
=
[
openPanel
URLs
];
}
else
{
fURLs
=
[
NSArray
arrayWithObject
:[
thePanel
URL
]];
}
[
fURLs
retain
];
}
}
}
[
self
disposer
];
[
self
disposer
];
...
@@ -158,8 +168,8 @@
...
@@ -158,8 +168,8 @@
return
fPanelResult
==
NSOKButton
;
return
fPanelResult
==
NSOKButton
;
}
}
-
(
NS
String
*
)
filename
{
-
(
NS
Array
*
)
URLs
{
return
[[
f
ReturnedFilename
retain
]
autorelease
];
return
[[
f
URLs
retain
]
autorelease
];
}
}
@end
@end
...
@@ -167,13 +177,14 @@
...
@@ -167,13 +177,14 @@
* Class: sun_lwawt_macosx_CFileDialog
* Class: sun_lwawt_macosx_CFileDialog
* Method: nativeRunFileDialog
* Method: nativeRunFileDialog
* Signature: (Ljava/lang/String;ILjava/io/FilenameFilter;
* Signature: (Ljava/lang/String;ILjava/io/FilenameFilter;
* Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
* Ljava/lang/String;Ljava/lang/String;)
[
Ljava/lang/String;
*/
*/
JNIEXPORT
j
string
JNICALL
JNIEXPORT
j
objectArray
JNICALL
Java_sun_lwawt_macosx_CFileDialog_nativeRunFileDialog
Java_sun_lwawt_macosx_CFileDialog_nativeRunFileDialog
(
JNIEnv
*
env
,
jobject
peer
,
jstring
title
,
jint
mode
,
jboolean
navigateApps
,
jboolean
hasFilter
,
jstring
directory
,
jstring
file
)
(
JNIEnv
*
env
,
jobject
peer
,
jstring
title
,
jint
mode
,
jboolean
multipleMode
,
jboolean
navigateApps
,
jboolean
hasFilter
,
jstring
directory
,
jstring
file
)
{
{
j
string
returnValue
=
NULL
;
j
objectArray
returnValue
=
NULL
;
JNF_COCOA_ENTER
(
env
);
JNF_COCOA_ENTER
(
env
);
NSString
*
dialogTitle
=
JNFJavaToNSString
(
env
,
title
);
NSString
*
dialogTitle
=
JNFJavaToNSString
(
env
,
title
);
...
@@ -187,6 +198,7 @@ JNF_COCOA_ENTER(env);
...
@@ -187,6 +198,7 @@ JNF_COCOA_ENTER(env);
directory:
JNFJavaToNSString
(
env
,
directory
)
directory:
JNFJavaToNSString
(
env
,
directory
)
file:
JNFJavaToNSString
(
env
,
file
)
file:
JNFJavaToNSString
(
env
,
file
)
mode:
mode
mode:
mode
multipleMode:
multipleMode
shouldNavigate:
navigateApps
shouldNavigate:
navigateApps
withEnv:
env
];
withEnv:
env
];
...
@@ -196,8 +208,18 @@ JNF_COCOA_ENTER(env);
...
@@ -196,8 +208,18 @@ JNF_COCOA_ENTER(env);
waitUntilDone:
YES
];
waitUntilDone:
YES
];
if
([
dialogDelegate
userClickedOK
])
{
if
([
dialogDelegate
userClickedOK
])
{
NSString
*
filename
=
[
dialogDelegate
filename
];
NSArray
*
urls
=
[
dialogDelegate
URLs
];
returnValue
=
JNFNSToJavaString
(
env
,
filename
);
jsize
count
=
[
urls
count
];
jclass
stringClass
=
(
*
env
)
->
FindClass
(
env
,
"java/lang/String"
);
returnValue
=
(
*
env
)
->
NewObjectArray
(
env
,
count
,
stringClass
,
NULL
);
(
*
env
)
->
DeleteLocalRef
(
env
,
stringClass
);
[
urls
enumerateObjectsUsingBlock
:
^
(
id
url
,
NSUInteger
index
,
BOOL
*
stop
)
{
jstring
filename
=
JNFNormalizedJavaStringForPath
(
env
,
[
url
path
]);
(
*
env
)
->
SetObjectArrayElement
(
env
,
returnValue
,
index
,
filename
);
(
*
env
)
->
DeleteLocalRef
(
env
,
filename
);
}];
}
}
[
dialogDelegate
release
];
[
dialogDelegate
release
];
...
...
src/macosx/native/sun/awt/CImage.m
浏览文件 @
33968c10
...
@@ -163,7 +163,6 @@ AWT_ASSERT_ANY_THREAD;
...
@@ -163,7 +163,6 @@ AWT_ASSERT_ANY_THREAD;
if ([reps count]) {
if ([reps count]) {
NSImage *nsImage = [[NSImage alloc] initWithSize:NSMakeSize(0, 0)];
NSImage *nsImage = [[NSImage alloc] initWithSize:NSMakeSize(0, 0)];
[nsImage addRepresentations: reps];
[nsImage addRepresentations: reps];
[reps release];
if (nsImage != nil) {
if (nsImage != nil) {
CFRetain(nsImage); // GC
CFRetain(nsImage); // GC
...
...
src/macosx/native/sun/awt/LWCToolkit.m
浏览文件 @
33968c10
...
@@ -42,6 +42,7 @@ jint* gButtonDownMasks;
...
@@ -42,6 +42,7 @@ jint* gButtonDownMasks;
@implementation
AWTToolkit
@implementation
AWTToolkit
static
long
eventCount
;
static
long
eventCount
;
static
bool
shouldKeepRunningNestedLoop
=
NO
;
+
(
long
)
getEventCount
{
+
(
long
)
getEventCount
{
return
eventCount
;
return
eventCount
;
...
@@ -456,3 +457,36 @@ Java_sun_font_FontManager_populateFontFileNameMap
...
@@ -456,3 +457,36 @@ Java_sun_font_FontManager_populateFontFileNameMap
{
{
}
}
/*
* Class: sun_lwawt_macosx_LWCToolkit
* Method: startNativeNestedEventLoop
* Signature: ()V
*/
JNIEXPORT
void
JNICALL
Java_sun_lwawt_macosx_LWCToolkit_startNativeNestedEventLoop
(
JNIEnv
*
env
,
jclass
cls
)
{
if
(
!
shouldKeepRunningNestedLoop
)
{
NSRunLoop
*
theRL
=
[
NSRunLoop
currentRunLoop
];
NSApplication
*
app
=
[
NSApplication
sharedApplication
];
shouldKeepRunningNestedLoop
=
YES
;
while
(
shouldKeepRunningNestedLoop
&&
[
theRL
runMode
:
NSDefaultRunLoopMode
beforeDate
:[
NSDate
distantFuture
]])
{
NSEvent
*
event
=
[
app
nextEventMatchingMask
:
0xFFFFFFFF
untilDate
:
nil
inMode
:
NSDefaultRunLoopMode
dequeue
:
YES
];
if
(
event
!=
nil
)
{
[
app
sendEvent
:
event
];
}
}
}
}
/*
* Class: sun_lwawt_macosx_LWCToolkit
* Method: stopNativeNestedEventLoop
* Signature: ()V
*/
JNIEXPORT
void
JNICALL
Java_sun_lwawt_macosx_LWCToolkit_stopNativeNestedEventLoop
(
JNIEnv
*
env
,
jclass
cls
)
{
shouldKeepRunningNestedLoop
=
NO
;
}
src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m
浏览文件 @
33968c10
...
@@ -204,7 +204,8 @@ JNF_COCOA_ENTER(env);
...
@@ -204,7 +204,8 @@ JNF_COCOA_ENTER(env);
if (!CGLSD_MakeCurrentToScratch(env, oglc)) {
if (!CGLSD_MakeCurrentToScratch(env, oglc)) {
return NULL;
return NULL;
}
}
} else if ([NSOpenGLContext currentContext] == nil) {
// make sure our context is current
} else if ([NSOpenGLContext currentContext] != ctxinfo->context) {
[ctxinfo->context makeCurrentContext];
[ctxinfo->context makeCurrentContext];
}
}
...
...
src/share/classes/com/sun/crypto/provider/HmacCore.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 2002, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 201
2
, 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
...
@@ -38,16 +38,16 @@ import java.security.spec.*;
...
@@ -38,16 +38,16 @@ import java.security.spec.*;
* This class constitutes the core of HMAC-<MD> algorithms, where
* This class constitutes the core of HMAC-<MD> algorithms, where
* <MD> can be SHA1 or MD5, etc. See RFC 2104 for spec.
* <MD> can be SHA1 or MD5, etc. See RFC 2104 for spec.
*
*
* It also contains the implementation classes for
the
SHA-256,
* It also contains the implementation classes for
SHA-224,
SHA-256,
* SHA-384, and SHA-512 HMACs.
* SHA-384, and SHA-512 HMACs.
*
*
* @author Jan Luehe
* @author Jan Luehe
*/
*/
final
class
HmacCore
implements
Cloneable
{
abstract
class
HmacCore
extends
MacSpi
implements
Cloneable
{
private
final
MessageDigest
md
;
private
MessageDigest
md
;
private
final
byte
[]
k_ipad
;
// inner padding - key XORd with ipad
private
byte
[]
k_ipad
;
// inner padding - key XORd with ipad
private
final
byte
[]
k_opad
;
// outer padding - key XORd with opad
private
byte
[]
k_opad
;
// outer padding - key XORd with opad
private
boolean
first
;
// Is this the first data to be processed?
private
boolean
first
;
// Is this the first data to be processed?
private
final
int
blockLen
;
private
final
int
blockLen
;
...
@@ -72,23 +72,12 @@ final class HmacCore implements Cloneable {
...
@@ -72,23 +72,12 @@ final class HmacCore implements Cloneable {
this
(
MessageDigest
.
getInstance
(
digestAlgorithm
),
bl
);
this
(
MessageDigest
.
getInstance
(
digestAlgorithm
),
bl
);
}
}
/**
* Constructor used for cloning.
*/
private
HmacCore
(
HmacCore
other
)
throws
CloneNotSupportedException
{
this
.
md
=
(
MessageDigest
)
other
.
md
.
clone
();
this
.
blockLen
=
other
.
blockLen
;
this
.
k_ipad
=
other
.
k_ipad
.
clone
();
this
.
k_opad
=
other
.
k_opad
.
clone
();
this
.
first
=
other
.
first
;
}
/**
/**
* Returns the length of the HMAC in bytes.
* Returns the length of the HMAC in bytes.
*
*
* @return the HMAC length in bytes.
* @return the HMAC length in bytes.
*/
*/
int
getDigest
Length
()
{
protected
int
engineGetMac
Length
()
{
return
this
.
md
.
getDigestLength
();
return
this
.
md
.
getDigestLength
();
}
}
...
@@ -103,9 +92,8 @@ final class HmacCore implements Cloneable {
...
@@ -103,9 +92,8 @@ final class HmacCore implements Cloneable {
* @exception InvalidAlgorithmParameterException if the given algorithm
* @exception InvalidAlgorithmParameterException if the given algorithm
* parameters are inappropriate for this MAC.
* parameters are inappropriate for this MAC.
*/
*/
void
i
nit
(
Key
key
,
AlgorithmParameterSpec
params
)
protected
void
engineI
nit
(
Key
key
,
AlgorithmParameterSpec
params
)
throws
InvalidKeyException
,
InvalidAlgorithmParameterException
{
throws
InvalidKeyException
,
InvalidAlgorithmParameterException
{
if
(
params
!=
null
)
{
if
(
params
!=
null
)
{
throw
new
InvalidAlgorithmParameterException
throw
new
InvalidAlgorithmParameterException
(
"HMAC does not use parameters"
);
(
"HMAC does not use parameters"
);
...
@@ -140,7 +128,7 @@ final class HmacCore implements Cloneable {
...
@@ -140,7 +128,7 @@ final class HmacCore implements Cloneable {
Arrays
.
fill
(
secret
,
(
byte
)
0
);
Arrays
.
fill
(
secret
,
(
byte
)
0
);
secret
=
null
;
secret
=
null
;
r
eset
();
engineR
eset
();
}
}
/**
/**
...
@@ -148,7 +136,7 @@ final class HmacCore implements Cloneable {
...
@@ -148,7 +136,7 @@ final class HmacCore implements Cloneable {
*
*
* @param input the input byte to be processed.
* @param input the input byte to be processed.
*/
*/
void
u
pdate
(
byte
input
)
{
protected
void
engineU
pdate
(
byte
input
)
{
if
(
first
==
true
)
{
if
(
first
==
true
)
{
// compute digest for 1st pass; start with inner pad
// compute digest for 1st pass; start with inner pad
md
.
update
(
k_ipad
);
md
.
update
(
k_ipad
);
...
@@ -167,7 +155,7 @@ final class HmacCore implements Cloneable {
...
@@ -167,7 +155,7 @@ final class HmacCore implements Cloneable {
* @param offset the offset in <code>input</code> where the input starts.
* @param offset the offset in <code>input</code> where the input starts.
* @param len the number of bytes to process.
* @param len the number of bytes to process.
*/
*/
void
u
pdate
(
byte
input
[],
int
offset
,
int
len
)
{
protected
void
engineU
pdate
(
byte
input
[],
int
offset
,
int
len
)
{
if
(
first
==
true
)
{
if
(
first
==
true
)
{
// compute digest for 1st pass; start with inner pad
// compute digest for 1st pass; start with inner pad
md
.
update
(
k_ipad
);
md
.
update
(
k_ipad
);
...
@@ -178,7 +166,13 @@ final class HmacCore implements Cloneable {
...
@@ -178,7 +166,13 @@ final class HmacCore implements Cloneable {
md
.
update
(
input
,
offset
,
len
);
md
.
update
(
input
,
offset
,
len
);
}
}
void
update
(
ByteBuffer
input
)
{
/**
* Processes the <code>input.remaining()</code> bytes in the ByteBuffer
* <code>input</code>.
*
* @param input the input byte buffer.
*/
protected
void
engineUpdate
(
ByteBuffer
input
)
{
if
(
first
==
true
)
{
if
(
first
==
true
)
{
// compute digest for 1st pass; start with inner pad
// compute digest for 1st pass; start with inner pad
md
.
update
(
k_ipad
);
md
.
update
(
k_ipad
);
...
@@ -194,7 +188,7 @@ final class HmacCore implements Cloneable {
...
@@ -194,7 +188,7 @@ final class HmacCore implements Cloneable {
*
*
* @return the HMAC result.
* @return the HMAC result.
*/
*/
byte
[]
d
oFinal
()
{
protected
byte
[]
engineD
oFinal
()
{
if
(
first
==
true
)
{
if
(
first
==
true
)
{
// compute digest for 1st pass; start with inner pad
// compute digest for 1st pass; start with inner pad
md
.
update
(
k_ipad
);
md
.
update
(
k_ipad
);
...
@@ -223,7 +217,7 @@ final class HmacCore implements Cloneable {
...
@@ -223,7 +217,7 @@ final class HmacCore implements Cloneable {
* Resets the HMAC for further use, maintaining the secret key that the
* Resets the HMAC for further use, maintaining the secret key that the
* HMAC was initialized with.
* HMAC was initialized with.
*/
*/
void
r
eset
()
{
protected
void
engineR
eset
()
{
if
(
first
==
false
)
{
if
(
first
==
false
)
{
md
.
reset
();
md
.
reset
();
first
=
true
;
first
=
true
;
...
@@ -234,115 +228,38 @@ final class HmacCore implements Cloneable {
...
@@ -234,115 +228,38 @@ final class HmacCore implements Cloneable {
* Clones this object.
* Clones this object.
*/
*/
public
Object
clone
()
throws
CloneNotSupportedException
{
public
Object
clone
()
throws
CloneNotSupportedException
{
return
new
HmacCore
(
this
);
HmacCore
copy
=
(
HmacCore
)
super
.
clone
();
copy
.
md
=
(
MessageDigest
)
md
.
clone
();
copy
.
k_ipad
=
k_ipad
.
clone
();
copy
.
k_opad
=
k_opad
.
clone
();
return
copy
;
}
// nested static class for the HmacSHA224 implementation
public
static
final
class
HmacSHA224
extends
HmacCore
{
public
HmacSHA224
()
throws
NoSuchAlgorithmException
{
super
(
"SHA-224"
,
64
);
}
}
}
// nested static class for the HmacSHA256 implementation
// nested static class for the HmacSHA256 implementation
public
static
final
class
HmacSHA256
extends
MacSpi
implements
Cloneable
{
public
static
final
class
HmacSHA256
extends
HmacCore
{
private
final
HmacCore
core
;
public
HmacSHA256
()
throws
NoSuchAlgorithmException
{
public
HmacSHA256
()
throws
NoSuchAlgorithmException
{
core
=
new
HmacCore
(
"SHA-256"
,
64
);
super
(
"SHA-256"
,
64
);
}
private
HmacSHA256
(
HmacSHA256
base
)
throws
CloneNotSupportedException
{
core
=
(
HmacCore
)
base
.
core
.
clone
();
}
protected
int
engineGetMacLength
()
{
return
core
.
getDigestLength
();
}
protected
void
engineInit
(
Key
key
,
AlgorithmParameterSpec
params
)
throws
InvalidKeyException
,
InvalidAlgorithmParameterException
{
core
.
init
(
key
,
params
);
}
protected
void
engineUpdate
(
byte
input
)
{
core
.
update
(
input
);
}
protected
void
engineUpdate
(
byte
input
[],
int
offset
,
int
len
)
{
core
.
update
(
input
,
offset
,
len
);
}
protected
void
engineUpdate
(
ByteBuffer
input
)
{
core
.
update
(
input
);
}
protected
byte
[]
engineDoFinal
()
{
return
core
.
doFinal
();
}
protected
void
engineReset
()
{
core
.
reset
();
}
public
Object
clone
()
throws
CloneNotSupportedException
{
return
new
HmacSHA256
(
this
);
}
}
}
}
// nested static class for the HmacSHA384 implementation
// nested static class for the HmacSHA384 implementation
public
static
final
class
HmacSHA384
extends
MacSpi
implements
Cloneable
{
public
static
final
class
HmacSHA384
extends
HmacCore
{
private
final
HmacCore
core
;
public
HmacSHA384
()
throws
NoSuchAlgorithmException
{
public
HmacSHA384
()
throws
NoSuchAlgorithmException
{
core
=
new
HmacCore
(
"SHA-384"
,
128
);
super
(
"SHA-384"
,
128
);
}
private
HmacSHA384
(
HmacSHA384
base
)
throws
CloneNotSupportedException
{
core
=
(
HmacCore
)
base
.
core
.
clone
();
}
protected
int
engineGetMacLength
()
{
return
core
.
getDigestLength
();
}
protected
void
engineInit
(
Key
key
,
AlgorithmParameterSpec
params
)
throws
InvalidKeyException
,
InvalidAlgorithmParameterException
{
core
.
init
(
key
,
params
);
}
protected
void
engineUpdate
(
byte
input
)
{
core
.
update
(
input
);
}
protected
void
engineUpdate
(
byte
input
[],
int
offset
,
int
len
)
{
core
.
update
(
input
,
offset
,
len
);
}
protected
void
engineUpdate
(
ByteBuffer
input
)
{
core
.
update
(
input
);
}
protected
byte
[]
engineDoFinal
()
{
return
core
.
doFinal
();
}
protected
void
engineReset
()
{
core
.
reset
();
}
public
Object
clone
()
throws
CloneNotSupportedException
{
return
new
HmacSHA384
(
this
);
}
}
}
}
// nested static class for the HmacSHA512 implementation
// nested static class for the HmacSHA512 implementation
public
static
final
class
HmacSHA512
extends
MacSpi
implements
Cloneable
{
public
static
final
class
HmacSHA512
extends
HmacCore
{
private
final
HmacCore
core
;
public
HmacSHA512
()
throws
NoSuchAlgorithmException
{
public
HmacSHA512
()
throws
NoSuchAlgorithmException
{
core
=
new
HmacCore
(
"SHA-512"
,
128
);
super
(
"SHA-512"
,
128
);
}
private
HmacSHA512
(
HmacSHA512
base
)
throws
CloneNotSupportedException
{
core
=
(
HmacCore
)
base
.
core
.
clone
();
}
protected
int
engineGetMacLength
()
{
return
core
.
getDigestLength
();
}
protected
void
engineInit
(
Key
key
,
AlgorithmParameterSpec
params
)
throws
InvalidKeyException
,
InvalidAlgorithmParameterException
{
core
.
init
(
key
,
params
);
}
protected
void
engineUpdate
(
byte
input
)
{
core
.
update
(
input
);
}
protected
void
engineUpdate
(
byte
input
[],
int
offset
,
int
len
)
{
core
.
update
(
input
,
offset
,
len
);
}
protected
void
engineUpdate
(
ByteBuffer
input
)
{
core
.
update
(
input
);
}
protected
byte
[]
engineDoFinal
()
{
return
core
.
doFinal
();
}
protected
void
engineReset
()
{
core
.
reset
();
}
public
Object
clone
()
throws
CloneNotSupportedException
{
return
new
HmacSHA512
(
this
);
}
}
}
}
}
}
src/share/classes/com/sun/crypto/provider/HmacMD5.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 1998, 20
09
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 20
12
, 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
...
@@ -37,97 +37,11 @@ import java.security.spec.*;
...
@@ -37,97 +37,11 @@ import java.security.spec.*;
*
*
* @author Jan Luehe
* @author Jan Luehe
*/
*/
public
final
class
HmacMD5
extends
MacSpi
implements
Cloneable
{
public
final
class
HmacMD5
extends
HmacCore
{
private
HmacCore
hmac
;
private
static
final
int
MD5_BLOCK_LENGTH
=
64
;
/**
/**
* Standard constructor, creates a new HmacMD5 instance.
* Standard constructor, creates a new HmacMD5 instance.
*/
*/
public
HmacMD5
()
throws
NoSuchAlgorithmException
{
public
HmacMD5
()
throws
NoSuchAlgorithmException
{
hmac
=
new
HmacCore
(
MessageDigest
.
getInstance
(
"MD5"
),
super
(
"MD5"
,
64
);
MD5_BLOCK_LENGTH
);
}
/**
* Returns the length of the HMAC in bytes.
*
* @return the HMAC length in bytes.
*/
protected
int
engineGetMacLength
()
{
return
hmac
.
getDigestLength
();
}
/**
* Initializes the HMAC with the given secret key and algorithm parameters.
*
* @param key the secret key.
* @param params the algorithm parameters.
*
* @exception InvalidKeyException if the given key is inappropriate for
* initializing this MAC.
* @exception InvalidAlgorithmParameterException if the given algorithm
* parameters are inappropriate for this MAC.
*/
protected
void
engineInit
(
Key
key
,
AlgorithmParameterSpec
params
)
throws
InvalidKeyException
,
InvalidAlgorithmParameterException
{
hmac
.
init
(
key
,
params
);
}
/**
* Processes the given byte.
*
* @param input the input byte to be processed.
*/
protected
void
engineUpdate
(
byte
input
)
{
hmac
.
update
(
input
);
}
/**
* Processes the first <code>len</code> bytes in <code>input</code>,
* starting at <code>offset</code>.
*
* @param input the input buffer.
* @param offset the offset in <code>input</code> where the input starts.
* @param len the number of bytes to process.
*/
protected
void
engineUpdate
(
byte
input
[],
int
offset
,
int
len
)
{
hmac
.
update
(
input
,
offset
,
len
);
}
protected
void
engineUpdate
(
ByteBuffer
input
)
{
hmac
.
update
(
input
);
}
/**
* Completes the HMAC computation and resets the HMAC for further use,
* maintaining the secret key that the HMAC was initialized with.
*
* @return the HMAC result.
*/
protected
byte
[]
engineDoFinal
()
{
return
hmac
.
doFinal
();
}
/**
* Resets the HMAC for further use, maintaining the secret key that the
* HMAC was initialized with.
*/
protected
void
engineReset
()
{
hmac
.
reset
();
}
/*
* Clones this object.
*/
public
Object
clone
()
{
HmacMD5
that
=
null
;
try
{
that
=
(
HmacMD5
)
super
.
clone
();
that
.
hmac
=
(
HmacCore
)
this
.
hmac
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
}
return
that
;
}
}
}
}
src/share/classes/com/sun/crypto/provider/HmacPKCS12PBESHA1.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 2003, 20
09
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 20
12
, 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
...
@@ -41,26 +41,13 @@ import java.security.spec.*;
...
@@ -41,26 +41,13 @@ import java.security.spec.*;
*
*
* @author Valerie Peng
* @author Valerie Peng
*/
*/
public
final
class
HmacPKCS12PBESHA1
extends
MacSpi
implements
Cloneable
{
public
final
class
HmacPKCS12PBESHA1
extends
HmacCore
{
private
HmacCore
hmac
=
null
;
private
static
final
int
SHA1_BLOCK_LENGTH
=
64
;
/**
/**
* Standard constructor, creates a new HmacSHA1 instance.
* Standard constructor, creates a new HmacSHA1 instance.
*/
*/
public
HmacPKCS12PBESHA1
()
throws
NoSuchAlgorithmException
{
public
HmacPKCS12PBESHA1
()
throws
NoSuchAlgorithmException
{
this
.
hmac
=
new
HmacCore
(
MessageDigest
.
getInstance
(
"SHA1"
),
super
(
"SHA1"
,
64
);
SHA1_BLOCK_LENGTH
);
}
/**
* Returns the length of the HMAC in bytes.
*
* @return the HMAC length in bytes.
*/
protected
int
engineGetMacLength
()
{
return
hmac
.
getDigestLength
();
}
}
/**
/**
...
@@ -71,7 +58,7 @@ public final class HmacPKCS12PBESHA1 extends MacSpi implements Cloneable {
...
@@ -71,7 +58,7 @@ public final class HmacPKCS12PBESHA1 extends MacSpi implements Cloneable {
*
*
* @exception InvalidKeyException if the given key is inappropriate for
* @exception InvalidKeyException if the given key is inappropriate for
* initializing this MAC.
* initializing this MAC.
u
* @exception InvalidAlgorithmParameterException if the given algorithm
* @exception InvalidAlgorithmParameterException if the given algorithm
* parameters are inappropriate for this MAC.
* parameters are inappropriate for this MAC.
*/
*/
protected
void
engineInit
(
Key
key
,
AlgorithmParameterSpec
params
)
protected
void
engineInit
(
Key
key
,
AlgorithmParameterSpec
params
)
...
@@ -140,64 +127,8 @@ public final class HmacPKCS12PBESHA1 extends MacSpi implements Cloneable {
...
@@ -140,64 +127,8 @@ public final class HmacPKCS12PBESHA1 extends MacSpi implements Cloneable {
(
"IterationCount must be a positive number"
);
(
"IterationCount must be a positive number"
);
}
}
byte
[]
derivedKey
=
PKCS12PBECipherCore
.
derive
(
passwdChars
,
salt
,
byte
[]
derivedKey
=
PKCS12PBECipherCore
.
derive
(
passwdChars
,
salt
,
iCount
,
hmac
.
getDigest
Length
(),
PKCS12PBECipherCore
.
MAC_KEY
);
iCount
,
engineGetMac
Length
(),
PKCS12PBECipherCore
.
MAC_KEY
);
SecretKey
cipherKey
=
new
SecretKeySpec
(
derivedKey
,
"HmacSHA1"
);
SecretKey
cipherKey
=
new
SecretKeySpec
(
derivedKey
,
"HmacSHA1"
);
hmac
.
init
(
cipherKey
,
null
);
super
.
engineInit
(
cipherKey
,
null
);
}
/**
* Processes the given byte.
*
* @param input the input byte to be processed.
*/
protected
void
engineUpdate
(
byte
input
)
{
hmac
.
update
(
input
);
}
/**
* Processes the first <code>len</code> bytes in <code>input</code>,
* starting at <code>offset</code>.
*
* @param input the input buffer.
* @param offset the offset in <code>input</code> where the input starts.
* @param len the number of bytes to process.
*/
protected
void
engineUpdate
(
byte
input
[],
int
offset
,
int
len
)
{
hmac
.
update
(
input
,
offset
,
len
);
}
protected
void
engineUpdate
(
ByteBuffer
input
)
{
hmac
.
update
(
input
);
}
/**
* Completes the HMAC computation and resets the HMAC for further use,
* maintaining the secret key that the HMAC was initialized with.
*
* @return the HMAC result.
*/
protected
byte
[]
engineDoFinal
()
{
return
hmac
.
doFinal
();
}
/**
* Resets the HMAC for further use, maintaining the secret key that the
* HMAC was initialized with.
*/
protected
void
engineReset
()
{
hmac
.
reset
();
}
/*
* Clones this object.
*/
public
Object
clone
()
{
HmacPKCS12PBESHA1
that
=
null
;
try
{
that
=
(
HmacPKCS12PBESHA1
)
super
.
clone
();
that
.
hmac
=
(
HmacCore
)
this
.
hmac
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
}
return
that
;
}
}
}
}
src/share/classes/com/sun/crypto/provider/HmacSHA1.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 1998, 20
09
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 20
12
, 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
...
@@ -37,97 +37,11 @@ import java.security.spec.*;
...
@@ -37,97 +37,11 @@ import java.security.spec.*;
*
*
* @author Jan Luehe
* @author Jan Luehe
*/
*/
public
final
class
HmacSHA1
extends
MacSpi
implements
Cloneable
{
public
final
class
HmacSHA1
extends
HmacCore
{
private
HmacCore
hmac
=
null
;
private
static
final
int
SHA1_BLOCK_LENGTH
=
64
;
/**
/**
* Standard constructor, creates a new HmacSHA1 instance.
* Standard constructor, creates a new HmacSHA1 instance.
*/
*/
public
HmacSHA1
()
throws
NoSuchAlgorithmException
{
public
HmacSHA1
()
throws
NoSuchAlgorithmException
{
this
.
hmac
=
new
HmacCore
(
MessageDigest
.
getInstance
(
"SHA1"
),
super
(
"SHA1"
,
64
);
SHA1_BLOCK_LENGTH
);
}
/**
* Returns the length of the HMAC in bytes.
*
* @return the HMAC length in bytes.
*/
protected
int
engineGetMacLength
()
{
return
hmac
.
getDigestLength
();
}
/**
* Initializes the HMAC with the given secret key and algorithm parameters.
*
* @param key the secret key.
* @param params the algorithm parameters.
*
* @exception InvalidKeyException if the given key is inappropriate for
* initializing this MAC.
* @exception InvalidAlgorithmParameterException if the given algorithm
* parameters are inappropriate for this MAC.
*/
protected
void
engineInit
(
Key
key
,
AlgorithmParameterSpec
params
)
throws
InvalidKeyException
,
InvalidAlgorithmParameterException
{
hmac
.
init
(
key
,
params
);
}
/**
* Processes the given byte.
*
* @param input the input byte to be processed.
*/
protected
void
engineUpdate
(
byte
input
)
{
hmac
.
update
(
input
);
}
/**
* Processes the first <code>len</code> bytes in <code>input</code>,
* starting at <code>offset</code>.
*
* @param input the input buffer.
* @param offset the offset in <code>input</code> where the input starts.
* @param len the number of bytes to process.
*/
protected
void
engineUpdate
(
byte
input
[],
int
offset
,
int
len
)
{
hmac
.
update
(
input
,
offset
,
len
);
}
protected
void
engineUpdate
(
ByteBuffer
input
)
{
hmac
.
update
(
input
);
}
/**
* Completes the HMAC computation and resets the HMAC for further use,
* maintaining the secret key that the HMAC was initialized with.
*
* @return the HMAC result.
*/
protected
byte
[]
engineDoFinal
()
{
return
hmac
.
doFinal
();
}
/**
* Resets the HMAC for further use, maintaining the secret key that the
* HMAC was initialized with.
*/
protected
void
engineReset
()
{
hmac
.
reset
();
}
/*
* Clones this object.
*/
public
Object
clone
()
{
HmacSHA1
that
=
null
;
try
{
that
=
(
HmacSHA1
)
super
.
clone
();
that
.
hmac
=
(
HmacCore
)
this
.
hmac
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
}
return
that
;
}
}
}
}
src/share/classes/com/sun/crypto/provider/KeyGeneratorCore.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 2003, 20
09
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 20
12
, 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
...
@@ -105,11 +105,11 @@ final class KeyGeneratorCore {
...
@@ -105,11 +105,11 @@ final class KeyGeneratorCore {
return
new
SecretKeySpec
(
b
,
name
);
return
new
SecretKeySpec
(
b
,
name
);
}
}
// nested static class
for the HmacSHA256
key generator
// nested static class
es for the HmacSHA-2 family of
key generator
public
static
final
class
HmacSHA256
KG
extends
KeyGeneratorSpi
{
abstract
static
class
HmacSHA2
KG
extends
KeyGeneratorSpi
{
private
final
KeyGeneratorCore
core
;
private
final
KeyGeneratorCore
core
;
p
ublic
HmacSHA256KG
(
)
{
p
rotected
HmacSHA2KG
(
String
algoName
,
int
len
)
{
core
=
new
KeyGeneratorCore
(
"HmacSHA256"
,
256
);
core
=
new
KeyGeneratorCore
(
algoName
,
len
);
}
}
protected
void
engineInit
(
SecureRandom
random
)
{
protected
void
engineInit
(
SecureRandom
random
)
{
core
.
implInit
(
random
);
core
.
implInit
(
random
);
...
@@ -124,47 +124,26 @@ final class KeyGeneratorCore {
...
@@ -124,47 +124,26 @@ final class KeyGeneratorCore {
protected
SecretKey
engineGenerateKey
()
{
protected
SecretKey
engineGenerateKey
()
{
return
core
.
implGenerateKey
();
return
core
.
implGenerateKey
();
}
}
}
// nested static class for the HmacSHA384 key generator
public
static
final
class
SHA224
extends
HmacSHA2KG
{
public
static
final
class
HmacSHA384KG
extends
KeyGeneratorSpi
{
public
SHA224
()
{
private
final
KeyGeneratorCore
core
;
super
(
"HmacSHA224"
,
224
);
public
HmacSHA384KG
()
{
}
core
=
new
KeyGeneratorCore
(
"HmacSHA384"
,
384
);
}
protected
void
engineInit
(
SecureRandom
random
)
{
core
.
implInit
(
random
);
}
protected
void
engineInit
(
AlgorithmParameterSpec
params
,
SecureRandom
random
)
throws
InvalidAlgorithmParameterException
{
core
.
implInit
(
params
,
random
);
}
protected
void
engineInit
(
int
keySize
,
SecureRandom
random
)
{
core
.
implInit
(
keySize
,
random
);
}
protected
SecretKey
engineGenerateKey
()
{
return
core
.
implGenerateKey
();
}
}
// nested static class for the HmacSHA384 key generator
public
static
final
class
HmacSHA512KG
extends
KeyGeneratorSpi
{
private
final
KeyGeneratorCore
core
;
public
HmacSHA512KG
()
{
core
=
new
KeyGeneratorCore
(
"HmacSHA512"
,
512
);
}
protected
void
engineInit
(
SecureRandom
random
)
{
core
.
implInit
(
random
);
}
}
protected
void
engineInit
(
AlgorithmParameterSpec
params
,
public
static
final
class
SHA256
extends
HmacSHA2KG
{
SecureRandom
random
)
throws
InvalidAlgorithmParameterException
{
public
SHA256
()
{
core
.
implInit
(
params
,
random
);
super
(
"HmacSHA256"
,
256
);
}
}
}
protected
void
engineInit
(
int
keySize
,
SecureRandom
random
)
{
public
static
final
class
SHA384
extends
HmacSHA2KG
{
core
.
implInit
(
keySize
,
random
);
public
SHA384
()
{
super
(
"HmacSHA384"
,
384
);
}
}
}
protected
SecretKey
engineGenerateKey
()
{
public
static
final
class
SHA512
extends
HmacSHA2KG
{
return
core
.
implGenerateKey
();
public
SHA512
()
{
super
(
"HmacSHA512"
,
512
);
}
}
}
}
}
...
...
src/share/classes/com/sun/crypto/provider/OAEPParameters.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 2003, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 201
2
, 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
...
@@ -108,6 +108,8 @@ public final class OAEPParameters extends AlgorithmParametersSpi {
...
@@ -108,6 +108,8 @@ public final class OAEPParameters extends AlgorithmParametersSpi {
private
static
String
convertToStandardName
(
String
internalName
)
{
private
static
String
convertToStandardName
(
String
internalName
)
{
if
(
internalName
.
equals
(
"SHA"
))
{
if
(
internalName
.
equals
(
"SHA"
))
{
return
"SHA-1"
;
return
"SHA-1"
;
}
else
if
(
internalName
.
equals
(
"SHA224"
))
{
return
"SHA-224"
;
}
else
if
(
internalName
.
equals
(
"SHA256"
))
{
}
else
if
(
internalName
.
equals
(
"SHA256"
))
{
return
"SHA-256"
;
return
"SHA-256"
;
}
else
if
(
internalName
.
equals
(
"SHA384"
))
{
}
else
if
(
internalName
.
equals
(
"SHA384"
))
{
...
@@ -143,6 +145,8 @@ public final class OAEPParameters extends AlgorithmParametersSpi {
...
@@ -143,6 +145,8 @@ public final class OAEPParameters extends AlgorithmParametersSpi {
String
mgfDigestName
=
convertToStandardName
(
params
.
getName
());
String
mgfDigestName
=
convertToStandardName
(
params
.
getName
());
if
(
mgfDigestName
.
equals
(
"SHA-1"
))
{
if
(
mgfDigestName
.
equals
(
"SHA-1"
))
{
mgfSpec
=
MGF1ParameterSpec
.
SHA1
;
mgfSpec
=
MGF1ParameterSpec
.
SHA1
;
}
else
if
(
mgfDigestName
.
equals
(
"SHA-224"
))
{
mgfSpec
=
MGF1ParameterSpec
.
SHA224
;
}
else
if
(
mgfDigestName
.
equals
(
"SHA-256"
))
{
}
else
if
(
mgfDigestName
.
equals
(
"SHA-256"
))
{
mgfSpec
=
MGF1ParameterSpec
.
SHA256
;
mgfSpec
=
MGF1ParameterSpec
.
SHA256
;
}
else
if
(
mgfDigestName
.
equals
(
"SHA-384"
))
{
}
else
if
(
mgfDigestName
.
equals
(
"SHA-384"
))
{
...
...
src/share/classes/com/sun/crypto/provider/SunJCE.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 1997, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
2
, 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
...
@@ -65,7 +65,7 @@ import java.security.SecureRandom;
...
@@ -65,7 +65,7 @@ import java.security.SecureRandom;
*
*
* - Diffie-Hellman Key Agreement
* - Diffie-Hellman Key Agreement
*
*
* - HMAC-MD5, HMAC-SHA1, HMAC-SHA-256, HMAC-SHA-384, HMAC-SHA-512
* - HMAC-MD5, HMAC-SHA1, HMAC-SHA-2
24, HMAC-SHA-2
56, HMAC-SHA-384, HMAC-SHA-512
*
*
*/
*/
...
@@ -113,6 +113,7 @@ public final class SunJCE extends Provider {
...
@@ -113,6 +113,7 @@ public final class SunJCE extends Provider {
"NOPADDING|PKCS1PADDING|OAEPWITHMD5ANDMGF1PADDING"
"NOPADDING|PKCS1PADDING|OAEPWITHMD5ANDMGF1PADDING"
+
"|OAEPWITHSHA1ANDMGF1PADDING"
+
"|OAEPWITHSHA1ANDMGF1PADDING"
+
"|OAEPWITHSHA-1ANDMGF1PADDING"
+
"|OAEPWITHSHA-1ANDMGF1PADDING"
+
"|OAEPWITHSHA-224ANDMGF1PADDING"
+
"|OAEPWITHSHA-256ANDMGF1PADDING"
+
"|OAEPWITHSHA-256ANDMGF1PADDING"
+
"|OAEPWITHSHA-384ANDMGF1PADDING"
+
"|OAEPWITHSHA-384ANDMGF1PADDING"
+
"|OAEPWITHSHA-512ANDMGF1PADDING"
);
+
"|OAEPWITHSHA-512ANDMGF1PADDING"
);
...
@@ -221,12 +222,25 @@ public final class SunJCE extends Provider {
...
@@ -221,12 +222,25 @@ public final class SunJCE extends Provider {
put
(
"KeyGenerator.HmacSHA1"
,
put
(
"KeyGenerator.HmacSHA1"
,
"com.sun.crypto.provider.HmacSHA1KeyGenerator"
);
"com.sun.crypto.provider.HmacSHA1KeyGenerator"
);
put
(
"KeyGenerator.HmacSHA224"
,
"com.sun.crypto.provider.KeyGeneratorCore$HmacSHA2KG$SHA224"
);
put
(
"Alg.Alias.KeyGenerator.OID.1.2.840.113549.2.8"
,
"HmacSHA224"
);
put
(
"Alg.Alias.KeyGenerator.1.2.840.113549.2.8"
,
"HmacSHA224"
);
put
(
"KeyGenerator.HmacSHA256"
,
put
(
"KeyGenerator.HmacSHA256"
,
"com.sun.crypto.provider.KeyGeneratorCore$HmacSHA256KG"
);
"com.sun.crypto.provider.KeyGeneratorCore$HmacSHA2KG$SHA256"
);
put
(
"Alg.Alias.KeyGenerator.OID.1.2.840.113549.2.9"
,
"HmacSHA256"
);
put
(
"Alg.Alias.KeyGenerator.1.2.840.113549.2.9"
,
"HmacSHA256"
);
put
(
"KeyGenerator.HmacSHA384"
,
put
(
"KeyGenerator.HmacSHA384"
,
"com.sun.crypto.provider.KeyGeneratorCore$HmacSHA384KG"
);
"com.sun.crypto.provider.KeyGeneratorCore$HmacSHA2KG$SHA384"
);
put
(
"Alg.Alias.KeyGenerator.OID.1.2.840.113549.2.10"
,
"HmacSHA384"
);
put
(
"Alg.Alias.KeyGenerator.1.2.840.113549.2.10"
,
"HmacSHA384"
);
put
(
"KeyGenerator.HmacSHA512"
,
put
(
"KeyGenerator.HmacSHA512"
,
"com.sun.crypto.provider.KeyGeneratorCore$HmacSHA512KG"
);
"com.sun.crypto.provider.KeyGeneratorCore$HmacSHA2KG$SHA512"
);
put
(
"Alg.Alias.KeyGenerator.OID.1.2.840.113549.2.11"
,
"HmacSHA512"
);
put
(
"Alg.Alias.KeyGenerator.1.2.840.113549.2.11"
,
"HmacSHA512"
);
put
(
"KeyPairGenerator.DiffieHellman"
,
put
(
"KeyPairGenerator.DiffieHellman"
,
"com.sun.crypto.provider.DHKeyPairGenerator"
);
"com.sun.crypto.provider.DHKeyPairGenerator"
);
...
@@ -389,12 +403,23 @@ public final class SunJCE extends Provider {
...
@@ -389,12 +403,23 @@ public final class SunJCE extends Provider {
*/
*/
put
(
"Mac.HmacMD5"
,
"com.sun.crypto.provider.HmacMD5"
);
put
(
"Mac.HmacMD5"
,
"com.sun.crypto.provider.HmacMD5"
);
put
(
"Mac.HmacSHA1"
,
"com.sun.crypto.provider.HmacSHA1"
);
put
(
"Mac.HmacSHA1"
,
"com.sun.crypto.provider.HmacSHA1"
);
put
(
"Mac.HmacSHA224"
,
"com.sun.crypto.provider.HmacCore$HmacSHA224"
);
put
(
"Alg.Alias.Mac.OID.1.2.840.113549.2.8"
,
"HmacSHA224"
);
put
(
"Alg.Alias.Mac.1.2.840.113549.2.8"
,
"HmacSHA224"
);
put
(
"Mac.HmacSHA256"
,
put
(
"Mac.HmacSHA256"
,
"com.sun.crypto.provider.HmacCore$HmacSHA256"
);
"com.sun.crypto.provider.HmacCore$HmacSHA256"
);
put
(
"Alg.Alias.Mac.OID.1.2.840.113549.2.9"
,
"HmacSHA256"
);
put
(
"Alg.Alias.Mac.1.2.840.113549.2.9"
,
"HmacSHA256"
);
put
(
"Mac.HmacSHA384"
,
put
(
"Mac.HmacSHA384"
,
"com.sun.crypto.provider.HmacCore$HmacSHA384"
);
"com.sun.crypto.provider.HmacCore$HmacSHA384"
);
put
(
"Alg.Alias.Mac.OID.1.2.840.113549.2.10"
,
"HmacSHA384"
);
put
(
"Alg.Alias.Mac.1.2.840.113549.2.10"
,
"HmacSHA384"
);
put
(
"Mac.HmacSHA512"
,
put
(
"Mac.HmacSHA512"
,
"com.sun.crypto.provider.HmacCore$HmacSHA512"
);
"com.sun.crypto.provider.HmacCore$HmacSHA512"
);
put
(
"Alg.Alias.Mac.OID.1.2.840.113549.2.11"
,
"HmacSHA512"
);
put
(
"Alg.Alias.Mac.1.2.840.113549.2.11"
,
"HmacSHA512"
);
put
(
"Mac.HmacPBESHA1"
,
put
(
"Mac.HmacPBESHA1"
,
"com.sun.crypto.provider.HmacPKCS12PBESHA1"
);
"com.sun.crypto.provider.HmacPKCS12PBESHA1"
);
...
@@ -405,6 +430,7 @@ public final class SunJCE extends Provider {
...
@@ -405,6 +430,7 @@ public final class SunJCE extends Provider {
put
(
"Mac.HmacMD5 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacMD5 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA1 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA1 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA224 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA256 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA256 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA384 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA384 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA512 SupportedKeyFormats"
,
"RAW"
);
put
(
"Mac.HmacSHA512 SupportedKeyFormats"
,
"RAW"
);
...
...
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
Cancel
FileChooser.cancelButton.textAndMnemonic
=
Cancel
FileChooser.saveButtonText
=
Save
FileChooser.saveButton.textAndMnemonic
=
Save
FileChooser.openButtonText
=
OK
FileChooser.openButton.textAndMnemonic
=
OK
FileChooser.saveDialogTitleText
=
Save
FileChooser.saveDialogTitle.textAndMnemonic
=
Save
FileChooser.openDialogTitleText
=
Open
FileChooser.openDialogTitle.textAndMnemonic
=
Open
FileChooser.updateButtonText
=
Update
FileChooser.updateButton.textAndMnemonic
=
Update
FileChooser.helpButtonText
=
Help
FileChooser.helpButton.textAndMnemonic
=
Help
FileChooser.pathLabelText
=
Enter path or folder name:
FileChooser.pathLabel.textAndMnemonic
=
Enter &path or folder name:
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
Filte&r
FileChooser.filterLabelText
=
Filter
FileChooser.foldersLabel.textAndMnemonic
=
Fo&lders
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
F&iles
FileChooser.foldersLabelText
=
Folders
FileChooser.enterFileNameLabel.textAndMnemonic
=
E&nter file name:
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
Enter folder name:
FileChooser.filesLabelText
=
Files
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
Enter file name:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
Enter folder name:
FileChooser.cancelButtonToolTip
Text
=
Abort file chooser dialog.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
Abort file chooser dialog.
FileChooser.saveButtonToolTip
Text
=
Save selected file.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
Save selected file.
FileChooser.openButtonToolTip
Text
=
Open selected file.
FileChooser.openButtonToolTip
.textAndMnemonic
=
Open selected file.
FileChooser.updateButtonToolTip
Text
=
Update directory listing.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
Update directory listing.
FileChooser.helpButtonToolTip
Text
=
FileChooser help.
FileChooser.helpButtonToolTip
.textAndMnemonic
=
FileChooser help.
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_de.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
Abbrechen
FileChooser.cancelButton.textAndMnemonic
=
Abbrechen
FileChooser.saveButtonText
=
Speichern
FileChooser.saveButton.textAndMnemonic
=
Speichern
FileChooser.openButtonText
=
OK
FileChooser.openButton.textAndMnemonic
=
OK
FileChooser.saveDialogTitleText
=
Speichern
FileChooser.saveDialogTitle.textAndMnemonic
=
Speichern
FileChooser.openDialogTitleText
=
\u
00D6ffnen
FileChooser.openDialogTitle.textAndMnemonic
=
\u
00D6ffnen
FileChooser.updateButtonText
=
Aktualisieren
FileChooser.updateButton.textAndMnemonic
=
Aktualisieren
FileChooser.helpButtonText
=
Hilfe
FileChooser.helpButton.textAndMnemonic
=
Hilfe
FileChooser.pathLabelText
=
Pfad- oder Ordnernamen eingeben:
FileChooser.pathLabel.textAndMnemonic
=
&Pfad- oder Ordnernamen eingeben:
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
Filte&r
FileChooser.filterLabelText
=
Filter
FileChooser.foldersLabel.textAndMnemonic
=
Ordner(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
Date&ien
FileChooser.foldersLabelText
=
Ordner
FileChooser.enterFileNameLabel.textAndMnemonic
=
Datei&namen eingeben:
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
Ordnernamen eingeben:
FileChooser.filesLabelText
=
Dateien
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
Dateinamen eingeben:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
Ordnernamen eingeben:
FileChooser.cancelButtonToolTip
Text
=
Dialogfeld f
\u
00FCr Dateiauswahl schlie
\u
00DFen.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
Dialogfeld f
\u
00FCr Dateiauswahl schlie
\u
00DFen.
FileChooser.saveButtonToolTip
Text
=
Ausgew
\u
00E4hlte Datei speichern.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
Ausgew
\u
00E4hlte Datei speichern.
FileChooser.openButtonToolTip
Text
=
Ausgew
\u
00E4hlte Datei
\u
00F6ffnen.
FileChooser.openButtonToolTip
.textAndMnemonic
=
Ausgew
\u
00E4hlte Datei
\u
00F6ffnen.
FileChooser.updateButtonToolTip
Text
=
Verzeichnisliste aktualisieren.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
Verzeichnisliste aktualisieren.
FileChooser.helpButtonToolTip
Text
=
FileChooser-Hilfe.
FileChooser.helpButtonToolTip
.textAndMnemonic
=
FileChooser-Hilfe.
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_es.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
Cancelar
FileChooser.cancelButton.textAndMnemonic
=
Cancelar
FileChooser.saveButtonText
=
Guardar
FileChooser.saveButton.textAndMnemonic
=
Guardar
FileChooser.openButtonText
=
Aceptar
FileChooser.openButton.textAndMnemonic
=
Aceptar
FileChooser.saveDialogTitleText
=
Guardar
FileChooser.saveDialogTitle.textAndMnemonic
=
Guardar
FileChooser.openDialogTitleText
=
Abrir
FileChooser.openDialogTitle.textAndMnemonic
=
Abrir
FileChooser.updateButtonText
=
Actualizar
FileChooser.updateButton.textAndMnemonic
=
Actualizar
FileChooser.helpButtonText
=
Ayuda
FileChooser.helpButton.textAndMnemonic
=
Ayuda
FileChooser.pathLabelText
=
Introducir nombre de la ruta de acceso o carpeta:
FileChooser.pathLabel.textAndMnemonic
=
Introducir nombre de la ruta de acceso o car&peta:
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
Filt&ro
FileChooser.filterLabelText
=
Filtro
FileChooser.foldersLabel.textAndMnemonic
=
Carpetas(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
Arch&ivos
FileChooser.foldersLabelText
=
Carpetas
FileChooser.enterFileNameLabel.textAndMnemonic
=
I&ntroducir nombre de archivo:
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
Introducir nombre de carpeta:
FileChooser.filesLabelText
=
Archivos
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
Introducir nombre de archivo:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
Introducir nombre de carpeta:
FileChooser.cancelButtonToolTip
Text
=
Abortar cuadro de di
\u
00E1logo del selector de archivos.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
Abortar cuadro de di
\u
00E1logo del selector de archivos.
FileChooser.saveButtonToolTip
Text
=
Guardar archivo seleccionado.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
Guardar archivo seleccionado.
FileChooser.openButtonToolTip
Text
=
Abrir archivo seleccionado.
FileChooser.openButtonToolTip
.textAndMnemonic
=
Abrir archivo seleccionado.
FileChooser.updateButtonToolTip
Text
=
Actualizar lista de directorios.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
Actualizar lista de directorios.
FileChooser.helpButtonToolTip
Text
=
Ayuda del selector de archivos.
FileChooser.helpButtonToolTip
.textAndMnemonic
=
Ayuda del selector de archivos.
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_fr.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
Annuler
FileChooser.cancelButton.textAndMnemonic
=
Annuler
FileChooser.saveButtonText
=
Enregistrer
FileChooser.saveButton.textAndMnemonic
=
Enregistrer
FileChooser.openButtonText
=
OK
FileChooser.openButton.textAndMnemonic
=
OK
FileChooser.saveDialogTitleText
=
Enregistrer
FileChooser.saveDialogTitle.textAndMnemonic
=
Enregistrer
FileChooser.openDialogTitleText
=
Ouvrir
FileChooser.openDialogTitle.textAndMnemonic
=
Ouvrir
FileChooser.updateButtonText
=
Mettre
\u
00E0 jour
FileChooser.updateButton.textAndMnemonic
=
Mettre
\u
00E0 jour
FileChooser.helpButtonText
=
Aide
FileChooser.helpButton.textAndMnemonic
=
Aide
FileChooser.pathLabelText
=
Entrez le chemin ou le nom du dossier :
FileChooser.pathLabel.textAndMnemonic
=
Entrez le chemin ou le nom du dossier (&P):
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
Filt&re
FileChooser.filterLabelText
=
Filtre
FileChooser.foldersLabel.textAndMnemonic
=
Dossiers(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
F&ichiers
FileChooser.foldersLabelText
=
Dossiers
FileChooser.enterFileNameLabel.textAndMnemonic
=
E&ntrez le nom du fichier :
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
Entrez le nom du dossier :
FileChooser.filesLabelText
=
Fichiers
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
Entrez le nom du fichier :
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
Entrez le nom du dossier :
FileChooser.cancelButtonToolTip
Text
=
Ferme la bo
\u
00EEte de dialogue du s
\u
00E9lecteur de fichiers.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
Ferme la bo
\u
00EEte de dialogue du s
\u
00E9lecteur de fichiers.
FileChooser.saveButtonToolTip
Text
=
Enregistre le fichier s
\u
00E9lectionn
\u
00E9.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
Enregistre le fichier s
\u
00E9lectionn
\u
00E9.
FileChooser.openButtonToolTip
Text
=
Ouvre le fichier s
\u
00E9lectionn
\u
00E9.
FileChooser.openButtonToolTip
.textAndMnemonic
=
Ouvre le fichier s
\u
00E9lectionn
\u
00E9.
FileChooser.updateButtonToolTip
Text
=
Met
\u
00E0 jour la liste des r
\u
00E9pertoires.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
Met
\u
00E0 jour la liste des r
\u
00E9pertoires.
FileChooser.helpButtonToolTip
Text
=
Aide du s
\u
00E9lecteur de fichiers
FileChooser.helpButtonToolTip
.textAndMnemonic
=
Aide du s
\u
00E9lecteur de fichiers
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_it.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
Annulla
FileChooser.cancelButton.textAndMnemonic
=
Annulla
FileChooser.saveButtonText
=
Salva
FileChooser.saveButton.textAndMnemonic
=
Salva
FileChooser.openButtonText
=
OK
FileChooser.openButton.textAndMnemonic
=
OK
FileChooser.saveDialogTitleText
=
Salva
FileChooser.saveDialogTitle.textAndMnemonic
=
Salva
FileChooser.openDialogTitleText
=
Apri
FileChooser.openDialogTitle.textAndMnemonic
=
Apri
FileChooser.updateButtonText
=
Aggiorna
FileChooser.updateButton.textAndMnemonic
=
Aggiorna
FileChooser.helpButtonText
=
?
FileChooser.helpButton.textAndMnemonic
=
?
FileChooser.pathLabelText
=
Percorso o nome cartella:
FileChooser.pathLabel.textAndMnemonic
=
&Percorso o nome cartella:
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
Filt&ro
FileChooser.filterLabelText
=
Filtro
FileChooser.foldersLabel.textAndMnemonic
=
Carte&lle
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
F&ile
FileChooser.foldersLabelText
=
Cartelle
FileChooser.enterFileNameLabel.textAndMnemonic
=
&Nome file:
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
Nome cartella:
FileChooser.filesLabelText
=
File
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
Nome file:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
Nome cartella:
FileChooser.cancelButtonToolTip
Text
=
Chiude la finestra di dialogo di selezione file.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
Chiude la finestra di dialogo di selezione file.
FileChooser.saveButtonToolTip
Text
=
Salva il file selezionato.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
Salva il file selezionato.
FileChooser.openButtonToolTip
Text
=
Apre il file selezionato.
FileChooser.openButtonToolTip
.textAndMnemonic
=
Apre il file selezionato.
FileChooser.updateButtonToolTip
Text
=
Aggiorna lista directory.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
Aggiorna lista directory.
FileChooser.helpButtonToolTip
Text
=
Guida FileChooser.
FileChooser.helpButtonToolTip
.textAndMnemonic
=
Guida FileChooser.
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ja.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
\u
53D6
\u
6D88
FileChooser.cancelButton.textAndMnemonic
=
\u
53D6
\u
6D88
FileChooser.saveButtonText
=
\u
4FDD
\u
5B58
FileChooser.saveButton.textAndMnemonic
=
\u
4FDD
\u
5B58
FileChooser.openButtonText
=
OK
FileChooser.openButton.textAndMnemonic
=
OK
FileChooser.saveDialogTitleText
=
\u
4FDD
\u
5B58
FileChooser.saveDialogTitle.textAndMnemonic
=
\u
4FDD
\u
5B58
FileChooser.openDialogTitleText
=
\u
958B
\u
304F
FileChooser.openDialogTitle.textAndMnemonic
=
\u
958B
\u
304F
FileChooser.updateButtonText
=
\u
66F4
\u
65B0
FileChooser.updateButton.textAndMnemonic
=
\u
66F4
\u
65B0
FileChooser.helpButtonText
=
\u
30D8
\u
30EB
\u
30D7
FileChooser.helpButton.textAndMnemonic
=
\u
30D8
\u
30EB
\u
30D7
FileChooser.pathLabelText
=
\u
30D1
\u
30B9
\u
307E
\u
305F
\u
306F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
540D
\u3092\u5165\u
529B:
FileChooser.pathLabel.textAndMnemonic
=
\u
30D1
\u
30B9
\u
307E
\u
305F
\u
306F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
540D
\u3092\u5165\u
529B(&P):
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
\u
30D5
\u
30A3
\u
30EB
\u
30BF(&R)
FileChooser.filterLabelText
=
\u
30D5
\u
30A3
\u
30EB
\u
30BF
FileChooser.foldersLabel.textAndMnemonic
=
\u
30D5
\u
30A9
\u
30EB
\u
30C0(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB(&I)
FileChooser.foldersLabelText
=
\u
30D5
\u
30A9
\u
30EB
\u
30C0
FileChooser.enterFileNameLabel.textAndMnemonic
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
540D
\u3092\u5165\u
529B(&N):
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
540D
\u3092\u5165\u
529B:
FileChooser.filesLabelText
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
540D
\u3092\u5165\u
529B:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
540D
\u3092\u5165\u
529B:
FileChooser.cancelButtonToolTip
Text
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
30FB
\u
30C1
\u
30E5
\u
30FC
\u
30B6
\u
30FB
\u
30C0
\u
30A4
\u
30A2
\u
30ED
\u
30B0
\u3092\u
7D42
\u
4E86
\u3057\u
307E
\u3059\u3002
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
30FB
\u
30C1
\u
30E5
\u
30FC
\u
30B6
\u
30FB
\u
30C0
\u
30A4
\u
30A2
\u
30ED
\u
30B0
\u3092\u
7D42
\u
4E86
\u3057\u
307E
\u3059\u3002
FileChooser.saveButtonToolTip
Text
=
\u9078\u
629E
\u3057\u
305F
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u3092\u
4FDD
\u
5B58
\u3057\u
307E
\u3059\u3002
FileChooser.saveButtonToolTip
.textAndMnemonic
=
\u9078\u
629E
\u3057\u
305F
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u3092\u
4FDD
\u
5B58
\u3057\u
307E
\u3059\u3002
FileChooser.openButtonToolTip
Text
=
\u9078\u
629E
\u3057\u
305F
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u3092\u
958B
\u
304D
\u
307E
\u3059\u3002
FileChooser.openButtonToolTip
.textAndMnemonic
=
\u9078\u
629E
\u3057\u
305F
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u3092\u
958B
\u
304D
\u
307E
\u3059\u3002
FileChooser.updateButtonToolTip
Text
=
\u
30C7
\u
30A3
\u
30EC
\u
30AF
\u
30C8
\u
30EA
\u
306E
\u
30EA
\u
30B9
\u
30C8
\u3092\u
66F4
\u
65B0
\u3057\u
307E
\u3059\u3002
FileChooser.updateButtonToolTip
.textAndMnemonic
=
\u
30C7
\u
30A3
\u
30EC
\u
30AF
\u
30C8
\u
30EA
\u
306E
\u
30EA
\u
30B9
\u
30C8
\u3092\u
66F4
\u
65B0
\u3057\u
307E
\u3059\u3002
FileChooser.helpButtonToolTip
Text
=
FileChooser
\u
306E
\u
30D8
\u
30EB
\u
30D7
\u3067\u3059\u3002
FileChooser.helpButtonToolTip
.textAndMnemonic
=
FileChooser
\u
306E
\u
30D8
\u
30EB
\u
30D7
\u3067\u3059\u3002
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
\u
CDE8
\u
C18C
FileChooser.cancelButton.textAndMnemonic
=
\u
CDE8
\u
C18C
FileChooser.saveButtonText
=
\u
C800
\u
C7A5
FileChooser.saveButton.textAndMnemonic
=
\u
C800
\u
C7A5
FileChooser.openButtonText
=
\u
D655
\u
C778
FileChooser.openButton.textAndMnemonic
=
\u
D655
\u
C778
FileChooser.saveDialogTitleText
=
\u
C800
\u
C7A5
FileChooser.saveDialogTitle.textAndMnemonic
=
\u
C800
\u
C7A5
FileChooser.openDialogTitleText
=
\u
C5F4
\u
AE30
FileChooser.openDialogTitle.textAndMnemonic
=
\u
C5F4
\u
AE30
FileChooser.updateButtonText
=
\u
AC31
\u
C2E0
FileChooser.updateButton.textAndMnemonic
=
\u
AC31
\u
C2E0
FileChooser.helpButtonText
=
\u
B3C4
\u
C6C0
\u
B9D0
FileChooser.helpButton.textAndMnemonic
=
\u
B3C4
\u
C6C0
\u
B9D0
FileChooser.pathLabelText
=
\u
ACBD
\u
B85C
\u
B610
\u
B294
\u
D3F4
\u
B354
\u
C774
\u
B984
\u
C785
\u
B825:
FileChooser.pathLabel.textAndMnemonic
=
\u
ACBD
\u
B85C
\u
B610
\u
B294
\u
D3F4
\u
B354
\u
C774
\u
B984
\u
C785
\u
B825(&P):
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
\u
D544
\u
D130(&R)
FileChooser.filterLabelText
=
\u
D544
\u
D130
FileChooser.foldersLabel.textAndMnemonic
=
\u
D3F4
\u
B354(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
\u
D30C
\u
C77C(&I)
FileChooser.foldersLabelText
=
\u
D3F4
\u
B354
FileChooser.enterFileNameLabel.textAndMnemonic
=
\u
D30C
\u
C77C
\u
C774
\u
B984
\u
C785
\u
B825(&N):
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
\u
D3F4
\u
B354
\u
C774
\u
B984
\u
C785
\u
B825:
FileChooser.filesLabelText
=
\u
D30C
\u
C77C
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
\u
D30C
\u
C77C
\u
C774
\u
B984
\u
C785
\u
B825:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
\u
D3F4
\u
B354
\u
C774
\u
B984
\u
C785
\u
B825:
FileChooser.cancelButtonToolTip
Text
=
\u
D30C
\u
C77C
\u
C120
\u
D0DD
\u
AE30
\u
B300
\u
D654
\u
C0C1
\u
C790
\u
B97C
\u
C911
\u
B2E8
\u
D569
\u
B2C8
\u
B2E4.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
\u
D30C
\u
C77C
\u
C120
\u
D0DD
\u
AE30
\u
B300
\u
D654
\u
C0C1
\u
C790
\u
B97C
\u
C911
\u
B2E8
\u
D569
\u
B2C8
\u
B2E4.
FileChooser.saveButtonToolTip
Text
=
\u
C120
\u
D0DD
\u
B41C
\u
D30C
\u
C77C
\u
C744
\u
C800
\u
C7A5
\u
D569
\u
B2C8
\u
B2E4.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
\u
C120
\u
D0DD
\u
B41C
\u
D30C
\u
C77C
\u
C744
\u
C800
\u
C7A5
\u
D569
\u
B2C8
\u
B2E4.
FileChooser.openButtonToolTip
Text
=
\u
C120
\u
D0DD
\u
B41C
\u
D30C
\u
C77C
\u
C744
\u
C5FD
\u
B2C8
\u
B2E4.
FileChooser.openButtonToolTip
.textAndMnemonic
=
\u
C120
\u
D0DD
\u
B41C
\u
D30C
\u
C77C
\u
C744
\u
C5FD
\u
B2C8
\u
B2E4.
FileChooser.updateButtonToolTip
Text
=
\u
B514
\u
B809
\u
D1A0
\u
B9AC
\u
BAA9
\u
B85D
\u
C744
\u
AC31
\u
C2E0
\u
D569
\u
B2C8
\u
B2E4.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
\u
B514
\u
B809
\u
D1A0
\u
B9AC
\u
BAA9
\u
B85D
\u
C744
\u
AC31
\u
C2E0
\u
D569
\u
B2C8
\u
B2E4.
FileChooser.helpButtonToolTip
Text
=
FileChooser
\u
B3C4
\u
C6C0
\u
B9D0
\u
C785
\u
B2C8
\u
B2E4.
FileChooser.helpButtonToolTip
.textAndMnemonic
=
FileChooser
\u
B3C4
\u
C6C0
\u
B9D0
\u
C785
\u
B2C8
\u
B2E4.
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_pt_BR.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
Cancelar
FileChooser.cancelButton.textAndMnemonic
=
Cancelar
FileChooser.saveButtonText
=
Salvar
FileChooser.saveButton.textAndMnemonic
=
Salvar
FileChooser.openButtonText
=
OK
FileChooser.openButton.textAndMnemonic
=
OK
FileChooser.saveDialogTitleText
=
Salvar
FileChooser.saveDialogTitle.textAndMnemonic
=
Salvar
FileChooser.openDialogTitleText
=
Abrir
FileChooser.openDialogTitle.textAndMnemonic
=
Abrir
FileChooser.updateButtonText
=
Atualizar
FileChooser.updateButton.textAndMnemonic
=
Atualizar
FileChooser.helpButtonText
=
Ajuda
FileChooser.helpButton.textAndMnemonic
=
Ajuda
FileChooser.pathLabelText
=
Informar caminho ou nome da pasta:
FileChooser.pathLabel.textAndMnemonic
=
Informar caminho ou nome da &pasta:
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
Filt&ro
FileChooser.filterLabelText
=
Filtro
FileChooser.foldersLabel.textAndMnemonic
=
Pastas(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
Arqu&ivos
FileChooser.foldersLabelText
=
Pastas
FileChooser.enterFileNameLabel.textAndMnemonic
=
I&nformar nome do arquivo:
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
Informar nome da pasta:
FileChooser.filesLabelText
=
Arquivos
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
Informar nome do arquivo:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
Informar nome da pasta:
FileChooser.cancelButtonToolTip
Text
=
Abortar caixa de di
\u
00E1logo do seletor de arquivos.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
Abortar caixa de di
\u
00E1logo do seletor de arquivos.
FileChooser.saveButtonToolTip
Text
=
Salvar arquivo selecionado.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
Salvar arquivo selecionado.
FileChooser.openButtonToolTip
Text
=
Abrir arquivo selecionado.
FileChooser.openButtonToolTip
.textAndMnemonic
=
Abrir arquivo selecionado.
FileChooser.updateButtonToolTip
Text
=
Atualizar lista de diret
\u
00F3rios.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
Atualizar lista de diret
\u
00F3rios.
FileChooser.helpButtonToolTip
Text
=
Ajuda do FileChooser.
FileChooser.helpButtonToolTip
.textAndMnemonic
=
Ajuda do FileChooser.
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_sv.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
Avbryt
FileChooser.cancelButton.textAndMnemonic
=
Avbryt
FileChooser.saveButtonText
=
Spara
FileChooser.saveButton.textAndMnemonic
=
Spara
FileChooser.openButtonText
=
OK
FileChooser.openButton.textAndMnemonic
=
OK
FileChooser.saveDialogTitleText
=
Spara
FileChooser.saveDialogTitle.textAndMnemonic
=
Spara
FileChooser.openDialogTitleText
=
\u
00D6ppna
FileChooser.openDialogTitle.textAndMnemonic
=
\u
00D6ppna
FileChooser.updateButtonText
=
Uppdatera
FileChooser.updateButton.textAndMnemonic
=
Uppdatera
FileChooser.helpButtonText
=
Hj
\u
00E4lp
FileChooser.helpButton.textAndMnemonic
=
Hj
\u
00E4lp
FileChooser.pathLabelText
=
Ange s
\u
00F6kv
\u
00E4g eller mappnamn:
FileChooser.pathLabel.textAndMnemonic
=
Ange s
\u
00F6kv
\u
00E4g eller mappnamn(&P):
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
Filte&r
FileChooser.filterLabelText
=
Filter
FileChooser.foldersLabel.textAndMnemonic
=
Mappar(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
F&iler
FileChooser.foldersLabelText
=
Mappar
FileChooser.enterFileNameLabel.textAndMnemonic
=
A&nge filnamn:
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
Ange ett mappnamn:
FileChooser.filesLabelText
=
Filer
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
Ange filnamn:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
Ange ett mappnamn:
FileChooser.cancelButtonToolTip
Text
=
Avbryt dialogrutan Filv
\u
00E4ljare.
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
Avbryt dialogrutan Filv
\u
00E4ljare.
FileChooser.saveButtonToolTip
Text
=
Spara vald fil.
FileChooser.saveButtonToolTip
.textAndMnemonic
=
Spara vald fil.
FileChooser.openButtonToolTip
Text
=
\u
00D6ppna vald fil.
FileChooser.openButtonToolTip
.textAndMnemonic
=
\u
00D6ppna vald fil.
FileChooser.updateButtonToolTip
Text
=
Uppdatera kataloglistan.
FileChooser.updateButtonToolTip
.textAndMnemonic
=
Uppdatera kataloglistan.
FileChooser.helpButtonToolTip
Text
=
Hj
\u
00E4lp - Filv
\u
00E4ljare.
FileChooser.helpButtonToolTip
.textAndMnemonic
=
Hj
\u
00E4lp - Filv
\u
00E4ljare.
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_CN.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
\u
53D6
\u
6D88
FileChooser.cancelButton.textAndMnemonic
=
\u
53D6
\u
6D88
FileChooser.saveButtonText
=
\u
4FDD
\u
5B58
FileChooser.saveButton.textAndMnemonic
=
\u
4FDD
\u
5B58
FileChooser.openButtonText
=
\u
786E
\u
5B9A
FileChooser.openButton.textAndMnemonic
=
\u
786E
\u
5B9A
FileChooser.saveDialogTitleText
=
\u
4FDD
\u
5B58
FileChooser.saveDialogTitle.textAndMnemonic
=
\u
4FDD
\u
5B58
FileChooser.openDialogTitleText
=
\u6253\u
5F00
FileChooser.openDialogTitle.textAndMnemonic
=
\u6253\u
5F00
FileChooser.updateButtonText
=
\u
66F4
\u
65B0
FileChooser.updateButton.textAndMnemonic
=
\u
66F4
\u
65B0
FileChooser.helpButtonText
=
\u
5E2E
\u
52A9
FileChooser.helpButton.textAndMnemonic
=
\u
5E2E
\u
52A9
FileChooser.pathLabelText
=
\u
952E
\u5165\u
8DEF
\u
5F84
\u6216\u6587\u
4EF6
\u5939\u
540D:
FileChooser.pathLabel.textAndMnemonic
=
\u
952E
\u5165\u
8DEF
\u
5F84
\u6216\u6587\u
4EF6
\u5939\u
540D: (&P)
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
\u
7B5B
\u9009\u5668
(&R)
FileChooser.filterLabelText
=
\u
7B5B
\u9009\u5668
FileChooser.foldersLabel.textAndMnemonic
=
\u6587\u
4EF6
\u5939
(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
\u6587\u
4EF6(&I)
FileChooser.foldersLabelText
=
\u6587\u
4EF6
\u5939
FileChooser.enterFileNameLabel.textAndMnemonic
=
\u
952E
\u5165\u6587\u
4EF6
\u
540D: (&N)
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
\u
8F93
\u5165\u6587\u
4EF6
\u5939\u
540D:
FileChooser.filesLabelText
=
\u6587\u
4EF6
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
\u
952E
\u5165\u6587\u
4EF6
\u
540D:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
\u
8F93
\u5165\u6587\u
4EF6
\u5939\u
540D:
FileChooser.cancelButtonToolTip
Text
=
\u
4E2D
\u
6B62
\u6587\u
4EF6
\u9009\u
62E9
\u5668\u
5BF9
\u
8BDD
\u6846\u3002
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
\u
4E2D
\u
6B62
\u6587\u
4EF6
\u9009\u
62E9
\u5668\u
5BF9
\u
8BDD
\u6846\u3002
FileChooser.saveButtonToolTip
Text
=
\u
4FDD
\u
5B58
\u6240\u9009\u6587\u
4EF6
\u3002
FileChooser.saveButtonToolTip
.textAndMnemonic
=
\u
4FDD
\u
5B58
\u6240\u9009\u6587\u
4EF6
\u3002
FileChooser.openButtonToolTip
Text
=
\u6253\u
5F00
\u6240\u9009\u6587\u
4EF6
\u3002
FileChooser.openButtonToolTip
.textAndMnemonic
=
\u6253\u
5F00
\u6240\u9009\u6587\u
4EF6
\u3002
FileChooser.updateButtonToolTip
Text
=
\u
66F4
\u
65B0
\u
76EE
\u
5F55
\u5217\u8868\u3002
FileChooser.updateButtonToolTip
.textAndMnemonic
=
\u
66F4
\u
65B0
\u
76EE
\u
5F55
\u5217\u8868\u3002
FileChooser.helpButtonToolTip
Text
=
FileChooser
\u
5E2E
\u
52A9
\u3002
FileChooser.helpButtonToolTip
.textAndMnemonic
=
FileChooser
\u
5E2E
\u
52A9
\u3002
src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_TW.properties
浏览文件 @
33968c10
...
@@ -18,28 +18,23 @@
...
@@ -18,28 +18,23 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.acceptAllFileFilterText
=
*
FileChooser.acceptAllFileFilter.textAndMnemonic
=
*
FileChooser.cancelButtonText
=
\u
53D6
\u
6D88
FileChooser.cancelButton.textAndMnemonic
=
\u
53D6
\u
6D88
FileChooser.saveButtonText
=
\u5132\u
5B58
FileChooser.saveButton.textAndMnemonic
=
\u5132\u
5B58
FileChooser.openButtonText
=
\u
78BA
\u
5B9A
FileChooser.openButton.textAndMnemonic
=
\u
78BA
\u
5B9A
FileChooser.saveDialogTitleText
=
\u5132\u
5B58
FileChooser.saveDialogTitle.textAndMnemonic
=
\u5132\u
5B58
FileChooser.openDialogTitleText
=
\u
958B
\u
555F
FileChooser.openDialogTitle.textAndMnemonic
=
\u
958B
\u
555F
FileChooser.updateButtonText
=
\u
66F4
\u
65B0
FileChooser.updateButton.textAndMnemonic
=
\u
66F4
\u
65B0
FileChooser.helpButtonText
=
\u
8AAA
\u
660E
FileChooser.helpButton.textAndMnemonic
=
\u
8AAA
\u
660E
FileChooser.pathLabelText
=
\u
8F38
\u5165\u
8DEF
\u
5F91
\u6216\u
8CC7
\u6599\u
593E
\u
540D
\u
7A31:
FileChooser.pathLabel.textAndMnemonic
=
\u
8F38
\u5165\u
8DEF
\u
5F91
\u6216\u
8CC7
\u6599\u
593E
\u
540D
\u
7A31(&P):
FileChooser.pathLabelMnemonic
=
80
FileChooser.filterLabel.textAndMnemonic
=
\u
7BE9
\u9078
(&R)
FileChooser.filterLabelText
=
\u
7BE9
\u9078
FileChooser.foldersLabel.textAndMnemonic
=
\u
8CC7
\u6599\u
593E(&L)
FileChooser.filterLabelMnemonic
=
82
FileChooser.filesLabel.textAndMnemonic
=
\u
6A94
\u6848
(&I)
FileChooser.foldersLabelText
=
\u
8CC7
\u6599\u
593E
FileChooser.enterFileNameLabel.textAndMnemonic
=
\u
8F38
\u5165\u
6A94
\u6848\u
540D
\u
7A31(&N):
FileChooser.foldersLabelMnemonic
=
76
FileChooser.enterFolderNameLabel.textAndMnemonic
=
\u
8F38
\u5165\u
8CC7
\u6599\u
593E
\u
540D
\u
7A31:
FileChooser.filesLabelText
=
\u
6A94
\u6848
FileChooser.filesLabelMnemonic
=
73
FileChooser.enterFileNameLabelText
=
\u
8F38
\u5165\u
6A94
\u6848\u
540D
\u
7A31:
FileChooser.enterFileNameLabelMnemonic
=
78
FileChooser.enterFolderNameLabelText
=
\u
8F38
\u5165\u
8CC7
\u6599\u
593E
\u
540D
\u
7A31:
FileChooser.cancelButtonToolTip
Text
=
\u
4E2D
\u
6B62
\u
6A94
\u6848\u9078\u
64C7
\u5668\u
5C0D
\u
8A71
\u
65B9
\u
584A
\u3002
FileChooser.cancelButtonToolTip
.textAndMnemonic
=
\u
4E2D
\u
6B62
\u
6A94
\u6848\u9078\u
64C7
\u5668\u
5C0D
\u
8A71
\u
65B9
\u
584A
\u3002
FileChooser.saveButtonToolTip
Text
=
\u5132\u
5B58
\u9078\u
53D6
\u7684\u
6A94
\u6848\u3002
FileChooser.saveButtonToolTip
.textAndMnemonic
=
\u5132\u
5B58
\u9078\u
53D6
\u7684\u
6A94
\u6848\u3002
FileChooser.openButtonToolTip
Text
=
\u
958B
\u
555F
\u9078\u
53D6
\u7684\u
6A94
\u6848\u3002
FileChooser.openButtonToolTip
.textAndMnemonic
=
\u
958B
\u
555F
\u9078\u
53D6
\u7684\u
6A94
\u6848\u3002
FileChooser.updateButtonToolTip
Text
=
\u
66F4
\u
65B0
\u
76EE
\u9304\u
6E05
\u
55AE
\u3002
FileChooser.updateButtonToolTip
.textAndMnemonic
=
\u
66F4
\u
65B0
\u
76EE
\u9304\u
6E05
\u
55AE
\u3002
FileChooser.helpButtonToolTip
Text
=
\u
300C
\u
6A94
\u6848\u9078\u
64C7
\u5668\u
300D
\u
8AAA
\u
660E
\u3002
FileChooser.helpButtonToolTip
.textAndMnemonic
=
\u
300C
\u
6A94
\u6848\u9078\u
64C7
\u5668\u
300D
\u
8AAA
\u
660E
\u3002
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
Look in:
FileChooser.lookInLabel.textAndMnemonic
=
Look &in:
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
Save in:
FileChooser.saveInLabelText
=
Save in:
FileChooser.fileNameLabel.textAndMnemonic
=
File &name:
FileChooser.fileNameLabelText
=
File name:
FileChooser.folderNameLabel.textAndMnemonic
=
Folder &name:
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
Files of &type:
FileChooser.folderNameLabelText
=
Folder name:
FileChooser.upFolderToolTip.textAndMnemonic
=
Up One Level
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
Files of type:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
Up One Level
FileChooser.upFolderAccessibleName
=
Up
FileChooser.upFolderAccessibleName
=
Up
FileChooser.homeFolderToolTip
Text
=
Home
FileChooser.homeFolderToolTip
.textAndMnemonic
=
Home
FileChooser.homeFolderAccessibleName
=
Home
FileChooser.homeFolderAccessibleName
=
Home
FileChooser.newFolderToolTip
Text
=
Create New Folder
FileChooser.newFolderToolTip
.textAndMnemonic
=
Create New Folder
FileChooser.newFolderAccessibleName
=
New Folder
FileChooser.newFolderAccessibleName
=
New Folder
FileChooser.newFolderActionLabel
Text
=
New Folder
FileChooser.newFolderActionLabel
.textAndMnemonic
=
New Folder
FileChooser.listViewButtonToolTip
Text
=
List
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
List
FileChooser.listViewButtonAccessibleName
=
List
FileChooser.listViewButtonAccessibleName
=
List
FileChooser.listViewActionLabel
Text
=
List
FileChooser.listViewActionLabel
.textAndMnemonic
=
List
FileChooser.detailsViewButtonToolTip
Text
=
Details
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
Details
FileChooser.detailsViewButtonAccessibleName
=
Details
FileChooser.detailsViewButtonAccessibleName
=
Details
FileChooser.viewMenuButtonToolTipText
=
View Menu
FileChooser.viewMenuButtonToolTipText
=
View Menu
FileChooser.viewMenuButtonAccessibleName
=
View Menu
FileChooser.viewMenuButtonAccessibleName
=
View Menu
FileChooser.detailsViewActionLabel
Text
=
Details
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
Details
FileChooser.refreshActionLabel
Text
=
Refresh
FileChooser.refreshActionLabel
.textAndMnemonic
=
Refresh
FileChooser.viewMenuLabel
Text
=
View
FileChooser.viewMenuLabel
.textAndMnemonic
=
View
FileChooser.fileNameHeader
Text
=
Name
FileChooser.fileNameHeader
.textAndMnemonic
=
Name
FileChooser.fileSizeHeader
Text
=
Size
FileChooser.fileSizeHeader
.textAndMnemonic
=
Size
FileChooser.fileTypeHeader
Text
=
Type
FileChooser.fileTypeHeader
.textAndMnemonic
=
Type
FileChooser.fileDateHeader
Text
=
Modified
FileChooser.fileDateHeader
.textAndMnemonic
=
Modified
FileChooser.fileAttrHeader
Text
=
Attributes
FileChooser.fileAttrHeader
.textAndMnemonic
=
Attributes
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_de.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
Suchen in:
FileChooser.lookInLabel.textAndMnemonic
=
Suchen &in:
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
Speichern in:
FileChooser.saveInLabelText
=
Speichern in:
FileChooser.fileNameLabel.textAndMnemonic
=
Datei&name:
FileChooser.fileNameLabelText
=
Dateiname:
FileChooser.folderNameLabel.textAndMnemonic
=
Ord&nername:
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
Da&teityp:
FileChooser.folderNameLabelText
=
Ordnername:
FileChooser.upFolderToolTip.textAndMnemonic
=
Eine Ebene h
\u
00F6her
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
Dateityp:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
Eine Ebene h
\u
00F6her
FileChooser.upFolderAccessibleName
=
Nach oben
FileChooser.upFolderAccessibleName
=
Nach oben
FileChooser.homeFolderToolTip
Text
=
Home
FileChooser.homeFolderToolTip
.textAndMnemonic
=
Home
FileChooser.homeFolderAccessibleName
=
Home
FileChooser.homeFolderAccessibleName
=
Home
FileChooser.newFolderToolTip
Text
=
Neuen Ordner erstellen
FileChooser.newFolderToolTip
.textAndMnemonic
=
Neuen Ordner erstellen
FileChooser.newFolderAccessibleName
=
Neuer Ordner
FileChooser.newFolderAccessibleName
=
Neuer Ordner
FileChooser.newFolderActionLabel
Text
=
Neuer Ordner
FileChooser.newFolderActionLabel
.textAndMnemonic
=
Neuer Ordner
FileChooser.listViewButtonToolTip
Text
=
Liste
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
Liste
FileChooser.listViewButtonAccessibleName
=
Liste
FileChooser.listViewButtonAccessibleName
=
Liste
FileChooser.listViewActionLabel
Text
=
Liste
FileChooser.listViewActionLabel
.textAndMnemonic
=
Liste
FileChooser.detailsViewButtonToolTip
Text
=
Details
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
Details
FileChooser.detailsViewButtonAccessibleName
=
Details
FileChooser.detailsViewButtonAccessibleName
=
Details
FileChooser.viewMenuButtonToolTipText
=
Ansichtsmen
\u
00FC
FileChooser.viewMenuButtonToolTipText
=
Ansichtsmen
\u
00FC
FileChooser.viewMenuButtonAccessibleName
=
Ansichtsmen
\u
00FC
FileChooser.viewMenuButtonAccessibleName
=
Ansichtsmen
\u
00FC
FileChooser.detailsViewActionLabel
Text
=
Details
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
Details
FileChooser.refreshActionLabel
Text
=
Aktualisieren
FileChooser.refreshActionLabel
.textAndMnemonic
=
Aktualisieren
FileChooser.viewMenuLabel
Text
=
Ansicht
FileChooser.viewMenuLabel
.textAndMnemonic
=
Ansicht
FileChooser.fileNameHeader
Text
=
Name
FileChooser.fileNameHeader
.textAndMnemonic
=
Name
FileChooser.fileSizeHeader
Text
=
Gr
\u
00F6
\u
00DFe
FileChooser.fileSizeHeader
.textAndMnemonic
=
Gr
\u
00F6
\u
00DFe
FileChooser.fileTypeHeader
Text
=
Typ
FileChooser.fileTypeHeader
.textAndMnemonic
=
Typ
FileChooser.fileDateHeader
Text
=
Ge
\u
00E4ndert
FileChooser.fileDateHeader
.textAndMnemonic
=
Ge
\u
00E4ndert
FileChooser.fileAttrHeader
Text
=
Attribute
FileChooser.fileAttrHeader
.textAndMnemonic
=
Attribute
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_es.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
Buscar en:
FileChooser.lookInLabel.textAndMnemonic
=
Buscar en(&I):
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
Guardar en:
FileChooser.saveInLabelText
=
Guardar en:
FileChooser.fileNameLabel.textAndMnemonic
=
&Nombre de Archivo:
FileChooser.fileNameLabelText
=
Nombre de Archivo:
FileChooser.folderNameLabel.textAndMnemonic
=
&Nombre de la Carpeta:
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
Archivos de &Tipo:
FileChooser.folderNameLabelText
=
Nombre de la Carpeta:
FileChooser.upFolderToolTip.textAndMnemonic
=
Subir un Nivel
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
Archivos de Tipo:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
Subir un Nivel
FileChooser.upFolderAccessibleName
=
Arriba
FileChooser.upFolderAccessibleName
=
Arriba
FileChooser.homeFolderToolTip
Text
=
Inicio
FileChooser.homeFolderToolTip
.textAndMnemonic
=
Inicio
FileChooser.homeFolderAccessibleName
=
Inicio
FileChooser.homeFolderAccessibleName
=
Inicio
FileChooser.newFolderToolTip
Text
=
Crear Nueva Carpeta
FileChooser.newFolderToolTip
.textAndMnemonic
=
Crear Nueva Carpeta
FileChooser.newFolderAccessibleName
=
Nueva Carpeta
FileChooser.newFolderAccessibleName
=
Nueva Carpeta
FileChooser.newFolderActionLabel
Text
=
Nueva Carpeta
FileChooser.newFolderActionLabel
.textAndMnemonic
=
Nueva Carpeta
FileChooser.listViewButtonToolTip
Text
=
Lista
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewActionLabel
Text
=
Lista
FileChooser.listViewActionLabel
.textAndMnemonic
=
Lista
FileChooser.detailsViewButtonToolTip
Text
=
Detalles
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
Detalles
FileChooser.detailsViewButtonAccessibleName
=
Detalles
FileChooser.detailsViewButtonAccessibleName
=
Detalles
FileChooser.viewMenuButtonToolTipText
=
Men
\u
00FA Ver
FileChooser.viewMenuButtonToolTipText
=
Men
\u
00FA Ver
FileChooser.viewMenuButtonAccessibleName
=
Men
\u
00FA Ver
FileChooser.viewMenuButtonAccessibleName
=
Men
\u
00FA Ver
FileChooser.detailsViewActionLabel
Text
=
Detalles
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
Detalles
FileChooser.refreshActionLabel
Text
=
Refrescar
FileChooser.refreshActionLabel
.textAndMnemonic
=
Refrescar
FileChooser.viewMenuLabel
Text
=
Ver
FileChooser.viewMenuLabel
.textAndMnemonic
=
Ver
FileChooser.fileNameHeader
Text
=
Nombre
FileChooser.fileNameHeader
.textAndMnemonic
=
Nombre
FileChooser.fileSizeHeader
Text
=
Tama
\u
00F1o
FileChooser.fileSizeHeader
.textAndMnemonic
=
Tama
\u
00F1o
FileChooser.fileTypeHeader
Text
=
Tipo
FileChooser.fileTypeHeader
.textAndMnemonic
=
Tipo
FileChooser.fileDateHeader
Text
=
Modificado
FileChooser.fileDateHeader
.textAndMnemonic
=
Modificado
FileChooser.fileAttrHeader
Text
=
Atributos
FileChooser.fileAttrHeader
.textAndMnemonic
=
Atributos
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_fr.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
Rechercher dans :
FileChooser.lookInLabel.textAndMnemonic
=
Rechercher dans (&I):
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
Enregistrer dans :
FileChooser.saveInLabelText
=
Enregistrer dans :
FileChooser.fileNameLabel.textAndMnemonic
=
&Nom du fichier :
FileChooser.fileNameLabelText
=
Nom du fichier :
FileChooser.folderNameLabel.textAndMnemonic
=
&Nom du dossier :
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
Fichiers de &type :
FileChooser.folderNameLabelText
=
Nom du dossier :
FileChooser.upFolderToolTip.textAndMnemonic
=
Remonte d'un niveau.
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
Fichiers de type :
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
Remonte d'un niveau.
FileChooser.upFolderAccessibleName
=
Monter
FileChooser.upFolderAccessibleName
=
Monter
FileChooser.homeFolderToolTip
Text
=
R
\u
00E9pertoire d'origine
FileChooser.homeFolderToolTip
.textAndMnemonic
=
R
\u
00E9pertoire d'origine
FileChooser.homeFolderAccessibleName
=
R
\u
00E9pertoire d'origine
FileChooser.homeFolderAccessibleName
=
R
\u
00E9pertoire d'origine
FileChooser.newFolderToolTip
Text
=
Cr
\u
00E9e un dossier.
FileChooser.newFolderToolTip
.textAndMnemonic
=
Cr
\u
00E9e un dossier.
FileChooser.newFolderAccessibleName
=
Nouveau dossier
FileChooser.newFolderAccessibleName
=
Nouveau dossier
FileChooser.newFolderActionLabel
Text
=
Nouveau dossier
FileChooser.newFolderActionLabel
.textAndMnemonic
=
Nouveau dossier
FileChooser.listViewButtonToolTip
Text
=
Liste
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
Liste
FileChooser.listViewButtonAccessibleName
=
Liste
FileChooser.listViewButtonAccessibleName
=
Liste
FileChooser.listViewActionLabel
Text
=
Liste
FileChooser.listViewActionLabel
.textAndMnemonic
=
Liste
FileChooser.detailsViewButtonToolTip
Text
=
D
\u
00E9tails
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
D
\u
00E9tails
FileChooser.detailsViewButtonAccessibleName
=
D
\u
00E9tails
FileChooser.detailsViewButtonAccessibleName
=
D
\u
00E9tails
FileChooser.viewMenuButtonToolTipText
=
Menu Affichage
FileChooser.viewMenuButtonToolTipText
=
Menu Affichage
FileChooser.viewMenuButtonAccessibleName
=
Menu Affichage
FileChooser.viewMenuButtonAccessibleName
=
Menu Affichage
FileChooser.detailsViewActionLabel
Text
=
D
\u
00E9tails
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
D
\u
00E9tails
FileChooser.refreshActionLabel
Text
=
Actualiser
FileChooser.refreshActionLabel
.textAndMnemonic
=
Actualiser
FileChooser.viewMenuLabel
Text
=
Affichage
FileChooser.viewMenuLabel
.textAndMnemonic
=
Affichage
FileChooser.fileNameHeader
Text
=
Nom
FileChooser.fileNameHeader
.textAndMnemonic
=
Nom
FileChooser.fileSizeHeader
Text
=
Taille
FileChooser.fileSizeHeader
.textAndMnemonic
=
Taille
FileChooser.fileTypeHeader
Text
=
Type
FileChooser.fileTypeHeader
.textAndMnemonic
=
Type
FileChooser.fileDateHeader
Text
=
Modifi
\u
00E9
FileChooser.fileDateHeader
.textAndMnemonic
=
Modifi
\u
00E9
FileChooser.fileAttrHeader
Text
=
Attributs
FileChooser.fileAttrHeader
.textAndMnemonic
=
Attributs
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_it.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
Cerca in:
FileChooser.lookInLabel.textAndMnemonic
=
Cerca &in:
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
Salva in:
FileChooser.saveInLabelText
=
Salva in:
FileChooser.fileNameLabel.textAndMnemonic
=
&Nome file:
FileChooser.fileNameLabelText
=
Nome file:
FileChooser.folderNameLabel.textAndMnemonic
=
&Nome della cartella:
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
&Tipo file:
FileChooser.folderNameLabelText
=
Nome della cartella:
FileChooser.upFolderToolTip.textAndMnemonic
=
Cartella superiore
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
Tipo file:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
Cartella superiore
FileChooser.upFolderAccessibleName
=
Superiore
FileChooser.upFolderAccessibleName
=
Superiore
FileChooser.homeFolderToolTip
Text
=
Home
FileChooser.homeFolderToolTip
.textAndMnemonic
=
Home
FileChooser.homeFolderAccessibleName
=
Home
FileChooser.homeFolderAccessibleName
=
Home
FileChooser.newFolderToolTip
Text
=
Crea nuova cartella
FileChooser.newFolderToolTip
.textAndMnemonic
=
Crea nuova cartella
FileChooser.newFolderAccessibleName
=
Nuova cartella
FileChooser.newFolderAccessibleName
=
Nuova cartella
FileChooser.newFolderActionLabel
Text
=
Nuova cartella
FileChooser.newFolderActionLabel
.textAndMnemonic
=
Nuova cartella
FileChooser.listViewButtonToolTip
Text
=
Lista
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewActionLabel
Text
=
Lista
FileChooser.listViewActionLabel
.textAndMnemonic
=
Lista
FileChooser.detailsViewButtonToolTip
Text
=
Dettagli
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
Dettagli
FileChooser.detailsViewButtonAccessibleName
=
Dettagli
FileChooser.detailsViewButtonAccessibleName
=
Dettagli
FileChooser.viewMenuButtonToolTipText
=
Visualizza menu
FileChooser.viewMenuButtonToolTipText
=
Visualizza menu
FileChooser.viewMenuButtonAccessibleName
=
Visualizza menu
FileChooser.viewMenuButtonAccessibleName
=
Visualizza menu
FileChooser.detailsViewActionLabel
Text
=
Dettagli
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
Dettagli
FileChooser.refreshActionLabel
Text
=
Aggiorna
FileChooser.refreshActionLabel
.textAndMnemonic
=
Aggiorna
FileChooser.viewMenuLabel
Text
=
Visualizza
FileChooser.viewMenuLabel
.textAndMnemonic
=
Visualizza
FileChooser.fileNameHeader
Text
=
Nome
FileChooser.fileNameHeader
.textAndMnemonic
=
Nome
FileChooser.fileSizeHeader
Text
=
Dimensioni
FileChooser.fileSizeHeader
.textAndMnemonic
=
Dimensioni
FileChooser.fileTypeHeader
Text
=
Tipo
FileChooser.fileTypeHeader
.textAndMnemonic
=
Tipo
FileChooser.fileDateHeader
Text
=
Modificato
FileChooser.fileDateHeader
.textAndMnemonic
=
Modificato
FileChooser.fileAttrHeader
Text
=
Attributi
FileChooser.fileAttrHeader
.textAndMnemonic
=
Attributi
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ja.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
\u
53C2
\u7167
:
FileChooser.lookInLabel.textAndMnemonic
=
\u
53C2
\u7167
(&I):
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
\u
4FDD
\u
5B58:
FileChooser.saveInLabelText
=
\u
4FDD
\u
5B58:
FileChooser.fileNameLabel.textAndMnemonic
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
540D(&N):
FileChooser.fileNameLabelText
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
540D:
FileChooser.folderNameLabel.textAndMnemonic
=
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
540D(&N):
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
306E
\u
30BF
\u
30A4
\u
30D7(&T):
FileChooser.folderNameLabelText
=
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
540D:
FileChooser.upFolderToolTip.textAndMnemonic
=
1
\u
30EC
\u
30D9
\u
30EB
\u
4E0A
\u3078
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
306E
\u
30BF
\u
30A4
\u
30D7:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
1
\u
30EC
\u
30D9
\u
30EB
\u
4E0A
\u3078
FileChooser.upFolderAccessibleName
=
\u
4E0A
\u3078
FileChooser.upFolderAccessibleName
=
\u
4E0A
\u3078
FileChooser.homeFolderToolTip
Text
=
\u
30DB
\u
30FC
\u
30E0
FileChooser.homeFolderToolTip
.textAndMnemonic
=
\u
30DB
\u
30FC
\u
30E0
FileChooser.homeFolderAccessibleName
=
\u
30DB
\u
30FC
\u
30E0
FileChooser.homeFolderAccessibleName
=
\u
30DB
\u
30FC
\u
30E0
FileChooser.newFolderToolTip
Text
=
\u
65B0
\u
898F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
306E
\u
4F5C
\u6210
FileChooser.newFolderToolTip
.textAndMnemonic
=
\u
65B0
\u
898F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
\u
306E
\u
4F5C
\u6210
FileChooser.newFolderAccessibleName
=
\u
65B0
\u
898F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
FileChooser.newFolderAccessibleName
=
\u
65B0
\u
898F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
FileChooser.newFolderActionLabel
Text
=
\u
65B0
\u
898F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
FileChooser.newFolderActionLabel
.textAndMnemonic
=
\u
65B0
\u
898F
\u
30D5
\u
30A9
\u
30EB
\u
30C0
FileChooser.listViewButtonToolTip
Text
=
\u
30EA
\u
30B9
\u
30C8
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
\u
30EA
\u
30B9
\u
30C8
FileChooser.listViewButtonAccessibleName
=
\u
30EA
\u
30B9
\u
30C8
FileChooser.listViewButtonAccessibleName
=
\u
30EA
\u
30B9
\u
30C8
FileChooser.listViewActionLabel
Text
=
\u
30EA
\u
30B9
\u
30C8
FileChooser.listViewActionLabel
.textAndMnemonic
=
\u
30EA
\u
30B9
\u
30C8
FileChooser.detailsViewButtonToolTip
Text
=
\u
8A73
\u
7D30
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
\u
8A73
\u
7D30
FileChooser.detailsViewButtonAccessibleName
=
\u
8A73
\u
7D30
FileChooser.detailsViewButtonAccessibleName
=
\u
8A73
\u
7D30
FileChooser.viewMenuButtonToolTipText
=
\u8868\u
793A
\u
30E1
\u
30CB
\u
30E5
\u
30FC
FileChooser.viewMenuButtonToolTipText
=
\u8868\u
793A
\u
30E1
\u
30CB
\u
30E5
\u
30FC
FileChooser.viewMenuButtonAccessibleName
=
\u8868\u
793A
\u
30E1
\u
30CB
\u
30E5
\u
30FC
FileChooser.viewMenuButtonAccessibleName
=
\u8868\u
793A
\u
30E1
\u
30CB
\u
30E5
\u
30FC
FileChooser.detailsViewActionLabel
Text
=
\u
8A73
\u
7D30
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
\u
8A73
\u
7D30
FileChooser.refreshActionLabel
Text
=
\u
30EA
\u
30D5
\u
30EC
\u
30C3
\u
30B7
\u
30E5
FileChooser.refreshActionLabel
.textAndMnemonic
=
\u
30EA
\u
30D5
\u
30EC
\u
30C3
\u
30B7
\u
30E5
FileChooser.viewMenuLabel
Text
=
\u8868\u
793A
FileChooser.viewMenuLabel
.textAndMnemonic
=
\u8868\u
793A
FileChooser.fileNameHeader
Text
=
\u
540D
\u
524D
FileChooser.fileNameHeader
.textAndMnemonic
=
\u
540D
\u
524D
FileChooser.fileSizeHeader
Text
=
\u
30B5
\u
30A4
\u
30BA
FileChooser.fileSizeHeader
.textAndMnemonic
=
\u
30B5
\u
30A4
\u
30BA
FileChooser.fileTypeHeader
Text
=
\u
30BF
\u
30A4
\u
30D7
FileChooser.fileTypeHeader
.textAndMnemonic
=
\u
30BF
\u
30A4
\u
30D7
FileChooser.fileDateHeader
Text
=
\u
4FEE
\u
6B63
\u
65E5
FileChooser.fileDateHeader
.textAndMnemonic
=
\u
4FEE
\u
6B63
\u
65E5
FileChooser.fileAttrHeader
Text
=
\u
5C5E
\u6027
FileChooser.fileAttrHeader
.textAndMnemonic
=
\u
5C5E
\u6027
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ko.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
\u
AC80
\u
C0C9
\u
C704
\u
CE58:
FileChooser.lookInLabel.textAndMnemonic
=
\u
AC80
\u
C0C9
\u
C704
\u
CE58(&I):
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
\u
C800
\u
C7A5
\u
C704
\u
CE58:
FileChooser.saveInLabelText
=
\u
C800
\u
C7A5
\u
C704
\u
CE58:
FileChooser.fileNameLabel.textAndMnemonic
=
\u
D30C
\u
C77C
\u
C774
\u
B984(&N):
FileChooser.fileNameLabelText
=
\u
D30C
\u
C77C
\u
C774
\u
B984:
FileChooser.folderNameLabel.textAndMnemonic
=
\u
D3F4
\u
B354
\u
C774
\u
B984(&N):
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
\u
D30C
\u
C77C
\u
C720
\u
D615(&T):
FileChooser.folderNameLabelText
=
\u
D3F4
\u
B354
\u
C774
\u
B984:
FileChooser.upFolderToolTip.textAndMnemonic
=
\u
D55C
\u
B808
\u
BCA8
\u
C704
\u
B85C
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
\u
D30C
\u
C77C
\u
C720
\u
D615:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
\u
D55C
\u
B808
\u
BCA8
\u
C704
\u
B85C
FileChooser.upFolderAccessibleName
=
\u
C704
\u
B85C
FileChooser.upFolderAccessibleName
=
\u
C704
\u
B85C
FileChooser.homeFolderToolTip
Text
=
\u
D648
FileChooser.homeFolderToolTip
.textAndMnemonic
=
\u
D648
FileChooser.homeFolderAccessibleName
=
\u
D648
FileChooser.homeFolderAccessibleName
=
\u
D648
FileChooser.newFolderToolTip
Text
=
\u
C0C8
\u
D3F4
\u
B354
\u
C0DD
\u
C131
FileChooser.newFolderToolTip
.textAndMnemonic
=
\u
C0C8
\u
D3F4
\u
B354
\u
C0DD
\u
C131
FileChooser.newFolderAccessibleName
=
\u
C0C8
\u
D3F4
\u
B354
FileChooser.newFolderAccessibleName
=
\u
C0C8
\u
D3F4
\u
B354
FileChooser.newFolderActionLabel
Text
=
\u
C0C8
\u
D3F4
\u
B354
FileChooser.newFolderActionLabel
.textAndMnemonic
=
\u
C0C8
\u
D3F4
\u
B354
FileChooser.listViewButtonToolTip
Text
=
\u
BAA9
\u
B85D
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
\u
BAA9
\u
B85D
FileChooser.listViewButtonAccessibleName
=
\u
BAA9
\u
B85D
FileChooser.listViewButtonAccessibleName
=
\u
BAA9
\u
B85D
FileChooser.listViewActionLabel
Text
=
\u
BAA9
\u
B85D
FileChooser.listViewActionLabel
.textAndMnemonic
=
\u
BAA9
\u
B85D
FileChooser.detailsViewButtonToolTip
Text
=
\u
C138
\u
BD80
\u
C815
\u
BCF4
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
\u
C138
\u
BD80
\u
C815
\u
BCF4
FileChooser.detailsViewButtonAccessibleName
=
\u
C138
\u
BD80
\u
C815
\u
BCF4
FileChooser.detailsViewButtonAccessibleName
=
\u
C138
\u
BD80
\u
C815
\u
BCF4
FileChooser.viewMenuButtonToolTipText
=
\u
BCF4
\u
AE30
\u
BA54
\u
B274
FileChooser.viewMenuButtonToolTipText
=
\u
BCF4
\u
AE30
\u
BA54
\u
B274
FileChooser.viewMenuButtonAccessibleName
=
\u
BCF4
\u
AE30
\u
BA54
\u
B274
FileChooser.viewMenuButtonAccessibleName
=
\u
BCF4
\u
AE30
\u
BA54
\u
B274
FileChooser.detailsViewActionLabel
Text
=
\u
C138
\u
BD80
\u
C815
\u
BCF4
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
\u
C138
\u
BD80
\u
C815
\u
BCF4
FileChooser.refreshActionLabel
Text
=
\u
C0C8
\u
B85C
\u
ACE0
\u
CE68
FileChooser.refreshActionLabel
.textAndMnemonic
=
\u
C0C8
\u
B85C
\u
ACE0
\u
CE68
FileChooser.viewMenuLabel
Text
=
\u
BCF4
\u
AE30
FileChooser.viewMenuLabel
.textAndMnemonic
=
\u
BCF4
\u
AE30
FileChooser.fileNameHeader
Text
=
\u
C774
\u
B984
FileChooser.fileNameHeader
.textAndMnemonic
=
\u
C774
\u
B984
FileChooser.fileSizeHeader
Text
=
\u
D06C
\u
AE30
FileChooser.fileSizeHeader
.textAndMnemonic
=
\u
D06C
\u
AE30
FileChooser.fileTypeHeader
Text
=
\u
C720
\u
D615
FileChooser.fileTypeHeader
.textAndMnemonic
=
\u
C720
\u
D615
FileChooser.fileDateHeader
Text
=
\u
C218
\u
C815
\u
B0A0
\u
C9DC
FileChooser.fileDateHeader
.textAndMnemonic
=
\u
C218
\u
C815
\u
B0A0
\u
C9DC
FileChooser.fileAttrHeader
Text
=
\u
C18D
\u
C131
FileChooser.fileAttrHeader
.textAndMnemonic
=
\u
C18D
\u
C131
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_pt_BR.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
Consultar em:
FileChooser.lookInLabel.textAndMnemonic
=
Consultar em(&I):
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
Salvar em:
FileChooser.saveInLabelText
=
Salvar em:
FileChooser.fileNameLabel.textAndMnemonic
=
&Nome do arquivo:
FileChooser.fileNameLabelText
=
Nome do arquivo:
FileChooser.folderNameLabel.textAndMnemonic
=
&Nome da pasta:
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
Arquivos do &tipo:
FileChooser.folderNameLabelText
=
Nome da pasta:
FileChooser.upFolderToolTip.textAndMnemonic
=
Um N
\u
00EDvel Acima
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
Arquivos do tipo:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
Um N
\u
00EDvel Acima
FileChooser.upFolderAccessibleName
=
Acima
FileChooser.upFolderAccessibleName
=
Acima
FileChooser.homeFolderToolTip
Text
=
In
\u
00EDcio
FileChooser.homeFolderToolTip
.textAndMnemonic
=
In
\u
00EDcio
FileChooser.homeFolderAccessibleName
=
In
\u
00EDcio
FileChooser.homeFolderAccessibleName
=
In
\u
00EDcio
FileChooser.newFolderToolTip
Text
=
Criar Nova Pasta
FileChooser.newFolderToolTip
.textAndMnemonic
=
Criar Nova Pasta
FileChooser.newFolderAccessibleName
=
Nova Pasta
FileChooser.newFolderAccessibleName
=
Nova Pasta
FileChooser.newFolderActionLabel
Text
=
Nova Pasta
FileChooser.newFolderActionLabel
.textAndMnemonic
=
Nova Pasta
FileChooser.listViewButtonToolTip
Text
=
Lista
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewActionLabel
Text
=
Lista
FileChooser.listViewActionLabel
.textAndMnemonic
=
Lista
FileChooser.detailsViewButtonToolTip
Text
=
Detalhes
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
Detalhes
FileChooser.detailsViewButtonAccessibleName
=
Detalhes
FileChooser.detailsViewButtonAccessibleName
=
Detalhes
FileChooser.viewMenuButtonToolTipText
=
Exibir Menu
FileChooser.viewMenuButtonToolTipText
=
Exibir Menu
FileChooser.viewMenuButtonAccessibleName
=
Exibir Menu
FileChooser.viewMenuButtonAccessibleName
=
Exibir Menu
FileChooser.detailsViewActionLabel
Text
=
Detalhes
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
Detalhes
FileChooser.refreshActionLabel
Text
=
Atualizar
FileChooser.refreshActionLabel
.textAndMnemonic
=
Atualizar
FileChooser.viewMenuLabel
Text
=
Exibir
FileChooser.viewMenuLabel
.textAndMnemonic
=
Exibir
FileChooser.fileNameHeader
Text
=
Nome
FileChooser.fileNameHeader
.textAndMnemonic
=
Nome
FileChooser.fileSizeHeader
Text
=
Tamanho
FileChooser.fileSizeHeader
.textAndMnemonic
=
Tamanho
FileChooser.fileTypeHeader
Text
=
Tipo
FileChooser.fileTypeHeader
.textAndMnemonic
=
Tipo
FileChooser.fileDateHeader
Text
=
Modificado
FileChooser.fileDateHeader
.textAndMnemonic
=
Modificado
FileChooser.fileAttrHeader
Text
=
Atributos
FileChooser.fileAttrHeader
.textAndMnemonic
=
Atributos
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_sv.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
Leta i:
FileChooser.lookInLabel.textAndMnemonic
=
Leta &i:
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
Spara i:
FileChooser.saveInLabelText
=
Spara i:
FileChooser.fileNameLabel.textAndMnemonic
=
Fil&namn:
FileChooser.fileNameLabelText
=
Filnamn:
FileChooser.folderNameLabel.textAndMnemonic
=
Mapp(&N):
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
Filforma&t:
FileChooser.folderNameLabelText
=
Mapp:
FileChooser.upFolderToolTip.textAndMnemonic
=
Upp en niv
\u
00E5
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
Filformat:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
Upp en niv
\u
00E5
FileChooser.upFolderAccessibleName
=
Upp
FileChooser.upFolderAccessibleName
=
Upp
FileChooser.homeFolderToolTip
Text
=
Hem
FileChooser.homeFolderToolTip
.textAndMnemonic
=
Hem
FileChooser.homeFolderAccessibleName
=
Hem
FileChooser.homeFolderAccessibleName
=
Hem
FileChooser.newFolderToolTip
Text
=
Skapa ny mapp
FileChooser.newFolderToolTip
.textAndMnemonic
=
Skapa ny mapp
FileChooser.newFolderAccessibleName
=
Ny mapp
FileChooser.newFolderAccessibleName
=
Ny mapp
FileChooser.newFolderActionLabel
Text
=
Ny mapp
FileChooser.newFolderActionLabel
.textAndMnemonic
=
Ny mapp
FileChooser.listViewButtonToolTip
Text
=
Lista
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewButtonAccessibleName
=
Lista
FileChooser.listViewActionLabel
Text
=
Lista
FileChooser.listViewActionLabel
.textAndMnemonic
=
Lista
FileChooser.detailsViewButtonToolTip
Text
=
Detaljer
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
Detaljer
FileChooser.detailsViewButtonAccessibleName
=
Detaljer
FileChooser.detailsViewButtonAccessibleName
=
Detaljer
FileChooser.viewMenuButtonToolTipText
=
Menyn Visa
FileChooser.viewMenuButtonToolTipText
=
Menyn Visa
FileChooser.viewMenuButtonAccessibleName
=
Menyn Visa
FileChooser.viewMenuButtonAccessibleName
=
Menyn Visa
FileChooser.detailsViewActionLabel
Text
=
Detaljer
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
Detaljer
FileChooser.refreshActionLabel
Text
=
F
\u
00F6rnya
FileChooser.refreshActionLabel
.textAndMnemonic
=
F
\u
00F6rnya
FileChooser.viewMenuLabel
Text
=
Vy
FileChooser.viewMenuLabel
.textAndMnemonic
=
Vy
FileChooser.fileNameHeader
Text
=
Namn
FileChooser.fileNameHeader
.textAndMnemonic
=
Namn
FileChooser.fileSizeHeader
Text
=
Storlek
FileChooser.fileSizeHeader
.textAndMnemonic
=
Storlek
FileChooser.fileTypeHeader
Text
=
Typ
FileChooser.fileTypeHeader
.textAndMnemonic
=
Typ
FileChooser.fileDateHeader
Text
=
\u
00C4ndrad
FileChooser.fileDateHeader
.textAndMnemonic
=
\u
00C4ndrad
FileChooser.fileAttrHeader
Text
=
Attribut
FileChooser.fileAttrHeader
.textAndMnemonic
=
Attribut
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_CN.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
\u
67E5
\u
770B:
FileChooser.lookInLabel.textAndMnemonic
=
\u
67E5
\u
770B: (&I)
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
\u
4FDD
\u
5B58:
FileChooser.saveInLabelText
=
\u
4FDD
\u
5B58:
FileChooser.fileNameLabel.textAndMnemonic
=
\u6587\u
4EF6
\u
540D: (&N)
FileChooser.fileNameLabelText
=
\u6587\u
4EF6
\u
540D:
FileChooser.folderNameLabel.textAndMnemonic
=
\u6587\u
4EF6
\u5939\u
540D: (&N)
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
\u6587\u
4EF6
\u
7C7B
\u
578B: (&T)
FileChooser.folderNameLabelText
=
\u6587\u
4EF6
\u5939\u
540D:
FileChooser.upFolderToolTip.textAndMnemonic
=
\u5411\u
4E0A
\u
4E00
\u
7EA7
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
\u6587\u
4EF6
\u
7C7B
\u
578B:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
\u5411\u
4E0A
\u
4E00
\u
7EA7
FileChooser.upFolderAccessibleName
=
\u5411\u
4E0A
FileChooser.upFolderAccessibleName
=
\u5411\u
4E0A
FileChooser.homeFolderToolTip
Text
=
\u
4E3B
\u
76EE
\u
5F55
FileChooser.homeFolderToolTip
.textAndMnemonic
=
\u
4E3B
\u
76EE
\u
5F55
FileChooser.homeFolderAccessibleName
=
\u
4E3B
\u
76EE
\u
5F55
FileChooser.homeFolderAccessibleName
=
\u
4E3B
\u
76EE
\u
5F55
FileChooser.newFolderToolTip
Text
=
\u
521B
\u
5EFA
\u
65B0
\u6587\u
4EF6
\u5939
FileChooser.newFolderToolTip
.textAndMnemonic
=
\u
521B
\u
5EFA
\u
65B0
\u6587\u
4EF6
\u5939
FileChooser.newFolderAccessibleName
=
\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
FileChooser.newFolderAccessibleName
=
\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
FileChooser.newFolderActionLabel
Text
=
\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
FileChooser.newFolderActionLabel
.textAndMnemonic
=
\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
FileChooser.listViewButtonToolTip
Text
=
\u5217\u8868
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
\u5217\u8868
FileChooser.listViewButtonAccessibleName
=
\u5217\u8868
FileChooser.listViewButtonAccessibleName
=
\u5217\u8868
FileChooser.listViewActionLabel
Text
=
\u5217\u8868
FileChooser.listViewActionLabel
.textAndMnemonic
=
\u5217\u8868
FileChooser.detailsViewButtonToolTip
Text
=
\u
8BE6
\u
7EC6
\u
8D44
\u6599
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
\u
8BE6
\u
7EC6
\u
8D44
\u6599
FileChooser.detailsViewButtonAccessibleName
=
\u
8BE6
\u
7EC6
\u
8D44
\u6599
FileChooser.detailsViewButtonAccessibleName
=
\u
8BE6
\u
7EC6
\u
8D44
\u6599
FileChooser.viewMenuButtonToolTipText
=
\u
67E5
\u
770B
\u
83DC
\u5355
FileChooser.viewMenuButtonToolTipText
=
\u
67E5
\u
770B
\u
83DC
\u5355
FileChooser.viewMenuButtonAccessibleName
=
\u
67E5
\u
770B
\u
83DC
\u5355
FileChooser.viewMenuButtonAccessibleName
=
\u
67E5
\u
770B
\u
83DC
\u5355
FileChooser.detailsViewActionLabel
Text
=
\u
8BE6
\u
7EC6
\u
8D44
\u6599
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
\u
8BE6
\u
7EC6
\u
8D44
\u6599
FileChooser.refreshActionLabel
Text
=
\u5237\u
65B0
FileChooser.refreshActionLabel
.textAndMnemonic
=
\u5237\u
65B0
FileChooser.viewMenuLabel
Text
=
\u
89C6
\u
56FE
FileChooser.viewMenuLabel
.textAndMnemonic
=
\u
89C6
\u
56FE
FileChooser.fileNameHeader
Text
=
\u
540D
\u
79F0
FileChooser.fileNameHeader
.textAndMnemonic
=
\u
540D
\u
79F0
FileChooser.fileSizeHeader
Text
=
\u5927\u
5C0F
FileChooser.fileSizeHeader
.textAndMnemonic
=
\u5927\u
5C0F
FileChooser.fileTypeHeader
Text
=
\u
7C7B
\u
578B
FileChooser.fileTypeHeader
.textAndMnemonic
=
\u
7C7B
\u
578B
FileChooser.fileDateHeader
Text
=
\u
4FEE
\u6539\u
65E5
\u
671F
FileChooser.fileDateHeader
.textAndMnemonic
=
\u
4FEE
\u6539\u
65E5
\u
671F
FileChooser.fileAttrHeader
Text
=
\u
5C5E
\u6027
FileChooser.fileAttrHeader
.textAndMnemonic
=
\u
5C5E
\u6027
src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_TW.properties
浏览文件 @
33968c10
...
@@ -18,34 +18,30 @@
...
@@ -18,34 +18,30 @@
############ FILE CHOOSER STRINGS #############
############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText
=
\u
67E5
\u
8A62:
FileChooser.lookInLabel.textAndMnemonic
=
\u
67E5
\u
8A62(&I):
FileChooser.lookInLabelMnemonic
=
73
FileChooser.saveInLabel.textAndMnemonic
=
\u5132\u
5B58
\u
65BC:
FileChooser.saveInLabelText
=
\u5132\u
5B58
\u
65BC:
FileChooser.fileNameLabel.textAndMnemonic
=
\u
6A94
\u6848\u
540D
\u
7A31(&N):
FileChooser.fileNameLabelText
=
\u
6A94
\u6848\u
540D
\u
7A31:
FileChooser.folderNameLabel.textAndMnemonic
=
\u
8CC7
\u6599\u
593E
\u
540D
\u
7A31(&N):
FileChooser.fileNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabel.textAndMnemonic
=
\u
6A94
\u6848\u
985E
\u
578B(&T):
FileChooser.folderNameLabelText
=
\u
8CC7
\u6599\u
593E
\u
540D
\u
7A31:
FileChooser.upFolderToolTip.textAndMnemonic
=
\u
5F80
\u
4E0A
\u
4E00
\u
5C64
FileChooser.folderNameLabelMnemonic
=
78
FileChooser.filesOfTypeLabelText
=
\u
6A94
\u6848\u
985E
\u
578B:
FileChooser.filesOfTypeLabelMnemonic
=
84
FileChooser.upFolderToolTipText
=
\u
5F80
\u
4E0A
\u
4E00
\u
5C64
FileChooser.upFolderAccessibleName
=
\u
5F80
\u
4E0A
FileChooser.upFolderAccessibleName
=
\u
5F80
\u
4E0A
FileChooser.homeFolderToolTip
Text
=
\u
4E3B
\u
76EE
\u9304
FileChooser.homeFolderToolTip
.textAndMnemonic
=
\u
4E3B
\u
76EE
\u9304
FileChooser.homeFolderAccessibleName
=
\u
4E3B
\u
76EE
\u9304
FileChooser.homeFolderAccessibleName
=
\u
4E3B
\u
76EE
\u9304
FileChooser.newFolderToolTip
Text
=
\u
5EFA
\u
7ACB
\u
65B0
\u
8CC7
\u6599\u
593E
FileChooser.newFolderToolTip
.textAndMnemonic
=
\u
5EFA
\u
7ACB
\u
65B0
\u
8CC7
\u6599\u
593E
FileChooser.newFolderAccessibleName
=
\u
65B0
\u
8CC7
\u6599\u
593E
FileChooser.newFolderAccessibleName
=
\u
65B0
\u
8CC7
\u6599\u
593E
FileChooser.newFolderActionLabel
Text
=
\u
65B0
\u
8CC7
\u6599\u
593E
FileChooser.newFolderActionLabel
.textAndMnemonic
=
\u
65B0
\u
8CC7
\u6599\u
593E
FileChooser.listViewButtonToolTip
Text
=
\u
6E05
\u
55AE
FileChooser.listViewButtonToolTip
.textAndMnemonic
=
\u
6E05
\u
55AE
FileChooser.listViewButtonAccessibleName
=
\u
6E05
\u
55AE
FileChooser.listViewButtonAccessibleName
=
\u
6E05
\u
55AE
FileChooser.listViewActionLabel
Text
=
\u
6E05
\u
55AE
FileChooser.listViewActionLabel
.textAndMnemonic
=
\u
6E05
\u
55AE
FileChooser.detailsViewButtonToolTip
Text
=
\u
8A73
\u
7D30
\u
8CC7
\u
8A0A
FileChooser.detailsViewButtonToolTip
.textAndMnemonic
=
\u
8A73
\u
7D30
\u
8CC7
\u
8A0A
FileChooser.detailsViewButtonAccessibleName
=
\u
8A73
\u
7D30
\u
8CC7
\u
8A0A
FileChooser.detailsViewButtonAccessibleName
=
\u
8A73
\u
7D30
\u
8CC7
\u
8A0A
FileChooser.viewMenuButtonToolTipText
=
\u
6AA2
\u8996\u
529F
\u
80FD
\u8868
FileChooser.viewMenuButtonToolTipText
=
\u
6AA2
\u8996\u
529F
\u
80FD
\u8868
FileChooser.viewMenuButtonAccessibleName
=
\u
6AA2
\u8996\u
529F
\u
80FD
\u8868
FileChooser.viewMenuButtonAccessibleName
=
\u
6AA2
\u8996\u
529F
\u
80FD
\u8868
FileChooser.detailsViewActionLabel
Text
=
\u
8A73
\u
7D30
\u
8CC7
\u
8A0A
FileChooser.detailsViewActionLabel
.textAndMnemonic
=
\u
8A73
\u
7D30
\u
8CC7
\u
8A0A
FileChooser.refreshActionLabel
Text
=
\u
91CD
\u
65B0
\u6574\u7406
FileChooser.refreshActionLabel
.textAndMnemonic
=
\u
91CD
\u
65B0
\u6574\u7406
FileChooser.viewMenuLabel
Text
=
\u
6AA2
\u8996
FileChooser.viewMenuLabel
.textAndMnemonic
=
\u
6AA2
\u8996
FileChooser.fileNameHeader
Text
=
\u
540D
\u
7A31
FileChooser.fileNameHeader
.textAndMnemonic
=
\u
540D
\u
7A31
FileChooser.fileSizeHeader
Text
=
\u5927\u
5C0F
FileChooser.fileSizeHeader
.textAndMnemonic
=
\u5927\u
5C0F
FileChooser.fileTypeHeader
Text
=
\u
985E
\u
578B
FileChooser.fileTypeHeader
.textAndMnemonic
=
\u
985E
\u
578B
FileChooser.fileDateHeader
Text
=
\u
4FEE
\u6539\u
65E5
\u
671F
FileChooser.fileDateHeader
.textAndMnemonic
=
\u
4FEE
\u6539\u
65E5
\u
671F
FileChooser.fileAttrHeader
Text
=
\u
5C6C
\u6027
FileChooser.fileAttrHeader
.textAndMnemonic
=
\u
5C6C
\u6027
src/share/classes/com/sun/rowset/FilteredRowSetImpl.java
浏览文件 @
33968c10
...
@@ -128,7 +128,7 @@ public class FilteredRowSetImpl extends WebRowSetImpl implements Serializable, C
...
@@ -128,7 +128,7 @@ public class FilteredRowSetImpl extends WebRowSetImpl implements Serializable, C
for
(
int
rows
=
this
.
getRow
();
rows
<=
this
.
size
();
rows
++)
{
for
(
int
rows
=
this
.
getRow
();
rows
<=
this
.
size
();
rows
++)
{
bool
=
super
.
internalNext
();
bool
=
super
.
internalNext
();
if
(
p
==
null
)
{
if
(
!
bool
||
p
==
null
)
{
return
bool
;
return
bool
;
}
}
if
(
p
.
evaluate
(
this
)){
if
(
p
.
evaluate
(
this
)){
...
...
src/share/classes/java/awt/Component.java
浏览文件 @
33968c10
...
@@ -7169,6 +7169,9 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -7169,6 +7169,9 @@ public abstract class Component implements ImageObserver, MenuContainer,
* Set from its parent. If all ancestors of this Component have null
* Set from its parent. If all ancestors of this Component have null
* specified for the Set, then the current KeyboardFocusManager's default
* specified for the Set, then the current KeyboardFocusManager's default
* Set is used.
* Set is used.
* <p>
* This method may throw a {@code ClassCastException} if any {@code Object}
* in {@code keystrokes} is not an {@code AWTKeyStroke}.
*
*
* @param id one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
* @param id one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, or
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, or
...
@@ -7182,8 +7185,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -7182,8 +7185,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
* KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, or
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, or
* KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, or if keystrokes
* KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, or if keystrokes
* contains null, or if any Object in keystrokes is not an
* contains null, or if any keystroke represents a KEY_TYPED event,
* AWTKeyStroke, or if any keystroke represents a KEY_TYPED event,
* or if any keystroke already maps to another focus traversal
* or if any keystroke already maps to another focus traversal
* operation for this Component
* operation for this Component
* @since 1.4
* @since 1.4
...
@@ -7831,7 +7833,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -7831,7 +7833,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
focusLog
.
finer
(
"clear global focus owner"
);
focusLog
.
finer
(
"clear global focus owner"
);
}
}
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
clearGlobalFocusOwner
();
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
clearGlobalFocusOwner
Priv
();
}
}
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
focusLog
.
finer
(
"returning result: "
+
res
);
focusLog
.
finer
(
"returning result: "
+
res
);
...
@@ -7912,7 +7914,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -7912,7 +7914,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
focusLog
.
finer
(
"clear global focus owner"
);
focusLog
.
finer
(
"clear global focus owner"
);
}
}
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
clearGlobalFocusOwner
();
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
clearGlobalFocusOwner
Priv
();
}
}
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
if
(
focusLog
.
isLoggable
(
PlatformLogger
.
FINER
))
{
focusLog
.
finer
(
"returning result: "
+
res
);
focusLog
.
finer
(
"returning result: "
+
res
);
...
@@ -7945,11 +7947,11 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -7945,11 +7947,11 @@ public abstract class Component implements ImageObserver, MenuContainer,
if
(
rootAncestor
!=
null
)
{
if
(
rootAncestor
!=
null
)
{
Container
rootAncestorRootAncestor
=
Container
rootAncestorRootAncestor
=
rootAncestor
.
getFocusCycleRootAncestor
();
rootAncestor
.
getFocusCycleRootAncestor
();
Container
fcr
=
(
rootAncestorRootAncestor
!=
null
)
?
rootAncestorRootAncestor
:
rootAncestor
;
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
setGlobalCurrentFocusCycleRoot
(
setGlobalCurrentFocusCycleRootPriv
(
fcr
);
(
rootAncestorRootAncestor
!=
null
)
?
rootAncestorRootAncestor
:
rootAncestor
);
rootAncestor
.
requestFocus
(
CausedFocusEvent
.
Cause
.
TRAVERSAL_UP
);
rootAncestor
.
requestFocus
(
CausedFocusEvent
.
Cause
.
TRAVERSAL_UP
);
}
else
{
}
else
{
Window
window
=
getContainingWindow
();
Window
window
=
getContainingWindow
();
...
@@ -7959,7 +7961,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -7959,7 +7961,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
getDefaultComponent
(
window
);
getDefaultComponent
(
window
);
if
(
toFocus
!=
null
)
{
if
(
toFocus
!=
null
)
{
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
setGlobalCurrentFocusCycleRoot
(
window
);
setGlobalCurrentFocusCycleRoot
Priv
(
window
);
toFocus
.
requestFocus
(
CausedFocusEvent
.
Cause
.
TRAVERSAL_UP
);
toFocus
.
requestFocus
(
CausedFocusEvent
.
Cause
.
TRAVERSAL_UP
);
}
}
}
}
...
...
src/share/classes/java/awt/Container.java
浏览文件 @
33968c10
...
@@ -3093,6 +3093,9 @@ public class Container extends Component {
...
@@ -3093,6 +3093,9 @@ public class Container extends Component {
* Set from its parent. If all ancestors of this Container have null
* Set from its parent. If all ancestors of this Container have null
* specified for the Set, then the current KeyboardFocusManager's default
* specified for the Set, then the current KeyboardFocusManager's default
* Set is used.
* Set is used.
* <p>
* This method may throw a {@code ClassCastException} if any {@code Object}
* in {@code keystrokes} is not an {@code AWTKeyStroke}.
*
*
* @param id one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
* @param id one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,
...
@@ -3109,8 +3112,7 @@ public class Container extends Component {
...
@@ -3109,8 +3112,7 @@ public class Container extends Component {
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,
* KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,
* KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, or
* KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, or
* KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS, or if keystrokes
* KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS, or if keystrokes
* contains null, or if any Object in keystrokes is not an
* contains null, or if any keystroke represents a KEY_TYPED event,
* AWTKeyStroke, or if any keystroke represents a KEY_TYPED event,
* or if any keystroke already maps to another focus traversal
* or if any keystroke already maps to another focus traversal
* operation for this Container
* operation for this Container
* @since 1.4
* @since 1.4
...
@@ -3243,7 +3245,7 @@ public class Container extends Component {
...
@@ -3243,7 +3245,7 @@ public class Container extends Component {
if
(
root
!=
currentFocusCycleRoot
)
{
if
(
root
!=
currentFocusCycleRoot
)
{
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
setGlobalCurrentFocusCycleRoot
(
root
);
setGlobalCurrentFocusCycleRoot
Priv
(
root
);
}
}
return
root
;
return
root
;
}
}
...
@@ -3300,7 +3302,7 @@ public class Container extends Component {
...
@@ -3300,7 +3302,7 @@ public class Container extends Component {
Container
cont
=
kfm
.
getCurrentFocusCycleRoot
();
Container
cont
=
kfm
.
getCurrentFocusCycleRoot
();
if
(
cont
==
this
||
isParentOf
(
cont
))
{
if
(
cont
==
this
||
isParentOf
(
cont
))
{
kfm
.
setGlobalCurrentFocusCycleRoot
(
null
);
kfm
.
setGlobalCurrentFocusCycleRoot
Priv
(
null
);
}
}
}
}
...
@@ -3504,7 +3506,7 @@ public class Container extends Component {
...
@@ -3504,7 +3506,7 @@ public class Container extends Component {
public
void
transferFocusDownCycle
()
{
public
void
transferFocusDownCycle
()
{
if
(
isFocusCycleRoot
())
{
if
(
isFocusCycleRoot
())
{
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
setGlobalCurrentFocusCycleRoot
(
this
);
setGlobalCurrentFocusCycleRoot
Priv
(
this
);
Component
toFocus
=
getFocusTraversalPolicy
().
Component
toFocus
=
getFocusTraversalPolicy
().
getDefaultComponent
(
this
);
getDefaultComponent
(
this
);
if
(
toFocus
!=
null
)
{
if
(
toFocus
!=
null
)
{
...
...
src/share/classes/java/awt/DefaultKeyboardFocusManager.java
浏览文件 @
33968c10
...
@@ -116,7 +116,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
...
@@ -116,7 +116,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
}
else
if
(
fe
.
getOppositeComponent
()
!=
null
&&
}
else
if
(
fe
.
getOppositeComponent
()
!=
null
&&
doRestoreFocus
(
fe
.
getOppositeComponent
(),
vetoedComponent
,
false
))
{
doRestoreFocus
(
fe
.
getOppositeComponent
(),
vetoedComponent
,
false
))
{
}
else
{
}
else
{
clearGlobalFocusOwner
();
clearGlobalFocusOwner
Priv
();
}
}
}
}
private
void
restoreFocus
(
WindowEvent
we
)
{
private
void
restoreFocus
(
WindowEvent
we
)
{
...
@@ -130,7 +130,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
...
@@ -130,7 +130,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
{
{
// do nothing, everything is done in restoreFocus()
// do nothing, everything is done in restoreFocus()
}
else
{
}
else
{
clearGlobalFocusOwner
();
clearGlobalFocusOwner
Priv
();
}
}
}
}
private
boolean
restoreFocus
(
Window
aWindow
,
Component
vetoedComponent
,
private
boolean
restoreFocus
(
Window
aWindow
,
Component
vetoedComponent
,
...
@@ -141,7 +141,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
...
@@ -141,7 +141,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
if
(
toFocus
!=
null
&&
toFocus
!=
vetoedComponent
&&
doRestoreFocus
(
toFocus
,
vetoedComponent
,
false
))
{
if
(
toFocus
!=
null
&&
toFocus
!=
vetoedComponent
&&
doRestoreFocus
(
toFocus
,
vetoedComponent
,
false
))
{
return
true
;
return
true
;
}
else
if
(
clearOnFailure
)
{
}
else
if
(
clearOnFailure
)
{
clearGlobalFocusOwner
();
clearGlobalFocusOwner
Priv
();
return
true
;
return
true
;
}
else
{
}
else
{
return
false
;
return
false
;
...
@@ -164,7 +164,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
...
@@ -164,7 +164,7 @@ public class DefaultKeyboardFocusManager extends KeyboardFocusManager {
{
{
return
true
;
return
true
;
}
else
if
(
clearOnFailure
)
{
}
else
if
(
clearOnFailure
)
{
clearGlobalFocusOwner
();
clearGlobalFocusOwner
Priv
();
return
true
;
return
true
;
}
else
{
}
else
{
return
false
;
return
false
;
...
...
src/share/classes/java/awt/Dialog.java
浏览文件 @
33968c10
...
@@ -670,7 +670,7 @@ public class Dialog extends Window {
...
@@ -670,7 +670,7 @@ public class Dialog extends Window {
this
.
title
=
title
;
this
.
title
=
title
;
setModalityType
(
modalityType
);
setModalityType
(
modalityType
);
SunToolkit
.
checkAndSetPolicy
(
this
,
false
);
SunToolkit
.
checkAndSetPolicy
(
this
);
}
}
/**
/**
...
@@ -721,7 +721,7 @@ public class Dialog extends Window {
...
@@ -721,7 +721,7 @@ public class Dialog extends Window {
this
.
title
=
title
;
this
.
title
=
title
;
setModalityType
(
modalityType
);
setModalityType
(
modalityType
);
SunToolkit
.
checkAndSetPolicy
(
this
,
false
);
SunToolkit
.
checkAndSetPolicy
(
this
);
}
}
/**
/**
...
@@ -1037,7 +1037,7 @@ public class Dialog extends Window {
...
@@ -1037,7 +1037,7 @@ public class Dialog extends Window {
predictedFocusOwner
=
getMostRecentFocusOwner
();
predictedFocusOwner
=
getMostRecentFocusOwner
();
if
(
conditionalShow
(
predictedFocusOwner
,
time
))
{
if
(
conditionalShow
(
predictedFocusOwner
,
time
))
{
modalFilter
=
ModalEventFilter
.
createFilterForDialog
(
this
);
modalFilter
=
ModalEventFilter
.
createFilterForDialog
(
this
);
Conditional
cond
=
new
Conditional
()
{
final
Conditional
cond
=
new
Conditional
()
{
@Override
@Override
public
boolean
evaluate
()
{
public
boolean
evaluate
()
{
return
windowClosingException
==
null
;
return
windowClosingException
==
null
;
...
@@ -1067,7 +1067,12 @@ public class Dialog extends Window {
...
@@ -1067,7 +1067,12 @@ public class Dialog extends Window {
modalityPushed
();
modalityPushed
();
try
{
try
{
EventQueue
eventQueue
=
Toolkit
.
getDefaultToolkit
().
getSystemEventQueue
();
final
EventQueue
eventQueue
=
AccessController
.
doPrivileged
(
new
PrivilegedAction
<
EventQueue
>()
{
public
EventQueue
run
()
{
return
Toolkit
.
getDefaultToolkit
().
getSystemEventQueue
();
}
});
secondaryLoop
=
eventQueue
.
createSecondaryLoop
(
cond
,
modalFilter
,
0
);
secondaryLoop
=
eventQueue
.
createSecondaryLoop
(
cond
,
modalFilter
,
0
);
if
(!
secondaryLoop
.
enter
())
{
if
(!
secondaryLoop
.
enter
())
{
secondaryLoop
=
null
;
secondaryLoop
=
null
;
...
...
src/share/classes/java/awt/FileDialog.java
浏览文件 @
33968c10
...
@@ -147,8 +147,8 @@ public class FileDialog extends Dialog {
...
@@ -147,8 +147,8 @@ public class FileDialog extends Dialog {
static
{
static
{
AWTAccessor
.
setFileDialogAccessor
(
AWTAccessor
.
setFileDialogAccessor
(
new
AWTAccessor
.
FileDialogAccessor
()
{
new
AWTAccessor
.
FileDialogAccessor
()
{
public
void
setFiles
(
FileDialog
fileDialog
,
String
directory
,
String
files
[])
{
public
void
setFiles
(
FileDialog
fileDialog
,
File
files
[])
{
fileDialog
.
setFiles
(
directory
,
files
);
fileDialog
.
setFiles
(
files
);
}
}
public
void
setFile
(
FileDialog
fileDialog
,
String
file
)
{
public
void
setFile
(
FileDialog
fileDialog
,
String
file
)
{
fileDialog
.
file
=
(
""
.
equals
(
file
))
?
null
:
file
;
fileDialog
.
file
=
(
""
.
equals
(
file
))
?
null
:
file
;
...
@@ -446,13 +446,9 @@ public class FileDialog extends Dialog {
...
@@ -446,13 +446,9 @@ public class FileDialog extends Dialog {
* @see #getFiles
* @see #getFiles
* @since 1.7
* @since 1.7
*/
*/
private
void
setFiles
(
String
directory
,
String
files
[])
{
private
void
setFiles
(
File
files
[])
{
synchronized
(
getObjectLock
())
{
synchronized
(
getObjectLock
())
{
int
filesNumber
=
(
files
!=
null
)
?
files
.
length
:
0
;
this
.
files
=
files
;
this
.
files
=
new
File
[
filesNumber
];
for
(
int
i
=
0
;
i
<
filesNumber
;
i
++)
{
this
.
files
[
i
]
=
new
File
(
directory
,
files
[
i
]);
}
}
}
}
}
...
...
src/share/classes/java/awt/Frame.java
浏览文件 @
33968c10
...
@@ -449,7 +449,7 @@ public class Frame extends Window implements MenuContainer {
...
@@ -449,7 +449,7 @@ public class Frame extends Window implements MenuContainer {
private
void
init
(
String
title
,
GraphicsConfiguration
gc
)
{
private
void
init
(
String
title
,
GraphicsConfiguration
gc
)
{
this
.
title
=
title
;
this
.
title
=
title
;
SunToolkit
.
checkAndSetPolicy
(
this
,
false
);
SunToolkit
.
checkAndSetPolicy
(
this
);
}
}
/**
/**
...
...
src/share/classes/java/awt/KeyboardFocusManager.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/awt/Window.java
浏览文件 @
33968c10
...
@@ -506,7 +506,7 @@ public class Window extends Container implements Accessible {
...
@@ -506,7 +506,7 @@ public class Window extends Container implements Accessible {
modalExclusionType
=
Dialog
.
ModalExclusionType
.
NO_EXCLUDE
;
modalExclusionType
=
Dialog
.
ModalExclusionType
.
NO_EXCLUDE
;
SunToolkit
.
checkAndSetPolicy
(
this
,
false
);
SunToolkit
.
checkAndSetPolicy
(
this
);
}
}
/**
/**
...
@@ -2568,7 +2568,7 @@ public class Window extends Container implements Accessible {
...
@@ -2568,7 +2568,7 @@ public class Window extends Container implements Accessible {
}
}
}
}
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
KeyboardFocusManager
.
getCurrentKeyboardFocusManager
().
clearGlobalFocusOwner
();
clearGlobalFocusOwner
Priv
();
}
}
}
}
...
...
src/share/classes/java/lang/Integer.java
浏览文件 @
33968c10
...
@@ -780,6 +780,9 @@ public final class Integer extends Number implements Comparable<Integer> {
...
@@ -780,6 +780,9 @@ public final class Integer extends Number implements Comparable<Integer> {
int
j
=
low
;
int
j
=
low
;
for
(
int
k
=
0
;
k
<
cache
.
length
;
k
++)
for
(
int
k
=
0
;
k
<
cache
.
length
;
k
++)
cache
[
k
]
=
new
Integer
(
j
++);
cache
[
k
]
=
new
Integer
(
j
++);
// range [-128, 127] must be interned (JLS7 5.1.7)
assert
IntegerCache
.
high
>=
127
;
}
}
private
IntegerCache
()
{}
private
IntegerCache
()
{}
...
@@ -801,7 +804,6 @@ public final class Integer extends Number implements Comparable<Integer> {
...
@@ -801,7 +804,6 @@ public final class Integer extends Number implements Comparable<Integer> {
* @since 1.5
* @since 1.5
*/
*/
public
static
Integer
valueOf
(
int
i
)
{
public
static
Integer
valueOf
(
int
i
)
{
assert
IntegerCache
.
high
>=
127
;
if
(
i
>=
IntegerCache
.
low
&&
i
<=
IntegerCache
.
high
)
if
(
i
>=
IntegerCache
.
low
&&
i
<=
IntegerCache
.
high
)
return
IntegerCache
.
cache
[
i
+
(-
IntegerCache
.
low
)];
return
IntegerCache
.
cache
[
i
+
(-
IntegerCache
.
low
)];
return
new
Integer
(
i
);
return
new
Integer
(
i
);
...
...
src/share/classes/java/nio/MappedByteBuffer.java
浏览文件 @
33968c10
...
@@ -139,6 +139,9 @@ public abstract class MappedByteBuffer
...
@@ -139,6 +139,9 @@ public abstract class MappedByteBuffer
return
isLoaded0
(
mappingAddress
(
offset
),
length
,
Bits
.
pageCount
(
length
));
return
isLoaded0
(
mappingAddress
(
offset
),
length
,
Bits
.
pageCount
(
length
));
}
}
// not used, but a potential target for a store, see load() for details.
private
static
byte
unused
;
/**
/**
* Loads this buffer's content into physical memory.
* Loads this buffer's content into physical memory.
*
*
...
@@ -157,15 +160,20 @@ public abstract class MappedByteBuffer
...
@@ -157,15 +160,20 @@ public abstract class MappedByteBuffer
long
length
=
mappingLength
(
offset
);
long
length
=
mappingLength
(
offset
);
load0
(
mappingAddress
(
offset
),
length
);
load0
(
mappingAddress
(
offset
),
length
);
// touch each page
// Read a byte from each page to bring it into memory. A checksum
// is computed as we go along to prevent the compiler from otherwise
// considering the loop as dead code.
Unsafe
unsafe
=
Unsafe
.
getUnsafe
();
Unsafe
unsafe
=
Unsafe
.
getUnsafe
();
int
ps
=
Bits
.
pageSize
();
int
ps
=
Bits
.
pageSize
();
int
count
=
Bits
.
pageCount
(
length
);
int
count
=
Bits
.
pageCount
(
length
);
long
a
=
mappingAddress
(
offset
);
long
a
=
mappingAddress
(
offset
);
byte
x
=
0
;
for
(
int
i
=
0
;
i
<
count
;
i
++)
{
for
(
int
i
=
0
;
i
<
count
;
i
++)
{
unsafe
.
getByte
(
a
);
x
^=
unsafe
.
getByte
(
a
);
a
+=
ps
;
a
+=
ps
;
}
}
if
(
unused
!=
0
)
unused
=
x
;
return
this
;
return
this
;
}
}
...
...
src/share/classes/java/security/spec/MGF1ParameterSpec.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/security/spec/PSSParameterSpec.java
浏览文件 @
33968c10
/*
/*
* Copyright (c) 2001, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 20
12
, 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
...
@@ -47,6 +47,7 @@ import java.security.spec.MGF1ParameterSpec;
...
@@ -47,6 +47,7 @@ import java.security.spec.MGF1ParameterSpec;
* <pre>
* <pre>
* OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= {
* OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= {
* { OID id-sha1 PARAMETERS NULL }|
* { OID id-sha1 PARAMETERS NULL }|
* { OID id-sha224 PARAMETERS NULL }|
* { OID id-sha256 PARAMETERS NULL }|
* { OID id-sha256 PARAMETERS NULL }|
* { OID id-sha384 PARAMETERS NULL }|
* { OID id-sha384 PARAMETERS NULL }|
* { OID id-sha512 PARAMETERS NULL },
* { OID id-sha512 PARAMETERS NULL },
...
...
src/share/classes/java/util/NoSuchElementException.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/util/UUID.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/util/concurrent/atomic/AtomicLongFieldUpdater.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/util/prefs/AbstractPreferences.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/java/util/regex/Pattern.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/javax/swing/JApplet.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/javax/swing/JComponent.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/javax/swing/JDialog.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/javax/swing/JFrame.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/javax/swing/JInternalFrame.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/javax/swing/JWindow.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/javax/swing/UIManager.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/awt/AWTAccessor.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/awt/SunToolkit.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/management/Agent.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/nio/ch/SocketChannelImpl.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/ec/ECDSASignature.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/ec/SunECEntries.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/pkcs11/P11Digest.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/pkcs11/P11Mac.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/pkcs11/P11Signature.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/pkcs11/SunPKCS11.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/pkcs11/wrapper/Functions.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/DigestBase.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/MD2.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/MD4.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/MD5.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/SHA.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/SHA2.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/SHA5.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/SecureRandom.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/SunEntries.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/provider/certpath/SunCertPathBuilder.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/rsa/RSASignature.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/rsa/SunRsaSignEntries.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/ssl/SSLContextImpl.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/validator/SimpleValidator.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/security/x509/AlgorithmId.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/classes/sun/tools/jcmd/JCmd.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/demo/jfc/Notepad/Notepad.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/demo/jfc/Notepad/resources/Notepad.properties
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/demo/jfc/Notepad/resources/NotepadSystem.properties
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/demo/management/MemoryMonitor/README.txt
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/com/sun/java/util/jar/pack/jni.cpp
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/java/net/net_util.h
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/sun/awt/image/cvutils/img_dcm.h
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/sun/awt/image/cvutils/img_dcm8.h
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/sun/java2d/opengl/OGLContext.h
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/sun/java2d/opengl/OGLTextRenderer.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/sun/java2d/opengl/OGLVertexCache.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/sun/java2d/opengl/OGLVertexCache.h
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/share/native/sun/java2d/pipe/SpanClipRenderer.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/classes/sun/awt/X11/GtkFileDialogPeer.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/classes/sun/awt/X11/XFileDialogPeer.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/native/java/net/Inet4AddressImpl.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/native/java/net/Inet6AddressImpl.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/native/java/net/net_util_md.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/native/java/util/TimeZone_md.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/native/sun/awt/initIDs.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/solaris/native/sun/nio/ch/EPollArrayWrapper.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/windows/classes/sun/awt/windows/WFileDialogPeer.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/windows/classes/sun/security/mscapi/RSASignature.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/windows/classes/sun/security/mscapi/SunMSCAPI.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
src/windows/native/sun/tools/attach/WindowsVirtualMachine.c
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/com/sun/crypto/provider/Cipher/RSA/TestOAEPParameterSpec.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/com/sun/crypto/provider/Cipher/RSA/TestOAEPWithParams.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/com/sun/crypto/provider/KeyGenerator/Test4628062.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/com/sun/crypto/provider/Mac/MacClone.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/com/sun/crypto/provider/Mac/MacKAT.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/demo/zipfs/ZipFSTester.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/demo/zipfs/basic.sh
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/awt/Dialog/ModalDialogPermission/ModalDialogPermission.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/awt/Dialog/ModalDialogPermission/java.policy
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP_AWT.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/awt/Focus/FocusTraversalPolicy/InitialFTP_Swing.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/awt/GraphicsDevice/CloneConfigsTest.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/net/Inet4Address/PingThis.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/nio/MappedByteBuffer/Truncate.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/rmi/activation/checkusage/CheckUsage.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/rmi/testlibrary/ActivationLibrary.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/rmi/testlibrary/JavaVM.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/rmi/testlibrary/RMID.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/rmi/testlibrary/StreamPipe.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/util/UUID/UUIDTest.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/util/concurrent/atomic/AtomicUpdaters.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/util/prefs/RemoveNullKeyCheck.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/java/util/regex/RegExTest.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/management/AgentCMETest.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/krb5/auto/SSL.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/mscapi/ShortRSAKey1024.sh
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/mscapi/ShortRSAKey512.sh
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/mscapi/ShortRSAKey768.sh
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/mscapi/SignUsingNONEwithRSA.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/mscapi/SignUsingSHA2withRSA.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/pkcs11/MessageDigest/DigestKAT.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/pkcs11/MessageDigest/TestCloning.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/pkcs11/Signature/TestRSAKeyLength.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/pkcs11/ec/TestCurves.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/pkcs11/rsa/TestSignatures.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/provider/MessageDigest/DigestKAT.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/provider/MessageDigest/Offsets.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/provider/MessageDigest/TestSHAClone.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/provider/certpath/ReverseBuilder/ReverseBuild.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/rsa/TestKeyPairGenerator.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/rsa/TestSignatures.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/BasicConstraints.java
0 → 100644
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
test/tools/launcher/Arrrghs.java
浏览文件 @
33968c10
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录