TJWS2 icon indicating copy to clipboard operation
TJWS2 copied to clipboard

FastClasspathScanner is outdated -- consider porting to ClassGraph

Open classgraph-robot opened this issue 6 years ago • 3 comments

Your project, drogatkin/TJWS2, depends on the outdated library FastClasspathScanner in the following source files:

FastClasspathScanner has been significantly reworked since the version your code depends upon:

  • a significant number of bugs have been fixed
  • some nontrivial API changes have been made to simplify and unify the API
  • FastClasspathScanner has been renamed to ClassGraph: https://github.com/classgraph/classgraph

ClassGraph is a significantly more robust library than FastClasspathScanner, and is more future-proof. All future development work will be focused on ClassGraph, and FastClasspathScanner will see no future development.

Please consider porting your code over to the new ClassGraph API, particularly if your project is in production or has downstream dependencies:

  • https://github.com/classgraph/classgraph/wiki/Porting-FastClasspathScanner-code-to-ClassGraph
  • https://github.com/classgraph/classgraph/wiki/Code-examples
  • https://github.com/classgraph/classgraph/wiki/ClassGraph-API

Feel free to close this bug report if this code is no longer in use. (You were sent this bug report because your project depends upon FastClasspathScanner, and has been starred by 50 users. Apologies if this bug report is not helpful.)

classgraph-robot avatar Aug 26 '18 19:08 classgraph-robot

Currently TJWS code tied to old FastClasspathScanner and since API changed, it will require to rework TJWS code. Currently I do not have bandwidth to do that, but will happily accept pull requests.

drogatkin avatar Dec 19 '20 01:12 drogatkin

I have even less bandwidth to work on this... I sent out these notifications to the top 100 users of FCS, as a courtesy, and I can't fix all those projects. Porting is not hard though. Feel free to close this bug report if you don't see the benefit.

lukehutch avatar Dec 19 '20 01:12 lukehutch

No worry, the initial version works fine for me. I just backported few lines of your latest code to support bytecode version 53.

drogatkin avatar Mar 19 '21 00:03 drogatkin