[9] RFR(S): 8066433: Copy Whitebox testlibrary to top level repository

mark.reinhold at oracle.com mark.reinhold at oracle.com
Tue Dec 9 17:09:30 UTC 2014


2014/12/9 1:56 -0800, stefan.sarne at oracle.com:
> On 2014-12-09 10:51, Tobias Hartmann wrote:
>> On 08.12.2014 20:46, Staffan Larsen wrote:
>>>> On 8 dec 2014, at 20:18, mark.reinhold at oracle.com wrote:
>>>> ...
>>>> 
>>>> - Why is it named test/testlibrary rather than test/lib, which is
>>>> what's used in the jdk repo?
>>>
>>> Probably because it’s called test/testlibrary in the hotspot repo :-)
>>
>> Yes, do you prefer 'test/lib'?
> 
> Now sounds like a good time to align.   :)
> We can update testlibrary in hotspot to the same as well I think (as a 
> second step).
> 
> Let's go with test/lib.

Works for me.

> ...
>>>> - The package name "sun.hotspot" is archaic.  We should figure out a
>>>> proper naming scheme for test-library packages, preferably starting
>>>> with "jdk.”.
>>>
>>> So jdk.testlibrary.whitebox.* for these? Or jdk.testlib.whitebox?
>>
>> Whatever you prefer.
> 
> If we go with test/lib - I think jdk.testlib make sense.

I suggest jdk.test.lib -- that way the prefix "jdk.test" can be used
in other situations where test code needs a package name.

- Mark


More information about the jdk9-dev mailing list