Slide 1

Slide 1 text

伊藤ちひろ Chihiro Ito OpenJDK を開発する流れ The process of developing OpenJDK 2020/08/26 JJUG Night Seminar 「おうちで!ビール片手にLT大会!」 1

Slide 2

Slide 2 text

Source: Insert source data here Insert source data here Insert source data here OPTIONAL SECTION MARKER OR TITLE 伊藤ちひろ (Chihiro Ito) OpenJDK Committer (JFR, SA) Application Services Solution Architect Twitter : @chiroito 自己紹介 Profile 2

Slide 3

Slide 3 text

本資料の対象者 Target of this presentation ● Java を開発している人 People who develop Java ● Java を開発したい人 People who want to develop Java 3

Slide 4

Slide 4 text

OpenJDK ビジネス OpenJDK business 4 開発者 Developer リポジトリ Repository 成果物 Artifact ベンダ Vender ベンダ Vender A B C A B C

Slide 5

Slide 5 text

OpenJDK 開発の概要 Overview of developing OpenJDK 5 開発者 Developer 自動テスト Automated test リポジトリ Repository 成果物 Artifact コードレビュー Code Review バグ管理システム Bug tracker バグ修正・改善 Fix bug and enhancement ビルド Build

Slide 6

Slide 6 text

開発者とツール群の関係 Relationship between developers and tools 6 Contributor Mailing List と JDK Bug System (JBS) を見られる Contributor can visit the Mailing List and JDK Bug System (JBS) Author JBS とコードレビューサーバにログインできる Author can log in to the JBS and code review server Committer リポジトリにコミット・プッシュできる Committer can commit and push to the repository Reviewer - Lead -

Slide 7

Slide 7 text

バグを探す/登録 Search and register bugs 7 開発者 Developer バグ管理システム Bug Tracker 登録はAuthorになる必要がある Needing to become an Author to register 検索/登録 Search/Register 自分でバグに直面するか、バグ管理システム上で探す Face the bug or look for it in the bug tracker system

Slide 8

Slide 8 text

JDKバグシステム JDK Bug System 8

Slide 9

Slide 9 text

ソースコードをクローン Clone source code 9 開発者 Developer リポジトリ Repository クローン Clone hg clone git clone 直したいソースコードをリポジトリからコピーする Copy the source code you want to fix from a repository

Slide 10

Slide 10 text

さまざまなリポジトリ Various repositories 10 開発用 For developing メンテナンス用 For mentainance 自動テスト用 For test jdk/jdk loom/loom etc. jdk-update/jdk11u jdk-update/jdk15u etc. jdk/submit

Slide 11

Slide 11 text

開発環境 Development environment 11 VSCode Eclipse IntelliJ Windows Mac Linux

Slide 12

Slide 12 text

自動テスト Automated test 12 各OSや各CPUなどさまざまな環境でのテストを自動で実行してくれる Automatically runs tests in various environments, including each OS and CPU 自動テストリポ Automated test repo コミッタ・レビュアのみ For committer and reviewer hg branch hg commit hg push 自動テスト Automated test 開発者 Developer 修正を反映 push the change テスト実行 Run tests

Slide 13

Slide 13 text

手動テスト Test by hand 13 開発者は自分の環境でもテストできます Developers can also test in their own environment make test-tier1 etc. 手動テスト Test 開発者 Developer テスト実行 Run tests

Slide 14

Slide 14 text

変更点をレビュー Review the change 14 開発者 Developer レビューサーバ Server for reviewing レビュア Reviewer 開発者はWebレビューを作成し、レビューサーバへアップロード Developers create a web review and upload it to the review server ksh webrev.ksh scp webrev HTTP レビューを作成 Create the review レビューを実施 Review it

Slide 15

Slide 15 text

Webレビュー Web review 15

Slide 16

Slide 16 text

変更点をプッシュ Push source code 16 開発者 Developer 開発用リポジトリ Repository for dev コミッタ・レビュアのみ For committer and reviewer 2 人のレビュワーが OK ならプッシュ(変更のサイズによって人数は異なる) If two reviewers are OK, push (the number varies depending on the size of the change) hg commit hg push 更新を反映 push the change

Slide 17

Slide 17 text

変更点のプッシュを依頼 request to push the change 17 開発者 Developer 開発用リポジトリ Repository for dev Contributor, Authorのみ For contributor and author スポンサーを見つけて、変更の反映を依頼します You find a sponsor and request them to push the changes. hg commit hg push 更新を反映 push the change 更新を反映 push the change スポンサー Sponsor

Slide 18

Slide 18 text

コミュニティ Community ● コミッターズワークショップ Committer’s Workshop ○ OpenJDK に貢献した人だけが抽選で参加できる Those who contribute to the OpenJDK can apply and participate by lot ● 日本OpenJDK 開発者グループ Japan OpenJDK Developer Group ○ Author以上か職業OpenJDK開発者が対象 For people as author, committer, reviewer, or working as OpenJDK developer 18

Slide 19

Slide 19 text

CONFIDENTIAL Designator linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHat Thank you 19