Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Ubuntu Trusty, OpenJDK 7 (modified)
Description
While building a Maven project, it appeared to hang while packaging a large jar. Running jstack showed that it was getting stuck in the Java 7 implementation of getgrgid. It looks like it's doing this for every file and there are lots of files. This is already fixed in plexus-io-2.0.5 [1] but Maven needs to upgrade to the new version.
A workaround is to patch it in the the pom, such as [2]. However, this needs to be done in each project.
This isn't easy to reproduce; I've seen it on some machines but not others.
[1] http://jira.codehaus.org/browse/PLXCOMP-203
[2] https://gwt-review.googlesource.com/#/c/10050/1/pom.xml