Xpages / Server Side JS issue

hi, I have Server Side JS code that I think should work.---------------

function A(_Pos){

this.init();

}

A.prototype.init = function(){

}

function B(){

this.docs = new Array();	

this.init();

}

B.prototype.init = function(){

for(i=0;i<5;i++){

	this.docs.push(new A(i));

}

}


When I call new B, I will recive message: ‘.docs’ is undefined.

When I rename B.prototype.init to B.prototype.init and call this.init2 from function B constructor, it does work fine.

Does it look like a bug?

Subject: Bug logged - PHAN7QUJDX - but this issue has already been fixed in 8.5.1. xp:eom/