This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: class.forName() and java.sql


Erik Poupaert writes:
 > 
 > >>>> 1.  class.forName() doesn't work reliably on any system if an object
 > >>>>     is statically linked.
 > 
 > As Lars wrote, classes will only be linked if they are referenced
 > explicitly. So, adding an explicit reference does the trick. I actually like
 > the way it works, because it reduces the number of unused classes in the
 > statically linked executable.

Should I take it that this is the only problem you've had with
class.forName(), and so you withdraw the complain that class.forName()
doesn't work?

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]