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

Java -hprof:file option fails to digest long paths.

XMLWordPrintable

    • 1.2fcs
    • generic
    • solaris_2.6
    • Not verified


      allan.jacobs@Eng 1998-08-12

      algol% cat Hello.java
      public class Hello {
      public static void main( String[] argv ) {
      }
      }
      algol% java -fullversion
      java full version "JDK-1.2fcs-E"
      algol% uname -a
      SunOS algol 5.6 Generic sun4u sparc SUNW,Ultra-2
      algol% setenv CLASSPATH .
      algol% javac -d . Hello.java
      algol% java -fullversion
      java full version "JDK-1.2fcs-E"
      algol% pwd
      /net/mulder.eng/export/mulder3/ajacobs/runTonga/exactvmtest/algol/utils/ajacobs.Solaris.sparc/hprof001
      algol% java -Xhprof:file=`pwd`/junk.txt Hello <<<<<<<<<<<<<<<<< ERROR!!!!!!!!!!!!!!!!!!
      HPROF ERROR: bad hprof option
      algol% java -Xhprof:file=junk.txt Hello
      Dumping Java heap and allocation sites ... done.
      algol% java -Xhprof:file=./junk.txt Hello
      Dumping Java heap and allocation sites ... done.
      algol% cd ..
      algol% setenv CLASSPATH hprof001
      algol% java -Xhprof:file=hprof001/junk.txt Hello
      Dumping Java heap and allocation sites ... done.

            sliangsunw Sheng Liang (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: