Movatterモバイル変換


[0]ホーム

URL:


Wayback Machine
491 captures
16 May 2007 - 12 May 2024
AprMAYAug
Previous capture28Next capture
202120222024
success
fail
COLLECTED BY
Collection:Common Crawl
Web crawl data from Common Crawl.
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20220528141209/https://openjdk.java.net/groups/net/

The Networking Group

The networkinggroup is a setof developers interested in the design, implementation, andmaintenance of the Java networking libraries.

Introduction

The source code for the networking part of the core libraries isspread over a few hundreds files making for a total of,approximately, 70,000 lines of code. 50,000 of these are java code,while the rest is native (i.e. C) code. While this is not massive,due to the tricky nature of cross-platform support, some guidanceis needed before you take upon the task of tinkering with thatbeast.

Projects

Source structure

The networking source code resides mostly in thesedirectories:

Building the networking libraries

First, be aware that the networking components haveinterdependencies with quite a few other parts of the JDK. Evenmore so, it's one the components at the foundations of the JDK, soalways make sure you can rebuild everything from scratch afteryou've made changes.

Now, there are 2 areas where makefiles, and related files, arelocated:

If you go to any of these 2 subdirectories you can issue amake command and quickly compile your changes ineither package.

Testing your changes

As a rule, unit tests, for new functionality, and regressiontests for fixes are mandatory. Which means you should provide aunit test for pretty much any change you make. The test directoriesfollow the same structure as the others:

Not only should you write tests for your changes but you shouldalways run all the existing tests in these directories beforesubmitting them. Moreover, because of the dependencies, it ishighly recommend to also run the regression tests for the securitycomponents since the networking code is highly sensitive tosecurity. These are located intest/java/security andtest/sun/security. Needless to say, if any of thesetests fails, then you should investigate and fix the issue, or backout your changes.

Remember, there is no such thing as too much testing.

Documentation

Community

OpenJDK logo
Installing
Contributing
Sponsoring
Developers' Guide
Vulnerabilities
JDK GA/EA Builds
Mailing lists
Wiki ·IRC
Bylaws ·Census
Legal
JEP Process
Source code
Mercurial
GitHub
Tools
Mercurial
Git
jtreg harness
Groups
(overview)
Adoption
Build
Client Libraries
Compatibility & Specification Review
Compiler
Conformance
Core Libraries
Governing Board
HotSpot
IDE Tooling & Support
Internationalization
JMX
Members
Networking
Porters
Quality
Security
Serviceability
Vulnerability
Web
Projects
(overview)
Amber
Annotations Pipeline 2.0
Audio Engine
Build Infrastructure
CRaC
Caciocavallo
Closures
Code Tools
Coin
Common VM Interface
Compiler Grammar
Detroit
Developers' Guide
Device I/O
Duke
Font Scaler
Framebuffer Toolkit
Graal
Graphics Rasterizer
HarfBuzz Integration
IcedTea
JDK 6
JDK 7
JDK 7 Updates
JDK 8
JDK 8 Updates
JDK 9
JDK (…17,18,19)
JDK Updates
JavaDoc.Next
Jigsaw
Kona
Kulla
Lambda
Lanai
Leyden
Lilliput
Locale Enhancement
Loom
Memory Model Update
Metropolis
Mission Control
Modules
Multi-Language VM
Nashorn
New I/O
OpenJFX
Panama
Penrose
Port: AArch32
Port: AArch64
Port: BSD
Port: Haiku
Port: Mac OS X
Port: MIPS
Port: Mobile
Port: PowerPC/AIX
Port: RISC-V
Port: s390x
Portola
SCTP
Shenandoah
Skara
Sumatra
ThreeTen
Tiered Attribution
Tsan
Type Annotations
XRender Pipeline
Valhalla
Verona
VisualVM
Wakefield
Zero
ZGC
Oracle logo
© 2022 Oracle Corporation and/or its affiliates
Terms of Use · License:GPLv2 ·Privacy ·Trademarks

[8]ページ先頭

©2009-2025 Movatter.jp