Index: trunk/test/unit/org/openstreetmap/josm/data/osm/search/SearchCompilerTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/osm/search/SearchCompilerTest.java	(revision 13413)
+++ trunk/test/unit/org/openstreetmap/josm/data/osm/search/SearchCompilerTest.java	(revision 13430)
@@ -496,4 +496,16 @@
 
     /**
+     * Test empty values.
+     * @throws SearchParseError never
+     */
+    @Test
+    public void testEmptyValues15943() throws SearchParseError {
+        Match matcher = SearchCompiler.compile("access=");
+        assertTrue(matcher.match(new Tag("access", null)));
+        assertTrue(matcher.match(new Tag("access", "")));
+        assertFalse(matcher.match(new Tag("access", "private")));
+    }
+
+    /**
      * Unit test of {@link SearchCompiler.ExactKeyValue.Mode} enum.
      */
@@ -562,5 +574,4 @@
     }
 
-
     /**
      * Ensures that correct presets are stored in the {@link org.openstreetmap.josm.data.osm.search.SearchCompiler.Preset}
