fastutil icon indicating copy to clipboard operation
fastutil copied to clipboard

find-deps.sh doesn't work

Open kromar777 opened this issue 2 years ago • 2 comments

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

kromar777 avatar Jun 27 '23 04:06 kromar777

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?

incaseoftrouble avatar Jun 27 '23 06:06 incaseoftrouble

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".

kromar777 avatar Jun 27 '23 08:06 kromar777