MethodHandles.Lookup.defineResource? (original) (raw)
Stephen Colebourne scolebourne at joda.org
Tue Aug 14 14:07:41 UTC 2018
- Previous message: RFR 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug
- Next message: MethodHandles.Lookup.defineResource?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A new method MethodHandles.Lookup defineClass() was added recently. But what about a defineResource? For adding a new resource to the classpath (such as a .txt file). I just needed such a thing, and though undoubtedly rare, all the recommended solutions use reflection and setAccessible().
thanks Stephen
- Previous message: RFR 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug
- Next message: MethodHandles.Lookup.defineResource?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]