diff --git a/changelog/org.eclipse.linuxtools.changelog-feature/build.properties b/changelog/org.eclipse.linuxtools.changelog-feature/build.properties index 5b7da75c06..8c0232a0b9 100644 --- a/changelog/org.eclipse.linuxtools.changelog-feature/build.properties +++ b/changelog/org.eclipse.linuxtools.changelog-feature/build.properties @@ -2,5 +2,4 @@ bin.includes = feature.xml,\ feature.properties,\ p2.inf src.includes = feature.xml,\ - feature.properties,\ - .project + feature.properties diff --git a/changelog/org.eclipse.linuxtools.changelog.java-feature/build.properties b/changelog/org.eclipse.linuxtools.changelog.java-feature/build.properties index 9afe8b6e6a..8c0232a0b9 100644 --- a/changelog/org.eclipse.linuxtools.changelog.java-feature/build.properties +++ b/changelog/org.eclipse.linuxtools.changelog.java-feature/build.properties @@ -2,6 +2,4 @@ bin.includes = feature.xml,\ feature.properties,\ p2.inf src.includes = feature.xml,\ - feature.properties,\ - build.properties,\ - ChangeLog + feature.properties diff --git a/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/utils/PPC64ElfBinaryObjectWrapper.java b/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/utils/PPC64ElfBinaryObjectWrapper.java index a12a8e890e..ee24b25d21 100644 --- a/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/utils/PPC64ElfBinaryObjectWrapper.java +++ b/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/utils/PPC64ElfBinaryObjectWrapper.java @@ -61,14 +61,14 @@ public ISymbol[] getSymbols() { return symbols; } - symbols = super.getSymbols(); - try { - if (dataSection == null) { - Elf elf = new Elf(getPath().toOSString()); - dataSection = elf.getSectionByName(".data"); //$NON-NLS-1$ - } - } catch (IOException e) { - } + symbols = super.getSymbols(); + if (dataSection == null) { + try (Elf elf = new Elf(getPath().toOSString())) { + dataSection = elf.getSectionByName(".data"); //$NON-NLS-1$ + } catch (IOException e) { + // ignore + } + } //Failed to load data Section if (dataSection == null) {