Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upuberjar: second build fails #4858
Comments
This comment has been minimized.
This comment has been minimized.
FWIW - this appears to be a bug in Java itself. The
So this error shouldn't have happened with the code we have. I gave this a quick test with Java 8 and it indeed fails with the exception. However, if I move to Java 11 (11.0.5 to be precise) the exception no longer happens and things work fine. So it looks like it got fixed in some recent version. |
This comment has been minimized.
This comment has been minimized.
I was indeed surprised to see this reported error, however we should work around it. |
This comment has been minimized.
This comment has been minimized.
Agreed. |
This comment has been minimized.
This comment has been minimized.
I'll open a PR later on today, haven't started working on it yet. |
Fixes: quarkusio#4858
Fixes: quarkusio#4858
This comment has been minimized.
This comment has been minimized.
|
Fixes: quarkusio#4858
Ensure that subsequent uberJar creations doesn't fail
Fixes: quarkusio#4858
Describe the bug
With uberjar enabled, the second time I run
mvn install
it fails with:mvn clean install
works as usual.Environment (please complete the following information):
uname -a
orver
: 5.2.17-200.fc30.x86_64 #1 SMP Mon Sep 23 13:42:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linuxjava -version
: openjdk version "1.8.0_222"Additional context
The build also outputs a lot of warnings like:
This should be avoided.