#REFACTORING by stefan
class: JavaRelease::AppleJDK6
changed: #javaHomeForJavaExecutable:
use \"asFilename pathName\" instead of \"asFilename asAbsoluteFilename pathName\"
ist is equivalent!
--- a/JavaRelease.st Thu Apr 11 18:33:00 2019 +0200
+++ b/JavaRelease.st Thu Apr 11 18:35:48 2019 +0200
@@ -2446,13 +2446,13 @@
Upon failure (executable does not seem to be a part of JRE nor JDK), return
nil."
- | javaExecutableFilename jdk|
+ |javaExecutableFilename jdk|
"/ By default, java executable is either in <jdk root>/jre/bin or
"/ <jre root>/bin. So far only AppleJDK is different...
javaExecutable isNil ifTrue:[ ^ nil ].
- javaExecutableFilename := javaExecutable asFilename asAbsoluteFilename.
+ javaExecutableFilename := javaExecutable asFilename.
javaExecutableFilename exists ifFalse:[ ^ nil ].
javaExecutableFilename isExecutable ifFalse:[ ^ nil ].
@@ -2472,6 +2472,7 @@
"Created: / 08-04-2014 / 14:21:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 08-12-2014 / 00:17:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified (format): / 11-04-2019 / 18:20:11 / Stefan Vogel"
!
searchForSourcePath