[Ikvm-developers] ikvm.runtime(cvs-2008-6-22)-build error(using GNU Classpath)
Brought to you by:
jfrijters
|
From: Hwang YunSong(황. <hy...@dr...> - 2008-06-23 02:02:20
|
<HEAD><STYLE> P { margin-top: 0px; margin-bottom: 6px; font-family: gulim,dotum,seoul,arial,verdana; font-size: 12px; } BODY { font-family: gulim,dotum,seoul,arial,verdana; font-size: 12px; } </STYLE></HEAD>
<BR>
<BR>IKVM.Runtime.JNI:
<BR>
<BR> [csc] Compiling 2 files to '/home/hys545/ikvm/runtime/IKVM.Runtime.JNI.dll'.
<BR> [copy] Copying 1 file to '/home/hys545/ikvm/bin'.
<BR> [csc] Compiling 24 files to '/home/hys545/ikvm/runtime/IKVM.Runtime.dll'.
<BR> [csc] /home/hys545/ikvm/runtime/ByteCodeHelper.cs(258,136): error CS0122: `ikvm.internal.CallerID.create(System.Reflection.MethodBase)' is inaccessible due to its protection level
<BR> [csc] /home/hys545/ikvm/bin/IKVM.GNU.Classpath.dll (Location of the symbol related to previous error)
<BR> [csc] /home/hys545/ikvm/runtime/ByteCodeHelper.cs(266,135): error CS0122: `ikvm.internal.CallerID.create(System.Reflection.MethodBase)' is inaccessible due to its protection level
<BR> [csc] /home/hys545/ikvm/bin/IKVM.GNU.Classpath.dll (Location of the symbol related to previous error)
<BR> [csc] /home/hys545/ikvm/runtime/ByteCodeHelper.cs(274,183): error CS0122: `ikvm.internal.CallerID.create(System.Reflection.MethodBase)' is inaccessible due to its protection level
<BR> [csc] /home/hys545/ikvm/bin/IKVM.GNU.Classpath.dll (Location of the symbol related to previous error)
<BR> [csc] Compilation failed: 3 error(s), 0 warnings
<BR>
<BR>BUILD FAILED - 0 non-fatal error(s), 6 warning(s)
<BR>
<BR>/home/hys545/ikvm/runtime/runtime.build(52,10):
<BR>External Program Failed: /usr/lib/mono/2.0/gmcs.exe (return code was 1)
<BR>
<BR>Total time: 5.7 seconds.
<BR>
<BR>I fixed classpath/ikvm/internal/CallerID.java
<BR>
<BR>62c62
<BR>< //@ikvm.lang.Internal
<BR>---
<BR>> @ikvm.lang.Internal
<BR>68c68
<BR>< // @ikvm.lang.Internal
<BR>---
<BR>> @ikvm.lang.Internal
<BR>
<BR>
<BR>//@ikvm.lang.Internal
<BR> public static CallerID create(cli.System.Diagnostics.StackFrame frame)
<BR> {
<BR> return create(frame.GetMethod());
<BR> }
<BR>
<BR>// @ikvm.lang.Internal
<BR> public static CallerID create(final cli.System.Reflection.MethodBase method)
<BR> {
<BR> return new CallerID() {
<BR> Class GetClass() {
<BR> if (method == null) {
<BR> // this happens if a native thread attaches and calls back into Java
<BR> return null;
<BR> }
<BR> Type type = method.get_DeclaringType();
<BR> if (type == null) {
<BR> // TODO we probably should return a class corresponding to <X-MODULE>
<BR> throw new InternalError();
<BR> }
<BR> return ikvm.runtime.Util.getClassFromTypeHandle(type.get_TypeHandle());
<BR> }
<BR> ClassLoader GetClassLoader() {
<BR> if (method == null) {
<BR> // this happens if a native thread attaches and calls back into Java
<BR> return null;
<BR> }
<BR> Assembly asm = method.get_Module().get_Assembly();
<BR> return GetAssemblyClassLoader(asm);
<BR> }
<BR> };
<BR> }
<BR>
<BR>
<BR>
<BR>
<BR><!-- Processed by LibHTMLFiltering/Rendering Engine 3.5P01 -->
<BR>
<a HREF="http://www.dreamwiz.com/" TARGET=_blank><img src=http://i.dreamwiz.com/img/wd/ma/m_dw_logo.gif WIDTH=223 HEIGHT=23 BORDER=0 style=margin-bottom:-5;></a> <span style="font-size: 9pt; font-family:gulim,Arial; color: #494949; text-decoration: none;">http://www.dreamwiz.com/</span><br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=1 height=3 border="0"><br><a href="http://ebiz.dreamwiz.com/BIN/pl.cgi?page=dwmail_cpsbn&sub=cpsbn1&save=100&http://mt.dreamwiz.com/tmall/view.asp?id=1049959513" target="_blank"><img src="http://i.dreamwiz.com/ad/shop/wt/_20080611114309_27027_3.gif" width="270" height="27" align="absmiddle" border="0"></a>
<!--<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><a href="http://ebiz.dreamwiz.com/BIN/pl.cgi?page=quiz_ev_foot&sub=mail&save=100&http://www.qbattle.com" target="_blank"><img src="http://i.dreamwiz.com/img/quiz/hompy_img/eventimg/m_qb.gif" width=270 height=27 align="absmiddle" border="0"></a>-->
<IMG SRC="http://mailchk.dreamwiz.com/cgi-bin/receive_check.cgi?sen...@dr...&msgid=%3C2...@ma...%3E&rec...@li...&key=b745f3971ab3fe25a8d53867ff057f99&wiz=/n.gif" WIDTH="1" HEIGHT="1" BORDER="0">
|