View | Details | Raw Unified | Return to bug 157379
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java (+1 lines)
Lines 1714-1719 Link Here
1714
}
1714
}
1715
public void generateConstant(Constant constant, int implicitConversionCode) {
1715
public void generateConstant(Constant constant, int implicitConversionCode) {
1716
	int targetTypeID = (implicitConversionCode & TypeIds.IMPLICIT_CONVERSION_MASK) >> 4;
1716
	int targetTypeID = (implicitConversionCode & TypeIds.IMPLICIT_CONVERSION_MASK) >> 4;
1717
	if (targetTypeID == 0) targetTypeID = constant.typeID(); // use default constant type
1717
	if (targetTypeID != 0) {
1718
	if (targetTypeID != 0) {
1718
		switch (targetTypeID) {
1719
		switch (targetTypeID) {
1719
			case TypeIds.T_boolean :
1720
			case TypeIds.T_boolean :

Return to bug 157379