[2.037s][info ][cds ] Number of classes 2019
[2.037s][info ][cds ] instance classes = 1803, aot-linked = 1803, inited = 223
[2.037s][info ][cds ] boot = 1803, aot-linked = 1803, inited = 223
[2.037s][info ][cds ] vm = 150, aot-linked = 150, inited = 38
[2.037s][info ][cds ] platform = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] app = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] unregistered = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] (enum) = 68, aot-linked = 68, inited = 10
[2.037s][info ][cds ] (hidden) = 80, aot-linked = 80, inited = 80
[2.037s][info ][cds ] (old) = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] (unlinked) = 0, boot = 0, plat = 0, app = 0, unreg = 0
[2.037s][info ][cds ] obj array classes = 207
[2.037s][info ][cds ] type array classes = 9
[2.037s][info ][cds ] symbols = 51910
[2.044s][warning][cds,heap ] Archive heap points to a static field that may hold a different value at runtime:
[2.044s][warning][cds,heap ] Field: java/lang/invoke/MethodHandleImpl$ArrayAccessor::OBJECT_ARRAY_SETTER
[2.044s][warning][cds,heap ] Value: java.lang.invoke.MethodHandleImpl$IntrinsicMethodHandle
[2.044s][warning][cds,heap ] {0x00000000c28a5150} - klass: 'java/lang/invoke/MethodHandleImpl$IntrinsicMethodHandle' - flags:
[2.044s][warning][cds,heap ]
[2.044s][warning][cds,heap ] - ---- fields (total size 6 words):
[2.044s][warning][cds,heap ] - private 'customizationCount' 'B' @12 0 (0x00)
[2.044s][warning][cds,heap ] - private volatile 'updateInProgress' 'Z' @13 false (0x00)
[2.044s][warning][cds,heap ] - private final 'type' 'Ljava/lang/invoke/MethodType;' @16 a 'java/lang/invoke/MethodType'{0x00000000c28a4808} = ([Ljava/lang/Object;ILjava/lang/Object;)V (0xc28a4808)
[2.044s][warning][cds,heap ] - final 'form' 'Ljava/lang/invoke/LambdaForm;' @20 a 'java/lang/invoke/LambdaForm'{0x00000000c28a5a70} => a 'java/lang/invoke/MemberName'{0x00000000c28a5c60} = {method} {0x00007f3b50d05a70} 'delegate' '(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;)V' in 'java/lang/invoke/LambdaForm$MH+0x800000041' (0xc28a5a70)
[2.044s][warning][cds,heap ] - private 'asTypeCache' 'Ljava/lang/invoke/MethodHandle;' @24 null (0x00000000)
[2.044s][warning][cds,heap ] - private 'asTypeSoftCache' 'Ljava/lang/ref/SoftReference;' @28 null (0x00000000)
[2.044s][warning][cds,heap ] - private final 'target' 'Ljava/lang/invoke/MethodHandle;' @32 a 'java/lang/invoke/DirectMethodHandle'{0x00000000c28a5128} (0xc28a5128)
[2.044s][warning][cds,heap ] - private final 'intrinsicName' 'Ljava/lang/invoke/MethodHandleImpl$Intrinsic;' @36 a 'java/lang/invoke/MethodHandleImpl$Intrinsic'{0x00000000c2a50b10} (0xc2a50b10)
[2.044s][warning][cds,heap ] - private final 'intrinsicData' 'Ljava/lang/Object;' @40 null (0x00000000)
[2.044s][warning][cds,heap ] --- trace begin ---
[2.044s][warning][cds,heap ] [ 0] {0x00000000c296e5e0} [Ljava.lang.Object; @[17]
[2.044s][warning][cds,heap ] [ 1] {0x00000000c28b78a0} java.lang.invoke.VarHandle$AccessDescriptor::symbolicMethodTypeExact (offset = 20)
[2.044s][warning][cds,heap ] [ 2] {0x00000000c28b7838} java.lang.invoke.MethodType::form (offset = 20)
[2.044s][warning][cds,heap ] [ 3] {0x00000000c2905648} java.lang.invoke.MethodTypeForm::erasedType (offset = 16)::basicType (offset = 20)
[2.044s][warning][cds,heap ] [ 4] {0x00000000c2905620} java.lang.invoke.MethodType::invokers (offset = 28)
[2.044s][warning][cds,heap ] [ 5] {0x00000000c28a2210} java.lang.invoke.Invokers::invokers (offset = 16)
[2.044s][warning][cds,heap ] [ 6] {0x00000000c28a2228} [Ljava.lang.invoke.MethodHandle; @[2]
[2.044s][warning][cds,heap ] [ 7] {0x00000000c28a2750} java.lang.invoke.DirectMethodHandle::type (offset = 16)
[2.044s][warning][cds,heap ] [ 8] {0x00000000c28a23a8} java.lang.invoke.MethodType::form (offset = 20)
[2.044s][warning][cds,heap ] [ 9] {0x00000000c2a51ea0} java.lang.invoke.MethodTypeForm::lambdaForms (offset = 28)
[2.044s][warning][cds,heap ] [10] {0x00000000c2a51ec0} [Ljava.lang.Object; @[2]
[2.044s][warning][cds,heap ] [11] {0x00000000c28a2598} java.lang.invoke.LambdaForm::names (offset = 32)
[2.044s][warning][cds,heap ] [12] {0x00000000c28a2510} [Ljava.lang.invoke.LambdaForm$Name; @[4]
[2.044s][warning][cds,heap ] [13] {0x00000000c28a2538} java.lang.invoke.LambdaForm$Name::function (offset = 20)
[2.044s][warning][cds,heap ] [14] {0x00000000c2a4c828} java.lang.invoke.LambdaForm$NamedFunction::member (offset = 12)
[2.044s][warning][cds,heap ] [15] {0x00000000c2a4c840} java.lang.invoke.MemberName::type (offset = 32)
[2.044s][warning][cds,heap ] [16] {0x00000000c2a471c0} java.lang.invoke.MethodType::form (offset = 20)
[2.044s][warning][cds,heap ] [17] {0x00000000c2a471e8} java.lang.invoke.MethodTypeForm::lambdaForms (offset = 28)
[2.044s][warning][cds,heap ] [18] {0x00000000c2a47208} [Ljava.lang.Object; @[25]
[2.044s][warning][cds,heap ] [19] {0x00000000c28a6570} java.lang.invoke.LambdaForm::names (offset = 32)
[2.044s][warning][cds,heap ] [20] {0x00000000c28a64b0} [Ljava.lang.invoke.LambdaForm$Name; @[4]
[2.044s][warning][cds,heap ] [21] {0x00000000c28a6550} java.lang.invoke.LambdaForm$Name::function (offset = 20)
[2.044s][warning][cds,heap ] [22] {0x00000000c28a6498} java.lang.invoke.LambdaForm$NamedFunction::resolvedHandle (offset = 16)
[2.044s][warning][cds,heap ] [23] {0x00000000c28a5150} java.lang.invoke.MethodHandleImpl$IntrinsicMethodHandle
[2.044s][warning][cds,heap ] --- trace end ---
[2.044s][warning][cds,heap ]
[2.048s][error ][cds,heap ] Scanned 35006 objects. Found 1 case(s) where an object points to a static field that may hold a different value at runtime.
[2.048s][error ][cds ] An error has occurred while writing the shared archive file.
];
stderr: []
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at jdk.test.lib.cds.CDSTestUtils.checkDump(CDSTestUtils.java:288)
at SignedJar.main(SignedJar.java:59)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1447)
Unclear what triggered this. There have been some changes in jar file verification and some changes in security libs.
[2.037s][info ][cds ] instance classes = 1803, aot-linked = 1803, inited = 223
[2.037s][info ][cds ] boot = 1803, aot-linked = 1803, inited = 223
[2.037s][info ][cds ] vm = 150, aot-linked = 150, inited = 38
[2.037s][info ][cds ] platform = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] app = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] unregistered = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] (enum) = 68, aot-linked = 68, inited = 10
[2.037s][info ][cds ] (hidden) = 80, aot-linked = 80, inited = 80
[2.037s][info ][cds ] (old) = 0, aot-linked = 0, inited = 0
[2.037s][info ][cds ] (unlinked) = 0, boot = 0, plat = 0, app = 0, unreg = 0
[2.037s][info ][cds ] obj array classes = 207
[2.037s][info ][cds ] type array classes = 9
[2.037s][info ][cds ] symbols = 51910
[2.044s][warning][cds,heap ] Archive heap points to a static field that may hold a different value at runtime:
[2.044s][warning][cds,heap ] Field: java/lang/invoke/MethodHandleImpl$ArrayAccessor::OBJECT_ARRAY_SETTER
[2.044s][warning][cds,heap ] Value: java.lang.invoke.MethodHandleImpl$IntrinsicMethodHandle
[2.044s][warning][cds,heap ] {0x00000000c28a5150} - klass: 'java/lang/invoke/MethodHandleImpl$IntrinsicMethodHandle' - flags:
[2.044s][warning][cds,heap ]
[2.044s][warning][cds,heap ] - ---- fields (total size 6 words):
[2.044s][warning][cds,heap ] - private 'customizationCount' 'B' @12 0 (0x00)
[2.044s][warning][cds,heap ] - private volatile 'updateInProgress' 'Z' @13 false (0x00)
[2.044s][warning][cds,heap ] - private final 'type' 'Ljava/lang/invoke/MethodType;' @16 a 'java/lang/invoke/MethodType'{0x00000000c28a4808} = ([Ljava/lang/Object;ILjava/lang/Object;)V (0xc28a4808)
[2.044s][warning][cds,heap ] - final 'form' 'Ljava/lang/invoke/LambdaForm;' @20 a 'java/lang/invoke/LambdaForm'{0x00000000c28a5a70} => a 'java/lang/invoke/MemberName'{0x00000000c28a5c60} = {method} {0x00007f3b50d05a70} 'delegate' '(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;)V' in 'java/lang/invoke/LambdaForm$MH+0x800000041' (0xc28a5a70)
[2.044s][warning][cds,heap ] - private 'asTypeCache' 'Ljava/lang/invoke/MethodHandle;' @24 null (0x00000000)
[2.044s][warning][cds,heap ] - private 'asTypeSoftCache' 'Ljava/lang/ref/SoftReference;' @28 null (0x00000000)
[2.044s][warning][cds,heap ] - private final 'target' 'Ljava/lang/invoke/MethodHandle;' @32 a 'java/lang/invoke/DirectMethodHandle'{0x00000000c28a5128} (0xc28a5128)
[2.044s][warning][cds,heap ] - private final 'intrinsicName' 'Ljava/lang/invoke/MethodHandleImpl$Intrinsic;' @36 a 'java/lang/invoke/MethodHandleImpl$Intrinsic'{0x00000000c2a50b10} (0xc2a50b10)
[2.044s][warning][cds,heap ] - private final 'intrinsicData' 'Ljava/lang/Object;' @40 null (0x00000000)
[2.044s][warning][cds,heap ] --- trace begin ---
[2.044s][warning][cds,heap ] [ 0] {0x00000000c296e5e0} [Ljava.lang.Object; @[17]
[2.044s][warning][cds,heap ] [ 1] {0x00000000c28b78a0} java.lang.invoke.VarHandle$AccessDescriptor::symbolicMethodTypeExact (offset = 20)
[2.044s][warning][cds,heap ] [ 2] {0x00000000c28b7838} java.lang.invoke.MethodType::form (offset = 20)
[2.044s][warning][cds,heap ] [ 3] {0x00000000c2905648} java.lang.invoke.MethodTypeForm::erasedType (offset = 16)::basicType (offset = 20)
[2.044s][warning][cds,heap ] [ 4] {0x00000000c2905620} java.lang.invoke.MethodType::invokers (offset = 28)
[2.044s][warning][cds,heap ] [ 5] {0x00000000c28a2210} java.lang.invoke.Invokers::invokers (offset = 16)
[2.044s][warning][cds,heap ] [ 6] {0x00000000c28a2228} [Ljava.lang.invoke.MethodHandle; @[2]
[2.044s][warning][cds,heap ] [ 7] {0x00000000c28a2750} java.lang.invoke.DirectMethodHandle::type (offset = 16)
[2.044s][warning][cds,heap ] [ 8] {0x00000000c28a23a8} java.lang.invoke.MethodType::form (offset = 20)
[2.044s][warning][cds,heap ] [ 9] {0x00000000c2a51ea0} java.lang.invoke.MethodTypeForm::lambdaForms (offset = 28)
[2.044s][warning][cds,heap ] [10] {0x00000000c2a51ec0} [Ljava.lang.Object; @[2]
[2.044s][warning][cds,heap ] [11] {0x00000000c28a2598} java.lang.invoke.LambdaForm::names (offset = 32)
[2.044s][warning][cds,heap ] [12] {0x00000000c28a2510} [Ljava.lang.invoke.LambdaForm$Name; @[4]
[2.044s][warning][cds,heap ] [13] {0x00000000c28a2538} java.lang.invoke.LambdaForm$Name::function (offset = 20)
[2.044s][warning][cds,heap ] [14] {0x00000000c2a4c828} java.lang.invoke.LambdaForm$NamedFunction::member (offset = 12)
[2.044s][warning][cds,heap ] [15] {0x00000000c2a4c840} java.lang.invoke.MemberName::type (offset = 32)
[2.044s][warning][cds,heap ] [16] {0x00000000c2a471c0} java.lang.invoke.MethodType::form (offset = 20)
[2.044s][warning][cds,heap ] [17] {0x00000000c2a471e8} java.lang.invoke.MethodTypeForm::lambdaForms (offset = 28)
[2.044s][warning][cds,heap ] [18] {0x00000000c2a47208} [Ljava.lang.Object; @[25]
[2.044s][warning][cds,heap ] [19] {0x00000000c28a6570} java.lang.invoke.LambdaForm::names (offset = 32)
[2.044s][warning][cds,heap ] [20] {0x00000000c28a64b0} [Ljava.lang.invoke.LambdaForm$Name; @[4]
[2.044s][warning][cds,heap ] [21] {0x00000000c28a6550} java.lang.invoke.LambdaForm$Name::function (offset = 20)
[2.044s][warning][cds,heap ] [22] {0x00000000c28a6498} java.lang.invoke.LambdaForm$NamedFunction::resolvedHandle (offset = 16)
[2.044s][warning][cds,heap ] [23] {0x00000000c28a5150} java.lang.invoke.MethodHandleImpl$IntrinsicMethodHandle
[2.044s][warning][cds,heap ] --- trace end ---
[2.044s][warning][cds,heap ]
[2.048s][error ][cds,heap ] Scanned 35006 objects. Found 1 case(s) where an object points to a static field that may hold a different value at runtime.
[2.048s][error ][cds ] An error has occurred while writing the shared archive file.
];
stderr: []
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at jdk.test.lib.cds.CDSTestUtils.checkDump(CDSTestUtils.java:288)
at SignedJar.main(SignedJar.java:59)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1447)
Unclear what triggered this. There have been some changes in jar file verification and some changes in security libs.
- relates to
-
JDK-8339280 jarsigner -verify performs cross-checking between CEN and LOC
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/15d36ee4
-
Review(master) openjdk/jdk/24363
There are no Sub-Tasks for this issue.