Bug#653132: netbeans: Profiler not included in package

Markus Koschany apo at gambaru.de
Tue Jun 30 09:10:14 UTC 2015


Status e-email:

Thanks to Emmanuel I have identified the missing files,
libprofilerinterface.so. They are also included in libvisualvm-jni.

Unfortunately they are not compatible to the ones shipped by netbeans
and cause segmentation faults when I attach the profiler e.g. to a
running electric application. As suspected the linux binaries were
removed during the get-orig-source step because we can't rely on
prebuilt libraries.

The source code for libprofilerinterface.so is in
lib.profiler/native/src-jdk15. Apparently visualvm uses the same but
slightly older code from Netbeans. Depending on libvisualvm-jni and
symlinking the libprofilerinterface.so files to the appropriate place
seemed to be the best solution. Since this doesn't work we would need to
rebuild the libraries from source in Netbeans. Creating a separate
libnb-profiler-jni package appears to be the only way forward but this
would largely duplicate the content of libvisualvm-jni. It would be just
another version.

I'm also no longer sure if it is worth to include the profiler in
Netbeans since we ship visualvm for this purpose already.

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150630/48446c3e/attachment.sig>


More information about the pkg-java-maintainers mailing list