JDK-8205132 : Degrade Thread.countStackFrames() to throw UOE
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-06-15
  • Updated: 2019-11-07
  • Resolved: 2019-10-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14 b22Fixed
Related Reports
Blocks :  
CSR :  
Sub Tasks
JDK-8233196 :  
Description
This method is deprecated for removal:

@Deprecated(since="1.2", forRemoval=true) int java.lang.Thread.countStackFrames() 

Update: This issue was originally created to remove this method. Joe Darcy has suggested that we degrade it first, to throw UOE, in advance of removing it. This is the approach we also used for Thread.stop(Throwable).

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/ca70299778b9 User: alanb Date: 2019-10-31 16:49:40 +0000
31-10-2019

Moving to JDK 14 terminal deprecations (JDK-8225320).
29-06-2019