Mercurial > hg > openjdk > bsd-port > jdk
changeset 5786:200b3ec72317
- Correct logic inversion. Originally this was !FontUtilities.isLinuxOrBSD.
Adjust logic to match that.
author | kurt |
---|---|
date | Mon, 06 May 2013 15:35:36 -0400 |
parents | 04ea4c2d0fd8 |
children | 0b40083e165d |
files | src/share/classes/sun/awt/FontConfiguration.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/sun/awt/FontConfiguration.java Mon May 06 09:22:59 2013 -0400 +++ b/src/share/classes/sun/awt/FontConfiguration.java Mon May 06 15:35:36 2013 -0400 @@ -1146,7 +1146,7 @@ */ HashMap<String, Boolean> existsMap; public boolean needToSearchForFile(String fileName) { - if (!FontUtilities.isLinux || FontUtilities.isBSD) { + if (!FontUtilities.isLinux && !FontUtilities.isBSD) { return false; } else if (existsMap == null) { existsMap = new HashMap<String, Boolean>();