1. Java / Говнокод #19682

    −30

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    static {
            try {
                Object e = null;
                ((XmlSchema)e).location();
            } catch (NullPointerException var3) {
                ;
            } catch (NoSuchMethodError var4) {
                Messages res;
                if(SecureLoader.getClassClassLoader(XmlSchema.class) == null) {
                    res = Messages.INCOMPATIBLE_API_VERSION_MUSTANG;
                } else {
                    res = Messages.INCOMPATIBLE_API_VERSION;
                }
    
                throw new LinkageError(res.format(new Object[]{Which.which(XmlSchema.class), Which.which(ModelBuilder.class)}));
            }
    
            try {
                WhiteSpaceProcessor.isWhiteSpace("xyz");
            } catch (NoSuchMethodError var2) {
                throw new LinkageError(Messages.RUNNING_WITH_1_0_RUNTIME.format(new Object[]{Which.which(WhiteSpaceProcessor.class), Which.which(ModelBuilder.class)}));
            }
    
            logger = Logger.getLogger(ModelBuilder.class.getName());
        }

    exception-driven bullshit

    Запостил: Lure Of Chaos, 23 Марта 2016

    Комментарии (1) RSS

    Добавить комментарий