~java-gnome/java-gnome/mainline

Viewing all changes in revision 838.

  • Committer: Andrew Cowie
  • Date: 2011-07-02 04:11:35 UTC
  • Revision ID: andrew@operationaldynamics.com-20110702041135-3ue48sr5k7wrcr6n
Better Exception when determining native library location

Eliminate NullPointerException within library loading logic. While a
not found exception leading to the catch block is acceptable, we were
actually hiting null pointer unnecessarily, which was showing up when
users of the library were trying to debug such problems much later in
their own code.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: