<AWT Dev> The path to flavormap.properties is currently broken in SystemFlavorMap

Ludovic HOCHET lhochet at gmail.com
Sat Aug 30 20:39:10 UTC 2014

The path to flavormap.properties is currently broken in
SystemFlavorMap (both in jdk9/dev and jdk9/jdk9). Looking at the
history it seems there was some attempt at moving the file to the path
that is in SystemFlavorMap, but that move (if it was complete) didn't
survive the source code modularisation.
The following patch fixes the issue for me for now:
diff -r 02e9b804e671
--- a/src/java.desktop/share/classes/java/awt/datatransfer/SystemFlavorMap.java
   Fri Aug 29 11:59:34 2014 -0700
+++ b/src/java.desktop/share/classes/java/awt/datatransfer/SystemFlavorMap.java
   Sat Aug 30 19:29:53 2014 +0100
@@ -200,7 +200,7 @@
         isMapInitialized = true;

-        InputStream is =
+        InputStream is =
         if (is == null) {
             throw new InternalError("Default flavor mapping not found");


"Les formes qui differencient les etres importent peu
 si leur pensees s'unissent pour batir un univers..."
 Yoko Tsuno (in 'Les titans' by Roger Leloup)
 [The shapes that differenciate beings are not important
 if their thoughts unite to build a universe]

More information about the awt-dev mailing list