Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Class or Method

Replacement

Rule

java.lang.Character.isJavaLetter()

java.lang.Character.isJavaIdentifierStart()

 

java.lang.Character.isJavaLetterOrDigit()

java.lang.Character.isJavaIdentifierPart()

 

java.lang.Character.isSpace()

java.lang.Character.isWhitespace()

 

java.lang.reflect.Class.newInstance()

java.lang.reflect.Constructor.newInstance()

ERR06-J. Do not let code throw undeclared checked exceptions

java.util.Date (many methods)

java.util.Calendar

 

java.util.Dictionary

java.util.Map<K,V>

 

java.lang.Runtime.runFinalizersOnExit()

inherently unsafe

MET12-J. Do not use finalizers

java.lang.System.runFinalizersOnExit()

inherently unsafe

MET12-J. Do not use finalizers

java.util.Properties.save()

java.util.Properties.store()

 

java.lang.Thread.destroy()

inherently unsafe

LCK07-J. Avoid deadlock by requesting and releasing locks in the same order

java.lang.Thread.stop()

java.lang.Thread.interrupt()

THI05-J. Do not use Thread.stop() to terminate threads

java.lang.ThreadGroup (many methods)

inherently unsafe

THI01-J. Do not invoke ThreadGroup methods

JVM Profiler Interface (JVMPI) and JVM Debug Interface (JVMDI)

JVM Tool Interface (JVMTI)

ENV05-J. Do not deploy an application that can be remotely monitored

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fc403860fa80de90-7c426d79-439f4106-bcefa281-3e4e7c3dd89ebf7841076adb"><ac:plain-text-body><![CDATA[

[ISO/IEC TR 24772:2010

http://www.aitcnet.org/isai/]

"Deprecated Language Features [MEM]"

]]></ac:plain-text-body></ac:structured-macro>

MITRE CWE

CWE ID 589, "Call to Non-ubiquitous API"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7d1934919d3bed78-36cdaff9-467e4541-b162b1fd-65efe41cc7a6c384e6f943d8"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

[Deprecated API

http://java.sun.com/javase/6/docs/api/deprecated-list.html], [Dictionary

http://download.oracle.com/javase/6/docs/api/java/util/Dictionary.html]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="191dea7ca6558505-5d6f1572-40534b18-8c99a1cb-650e539dae8110baab09b1c5"><ac:plain-text-body><![CDATA[

[[SDN 2008

AA. Bibliography#SDN 08]]

Bug database, [Bug ID 4264153

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4264153]

]]></ac:plain-text-body></ac:structured-macro>

...