Community
Participate
Working Groups
The constructor of class org.eclipse.osgi.internal.framework.EquinoxConfiguration violates the contract of java.util.Properties. Javadoc says: "The Properties class represents a persistent set of properties ... Each key and its corresponding value in the property list is a string." The constructor adds a NULL_CONFIG object using the inherited Hashtable.put method. This leads to problems down the line for code that assumes that a Properties instance contains String only. All Buckminster builds are now crashing to name one such problem. The fact that the NULL_CONFIG implements the toString() method doesn't help. (although it did make finding the problem difficult. An unquoted null printout in the debugger is usually null). This is a regression introduced when attempting to fix another regression in bug 441377. See this commit: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?h=R4_4_maintenance&id=d44e2c55de7601046b30006294c06d0591ae833a
*** This bug has been marked as a duplicate of bug 445122 ***