View | Details | Raw Unified | Return to bug 100606 | Differences between
and this patch

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/TypeVariableBinding.java (-2 / +3 lines)
Lines 276-284 Link Here
276
	public char[] genericSignature() {
276
	public char[] genericSignature() {
277
	    StringBuffer sig = new StringBuffer(10);
277
	    StringBuffer sig = new StringBuffer(10);
278
	    sig.append(this.sourceName).append(':');
278
	    sig.append(this.sourceName).append(':');
279
	   	int interfaceLength = this.superInterfaces.length;
279
	   	int interfaceLength = this.superInterfaces == null ? 0 : this.superInterfaces.length;
280
	    if (interfaceLength == 0 || this.firstBound == this.superclass) {
280
	    if (interfaceLength == 0 || this.firstBound == this.superclass) {
281
	        sig.append(this.superclass.genericTypeSignature());
281
	    	if (this.superclass != null)
282
		        sig.append(this.superclass.genericTypeSignature());
282
	    }
283
	    }
283
		for (int i = 0; i < interfaceLength; i++) {
284
		for (int i = 0; i < interfaceLength; i++) {
284
		    sig.append(':').append(this.superInterfaces[i].genericTypeSignature());
285
		    sig.append(':').append(this.superInterfaces[i].genericTypeSignature());

Return to bug 100606