Community
Participate
Working Groups
N20050524 David, I guess JavaCorePreferenceInitializer.initializeDefaultPreferences should also initialize CODEASSIST_DISCOURAGED_REFERENCE_CHECK - it currently initializes CODEASSIST_FORBIDDEN_REFERENCE_CHECK twice.
That's right Fixed.
I made the same error inside AssistOptions#set(Map optionsMap) This code if ((optionValue = optionsMap.get(OPTION_OPTION_PerformForbiddenReferenceCheck)) != null) { if (ENABLED.equals(optionValue)) { this.checkDiscouragedReference = true; } else if (DISABLED.equals(optionValue)) { this.checkDiscouragedReference = false; } } must be if ((optionValue = optionsMap.get(OPTION_PerformDiscouragedReferenceCheck)) != null) { if (ENABLED.equals(optionValue)) { this.checkDiscouragedReference = true; } else if (DISABLED.equals(optionValue)) { this.checkDiscouragedReference = false; } } Fixed.
Verified on build I20050527-0010.