GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing openjdk.org — JEP 313: Remove the Native-Header Generation Tool (javah)

JEP 313: Remove the Native-Header Generation Tool (javah)

OwnerJonathan Gibbons
TypeFeature
ScopeJDK
StatusClosed / Delivered
Release10
Componenttools / javah
Discussioncompiler dash dev at openjdk dot java dot net
EffortXS
Reviewed byBrian Goetz, Joe Darcy
Endorsed byBrian Goetz
Created2017/06/23 17:28
Updated2018/01/10 22:02
Issue8182758

Summary

Remove the javah tool from the JDK.

Motivation

The tool has been superseded by superior functionality in javac, added in JDK 8 (JDK-7150368). This functionality provides the ability to write native header files at the time that Java source code is compiled, thereby eliminating the need for a separate tool.

Focusing on the support provided by javac eliminates the need to upgrade javah to support recent new paradigms, such as API access via the Compiler API in javax.tools.*, or the new java.util.spi.ToolProvider SPI added in JDK 9.

Description

Implementing the removal will include removing the affected files from the Mercurial repositories, including documentation files, as well as supporting makefile changes.

Testing

Any testing will be limited to verifying the javah command is not present.

Risks and Assumptions

There are no engineering issues with excising javah from the JDK, because the tool is no longer used by JDK, or when building the JDK.

Users have been warned of the pending removal since JDK 9, in which a warning is generated each time the javah tool is invoked.

Dependences

There are no direct JDK dependences on the javah tool. Externally, there are some derivatives of javah, such as the Ant javah task, but just as users of the javah command are recommended to use javac -h, so too are users of these dependences are recommended to use instead the corresponding support provided for javac.

OpenJDK logo
Installing
Contributing
Sponsoring
Developers' Guide
Vulnerabilities
JDK GA/EA Builds
Mailing lists
Wiki · IRC
Mastodon
Bluesky
Bylaws · Census
Legal · AI
Workshop
JEP Process
Source code
GitHub
Mercurial
Tools
Git
jtreg harness
Groups
(overview, archive)
Adoption
Build
Client Libraries
Compatibility & Specification Review
Compiler
Conformance
Core Libraries
Governing Board
HotSpot
IDE Tooling & Support
Internationalization
Members
Networking
Porters
Quality
Security
Serviceability
Vulnerability
Web
Projects
(overview, archive)
Amber
Babylon
Brisbane
CRaC
Code Tools
Coin
Common VM Interface
Detroit
Developers' Guide
Duke
IcedTea
JDK 8 Updates
JDK 9
JDK (…, 26, 27, 28)
JDK Updates
JMC
Jigsaw
Lanai
Leyden
Lilliput
Loom
Memory Model Update
Multi-Language VM
Nashorn
New I/O
OpenJFX
Panama
Port: AArch32
Port: AArch64
Port: BSD
Port: Haiku
Port: MIPS
Port: Mobile
Port: PowerPC/AIX
Port: RISC-V
Port: s390x
SCTP
Shenandoah
Skara
Sumatra
Tsan
Valhalla
Wakefield
Zero
ZGC
Oracle logo
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.