版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
JDK
9,變化與未來(lái)Java
20-YearCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.
Topics?
JDK
9?
OpenJDK
CommunityCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.2016/05/262016/08/112016/09/012016/10/202016/12/012017/01/262017/03/23JDK
9
Schedule
Feature
Complete
All
Tests
Run
Rampdown
Start
Zero
Bug
Bounce
Rampdown
Phase
2
Final
Release
Candidate
General
AvailabilityCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JDK
9
19Groups
703Members
80
JEPs
JDK
9Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
223:
New
Version-String
Scheme?
Motivation–
Which
release
contains
all
of
the
most
recent
security
fixes:
JDK
7
Update
55,
or
JDK
7
Update
60?–
What's
the
difference
between
releases
named
"JDK
7
Update
60",
"1.7.0_60",
and
"JDK
7u60"??
Purpose–
Revise
the
JDK's
version-string
scheme
so
that
it
is
easier
to
distinguish
major,
minor,
and
security-
update
releases.Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
223:
New
Version-String
Scheme?
Version
numbers–
$MAJOR.$MINOR.$SECURITY?
9?
9.0.2?
9.1.2?
Version
strings–
$VNUM(-$PRE)?(\+$BUILD)?(-$OPT)??
9+100?
9.0.2+12?
9.1.2+62Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
222:
The
Java
Shell
(Read-Eval-Print
Loop)?
Motivation–
Immediate
feedback
when
learning
Java–
Exploration
of
coding
options
for
developers
prototyping
code
or
investigating
a
new
API.–
learning
and
exploration
is
streamlined?
Purpose–
Provide
an
interactive
tool
to
evaluate
declarations,
statements,
and
expressions
of
the
Java
programming
language,
together
with
an
API
so
that
other
applications
can
leverage
this
functionality.Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
222:
The
Java
ShellCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
110:
HTTP/2
Client?
Motivation,
problems
of
HttpURLConnection–
The
API
predates
HTTP/1.1
and
is
too
abstract.–
The
base
URLConnection
API
was
designed
with
multiple
protocols
in
mind,
nearly
all
of
which
are
now
defunct
(ftp,
gopher,
etc.).–
It
works
in
blocking
mode
only
(i.e.,
one
thread
perrequest/response).–
It
is
very
hard
to
use
and
maintain.?
Purpose–
Define
a
new
HTTP
client
API
that
implements
HTTP/2
andWebSocket,
and
can
replace
the
legacyHttpURLConnection
API.Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.
JEP
110:
HTTP/2
Client?
Supports
HTTP/2?
Support
HTTPS/TLS?
Support
both
synchronous
and
asynchronous
modes?
Easy
to
set
up
the
WebSocket
handshake.Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
264Platform
Logging
API
and
Service?
Motivation–
Compared
to
the
java.util.logging
API,
most
modernlogging
frameworks
(e.g.,
Log4J
2.0,
Logback)
areseparated
into
a
facade
and
an
implementation.
Anapplication
that
logs
through
such
an
externalframework
should
create
loggers
and
perform
loggingthrough
the
facade
provided,
or
supported,
by
thatframework.–
The
proposed
service
enables
applications
toconfigure
the
JDK
to
use
the
same
logging
frameworkas
the
application.Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
264Platform
Logging
API
and
Service?
Purpose–
Define
a
minimal
logging
API
which
platform
classes
can
use
to
log
messages,
together
with
a
service
interface
for
consumers
of
those
messages.–
A
library
or
application
can
provide
animplementation
of
this
service
in
order
to
routeplatform
log
messages
to
the
logging
frameworkof
its
choice.?
System.Logger
getLogger(String
name)Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.
JEP
266(part):
Reactive
Streams?
Motivation
–
Interfaces
supporting
the
Reactive
Streams
publish-subscribe
framework,
nested
within
the
new
class
Flow,
along
with
a
utility
class
SubmissionPublisher
that
developers
can
use
to
create
custom
components.?
Purpose
–
An
interoperable
publish-subscribe
frameworkCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
266(part):
Reactive
Streamspackage
java.util.concurrent;public
final
class
Flow
{public
static
interface
Publisher<T>;public
static
interface
Subscriber<T>;public
static
interface
Subscription;public
static
interface
Processor<T,R>
extends
Subscriber<T>,
Publisher<R>;}Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.JEP
219Datagram
Transport
Layer
Security?
Motivation–
Satisfy
secure-transport
requirements
for
the
increasing
number
of
datagram-compatible
applications.–
In
many
cases,
the
most
desirable
way
to
secureclient/server
applications
would
be
to
use
TLS;
However,the
requirement
for
datagram
semantics
automaticallyprohibits
use
of
TLS.
Thus,
a
datagram-compatible
variantof
TLS
is
very
desirable.–
DTLS
over
DCCP/SCTP/SRTP,
CoAP,
WebRTC?
Purpose–
Define
APIs
for
Datagram
Transport
Layer
Security
(DTLS)version
1.0
(RFC
4347)
and
1.2?
Reuse
SSLEngineCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.Java
Platform
Module
System?
The
primary
goals–
Make
the
Java
SE
Platform,
and
the
JDK,
more
easilyscalable
down
to
small
computing
devices;–
Improve
the
security
and
maintainability
of
Java
SE
Platform
Implementations
in
general,
and
the
JDK
in
particular;–
Enable
improved
application
performance;
and–
Make
it
easier
for
developers
to
construct
and
maintain
libraries
and
large
applications,
for
both
the
Java
SE
and
EE
Platforms.?
JSR
376
and
OpenJDK
Project
JigsawCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.Module
declarations?
module-info.javamodule
com.foo.bar
{
requires
com.baz.qux;exports
com.foo.bar.alpha;exports
com.foo.bar.beta;}?
module
codemodule-info.javacom/foo/bar/alpha/AlphaFactory.javacom/foo/bar/alpha/Alpha.java...Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.Module
Resolutionmodule
com.foo.app
{requires
com.foo.bar;requires
java.sql;}module
java.sql
{requires
java.logging;requires
java.xml;exports
java.sql;exports
javax.sql;exports
javax.transaction.xa;}Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.Module
Resolutionmodule
com.foo.app
{requires
com.foo.bar;requires
java.sql;}module
java.sql
{requires
public
java.logging;requires
public
java.xml;exports
java.sql;exports
javax.sql;exports
javax.transaction.xa;}Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.‘public’
!=
‘a(chǎn)ccessible’?
Accessibility
1995
-
2015–
public–
protected–
<package>–
private?
Accessibility
2015
––
public
to
everyone–
public
but
only
to
specific
modules–
public
only
within
a
module–
Protected*–
<package>*–
Private*Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.More
…?
Performance
improvement–
Hotspot–
Core
libs?
Security
improvement?
Unicode
7.0/8.0?
Fine
control
and
management–
Java-Level
JVM
Compiler
Interface–
Stack-Walking
API–
Process
API
Updates–
OCSP
Stapling
for
TLSCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.????
Prepare
for
JDK
9Testing
Early
Access
buildsProvide
feedbackReport
bugsContribute
codeCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.OpenJDK
CommunityWe
need
your
help
and
you
can
benefit
from
the
community.Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.OpenJDK
Roles
OpenJDK
Lead?Directs
the
major
efforts
of
the
Community
OpenJDK
Member?Has
demonstrated
a
history
of
significant
contributions
Contributor?Signed
the
Oracle
Contributor
Agreement
(OCA)
Participant?Subscribed
to
OpenJDK
mailing
listsCopyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.Project
Roles
Project
Lead?A
Committer
to
that
Project
who
is
responsible
for
directing
and
coordinating
the
Project’s
activities.
Reviewer?An
experienced
Committer
who
has
the
authority
to
approve
changesets
destined
for
code
repositories.
Committer?An
Author
who
has
been
granted
direct
push
access
to
the
Project’s
code
repositories.
Author?A
Contributor
who
has
been
granted
the
right
to
create
change-sets.Copyright
?
2016,
Oracle
and/or
its
affiliates.
All
rights
reserved.How
to
contributeKnow
what
to
expect
Work
withyour
sponsorSubmit
a
patchDiscuss
your
intended
change
Find
somethinginteresting
to
work
on
Become
a
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 建筑工程項(xiàng)目管理職位考題解讀
- 游戲硬件設(shè)備市場(chǎng)部招聘面試問(wèn)題及答案
- 銀行集控系統(tǒng)管理員面試問(wèn)題及答案解析
- 2025年區(qū)域經(jīng)濟(jì)合作開(kāi)發(fā)項(xiàng)目可行性研究報(bào)告
- 2025年社會(huì)企業(yè)綠色公益項(xiàng)目可行性研究報(bào)告
- 2026春統(tǒng)編版(2024)小學(xué)道德與法治一年級(jí)下冊(cè)《這是我的家》課時(shí)練習(xí)及答案
- 2025年城市污水處理設(shè)施升級(jí)改造可行性研究報(bào)告
- 2025年基因檢測(cè)與個(gè)性化醫(yī)療項(xiàng)目可行性研究報(bào)告
- 2025年短期租賃市場(chǎng)運(yùn)營(yíng)平臺(tái)建設(shè)項(xiàng)目可行性研究報(bào)告
- 2025年物聯(lián)網(wǎng)智能制造項(xiàng)目可行性研究報(bào)告
- 煤炭代加工合同范本
- 2025新業(yè)態(tài)勞動(dòng)爭(zhēng)議審判案件白皮書-
- 精神病人接觸技巧
- 景區(qū)安全協(xié)議合同范本
- 政務(wù)頒獎(jiǎng)禮儀培訓(xùn)
- 2025年大學(xué)《地理信息科學(xué)-地圖學(xué)》考試備考試題及答案解析
- 雨課堂在線學(xué)堂《信息素養(yǎng)-學(xué)術(shù)研究的必修課》作業(yè)單元考核答案
- 2025年國(guó)家開(kāi)放大學(xué)《水利水電建筑工程》期末考試復(fù)習(xí)題庫(kù)及答案解析
- 【MOOC】《大學(xué)足球》(西南交通大學(xué))章節(jié)期末慕課答案
- 羅翔人物介紹
- 云南省2025年高二上學(xué)期普通高中學(xué)業(yè)水平合格性考試《信息技術(shù)》試卷(解析版)
評(píng)論
0/150
提交評(píng)論