Does rt.jar content change across different JVM providers?

I supported an outdated web application that uses ** directly. inner classes ** apache xerces in rt.jar. I think the story is that this code (back to java1.4) is used to explicitly use xerces, and at some point when switching to java5, the use of jerx jar was reset, and these classes were specified from rt.jar as internal equivalents.

I am trying to understand what is the impact of starting this project on various web containers (e.g. Websphere and Tomcat, etc.).

  • Is there rt.jar supplied by SUN or a JVM / JRE provider?
  • Should alternative vendors continue to use xerons internally or are there other XML implementations?

At some point (to resolve resources) this code will need to be changed to use the standard Java APIs, I would like to get an idea of ​​how big a problem this can be.

Thanks Rob

+5
source share
1 answer

Nowhere is the JVM or Java language specifications specified anywhere rt.jar, and all packages are *.internal.*explicitly marked as not in the API.

, JVM . , XML, , XML, XML , XML.

, API.

, JVM, API- , , Xerces , , org.apache.xerces.*.

+2

All Articles