From faaab500e3c3247c5b6f7a01a04014ab5f2dc4d1 Mon Sep 17 00:00:00 2001 From: Maxim Degtyarev Date: Sun, 15 Oct 2017 08:16:02 +0300 Subject: [PATCH] RESERVED_WINDOWS_NAMESPACE contains duplicate entries of `aux` and doesn't contain `con` which is reserved name too. --- .../java/decompiler/modules/renamer/ConverterHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/jetbrains/java/decompiler/modules/renamer/ConverterHelper.java b/src/org/jetbrains/java/decompiler/modules/renamer/ConverterHelper.java index 4625fe7..2a984a7 100644 --- a/src/org/jetbrains/java/decompiler/modules/renamer/ConverterHelper.java +++ b/src/org/jetbrains/java/decompiler/modules/renamer/ConverterHelper.java @@ -29,7 +29,7 @@ public class ConverterHelper implements IIdentifierRenamer { "final", "interface", "short", "true", "char", "finally", "long", "static", "try", "class", "float", "native", "strictfp", "void", "const", "for", "new", "super", "volatile", "continue", "goto", "null", "switch", "while", "default", "assert", "enum")); private static final Set RESERVED_WINDOWS_NAMESPACE = new HashSet<>(Arrays.asList( - "aux", "prn", "aux", "nul", + "con", "prn", "aux", "nul", "com1", "com2", "com3", "com4", "com5", "com6", "com7", "com8", "com9", "lpt1", "lpt2", "lpt3", "lpt4", "lpt5", "lpt6", "lpt7", "lpt8", "lpt9"));