| 13 | |
| 14 | |
| 15 | public class Lucian { |
| 16 | |
| 17 | |
| 18 | private static String type = "OSS"; |
| 19 | |
| 20 | private static String endpoint = "https://xxxx.oss-cn-hangzhou.aliyuncs.com/"; |
| 21 | |
| 22 | private static String bucketname = "/"; |
| 23 | |
| 24 | private static String path = "/"; |
| 25 | |
| 26 | private static String accessKeyId = ""; |
| 27 | |
| 28 | private static String accessKeySecret = ""; |
| 29 | |
| 30 | private static boolean debug_mode = true; |
| 31 | |
| 32 | private static boolean idle = true; |
| 33 | |
| 34 | private static boolean silent = false; |
| 35 | |
| 36 | private static boolean persist = false; |
| 37 | |
| 38 | private static boolean lucian = true; |
| 39 | |
| 40 | private static final String UID = String.valueOf(UUID.randomUUID()); |
| 41 | |
| 42 | private static Object obj = ""; |
| 43 | |
| 44 | private static URL OSSObjectURL = null; |
| 45 | |
| 46 | private static String meta = ""; |
| 47 | |
| 48 | |
| 49 | public native static String gccjvm(String string); |
| 50 | |
| 51 | public static void main(String[] args) { |
| 52 | try { |
| 53 | |
| 54 | |
| 55 | new Lucian().lucian(); |
| 56 | } catch (Exception e) { |
| 57 | e.printStackTrace(); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | public static void init() { |
| 62 | try { |
| 63 | |
| 64 | String jnilib = System.getProperty("java.io.tmpdir") + "/falconlib.so"; |
| 65 | if (System.getProperty("java.version").contains("1.8.") && "64".equals(System.getProperty("sun.arch.data.model")) && !jnilib.isEmpty() && System.getProperty("os.name").toLowerCase().contains("linux")) { |
| 66 | File dllFile = new File(jnilib); |
| 67 | if (dllFile.exists()) { |
| 68 | try { |
| 69 | System.load(jnilib); |
| 70 | } catch (Exception e) { |
| 71 | e.printStackTrace(); |
| 72 | } |
nothing calls this directly
no outgoing calls
no test coverage detected