[jax-rs-spec users] Misleading example for UriInfo

From: Stian Soiland-Reyes <>
Date: Mon, 22 Apr 2013 02:38:34 +0100

Hi, I am new to the JCP process and just recently started using JAX-RS
through CXF. Sorry for just jumping in..

I just reported this issue about the javadoc for UriInfo.relativize()
having a misleading (and wrong) example:

and then realised you had scheduled JAX-RS 2.0 for tomorrow! :-)

I don't know if this would be blocking the release - but as it led to the
wrong implementation in CXF I thought you might want to check it, and so
set it for Critical.

The quickest fix is just to add the terminating / at the example, so a very
small change.

Stian Soiland-Reyes
Manchester, UK