Introduction
Sites that are running their applications on Java 1.4 still exist. In case you are developing an application that supports Java 1.4 and later versions, you may find implementation issues similar to the list below.
Java Language
Not Supported
- Enhanced for Loop (Using ":" in for loop) - Since Java 5
- Generics - Since Java 5
- Metadata (Annotations) - Since Java 5
Base Libraries
Not Supported
- String.format() - Since Java 5
- StringBuilder - Since Java 5
Loading Properties
Not Supported
- public void load(Reader reader) throws IOException - Since Java 6
Supported
- public void load(InputStream input) throws IOException
Parsing XML
Not Supported
- JAXB - Since Java 6
Supported
- JAXP
RSA Algorithm
Not Supported
- RSA
Solution
- Use Bouncy Castle as a JCE Security Provider.
https://www.bouncycastle.org/latest_releases.html