JEP 504: Remove the Applet API

OwnerPhilip Race
TypeFeature
ScopeSE
StatusCandidate
Componentclient-libs / java.awt
Discussionclient dash libs dash dev at openjdk dot org
EffortS
DurationS
Relates toJEP 289: Deprecate the Applet API
JEP 398: Deprecate the Applet API for Removal
Reviewed byKevin Rushforth, Victor Dyakov
Created2024/12/04 20:33
Updated2025/04/10 17:32
Issue8345525

Summary

Remove the Applet API, which was deprecated for removal in JDK 17 (2021). It is obsolete because neither recent JDK releases nor current web browsers support applets.

Motivation

There is no reason to keep the unused and unusable Applet API.

Description

We will remove the following elements of the Java Platform API:

Testing

Any tests which rely on the Applet API will need to be updated, disabled, or removed. For jtreg-based tests in the main-line JDK repository, this work is almost complete. Most such tests merely use the Applet API for convenience; few of them explicitly test the API.

Risks and Assumptions