class linkage warnings (in a netbeans platform based app)

From: Tomi NA (hefes..mail.com)
Date: Wed May 24 2006 - 04:58:18 EDT

  • Next message: Eric Lazarus: "Query Examples Needed – Expression.fromString() syntax?"

    In a NetBeans platform app, 3rd party .jars are wrapped in something
    called module wrappers.
    cayennne.jar is one of the .jars I wrap and use and I get warnings for
    all of them, but I believe people here will know how to explain the
    cayenne related warnings:

    verify-class-linkage:
    Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    org.jivesoftware.smack.SSLXMPPConnection
    Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    org.jivesoftware.smack.XMPPConnection
    Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    org.jivesoftware.smack.XMPPException
    Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    org.jivesoftware.smack.GroupChat
    Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    org.jivesoftware.smack.packet.Message
    Warning: org.objectstyle.cayenne.util.WebApplicationResourceLocator
    cannot access javax.servlet.ServletContext
    Warning: org.apache.log.output.jms.MessageBuilder cannot access
    javax.jms.JMSException
    Warning: org.objectstyle.cayenne.conf.BasicServletConfiguration cannot
    access javax.servlet.http.HttpSession
    Warning: org.objectstyle.cayenne.conf.BasicServletConfiguration cannot
    access javax.servlet.ServletContext
    Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    javax.jms.JMSException
    Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    javax.jms.Session
    Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    javax.jms.TextMessage
    ....

    Now, my app seems to work fine inspite of the warnings, but I'm
    curious as to why - when I unpack cayenne.jar I see no e.g.
    org.jivesoftware.* or javax.jms.* classes. I thought that cayenne.jar
    bundled all it's dependencies and cayenne-nodeps.jar was a liteweight
    version.

    t.n.a.



    This archive was generated by hypermail 2.0.0 : Wed May 24 2006 - 04:58:47 EDT