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

javac command line should have a "version" flag

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 1.4.0, 5.0
    • tools
    • b31
    • generic
    • generic, solaris_8
    • Verified

      Many compilers (such as gcc) have a command-line flag (e.g. "-v") which prints a short string representing the version of the compiler and/or the language.
      for example:

      gcc -v
      Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.2/2.95.3/specs
      gcc version 2.95.3 20010315 (release)

      While the virtual machine does have this feature, the compiler does not.


      brian.preston@eng 2001-05-21

            jjg Jonathan Gibbons
            bprestonsunw Brian Preston (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: