[maven-release-plugin] copy for tag uimaj-2.8.1
git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/tags/uimaj-2.8.1@1694106 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/uimaj-core/src/main/java/org/apache/uima/cas/impl/CASImpl.java b/uimaj-core/src/main/java/org/apache/uima/cas/impl/CASImpl.java
index 1fd3f2a..2d6dac4 100644
--- a/uimaj-core/src/main/java/org/apache/uima/cas/impl/CASImpl.java
+++ b/uimaj-core/src/main/java/org/apache/uima/cas/impl/CASImpl.java
@@ -1314,6 +1314,10 @@
private int fsStartAddr;
private int fsEndAddr;
+ /**
+ * An array of all the starting indexes of the FSs on the old/prev heap
+ * (below the mark, for delta CAS, plus one last one (one beyond the end)
+ */
private int[] fssAddrArray;
private int fssIndex;
private int lastRemovedFsAddr;
@@ -1638,7 +1642,7 @@
// item is higher
result = Arrays.binarySearch(bds.fssAddrArray, bds.fssIndex + 1, bds.fssAddrArray.length, heapAddr);
} else {
- result = Arrays.binarySearch(bds.fssAddrArray, 0, bds.fssIndex - 2, heapAddr);
+ result = Arrays.binarySearch(bds.fssAddrArray, 0, bds.fssIndex - 1, heapAddr);
}
// result must be negative - should never modify a type code slot
@@ -1646,7 +1650,7 @@
bds.fssIndex = (-result) - 2;
bds.fsStartAddr = bds.fssAddrArray[bds.fssIndex];
bds.fsEndAddr = bds.fssAddrArray[bds.fssIndex + 1];
- bds.featCodes = getTypeSystemImpl().ll_getAppropriateFeatures(getTypeCode(bds.fsStartAddr));
+ bds.featCodes = getTypeSystemImpl().ll_getAppropriateFeatures(getTypeCode(bds.fsStartAddr));
assert(bds.fsStartAddr < heapAddr && heapAddr < bds.fsEndAddr);
}
diff --git a/uimaj-ep-launcher/pom.xml b/uimaj-ep-launcher/pom.xml
index 962702e..a786af2 100644
--- a/uimaj-ep-launcher/pom.xml
+++ b/uimaj-ep-launcher/pom.xml
@@ -193,6 +193,9 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
+ <version>2.5.0</version> <!-- get a manifest error with v 2.3.7
+ but changing the parent pom to 2.5.0 causes
+ error - default pkg '.' not permitted, o.a.u.cas.impl -->
<configuration>
<instructions>
<!-- turn off "uses" generation because Eclipse 3.2.x doesn't work with them -->