What is the replacement for javax.activation package in java 9?
问题 Seems like javax.activation package is deprecated in Java 9. Oracle migration guide proposes to use --add-modules java.activation option during JVM start. However, I would like to avoid this and replace javax.activation package's classes, as it is deprecated and will be removed in future java versions. I suppose, there should be some kind of alternative for javax.activation . If there is any available, what is it? 回答1: JavaBeans Activation Framework (JAF) is possibly the alternative you are