From 402cede106cfca9aae64e1a33b95888b55091d17 Mon Sep 17 00:00:00 2001 From: idk Date: Mon, 6 Feb 2023 17:46:14 +0000 Subject: [PATCH] mark Elevator and Shell32X for removal --- java/net/i2p/router/Elevator.java | 3 +++ java/net/i2p/router/Shell32X.java | 2 ++ 2 files changed, 5 insertions(+) diff --git a/java/net/i2p/router/Elevator.java b/java/net/i2p/router/Elevator.java index 42d6536..e02f080 100644 --- a/java/net/i2p/router/Elevator.java +++ b/java/net/i2p/router/Elevator.java @@ -4,6 +4,9 @@ import com.sun.jna.WString; import com.sun.jna.platform.win32.Kernel32; import com.sun.jna.platform.win32.Kernel32Util; + +//TODO: This is obsolete. I don't know if a single user still has an admin-style install of this. +// it should be removed a the earliest convenient time. public class Elevator { public static void main(String... args) { executeAsAdministrator("c:\\windows\\system32\\notepad.exe", ""); diff --git a/java/net/i2p/router/Shell32X.java b/java/net/i2p/router/Shell32X.java index affe0be..880e784 100644 --- a/java/net/i2p/router/Shell32X.java +++ b/java/net/i2p/router/Shell32X.java @@ -12,6 +12,8 @@ import com.sun.jna.platform.win32.WinReg.HKEY; import com.sun.jna.win32.W32APIOptions; import java.util.*; +//TODO: This is obsolete. I don't know if a single user still has an admin-style install of this. +// it should be removed a the earliest convenient time. public interface Shell32X extends Shell32 { Shell32X INSTANCE = (Shell32X)Native.loadLibrary( "shell32", Shell32X.class, W32APIOptions.UNICODE_OPTIONS);