This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 177723 - profiler native library loaded twice
Summary: profiler native library loaded twice
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 03:15 UTC by Tomas Hurka
Modified: 2009-12-01 14:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2009-11-27 03:15:38 UTC
ProfilerServer.loadNativeLibrary() is invoked from doActivate() even if the profiler native libray was already loaded via java commandline argument -agentpath: or -agentlib:
This is harmless in most cases, but if the native library is not in right place relative to jfluid-server.jar, the library is not found by  ProfilerServer.loadNativeLibrary() and profiling is aborted.
Comment 1 Tomas Hurka 2009-11-30 00:44:06 UTC
Fixed in profiler-main.
changeset:   154748:d5459414af4e
user:        Tomas Hurka <thurka@netbeans.org>
date:        Mon Nov 30 08:26:34 2009 +0100
summary:     bugfix #177723, load native library only if it is not already loaded
Comment 2 Quality Engineering 2009-12-01 14:26:47 UTC
Integrated into 'main-golden', will be available in build *200912011400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d5459414af4e
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #177723, load native library only if it is not already loaded