vigna / fastutil

fastutil extends the Java™ Collections Framework by providing type-specific maps, sets, lists and queues.
Apache License 2.0
1.76k stars 196 forks source link

Missing fastutil-extra artifact for 8.5.5? #263

Closed dpapworth-qc closed 2 years ago

dpapworth-qc commented 2 years ago

Hey,

I've noticed that there isn't a 8.5.5 version for fastutil-extra. I get compilation errors when trying to build using just fastutil 8.5.5 by itself. e.g.

... error: cannot access Function
class file for it.unimi.dsi.fastutil.Function not found

... error: cannot access Hash
class file for it.unimi.dsi.fastutil.Hash not found

These compilation errors are generated when trying to use Int2LongMap::get and Int2LongOpenHashMap::put respectively. I can fix these errors by explicitly including fastutil-extra 8.5.4 in my gradle dependencies.

Has fastutil-extra been inadvertently dropped from the dependencies for fastutil?

Thanks, Damien.

vigna commented 2 years ago

I think that, in retrospect, I'll damn forever the day I listened to people asking for a smaller jar. This only ended up in a bunch of solutions each of which was nonworking for someone. And to bugs such as the one you reported (thanks!), which I'm going to investigate immediately.

vigna commented 2 years ago

The new version has a different split strategy: please have a look at the website.

vigna commented 2 years ago

OK. Wrong "Exports:" clause in BND configuration. I'll publish immediately a fix.

dpapworth-qc commented 2 years ago

Thanks for the quick response!

kno10 commented 2 years ago

Maven central still only has the broken 8.5.5:

https://mvnrepository.com/artifact/it.unimi.dsi/fastutil

vigna commented 2 years ago

No no, it's up there—try in search. Probably those pages are updated offline.