Merge
This commit is contained in:
commit
d7f6a3ef78
@ -121,10 +121,11 @@ jprt.i586.fastdebugOpen.build.configure.args= \
|
|||||||
${jprt.fastdebugOpen.build.configure.args}
|
${jprt.fastdebugOpen.build.configure.args}
|
||||||
jprt.i586.productOpen.build.configure.args= \
|
jprt.i586.productOpen.build.configure.args= \
|
||||||
${my.i586.default.build.configure.args} \
|
${my.i586.default.build.configure.args} \
|
||||||
${jprt.productOpen.build.configure.args}jprt.windows_i586.build.configure.args= \
|
${jprt.productOpen.build.configure.args}
|
||||||
--with-devkit=$VS2013_HOME \
|
jprt.windows_i586.build.configure.args= \
|
||||||
|
--with-devkit=$VS2013_HOME \
|
||||||
${jprt.i586.build.configure.args}
|
${jprt.i586.build.configure.args}
|
||||||
jprt.windows_x64.build.configure.args= \
|
jprt.windows_x64.build.configure.args= \
|
||||||
--with-devkit=$VS2013_HOME
|
--with-devkit=$VS2013_HOME
|
||||||
|
|
||||||
########
|
########
|
||||||
|
@ -276,10 +276,8 @@ public class Snapshot implements AutoCloseable {
|
|||||||
fakeClasses.clear();
|
fakeClasses.clear();
|
||||||
|
|
||||||
weakReferenceClass = findClass("java.lang.ref.Reference");
|
weakReferenceClass = findClass("java.lang.ref.Reference");
|
||||||
if (weakReferenceClass == null) { // JDK 1.1.x
|
referentFieldIndex = 0;
|
||||||
weakReferenceClass = findClass("sun.misc.Ref");
|
if (weakReferenceClass != null) {
|
||||||
referentFieldIndex = 0;
|
|
||||||
} else {
|
|
||||||
JavaField[] fields = weakReferenceClass.getFieldsForInstance();
|
JavaField[] fields = weakReferenceClass.getFieldsForInstance();
|
||||||
for (int i = 0; i < fields.length; i++) {
|
for (int i = 0; i < fields.length; i++) {
|
||||||
if ("referent".equals(fields[i].getName())) {
|
if ("referent".equals(fields[i].getName())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user