On Thu, 8 Feb 2024 10:30:43 GMT, Joachim Kern <jk...@openjdk.org> wrote:
> > > May be this is academical: Your code works for plain libraries replacing > > > the .so extension by .a. Suppose the case the goal is to load a member of > > > an archive libname.a(member.o), but as in the plain case you get as input > > > libname.so(member.o). In this case you will cut of the member producing > > > the resulting string libname.a instead of libname.a(member.o). Should > > > this situation also be handled or is this forbidden? > > > > > > Hi Joachim I think the case for member archives exists in dl_open. It > > checks for braces and sets the RTLD_MEMBER flag. (Lines 1132-1134) > > Hi Suchi, but **before** you call dll_load_library, you remove the member > part in my mentioned case Do we have a case where a .so files has braces mentioning the archive members ? I think not. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16604#issuecomment-1933795230