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

user.name, user.home properties inaccessible on Solaris 2.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.1.2
    • 1.1.1
    • core-libs
    • None
    • b01
    • sparc
    • solaris_2.5.1
    • Not verified

    Description



      Name: mc57594 Date: 05/15/97


      The user.name, user.home properties are not usable in JDK-1.1.1
      on Solaris 2.4. Below is a simple Java class which when
      run will show that these properties do not have valid values -
      they both have the value "?". This failure may not be
      reproducible in all environments. It does fail as described
      On Solaris 2.4 when using NIS for user information lookup.
      It does NOT fail on Solaris 2.5.1, but the JDK-1.1.1 Solaris
      release claims to support Solaris 2.4.

      To reproduce the problem, compile and run the following
      program.

      public class jdk111bug {
        public static void main(String[] argv) {
          System.out.println("user.name = " + System.getProperty("user.name"));
          System.out.println("user.home = " + System.getProperty("user.home"));
        }
      }


      company - Object Design , email - ###@###.###
      ======================================================================

      Attachments

        Activity

          People

            never Tom Rodriguez
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: