@@ -933,11 +933,11 @@ } public boolean isDocFlavorSupported(DocFlavor flavor) { if (supportedDocFlavors == null) { - getSupportedDocFlavors(); + supportedDocFlavors = getSupportedDocFlavors(); } if (supportedDocFlavors != null) { for (int f=0; f<supportedDocFlavors.length; f++) { if (flavor.equals(supportedDocFlavors[f])) { return true;