Mercurial > hg > graal-jvmci-8
diff mxtool/mx.py @ 17236:9d728eb7fdec
mx: fixed regression in checking whether the JDK contains an optional library
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 26 Sep 2014 23:21:15 +0200 |
parents | fa8210d2ff06 |
children | 86d9e456ef98 |
line wrap: on
line diff
--- a/mxtool/mx.py Fri Sep 26 18:53:54 2014 +0200 +++ b/mxtool/mx.py Fri Sep 26 23:21:15 2014 +0200 @@ -2136,13 +2136,13 @@ self._init_classpaths() for e in self._bootclasspath.split(os.pathsep): - if basename(e) == self.jar: + if basename(e) == jar: return True for d in self._extdirs.split(os.pathsep): - if len(d) and self.jar in os.listdir(d): + if len(d) and jar in os.listdir(d): return True for d in self._endorseddirs.split(os.pathsep): - if len(d) and self.jar in os.listdir(d): + if len(d) and jar in os.listdir(d): return True return False