< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/DebugInfo.java

Print this page

        

*** 46,57 **** /** * Creates a new {@link DebugInfo} from the given values. * * @param codePos the {@linkplain BytecodePosition code position} or {@linkplain BytecodeFrame * frame} info ! * @param virtualObjectMapping the mapping of {@link VirtualObject}s to their real values */ public DebugInfo(BytecodePosition codePos, VirtualObject[] virtualObjectMapping) { this.bytecodePosition = codePos; this.virtualObjectMapping = virtualObjectMapping; } --- 46,59 ---- /** * Creates a new {@link DebugInfo} from the given values. * * @param codePos the {@linkplain BytecodePosition code position} or {@linkplain BytecodeFrame * frame} info ! * @param virtualObjectMapping the mapping of {@link VirtualObject}s to their real values. This ! * array is now owned by this object and must not be mutated by the caller. */ + @SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "caller transfers ownership of `virtualObjectMapping`") public DebugInfo(BytecodePosition codePos, VirtualObject[] virtualObjectMapping) { this.bytecodePosition = codePos; this.virtualObjectMapping = virtualObjectMapping; }
< prev index next >