From 7b815d8ce4739ffe07de0ee9c302e528f0fafc07 Mon Sep 17 00:00:00 2001 From: Markus Winter Date: Thu, 6 Jun 2019 16:32:25 +0200 Subject: [PATCH] Pointer.SIZE -> Native.POINTER_SIZE --- core/src/main/java/hudson/util/ProcessTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/util/ProcessTree.java b/core/src/main/java/hudson/util/ProcessTree.java index 4e2a4b3c1420..bbb9c5700082 100644 --- a/core/src/main/java/hudson/util/ProcessTree.java +++ b/core/src/main/java/hudson/util/ProcessTree.java @@ -1442,7 +1442,7 @@ private SolarisProcess(int pid) throws IOException { * Read the remainder of psinfo_t differently depending on whether the * Java process is 32-bit or 64-bit. */ - if (Pointer.SIZE == 8) { + if (Native.POINTER_SIZE == 8) { psinfo.seek(236); // offset of pr_argc argc = adjust(psinfo.readInt()); argp = adjustL(psinfo.readLong());