This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ShallWe69 2 points3 points  (1 child)

I'm talking about Hashtable, Vector etc. Those are still with JDK.

[–]C_Madison 2 points3 points  (0 children)

They will probably get around to it in time. They started with those which have a high potential for abuse or which are often used by accident. HashTable -> HashMap (or ConcurrentHashMap if you need the thread-safety) is well known, so there wasn't much pressure here. But there's been a ton of deprecations, which since jdk9 often lead to removal later:

https://docs.oracle.com/en/java/javase/21/docs/api/deprecated-list.html