Correct:
(%i2) xxx : spherical_bessel_j(1,x)^2;
(%o2) (sin(x)/x-cos(x))^2/x^2
(%i3) integrate(xxx,x,0,inf);
(%o3) %pi/6
Factoring the integrand, Maxima reports a PV integral
(%i4) integrate(factor(xxx),x,0,inf);
Principal Value
(%o4) -((%i*log(2*%i)-%i*log(-(2*%i)))/6)
The answer is correct, but it is not a true PV case.
This is a very minor bug--not worth spending a great deal of time resolving.
This was actually a bug in the limit code.
Fixed it in commit [6b7db2].
Related
Commit: [6b7db2]