From a3b30e87e175e30c7f43f16db02c859a3f49808e Mon Sep 17 00:00:00 2001 From: jfrijters Date: Thu, 27 May 2010 08:38:48 +0000 Subject: [PATCH] Add a dummy IKVM.OpenJDK.Core.dll to the build to make it possible to use core types in method signatures during first-pass build of IKVM.Runtime.dll. --- runtime/Dummy.OpenJDK.Core.cs | 38 +++++++++++++++++++++++++++++++++++ runtime/runtime.build | 16 ++++++++++++++- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 runtime/Dummy.OpenJDK.Core.cs diff --git a/runtime/Dummy.OpenJDK.Core.cs b/runtime/Dummy.OpenJDK.Core.cs new file mode 100644 index 00000000..93ea2c69 --- /dev/null +++ b/runtime/Dummy.OpenJDK.Core.cs @@ -0,0 +1,38 @@ +/* + Copyright (C) 2010 Jeroen Frijters + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jeroen Frijters + jeroen@frijters.net + +*/ + +namespace java +{ + namespace lang + { + public class Class { } + public class ClassLoader { } + public class SecurityManager { } + } + + namespace security + { + public class ProtectionDomain { } + } +} diff --git a/runtime/runtime.build b/runtime/runtime.build index cb23c5d7..4476813b 100644 --- a/runtime/runtime.build +++ b/runtime/runtime.build @@ -1,6 +1,6 @@ - + @@ -11,6 +11,19 @@ + + + + + + + + + + + + + @@ -101,6 +114,7 @@ +