Sun rises in the east

Recently I read a slashdot article – http://it.slashdot.org/story/10/07/28/2121259/Oracles-Java-Company-Change-Breaks-Eclipse about Java 1.6.0_21 release crashing Eclipse IDE because the IDE has code which checks for “Sun Microsystems” in the JVM company field property. This made me think about whether we should write code to handle these rare scenarios or things we take for granted that they will not change. In my opinion if we know or can predict that something like this will happen then handle it in code, else deal with it when it comes.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: