java-from-scratch build error

Dimitris Tsagatakis dtsagas at otenet.gr
Tue Aug 13 02:19:55 PDT 2002


>check out the patch and look for a
>patch for the file build/hotspot/src/share/vm/prims/jvmdi.cpp and apply
>a similar fix for the above file.

The truth is I know nothing about writing code. The only thing a could do is
to replace "prims/jvmdi.cpp" or "jvmdi" with "utilities/accessFlags.cpp" or
"accessFlags" :

---------------------------------
diff -ur src/hotspot/src/share/vm/utilities/accessFlags.cpp
build/hotspot/src/share/vm/utilities/accessFlags.cpp
--- src/hotspot/src/share/vm/utilities/accessFlags.cpp    2002-02-12
07:53:48.000000000 -0600
+++ build/hotspot/src/share/vm/utilities/accessFlags.cpp  2002-06-22
19:41:30.000000000 -0500
@@ -3770,7 +3770,11 @@
       }
       // remove the frame's entry
       accessFlagsFramePops* fps =
thread->accessFlags_thread_state()->get_accessFlags_frame_pops();
-      fps->clear(accessFlagsFramePop(cur_frame_number));
+      // fps->clear(accessFlagsFramePop(cur_frame_number));
+      // Incorrect Syntax. Replaced by Tushar <tush at yahoo.com>
+      // Thanks to Matthias Benkmann
+      accessFlagsFramePop MsBTmP(cur_frame_number);
+      fps->clear(MsBTmP);
       // recompute method entry and exit flags if no more frame pops
       if (fps->length() == 0) {
         recompute_method_entry_and_exit_on();
---------------------------------

I don't know if I did anything right or wrong, but the line "@@ -3770,7
+3770,11 &&"" somehow must be changed.

Thanks,
Dimitris


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list