Community
Participate
Working Groups
I20080530-1730 The javadoc forJavaCore#setComplianceOptions starts with: * Sets the default's compiler options inside the given options map according * to the given compliance. which is almost meaningless. Having discussed with Olivier and read the code, I believe that the original intent was to set in the provided map the values of the sole options that were impacted by the compliance, deriving their values as the compiler would do 'by default' when provided the compliance only (that is, without any other option than JavaCore.COMPILER_COMPLIANCE being specified by the caller). Since some of these options definitely have a non-mandatory flavor when considering some compliance levels (aka JavaCore.COMPILER_PB_ASSERT_IDENTIFIER for 1.3 or 1.4), rendering the effective behavior in a concise documentation may turn out to be a bit challenging.
*** This bug has been marked as a duplicate of bug 263769 ***