comparison mxtool/mx.py @ 16671:7cdd7ede912d

mx: fix comments: jrelibrary is about the JRE, not the JDK
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 25 Jul 2014 13:12:32 +0200
parents 4ae1d1ed5cc1
children 63706366f6c5
comparison
equal deleted inserted replaced
16670:4ae1d1ed5cc1 16671:7cdd7ede912d
561 if result is NotImplemented: 561 if result is NotImplemented:
562 return result 562 return result
563 return not result 563 return not result
564 564
565 """ 565 """
566 A library that will be provided by the JDK but may be absent. 566 A library that will be provided by the JRE but may be absent.
567 Any project or normal library that depends on a missing library 567 Any project or normal library that depends on a missing library
568 will be removed from the global project and library dictionaries 568 will be removed from the global project and library dictionaries
569 (i.e., _projects and _libs). 569 (i.e., _projects and _libs).
570 570
571 This mechanism exists primarily to be able to support code 571 This mechanism exists primarily to be able to support code
572 that may use functionality in one JDK (e.g., Oracle JDK) 572 that may use functionality in one JRE (e.g., Oracle JRE)
573 that is not present in another JDK (e.g., OpenJDK). A 573 that is not present in another JRE (e.g., OpenJDK). A
574 motivating example is the Java Flight Recorder library 574 motivating example is the Java Flight Recorder library
575 found in the Oracle JDK. 575 found in the Oracle JRE.
576 """ 576 """
577 class JreLibrary(BaseLibrary): 577 class JreLibrary(BaseLibrary):
578 def __init__(self, suite, name, jar, optional): 578 def __init__(self, suite, name, jar, optional):
579 BaseLibrary.__init__(self, suite, name, optional) 579 BaseLibrary.__init__(self, suite, name, optional)
580 self.jar = jar 580 self.jar = jar