Changeset 406 for trunk/openjdk/jdk/src/share/native
- Timestamp:
- Dec 21, 2012, 10:37:13 AM (13 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:mergeinfo changed
/branches/vendor/oracle/openjdk6/b27 (added) merged: 405 /branches/vendor/oracle/openjdk6/current merged: 404
- Property svn:mergeinfo changed
-
trunk/openjdk/jdk/src/share/native/java/net/net_util.c
r278 r406 1 1 /* 2 * Copyright (c) 1998, 20 05, Oracle and/or its affiliates. All rights reserved.2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 69 69 IPv6_available = IPv6_supported() & (!preferIPv4Stack); 70 70 initLocalAddrTable (); 71 parseExclusiveBindProperty(env); 72 71 73 return JNI_VERSION_1_2; 72 74 } -
trunk/openjdk/jdk/src/share/native/java/net/net_util.h
r278 r406 1 1 /* 2 * Copyright (c) 1997, 20 07, Oracle and/or its affiliates. All rights reserved.2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 121 121 122 122 void initLocalAddrTable (); 123 void parseExclusiveBindProperty(JNIEnv *env); 123 124 124 125 void -
trunk/openjdk/jdk/src/share/native/sun/font/layout/LookupProcessor.cpp
r278 r406 87 87 if (selectMask != 0) { 88 88 const LookupTable *lookupTable = lookupListTable->getLookupTable(lookup); 89 90 if (!lookupTable) 91 continue; 92 89 93 le_uint16 lookupFlags = SWAPW(lookupTable->lookupFlags); 90 94 … … 125 129 le_uint16 lookupListIndex = SWAPW(featureTable->lookupListIndexArray[lookup]); 126 130 131 if (lookupListIndex >= lookupSelectCount) 132 continue; 133 127 134 lookupSelectArray[lookupListIndex] |= featureMask; 128 135 lookupOrderArray[store++] = lookupListIndex; … … 136 143 LETag scriptTag, LETag languageTag, const FeatureMap *featureMap, 137 144 le_int32 featureMapCount, le_bool orderFeatures) 138 : lookupListTable(NULL), featureListTable(NULL), lookupSelectArray(NULL), 145 : lookupListTable(NULL), featureListTable(NULL), lookupSelectArray(NULL), lookupSelectCount(0), 139 146 lookupOrderArray(NULL), lookupOrderCount(0) 140 147 { … … 175 182 lookupSelectArray[i] = 0; 176 183 } 184 185 lookupSelectCount = lookupListCount; 177 186 178 187 le_int32 count, order = 0; … … 192 201 193 202 featureTable = featureListTable->getFeatureTable(featureIndex, &featureTag); 203 204 if (!featureTable) 205 continue; 206 194 207 featureReferences += SWAPW(featureTable->lookupCount); 195 208 } -
trunk/openjdk/jdk/src/share/native/sun/font/layout/LookupProcessor.h
r278 r406 78 78 79 79 FeatureMask *lookupSelectArray; 80 le_uint32 lookupSelectCount; 80 81 81 82 le_uint16 *lookupOrderArray;
Note:
See TracChangeset
for help on using the changeset viewer.