Community
Participate
Working Groups
Plugins should be able to mark classpath variables that they create as reserved so that the user can't accidently change (just like JRELIB, ... are reserved). They should have the option of marking them reserved. Thanks, Rich Kulp
Interesting idea. For info, JDT/Core owns no variable in particular. JDT/UI defines the trio JRE_* and show them as reserved. I believe though that there should be a mechanism for plugins to declare classpath variables which then are recognized as such, and the respective plugin inference would be the only way to update them. JDT/Core only defines an infrastructure for defining and using them, it does not come with any preferred ones.
Will consider post 2.0
Closing, registered variables are detectable by asking: JavaCore.getClasspathVariableInitializer(varName) != null
Closing