CC BY-SA licensed code snippet in openjdk9 repository?

Dmitry Fazunenenko dmitry.fazunenko at oracle.com
Wed Dec 7 13:07:11 UTC 2016


Hi Sebastian,

I submitted the following bug:
https://bugs.openjdk.java.net/browse/JDK-8170860: Get rid of the 
humanReadableByteCount() method in openjdk/hotspot

and I'm going to fix it soon.

Thanks for discovering the problem,
Dima


On 05.12.2016 14:16, Sebastian Baltes wrote:
> Could you please elaborate on that?
>
> The author of the snippet is not the committer of the code. And as far
> as I know, aioobe was not aware that his code from Stack Overflow is
> being used in openjdk. So the code has obviously been copied from Stack
> Overflow into openjdk and thus, in my opinion, the Stack Overflow
> license applies here.
>
> Best regards,
> Sebastian
>
>
>
> On 05.12.2016 12:04, Mario Torre wrote:
>> 2016-12-05 11:23 GMT+01:00 Sebastian Baltes <s.baltes at uni-trier.de>:
>>> I'm not a lawyer, but maybe it would be a good idea to replace the
>>> method humanReadableByteCount with a re-implementation. We are working
>>> on a tool to search for duplicates of non-trivial code snippets from
>>> Stack Overflow on a larger scale, because we currently only search for
>>> ten popular Java snippets. If you are interested, I can have a closer
>>> look at the openjdk repo and report the result here.
>>
>> IANAL, but it's the same author, so I don't see a problem.
>>
>> Cheers,
>> Mario
>>



More information about the jdk9-dev mailing list