没有合适的资源?快使用搜索试试~ 我知道了~
jdk20-jdk-migration-guide.pdf
需积分: 5 0 下载量 122 浏览量
2023-08-08
06:54:27
上传
评论
收藏 473KB PDF 举报
温馨提示
试读
56页
Java Platform, Standard Edition Oracle JDK Migration Guide-56
资源推荐
资源详情
资源评论
Java Platform, Standard Edition
Oracle JDK Migration Guide
Release 20
F73073-01
March 2023
Java Platform, Standard Edition Oracle JDK Migration Guide, Release 20
F73073-01
Copyright © 2017, 2023, Oracle and/or its affiliates.
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software, software documentation, data (as defined in the Federal Acquisition Regulation), or related
documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S.
Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software,
any programs embedded, installed, or activated on delivered hardware, and modifications of such programs)
and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end
users are "commercial computer software," "commercial computer software documentation," or "limited rights
data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation
of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated
software, any programs embedded, installed, or activated on delivered hardware, and modifications of such
programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and
limitations specified in the license contained in the applicable contract. The terms governing the U.S.
Government's use of Oracle cloud services are defined by the applicable contract for such services. No other
rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be
trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc,
and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be
responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Audience vii
Documentation Accessibility vii
Diversity and Inclusion vii
Related Documents vii
Conventions vii
1
Getting Started
2
Significant Changes in the JDK
Significant Changes in JDK 20 Release 2-1
Significant Changes in JDK 19 Release 2-2
Significant Changes in JDK 18 Release 2-3
Significant Changes in JDK 17 Release 2-4
Significant Changes in JDK 16 Release 2-6
Significant Changes in JDK 15 Release 2-7
Significant Changes in JDK 14 Release 2-8
Significant Changes in JDK 13 Release 2-9
Significant Changes in JDK 12 Release 2-10
Significant Changes in JDK 11 Release 2-10
3
Security Updates
Security Updates in JDK 20 3-1
Security Updates in JDK 19 3-1
Security Updates in JDK 18 3-1
Security Updates in JDK 17 3-2
Security Updates in JDK 16 3-2
Security Updates in JDK 15 3-2
Security Updates in JDK 14 3-3
Security Updates in JDK 13 3-3
iii
Security Updates in JDK 11 and JDK 12 3-3
Security Updates in JDK 9 and JDK 10 3-4
JCE Jurisdiction Policy File Default is Unlimited 3-4
Create PKCS12 Keystores 3-4
4
Removed APIs
APIs Removed in Java SE 20 4-1
APIs Removed in Java SE 19 4-1
APIs Removed in Java SE 18 4-1
APIs Removed in Java SE 17 4-1
API Removed in Java SE 16 4-2
APIs Removed in Java SE 15 4-2
APIs Removed in Java SE 14 4-2
APIs Removed in Java SE 13 4-3
APIs Removed in Java SE 12 4-3
APIs Removed in JDK 11 4-3
APIs Removed in JDK 10 4-3
APIs Removed JDK 9 4-4
Removed java.* APIs 4-4
Removal and Future Removal of sun.misc and sun.reflect APIs 4-4
java.awt.peer Not Accessible 4-5
Removed com.sun.image.codec.jpeg Package 4-5
Removed Tools Support for Compact Profiles 4-5
Use CLDR Locale Data by Default 4-6
5
Removed Tools and Components
Features and Options Deprecated in JDK 20 5-1
Features and Options Deprecated in JDK 19 5-1
Tools and Components Removed and Deprecated in JDK 18 5-1
Tools and Components Removed and Deprecated in JDK 17 5-2
Tools and Components Removed and Deprecated in JDK 16 5-2
Tools and Components Removed and Deprecated in JDK 15 5-3
Features and Components Removed in JDK 14 5-3
Tools and Components Removed in JDK 13 5-3
Tools and Components Removed in JDK 12 5-4
Tools and Components Removed in JDK 11 5-4
Tools and Components Removed in JDK 9 and JDK 10 5-6
Removed Native-Header Generation Tool (javah) 5-6
Removed JavaDB 5-6
iv
Removed the JVM TI hprof Agent 5-6
Removed the jhat Tool 5-6
Removed java-rmi.exe and java-rmi.cgi Launchers 5-7
Removed Support for the IIOP Transport from the JMX RMIConnector 5-7
Dropped Windows 32–bit Client VM 5-7
Removed Java VisualVM 5-7
Removed native2ascii Tool 5-7
6
Preparing For Migration
Download the Latest JDK 6-1
Be Aware Of The Default Charset 6-1
Run Your Program Before Recompiling 6-2
Update Third-Party Libraries 6-3
Compile Your Application if Needed 6-3
Run jdeps on Your Code 6-4
7
Migrating From JDK 8 to Later JDK Releases
Strong Encapsulation in the JDK 7-1
--add-exports 7-2
--add-opens 7-3
New Version-String Scheme 7-4
Changes to the Installed JDK/JRE Image 7-4
Changed JDK and JRE Layout 7-4
New Class Loader Implementations 7-5
Removed rt.jar and tools.jar 7-6
Removed Extension Mechanism 7-6
Removed Endorsed Standards Override Mechanism 7-7
Removed macOS-Specific Features 7-7
Platform-Specific Desktop Features 7-8
Removed AppleScript Engine 7-8
Windows Registry Key Changes 7-8
Deployment 7-8
Removed Launch-Time JRE Version Selection 7-9
Removed Support for Serialized Applets 7-9
JNLP Specification Update 7-9
Changes to Garbage Collection 7-10
Make G1 the Default Garbage Collector 7-10
Removed GC Options 7-10
Changes to GC Log Output 7-11
v
剩余55页未读,继续阅读
资源评论
weixin_40191861_zj
- 粉丝: 63
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功