Jcstress jopt-simple question
j.krolak at gmail.com
Thu Jan 18 20:06:02 UTC 2018
This patch puts jopt-simple inside jcstress jar, and relocates the package
There's a downside, though - the produced jcstress-core pom.xml will not
contain any comments. Including the Oracle copyright notice.
2018-01-15 16:10 GMT+01:00 Aleksey Shipilev <shade at redhat.com>:
> On 12/29/2017 09:46 PM, Jerzy Krolak wrote:
> > I recently ran a jcstress benchmark against an application, that already
> had a newer jopt-simple
> > lib. And I had a conflict.
> > Do you think we could repackage the jopt-simple classes to a package
> like 'shaded.joptsimple.*' and
> > include this straight in the jcstress-core? maven-shade-plugin should do
> the trick.
> > I thought of a few ways to handle this, but shading seemed to have least
> side effects.
> > What do you think? I'll submit a patch, if you like the idea.
> Yes, I think that would be a wise thing to do.
-------------- next part --------------
diff -r 18db5d6682d7 jcstress-core/pom.xml
--- a/jcstress-core/pom.xml Thu Nov 16 16:45:28 2017 +0100
+++ b/jcstress-core/pom.xml Thu Jan 18 20:59:26 2018 +0100
@@ -132,6 +132,27 @@
More information about the jcstress-dev