Re-using shared object in another unrelated test?

Thomas Stüfe thomas.stuefe at gmail.com
Thu Sep 7 08:23:17 UTC 2017


Hi all,

I'd am writing a jtreg test which loads a native shared library. I do not
actually need to do anything with the shared library, so loading and
unloading again. I do not plan on resolving any exports, it just needs to
be there and be valid, on all platforms.

There are a number of shared objects which would be a fit, e.g. JniVersion.
Would it be okay to use this in a jtreg test or would this be considered
bad form?

Thank you, Thomas



More information about the build-dev mailing list