Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 06. Methods (MET)
MET02-J. Do not use deprecated or obsolete classes or methods
Page Information
Title:
MET02-J. Do not use deprecated or obsolete classes or methods
Author:
Dhruv Mohindra
Sep 24, 2009
Last Changed by:
Michal Rozenau
May 18, 2021
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/6TdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (5)
Page:
MET12-J. Do not use finalizers
Page:
MET01-J. Never use assertions to validate method arguments
Page:
THI05-J. Do not use Thread.stop() to terminate threads
Page:
ERR06-J. Do not throw undeclared checked exceptions
Page:
MET03-J. Methods that perform a security check must be declared private or final
SEI CERT Perl Coding Standard (2)
Page:
IDS00-PL. Canonicalize path names before validating them
Page:
EXP30-PL. Do not use deprecated or obsolete functions or modules
Hierarchy
Parent Page
Page:
Rule 06. Methods (MET)
Labels
Global Labels (6)
move-to-guideline
met
android
rule
android-implementation-detail-java
analyzable
Recent Changes
Time
Editor
May 18, 2021 08:07
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Feb 26, 2021 09:04
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Jan 11, 2019 15:15
Alexandre GIGLEUX
View Changes
Nov 02, 2018 15:57
David Svoboda
View Changes
Nov 02, 2018 15:55
David Svoboda
added java.util.date to deprecated table
View Page History
Outgoing Links
External Links (9)
https://developer.android.com/sdk/api_diff/19/changes.html
cwe.mitre.org/
download.oracle.com/javase/6/docs/api/deprecated-list.html
www.aitcnet.org/isai/
bugs.sun.com/bugdatabase/view_bug.do?bug_id=4264153
https://docs.oracle.com/javase/8/docs/api/deprecated-list.h…
docs.oracle.com/javase/8/docs/api/
https://rules.sonarsource.com/java/RSPEC-1874
cwe.mitre.org/data/definitions/589.html
SEI CERT Oracle Coding Standard for Java (14)
Page:
THI00-J. Do not invoke Thread.run()
Page:
MET01-J. Never use assertions to validate method arguments
Page:
ENV05-J. Do not deploy an application that can be remotely monitored
Page:
ERR06-J. Do not throw undeclared checked exceptions
Page:
THI01-J. Do not invoke ThreadGroup methods
Page:
THI05-J. Do not use Thread.stop() to terminate threads
Page:
Parasoft_V
Page:
Rule 06. Methods (MET)
Page:
Parasoft
Page:
MET03-J. Methods that perform a security check must be declared private or final
Page:
SonarQube_V
Page:
SonarQube
Page:
Rule AA. References
Home page:
SEI CERT Oracle Coding Standard for Java
Overview
Content Tools
{"serverDuration": 79, "requestCorrelationId": "c41905e4ad9c7171"}