am dbd03924: Merge "Fix wrap property creation when truncating."
* commit 'dbd03924d83ab03e6e8e45d1d041dc8d162180cf': Fix wrap property creation when truncating.
This commit is contained in:
@@ -800,7 +800,12 @@ class ZygoteConnection {
|
|||||||
if (args.niceName != null) {
|
if (args.niceName != null) {
|
||||||
String property = "wrap." + args.niceName;
|
String property = "wrap." + args.niceName;
|
||||||
if (property.length() > 31) {
|
if (property.length() > 31) {
|
||||||
property = property.substring(0, 31);
|
// Avoid creating an illegal property name when truncating.
|
||||||
|
if (property.charAt(30) != '.') {
|
||||||
|
property = property.substring(0, 31);
|
||||||
|
} else {
|
||||||
|
property = property.substring(0, 30);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
args.invokeWith = SystemProperties.get(property);
|
args.invokeWith = SystemProperties.get(property);
|
||||||
if (args.invokeWith != null && args.invokeWith.length() == 0) {
|
if (args.invokeWith != null && args.invokeWith.length() == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user