Skip to content

Commit

Permalink
7263: JMC displaying long value in scientific notation
Browse files Browse the repository at this point in the history
Reviewed-by: vpurnam, hirt
  • Loading branch information
Suchita Chaturvedi committed May 28, 2024
1 parent 9275009 commit ad0ef9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -482,7 +482,8 @@ private IValueReader createFieldReader(FieldElement f, String valueType, LoaderC
if (JfrInternalConstants.LINE_NUMBER_ID.equals(f.fieldIdentifier)
|| JfrInternalConstants.BCI_ID.equals(f.fieldIdentifier)
|| JfrInternalConstants.MODIFIERS_ID.equals(f.fieldIdentifier)
|| JfrInternalConstants.JAVA_THREAD_ID_ID.equals(f.fieldIdentifier)) {
|| JfrInternalConstants.JAVA_THREAD_ID_ID.equals(f.fieldIdentifier)
|| JfrInternalConstants.CERTIFICATE_ID_ID.equals(f.fieldIdentifier)) {
reader = new PrimitiveReader(typeIdentifier);
} else {
IUnit unit = UnitLookup.getUnitOrNull(valueType);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -44,4 +44,5 @@ public final class JfrInternalConstants {
public static final String BCI_ID = "bytecodeIndex"; //$NON-NLS-1$
public static final String MODIFIERS_ID = "modifiers"; //$NON-NLS-1$
public static final String JAVA_THREAD_ID_ID = "javaThreadId"; //$NON-NLS-1$
public static final String CERTIFICATE_ID_ID = "certificateId"; //$NON-NLS-1$
}

0 comments on commit ad0ef9e

Please sign in to comment.