# Internal Error (/HUDSON/workspace/8-2-build-linux-amd64/jdk8/367/hotspot/src/share/vm/oops/cpCache.hpp:139), pid=13656, tid=140632431101696
# assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field change
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b110) (build 1.8.0-ea-fastdebug-b110)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b52-fastdebug mixed mode linux-amd64 compressed oops)
Current thread (0x00007fe79c1f8000): JavaThread "MainThread" [_thread_in_vm, id=13673, stack(0x00007fe78a098000,0x00007fe78a199000)]
Stack: [0x00007fe78a098000,0x00007fe78a199000], sp=0x00007fe78a194c70, free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xe5ea8a] VMError::report_and_die()+0x2da
V [libjvm.so+0x6b4294] report_vm_error(char const*, int, char const*, char const*)+0x84
V [libjvm.so+0x6b0841] ConstantPoolCacheEntry::set_itable_call(Bytecodes::Code, methodHandle, int)+0x101
V [libjvm.so+0x8b9a85] InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x955
j java.time.DayOfWeek.from(Ljava/time/temporal/TemporalAccessor;)Ljava/time/DayOfWeek;+16
j tck.java.time.TCKDayOfWeek.test_factory_CalendricalObject()V+10
v ~StubRoutines::call_stub
V [libjvm.so+0x8c94de] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x188e
V [libjvm.so+0xcd9e50] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x5f0
V [libjvm.so+0xcdaf5e] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x1ce
V [libjvm.so+0x9a0009] JVM_InvokeMethod+0x1d9
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+56
j org.testng.internal.MethodInvocationHelper.invokeMethod(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+242
Reproduces with some JDK regression tests:
java/time/tck/java/time/TCKDayOfWeek.java