8283627: Outdated comment in MachineDescriptionTwosComplement.isLP64
Reviewed-by: cjplummer, sspitsyn, lmesnik
This commit is contained in:
parent
cea409cc28
commit
524af94937
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger
@ -54,7 +54,7 @@ public interface MachineDescription extends Serializable {
|
||||
public boolean isBigEndian();
|
||||
|
||||
/** Indicates whether the underlying machine supports the LP64 data
|
||||
model (currently only SPARC/64). */
|
||||
model. */
|
||||
public boolean isLP64();
|
||||
|
||||
/** Indicates whether the underlying machine supports 64-bit types
|
||||
|
5
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionTwosComplement.java
5
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionTwosComplement.java
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2022, 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
|
||||
@ -74,7 +74,8 @@ public abstract class MachineDescriptionTwosComplement {
|
||||
return tableLookup(sizeInBytes, signedMinValues);
|
||||
}
|
||||
|
||||
// Nearly all of the supported machines are not LP64 */
|
||||
// Historically, most supported machines were not LP64.
|
||||
// 64-bit machines have however become more popular.
|
||||
public boolean isLP64() {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user