-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
9-repo-jigsaw
-
generic
-
solaris
Consider the following two lines of code:
String name = UIManager.getSystemLookAndFeelClassName();
Class c = Class.forName(name);
Currently this code might not work in module-mode.
A JCK test if executed on Solaris machine in one-module mode fails:
TestURL: api/javax_swing/UIManager/descriptions.html#getset[UIManager2015]
Output:
---
UIManager2002: Passed. OKAY
UIManager2003: Passed. OKAY
UIManager2004: Passed. OKAY
UIManager2005: Passed. OKAY
UIManager2006: Passed. OKAY
UIManager2007: Passed. OKAY
UIManager2008: Passed. OKAY
UIManager2009: Passed. OKAY
UIManager2010: Passed. OKAY
UIManager2011: Passed. OKAY
UIManager2012: Passed. OKAY
UIManager2013: Passed. OKAY
UIManager2014: Passed. OKAY
UIManager2015: Failed. Method return incorrect class name (java.lang.ClassNotFoundException: com.sun.java.swing.plaf.motif.MotifLookAndFeel : requested by +tests)
UIManager2016: Passed. OKAY
UIManager2017: Passed. OKAY
UIManager2018: Passed. OKAY
UIManager2019: Passed. OKAY
UIManager2020: Passed. OKAY
UIManager2021: Passed. OKAY
UIManager2022: Passed. OKAY
UIManager2023: Passed. OKAY
UIManager2024: Passed. OKAY
STATUS:Failed.test cases: 23; passed: 22; failed: 1; first test case failure: UIManager2015
----------out2:(27/2063)----------
String name = UIManager.getSystemLookAndFeelClassName();
Class c = Class.forName(name);
Currently this code might not work in module-mode.
A JCK test if executed on Solaris machine in one-module mode fails:
TestURL: api/javax_swing/UIManager/descriptions.html#getset[UIManager2015]
Output:
---
UIManager2002: Passed. OKAY
UIManager2003: Passed. OKAY
UIManager2004: Passed. OKAY
UIManager2005: Passed. OKAY
UIManager2006: Passed. OKAY
UIManager2007: Passed. OKAY
UIManager2008: Passed. OKAY
UIManager2009: Passed. OKAY
UIManager2010: Passed. OKAY
UIManager2011: Passed. OKAY
UIManager2012: Passed. OKAY
UIManager2013: Passed. OKAY
UIManager2014: Passed. OKAY
UIManager2015: Failed. Method return incorrect class name (java.lang.ClassNotFoundException: com.sun.java.swing.plaf.motif.MotifLookAndFeel : requested by +tests)
UIManager2016: Passed. OKAY
UIManager2017: Passed. OKAY
UIManager2018: Passed. OKAY
UIManager2019: Passed. OKAY
UIManager2020: Passed. OKAY
UIManager2021: Passed. OKAY
UIManager2022: Passed. OKAY
UIManager2023: Passed. OKAY
UIManager2024: Passed. OKAY
STATUS:Failed.test cases: 23; passed: 22; failed: 1; first test case failure: UIManager2015
----------out2:(27/2063)----------