Open kromar777 opened 1 year ago
Since I brewed this - jeah probably fine. The issue is that the output format of jdeps is not fixed. Maybe one can do ?
instead of adding just a space?
I tried it on 1.8 and 17 JDK and there is a space on both... And another problem after it finally worked is not all the transitive .class included, need some jdeps tuning I think, going to deep in it later. For example, HelloWorld with only Int2IntArrayMap map = new Int2IntArrayMap(); Int2FloatMap map1 = new Int2FloatArrayMap(); is getting "class file for it.unimi.dsi.fastutil.ints.AbstractInt2FloatFunction not found".
Empty output for "find" and no classes list for "minimize".
There is a space after "->" in jdeps output so changing $2 to $3 argument in awk should fix the problem: https://github.com/vigna/fastutil/blob/93619326ed12d9df53b0a6d45855f671b90067db/find-deps.sh#L123 https://github.com/vigna/fastutil/blob/93619326ed12d9df53b0a6d45855f671b90067db/find-deps.sh#L179