@@ -0,0 +1,538 @@
+package sfBugs;%0D%0A%0D%0Aimport java.util.ResourceBundle;%0D%0A%0D%0Aimport edu.umd.cs.findbugs.annotations.DesireNoWarning;%0D%0A%0D%0Apublic class Bug2874036 %7B%0D%0A%09private static ResourceBundle createRb() %7B return null; %7D%0D%0A%09%0D%0A    private final ResourceBundle rb = createRb();%0D%0A%0D%0A    @DesireNoWarning(%22NP%22)%0D%0A    public String getText(String key) %7B%0D%0A        String res = rb.getString(key);%0D%0A        if (res == null) %7B%0D%0A            System.out.println(%22getText: no language entry for '%22 + key + %22'%22);%0D%0A        %7D%0D%0A        return res != null ? res : key;%0D%0A    %7D%0D%0A%7D%0D%0A

Add test case for bug 2874036 (no bugs found)