--- old/agent/src/share/classes/sun/jvm/hotspot/debugger/x86/X86ThreadContext.java 2015-02-11 12:26:57.619936366 +0100 +++ new/agent/src/share/classes/sun/jvm/hotspot/debugger/x86/X86ThreadContext.java 2015-02-11 12:26:57.507931683 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -24,6 +24,8 @@ package sun.jvm.hotspot.debugger.x86; +import java.lang.annotation.Native; + import sun.jvm.hotspot.debugger.*; import sun.jvm.hotspot.debugger.cdbg.*; @@ -40,6 +42,9 @@ // must be present for the SA's stack walking to work): EAX, EBX, // ECX, EDX, ESI, EDI, EBP, ESP, and EIP. + // One instance of the Native annotation is enough to trigger header generation + // for this file. + @Native public static final int GS = 0; public static final int FS = 1; public static final int ES = 2;