Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do some frameworks refuse to drop support for ancient Java versions?

As I'm sitting here modifying PircBot, I've just noticed that the entire backend was written to support Java 1.1. It has a custom queue implementation, uses hash tables, custom producer/consumer implementations based on wait() and notify() signaling, etc. Even Commons-lang lacks any support for things that Java 5 brings to the table like generics. You can pull a bunch of other examples of very popular frameworks that try as hard as they can to support 1.1.

My question is why? Why are certain parts of the Java community refusing to support new versions? I go by this theory: Old versions use older versions of frameworks and older JVMs, newer versions use upgraded frameworks and JVMs. You upgrade everything with the software.

Now I can partially understand people still running Java 1.5, but 1.1? If your running anything before that then your obviously not upgrading the JVM because of stupid policies/scared of the unkown, and therefor aren't going to upgrade to newer versions of software. So why are we still supporting them?

On a related note, if you are writing a new framework should you support anything <1.5? Should you try forking existing frameworks, upgrading it to 1.5, then talk to the maintainers about using it?

Much more specific discussions (this is about support in general): Is there still a good reason to support JDK 1.4?

Dropping support for JRE 1.3

like image 966
TheLQ Avatar asked Aug 01 '10 07:08

TheLQ


1 Answers

Because its easy! From Java 1.1 to Java 1.4 just tiny language features were introduced (strictfp for example). So why restrict yourself if you don't need to. So lets say you write a StringUtil class or you parse Word files then is simply does't matter. Just starting with Java 5 you have language improvement and from Java 1.0 to Java 1.1 of course inner classes.

This is just for the language and not so much for the libraries. There are interesting additions of course.

like image 57
2 revs, 2 users 80% Avatar answered Sep 20 '22 00:09

2 revs, 2 users 80%