On Wed, 18 Sep 2024 06:25:57 GMT, Sean Coffey <coff...@openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/doc-files/threadPrimitiveDeprecation.html >> line 74: >> >>> 72: <code>volatile</code> (or access to the variable must be >>> 73: synchronized).</p> >>> 74: <p>For example, suppose your application contains the following >> >> The example below is still applet specific (e.g., `repaint()`). May need to >> be more generic. > > `repaint()` could be substituted with another arbitrary method name to > highlight some work this thread has to perform. > > given the thread name `blink`, perhaps we could just use `blink()` in this > example. Don't waste too much time on the "Java Thread Primitive Deprecation" page. The last remnant is the no-arg Thread.stop method which throws UOE unconditionally. Once that is removed then the doc-file pages will be removed too. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21046#discussion_r1764497660