FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Ubuntu 11.10, AIX 7
A DESCRIPTION OF THE PROBLEM :
link.h is included in following source files from OpenJDK codebase
But link.h is not part of POSIX standard, see http://en.wikipedia.org/wiki/C_POSIX_library, moreover this including causes portability problem for other Unix-like platforms, such as AIX. So far as I see, OpenJDK only uses POSIX.1-2001 compatible dlopen, dlclose, dlsym, dlerror functions, no special extensions involved, so here suggest to remove link.h and use dlfcn.h only.
This bug is created for commiting to tl repository while bug 7152519 is created for 2d repository.
This bug can be reproduced always.