Include license header in source files

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Sep 1 13:41:42 UTC 2015


Hi gil,

On 08/29/2015 03:33 PM, gil wrote:
> Found 2 files have "unknown" license.
> jmh-65fdc5d5f65d/jmh-core/src/main/java/org/openjdk/jmh/annotations/Benchmark.java
> jmh-65fdc5d5f65d/jmh-core/src/main/java/org/openjdk/jmh/profile/WinPerfAsmProfiler.java
> Please, add license header in the above files

I don't get it, the license headers are there:

http://hg.openjdk.java.net/code-tools/jmh/file/0879b862a1a3/jmh-core/src/main/java/org/openjdk/jmh/annotations/Benchmark.java

http://hg.openjdk.java.net/code-tools/jmh/file/0879b862a1a3/jmh-core/src/main/java/org/openjdk/jmh/profile/WinPerfAsmProfiler.java

Also, these are the same headers other classes have, and those files are
not listed as "unknown", e.g.:

http://hg.openjdk.java.net/code-tools/jmh/file/0879b862a1a3/jmh-core/src/main/java/org/openjdk/jmh/annotations/BenchmarkMode.java

Therefore, I'm puzzled what exactly should be fixed. Maybe the Maven
plugin that updates the copyright headers barfed and crippled the
headers in your local copy?


> See https://bugzilla.redhat.com/show_bug.cgi?id=1246846#c4
> <https://bugzilla.redhat.com/show_bug.cgi?id=1249047#c1> for details.
> Thanks in advance
> Regards

Thanks,
-Aleksey



More information about the jmh-dev mailing list