Mikhail Loenko wrote:
> Yes there is.
> 
> They can access protected fields (they are also package-visible). Or they
> can test something related to class loading.
> 
> Example. Recently I committed
>  modules\luni\src\test\java.injected\java\net\HttpURLConnectionAccessor.java
> 
> that is not a test though but something that is used by API test and
> that must
> be in bootclasspath. (I could refactor and put the test itself to the
> bootclasspath)

I like what you did there Mikhail.
Where we can, I think it is simpler to have such 'helpers' injected into
the bootclasspath, rather than running the test itself on the bootclasspath.

Regards,
Tim

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to