Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Compatibility of InstanceScope in lower version of eclipse
Compatibility of InstanceScope in lower version of eclipse [message #784102] Fri, 27 January 2012 03:51 Go to next message
Eclipse UserFriend
Hi,

In Eclipse 3.5.X, i am using the below code

.....new ScopedPreferenceStore(new InstanceScope(),....

In Eclipse3.6 and above this is depricated and the usage should be as below

InstanceScope.INSTANCE

Once i chnage my class to have InstanceScope.INSTANCE, and open the same
one in Eclipse 3.5, i get a compile errror, which is obvious.

I want to know, if i compile my code with InstanceScope.INSTANCE in
Eclipse 3.6 and use the class in Eclipse 3.5 or lower, will it work. I
am actually writing a plugin for eclipse.

Thanks & Regards,
Krishnaveni.S
Re: Compatibility of InstanceScope in lower version of eclipse [message #784133 is a reply to message #784102] Fri, 27 January 2012 05:04 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

No, you'll get an Error related to the field not being there at runtime, just like it was not there at compile-time against 3.5.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:how to use the Arguments in the run configuration
Next Topic:Problems installing Eclipse
Goto Forum:
  


Current Time: Thu Apr 25 13:35:09 GMT 2024

Powered by FUDForum. Page generated in 0.07687 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top