Should Sun's Proprietary Java Classes Be Avoided?
When using Sun's proprietary Java classes, you may encounter compiler warnings. This raises concerns about the practice of relying on these classes. Beyond the warnings, are there fundamental reasons for avoiding their use?
Reasons to Avoid Sun's Proprietary Classes:
Recommendation:
It is generally advisable to avoid using Sun's proprietary classes. Instead, opt for classes that are publicly documented and supported. This ensures the reliability, portability, and future compatibility of your code.
The above is the detailed content of Should You Avoid Sun's Proprietary Java Classes?. For more information, please follow other related articles on the PHP Chinese website!