Use spi.LoggerContext instead of core.LoggerContext.
Use LoaderUtil.loadClass instead of getTCCL
Use PropertiesUtil instead of System.getProperty().