Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8312152

Print even the last modified timestamp in the output of javap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      The javap tool when run against a .class file prints the class file details as follows (among other details):


      > Classfile /tmp/FooBar.class
      > Last modified 11-Jul-2023; size 377 bytes
      > SHA-256 checksum 154d9aa3765a04a1288d762be888e2b746d58d262c0b4e8cebe3eea3f3b8c3ae


      the Last modified printed there doesn't include the timestamp.

      The implementation of javap does have the necessary data to print the timestamp too. It would be useful to even print the timestamp along with the date, preferably in ISO-8601 format.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: