diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/util/Properties.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/util/Properties.scala b/src/library/scala/util/Properties.scala index fb4ecbbd90..0f9e30621e 100644 --- a/src/library/scala/util/Properties.scala +++ b/src/library/scala/util/Properties.scala @@ -72,6 +72,7 @@ private[scala] trait PropertiesTrait val javaVmInfo = sysprop("java.vm.info") val javaVersion = sysprop("java.version") val tmpDir = sysprop("java.io.tmpdir") + val userName = sysprop("user.name") val scalaHome = sysprop("scala.home", null) // XXX places do null checks... // provide a main method so version info can be obtained by running this |