ChangeLog-2007 93 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659
  1. 2007-12-22 David Daney <ddaney@avtrex.com>
  2. * scripts/makemake.tcl (emit_bc_rule): Use $(LIBGCJ_BC_FLAGS)
  3. instead of -findirect-dispatch -fno-indirect-classes.
  4. * configure.ac (libgcj-bc): New AC_ARG_ENABLE.
  5. (SUPPRESS_LIBGCJ_BC): New AM_CONDITIONAL.
  6. * Makefile.am (LIBGCJ_BC_FLAGS): New variable.
  7. * Makefile.in: Regenerate.
  8. * include/Makefile.in: Same.
  9. * testsuite/Makefile.in: Same.
  10. * configure: Same.
  11. * gcj/Makefile.in: Same.
  12. * sources.am: Same.
  13. 2007-12-17 Jakub Jelinek <jakub@redhat.com>
  14. * testsuite/Makefile.am (compile-tests): Build
  15. libjava.jvmti/interp/*.h with -jni rather than -cni.
  16. * testsuite/Makefile.in: Rebuilt.
  17. 2007-12-08 Andreas Tobler <a.tobler@schweiz.org>
  18. * configure.host: Add bits for i?86-*-darwin9 and x86_64-*-darwin9.
  19. * configure.ac: Add darwin-signal.h to x86_64-*-darwin9 and
  20. i?86-*darwin9.
  21. * configure.in: Regenerate.
  22. * darwin.cc: Add definitions for Darwin specific functions for 64-bit.
  23. (darwin_java_register_dyld_add_image_hook): Use this specific
  24. functions.
  25. * Makefile.am (gij_LDFLAGS): Add extra_gij_ldflags for Darwin9.
  26. * Makefile.in: Regenerate.
  27. * include/Makefile.in: Likewise.
  28. * gcj/Makefile.in: Likewise.
  29. * testsuite/Makefile.in: Likewise.
  30. * testsuite/lib/libjava.exp (libjava_arguments): Add allow_stack_execute
  31. for *-*-darwin9*.
  32. 2007-12-06 David Daney <ddaney@avtrex.com>
  33. * interpret.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE throughout.
  34. (ncode_closure, ffi_closure_fun): Define versions for
  35. non-FFI_NATIVE_RAW_API case.
  36. * include/java-interp.h (INTERP_FFI_RAW_TYPE): Define and use to
  37. replace ffi_raw throughout.
  38. * jni.cc, interpret-run.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE
  39. throughout.
  40. 2007-12-06 Andreas Tobler <a.tobler@schweiz.org>
  41. * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Make
  42. the testsuite multilib aware for Darwin.
  43. 2007-12-05 Thomas Fitzsimmons <fitzsim@redhat.com>
  44. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h: Regenerate.
  45. * gnu/java/awt/peer/gtk/GtkWindowPeer.h: Likewise.
  46. * java/awt/Component.h: Likewise.
  47. * java/awt/Container.h: Likewise.
  48. 2007-11-05 H.J. Lu <hongjiu.lu@intel.com>
  49. * configure.ac: Don't run config-ml.in directly.
  50. (multilib_arg): New.
  51. * configure: Regenerated.
  52. 2007-10-22 David Daney <ddaney@avtrex.com>
  53. * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
  54. * boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.
  55. 2007-10-18 David Daney <ddaney@avtrex.com>
  56. * classpath/lib/gnu/java/locale/LocaleData.class: Regenerate
  57. * classpath/lib/gnu/javax/sound/sampled/gstreamer: Add generated
  58. files.
  59. * gnu/javax/sound/sampled/gstreamer: Add generated files.
  60. 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
  61. * configure: Regenerate following changes to ../config/tls.m4.
  62. 2007-09-17 Tom Tromey <tromey@redhat.com>
  63. * defineclass.cc (MAJOR_1_6): New define.
  64. (MINOR_1_6): Likewise.
  65. (_Jv_ClassReader::parse): Handle 1.6 bytecode.
  66. 2007-09-12 David Daney <ddaney@avtrex.com>
  67. * configure.host: Enable interpreter for mips64. Enable hash
  68. synchronization for all mips*-*-linux* targets.
  69. * sysdep/mips/locks.h (compare_and_swap, compare_and_swap_release) Use
  70. __sync_bool_compare_and_swap instead of in-line asm.
  71. (release_set, read_barrier, write_barrier): Use __sync_synchronize
  72. instead of in-line asm.
  73. 2007-09-09 Andreas Tobler <a.tobler@schweiz.org>
  74. PR libgcj/33326
  75. * testsuite/lib/libjava.exp (libjava_arguments): Append the test spec
  76. only for linux targets.
  77. 2007-09-09 Andrew Haley <aph@redhat.com>
  78. * interpret-run.cc (invokevirtual_resolved): Nullcheck object on
  79. TOS.
  80. 2007-09-06 Tom Tromey <tromey@redhat.com>
  81. * testsuite/libjava.lang/StackTrace2.jar: Rebuilt.
  82. * testsuite/libjava.lang/StackTrace2.java (checkLine): Print file
  83. name.
  84. 2007-09-06 Roman Zippel <zippel@linux-m68k.org>
  85. * sysdep/m68k/locks.h: New file.
  86. * configure.host: Set sysdeps_dir and libgcj_interpreter for m68k.
  87. * configure.ac: Set SIGNAL_HANDLER for m68*-*-linux*.
  88. * configure: Regenerate.
  89. 2007-09-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
  90. * configure.host(gnu*): Set use_libgcj_bc to yes.
  91. 2007-09-04 Matthias Klose <doko@ubuntu.com>
  92. * configure.ac: Do not pass --with-native-libdir to classpath.
  93. * configure: Regenerate.
  94. 2007-09-04 Matthias Klose <doko@ubuntu.com>
  95. PR libgcj/33278
  96. * configure.ac: Robustify extraction of gcj version.
  97. * configure: Regenerate.
  98. 2007-09-04 Andrew Haley <aph@redhat.com>
  99. PR java/27908
  100. * testsuite/libjava.lang/PR27908.java
  101. ({run1,run2,run3}.isRunning): New Method.
  102. (main): Fix race condition.
  103. 2007-08-29 Andrew Haley <aph@redhat.com>
  104. * gnu/classpath/natVMStackWalker.cc (VMStackWalker::getCallingClass):
  105. Make sure we're not sibcalled.
  106. (GET_CALLING_CLASS): Define for ARM EABI.
  107. 2007-08-22 Andrew Haley <aph@redhat.com>
  108. * configure.host (BACKTRACESPEC): Add arm*-linux*.
  109. 2007-08-22 Andrew Haley <aph@redhat.com>
  110. * configure.ac (LIBSTDCXXSPEC): New.
  111. * configure.host: Add arm*-linux* to pthread test.
  112. * configure.ac (LIBGCJTESTSPEC): Add path to libstdc++ for ARM
  113. EABI.
  114. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
  115. -fexceptions for ARM EABI.
  116. * testsuite/lib/libjava.exp (libjava_arguments): Add libgcj-test.spec.
  117. (libjava_invoke): Log the invocation.
  118. 2007-08-15 Andrew Haley <aph@redhat.com>
  119. * configure.ac (extra_ldflags): Define.
  120. * Makefile.am: Use extra_ldflags for all executables.
  121. 2007-08-14 Andrew Haley <aph@redhat.com>
  122. * sysdep/arm/backtrace.h: Remove stubs for _Unwind_GetIPInfo,
  123. _Unwind_GetRegionStart, and _Unwind_Backtrace.
  124. 2007-07-27 Andrew Haley <aph@redhat.com>
  125. * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): Stub for
  126. ARM EABI.
  127. * exception.cc (get_exception_header_from_ue): New.
  128. (get_ttype_entry): ARM EABI version.
  129. (PERSONALITY_FUNCTION): Add ARM EABI code.
  130. * sysdep/arm/backtrace.h: New file.
  131. * stacktrace.cc (_URC_NORMAL_STOP): New.
  132. * configure.ac (extra_ldflags_libjava): Add libsupc++.la for ARM
  133. EABI.
  134. * configure.host (BACKTRACESPEC): Add arm/backtrace.h.
  135. 2007-08-31 Matthias Klose <doko@ubuntu.com>
  136. * classpath/lib/java/util/EnumSet*.class: Regenerate
  137. 2007-08-30 Andreas Tobler <a.tobler@schweiz.org>
  138. * gij.cc (version): Update Copyright year.
  139. 2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
  140. * configure.host (gnu*): Set use_libgcj_bc to yes.
  141. 2007-08-15 Tom Tromey <tromey@redhat.com>
  142. * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
  143. * classpath/lib/java/lang/Class.class: Rebuilt.
  144. 2007-08-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
  145. * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove
  146. 'si' and 'third' parameters. Disable calling
  147. pmi->old_sigaction.sa_sigaction.
  148. (java::lang::PosixProcess*ProcessManager::init) [!SA_SIGINFO]: Set
  149. sa.sa_handler instead of sa.sa_sigaction, don't set SA_SIGINFO flag.
  150. 2007-08-09 Andrew Haley <aph@redhat.com>
  151. * testsuite/lib/libjava.exp (libjava_invoke): Log the invocation.
  152. 2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
  153. * java/net/natVMInetAddressPosix.cc
  154. (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
  155. Allocate buffer dynamically.
  156. 2007-08-04 Alfred M. Szmidt <ams@gnu.org>
  157. * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
  158. * java/io/File.java (createTempFile): Don't truncate if the system
  159. doesn't have a limit on the length of a file name.
  160. * classpath/lib/java/io/File.class: Regenerate.
  161. 2007-08-04 Matthias Klose <doko@ubuntu.com>
  162. Import GNU Classpath (libgcj-import-20070727).
  163. * Regenerate class and header files.
  164. * Regenerate auto* files.
  165. * include/jvm.h:
  166. * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
  167. * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
  168. * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
  169. _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
  170. _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
  171. _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
  172. jvalue parameter.
  173. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
  174. * java/lang/VMFloat.java (toString, parseFloat): New.
  175. * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
  176. isModalExclusionTypeSupported): New (stub only).
  177. * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
  178. * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
  179. updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
  180. setAlwaysOnTop): Likewise.
  181. * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
  182. * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
  183. ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
  184. * HACKING: Mention --enable-gstreamer-peer, removal of generated files.
  185. 2007-07-31 David Daney <ddaney@avtrex.com>
  186. * HACKING: Document regenerating configure and aclocal.m4.
  187. 2007-07-31 David Daney <ddaney@avtrex.com>
  188. * configure.ac (INTERPRETER): New AM_CONDITIONAL.
  189. * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
  190. as being for interpreter only. Place interpreter related files in
  191. 'if INTERPRETER' block.
  192. (interpreter_package_files): New list.
  193. (interpreter_header_vars): Ditto.
  194. (emit_package_rule_to_list): Renamed from emit_package_rule with
  195. new target list parameter.
  196. (emit_package_rule): Rewritten to call emit_package_rule_to_list.
  197. (emit_interpreter_rule): New function.
  198. (emit_source_var): Place interpreter related files in
  199. interpreter_header_vars.
  200. * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
  201. (libgcj_interpret_source_files): New variable.
  202. (libgcj_la_SOURCES): Move jvmti.cc and interpret.cc to
  203. libgcj_interpret_source_files and include
  204. libgcj_interpret_source_files.
  205. (nat_jdwp_source_files): New variable.
  206. (nat_jvmti_source_files): Ditto.
  207. (nat_source_files): Move jdwp and jvmti related files to
  208. nat_jdwp_source_files and nat_jvmti_source_files and include
  209. nat_jdwp_source_files and nat_jvmti_source_files.
  210. * Makefile.in: Regenerate.
  211. * include/Makefile.in: Ditto.
  212. * testsuite/Makefile.in: Ditto.
  213. * gcj/Makefile.in: Ditto.
  214. * sources.am: Ditto.
  215. * configure: Ditto.
  216. * include/config.h.in: Ditto.
  217. * interpret.cc: Remove #ifdef INTERPRETER block.
  218. * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
  219. interpreter disabled.
  220. * include/java-interp.h (_Jv_FrameType): Move outside of
  221. #ifdef INTERPRETER block.
  222. * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
  223. _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
  224. #ifdef INTERPRETER block.
  225. * jni.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is
  226. defined.
  227. (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
  228. if INTERPRETER is defined.
  229. * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h): Only
  230. include if INTERPRETER is defined.
  231. (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
  232. jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
  233. jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
  234. defined.
  235. (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
  236. (parse_init_args): Only process jvmti related options if
  237. INTERPRETER is defined.
  238. (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
  239. defined.
  240. (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
  241. defined.
  242. * link.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is
  243. defined.
  244. (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
  245. Define if if INTERPRETER is not defined.
  246. (_Jv_Linker::wait_for_state): Only do jvmti proccessing if
  247. INTERPRETER is defined.
  248. * boehm.cc (closure_list_pointer, finalize_closure_list,
  249. _Jv_ClosureListFinalizer): Only define if INTERPRETER is
  250. defined.
  251. * java/lang/natThread.cc (jvmti.h, jvmti-int.h): Only include if
  252. INTERPRETER is defined.
  253. (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
  254. INTERPRETER is defined.
  255. * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
  256. and friend declaration inside #ifdef INTERPRETER block.
  257. * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
  258. _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
  259. Only define if INTERPRETER is defined.
  260. * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
  261. Include.
  262. (generateProxyClass): Throw UnsupportedOperationException unless
  263. INTERPRETER is defined.
  264. 2007-07-29 Matthias Klose <doko@ubuntu.com>
  265. * HACKING: Document regenerating configure.
  266. 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
  267. PR libgcj/32929
  268. * aclocal.m4: Regenerated.
  269. * configure: Likewise.
  270. 2007-07-28 Matthias Klose <doko@ubuntu.com>
  271. * configure.ac: Encode the libgcj soversion in dbexecdir,
  272. pass --with-native-libdir to classpath configure.
  273. * configure: Regenerate.
  274. 2007-07-28 Matthias Klose <doko@ubuntu.com>
  275. * classpath/jvmti.h: Remove.
  276. 2007-07-27 Tom Tromey <tromey@redhat.com>
  277. * Rebuild .class files with new ecj.
  278. 2007-07-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  279. * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
  280. * configure: Regenerate.
  281. 2007-07-16 Rask Ingemann Lambertsen <rask@sygehus.dk>
  282. PR target/32340
  283. * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
  284. new sysdeps/arm directory.
  285. 2007-07-15 Tom Tromey <tromey@redhat.com>
  286. * java/io/File.java: Implement Comparable<File>.
  287. (compareTo): Removed.
  288. * java/io/File.h: Rebuilt.
  289. * classpath/lib/java/io/File.class: Rebuilt.
  290. 2007-07-14 Tom Tromey <tromey@redhat.com>
  291. * Rebuilt .class files.
  292. 2007-07-15 Andrew Haley <aph@redhat.com>
  293. * configure.host:
  294. arm*-linux-gnu -> arm*-linux*.
  295. 2007-07-14 Krister Walfridsson <cato@df.lth.se>
  296. * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
  297. * configure.ac: Remove check for strerror, add check for strerror_r.
  298. * configure: Regenerate.
  299. * include/config.h.in: Regenerate.
  300. 2007-07-13 Andrew Haley <aph@redhat.com>
  301. * libgcj.ver: Add __gcj_personality_sj0.
  302. * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
  303. * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
  304. * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
  305. * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.
  306. * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
  307. klass is non-null.
  308. * java/lang/reflect/natField.cc (getAddr): Call
  309. _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
  310. * java/lang/reflect/natVMProxy.cc (run_proxy): Use
  311. _Jv_getFieldInternal to get field proxyClass.m.
  312. (_Jv_getFieldInternal): New function.
  313. 2007-07-11 Andrew Haley <aph@redhat.com>
  314. * configure.host (arm*-linux-gnu): New.
  315. * sysdep/arm/locks.h: New.
  316. 2007-07-13 Roger Sayle <roger@eyesopen.com>
  317. * java/lang/natPosixProcess.cc: Include <sys/time.h> before
  318. <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
  319. 2007-07-12 Matthias Klose <doko@ubuntu.com>
  320. * gnu/classpath/jdwp/util/MethodResult.h,
  321. gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
  322. 2007-07-11 Keith Seitz <keiths@redhat.com>
  323. * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
  324. method is compiled.
  325. * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
  326. for compiled methods.
  327. 2007-07-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  328. PR libgcj/32651
  329. * configure.host (mips-sgi-irix6*): Set sysdeps_dir.
  330. Disable interpreter.
  331. 2007-07-05 Andreas Tobler <a.tobler@schweiz.org>
  332. * java/lang/natPosixProcess.cc: Reorder includes to fix compilation
  333. on hppa2.0w-hp-hpux11.11.
  334. Remove include of <gcj/cni.h>.
  335. 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
  336. * aclocal.m4: Regenerated.
  337. 2007-07-03 Andreas Tobler <a.tobler@schweiz.org>
  338. * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
  339. 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  340. PR libgcj/30513
  341. * configure.host (i[3-6]86-*): Undef sun.
  342. 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
  343. * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
  344. Fix a typo.
  345. 2007-06-28 Jan Nijtmans <nijtmans@users.sourceforge.net>
  346. PR libgcj/30999:
  347. * jni_md.h: Add the possibility to compile jni code with.
  348. -fvisibility=hidden. This causes all symbols to be hidden
  349. except the JNI functions which need to be exported.
  350. 2007-06-28 Andreas Tobler <a.tobler@schweiz.org>
  351. * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
  352. the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
  353. 2007-07-21 Keith Seitz <keiths@redhat.com>
  354. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
  355. 2007-07-20 Keith Seitz <keiths@redhat.com>
  356. * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
  357. Regenerate.
  358. 2007-07-20 Keith Seitz <keiths@redhat.com>
  359. * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
  360. Update from reference implementation.
  361. * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
  362. Update parameter list to match new VMVirtualMachine interface.
  363. * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
  364. Regenerate.
  365. * classpath/lib/gnu/classpath/jdwp/processor/
  366. ObjectReferenceCommandSet.class: Regenerate.
  367. * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
  368. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
  369. * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
  370. 2007-06-18 Keith Seitz <keiths@redhat.com>
  371. * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
  372. (method): Change from private to protected.
  373. (location): Likewise.
  374. (Breakpoint): Change argument list to take only integer type.
  375. Add default constructor.
  376. (initialize_native): Renamed to ...
  377. (_save_insn): ... this to make function more explicit.
  378. (execute): New method.
  379. * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
  380. * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
  381. (_save_insn): ... this.
  382. (install): Save the original instruction.
  383. * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
  384. * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
  385. * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
  386. * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
  387. Instantiate a NormalBreakpoint instead of Breakpoint.
  388. * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
  389. and call Breakpoint.execute to do them.
  390. * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
  391. * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
  392. * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
  393. * sources.am: Regenerate.
  394. * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
  395. * Makefile.in: Regenerated.
  396. 2007-06-14 Keith Seitz <keiths@redhat.com>
  397. * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
  398. for bytecode_pc and direct-threaded pc.
  399. Add field descriptions inline.
  400. * defineclass.cc (read_one_code_attribute): Change from
  401. bytecode_start_pc to bytecode_pc.
  402. Remove unused variable "len".
  403. * interpret.cc (compile): Remap the variable table, too.
  404. (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
  405. start location to map from pc_t to code index.
  406. 2007-06-09 Keith Seitz <keiths@redhat.com>
  407. * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
  408. Add missing return value.
  409. 2007-06-03 Matthias Klose <doko@ubuntu.com>
  410. * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
  411. _access: Handle EXEC query, stub only.
  412. 2007-06-03 Matthias Klose <doko@ubuntu.com>
  413. Merged from classpath:
  414. * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
  415. * java/lang/System.java(inheritedChannel): New.
  416. * java/lang/Character.java: Remove stray`;'.
  417. * java/net/MulticastSocket.java: Merged.
  418. * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
  419. * java/text/Collator.java(getInstance): Merged.
  420. * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
  421. getDisplayName, getDisplayNames: New.
  422. * java/util/logging/Logger.java: Merged.
  423. * Regenerate .class and .h files.
  424. 2007-06-03 Matthias Klose <doko@ubuntu.com>
  425. * java/io/File.java: Merge with classpath-0.95, new method
  426. setFilePermissions, new attribute EXEC.
  427. * java/io/natFilePosix.cc (setFilePermissions): New.
  428. _access: Handle EXEC query.
  429. * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
  430. 2007-06-03 Matthias Klose <doko@ubuntu.com>
  431. Imported GNU Classpath 0.95.
  432. * classpath/Makefile.in,
  433. classpath/native/jni/midi-dssi/Makefile.in,
  434. classpath/native/jni/classpath/Makefile.in,
  435. classpath/native/jni/Makefile.in,
  436. classpath/native/jni/gconf-peer/Makefile.in,
  437. classpath/native/jni/java-io/Makefile.in,
  438. classpath/native/jni/native-lib/Makefile.in,
  439. classpath/native/jni/java-util/Makefile.in,
  440. classpath/native/jni/midi-alsa/Makefile.in,
  441. classpath/native/jni/java-lang/Makefile.in,
  442. classpath/native/jni/java-nio/Makefile.in,
  443. classpath/native/jni/java-net/Makefile.in,
  444. classpath/native/jni/xmlj/Makefile.in,
  445. classpath/native/jni/qt-peer/Makefile.in,
  446. classpath/native/jni/gtk-peer/Makefile.in,
  447. classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
  448. classpath/native/fdlibm/Makefile.in,
  449. classpath/native/plugin/Makefile.in,
  450. classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
  451. classpath/tools/Makefile.in, classpath/doc/Makefile.in,
  452. classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
  453. classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
  454. classpath/external/sax/Makefile.in,
  455. classpath/external/w3c_dom/Makefile.in,
  456. classpath/external/relaxngDatatype/Makefile.in,
  457. classpath/include/Makefile.in,
  458. classpath/examples/Makefile.in: Regenerate.
  459. * classpath/config.guess, classpath/config.sub,
  460. classpath/ltmain.sh : Update.
  461. * classpath/configure, classpath/depcomp, classpath/missing,
  462. classpath/aclocal.m4, classpath/install-sh: Regenerate.
  463. * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
  464. * sources.am: Regenerate.
  465. * Makefile.in: Regenerate.
  466. * Update the .class files and generated CNI header files, add new
  467. .class and generated CNI header files.
  468. * Remove generated files for removed java source files:
  469. classpath/gnu/java/net/BASE64.java,
  470. classpath/gnu/java/security/util/Base64.java,
  471. classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
  472. classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
  473. classpath/gnu/java/awt/font/autofit/Scaler.java,
  474. classpath/gnu/classpath/jdwp/util/Value.java,
  475. classpath/gnu/javax/net/ssl/Base64.java.
  476. * Remove empty directories.
  477. * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
  478. * java/lang/Class.java(setAccessible): Merge from classpath.
  479. * java/util/Locale.java: Remove.
  480. * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
  481. gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
  482. * gcj/javaprims.h: Update class declarations.
  483. * scripts/classes.pl: Update usage.
  484. * HACKING: Mention to build all peers.
  485. 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
  486. * configure: Regenerate.
  487. 2007-05-31 Andrew Haley <aph@redhat.com>
  488. * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
  489. INTERPRETED access modifier.
  490. 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
  491. PR libjava/32098
  492. * configure: Regenerated.
  493. * aclocal.m4: Regenerated.
  494. 2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
  495. PR libjava/32098
  496. * configure: Regenerated.
  497. 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
  498. * configure.ac: Don't include ../config/confsubdir.m4.
  499. * aclocal.m4: Regenerated.
  500. * configure: Likewise.
  501. 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
  502. PR bootstrap/32078
  503. * configure.ac: Include confsubdir.m4.
  504. * configure: Regenerate.
  505. 2007-05-24 Keith Seitz <keiths@redhat.com>
  506. * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
  507. one when pc_ptr is non-NULL.
  508. * prims.cc (parse_init_args): Enable JVMTI with agentlib
  509. and agentpath options.
  510. * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
  511. parameter.
  512. * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
  513. Pass '-agentlib:dummyagent' when executing gij.
  514. (gij_jvmti_run): Build dummy JVMTI agent before running tests,
  515. and remove it when finished.
  516. * testsuite/libjava.jvmti/dummyagent.c: New file.
  517. 2007-05-23 Steve Ellcey <sje@cup.hp.com>
  518. * Makefile.in: Regenerate.
  519. * configure: Regenerate.
  520. * aclocal.m4: Regenerate.
  521. * gcj/Makefile.in: Regenerate.
  522. * include/Makefile.in: Regenerate.
  523. * testsuite/Makefile.in: Regenerate.
  524. 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
  525. * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
  526. (executeMethods): Remove cast to ClassReferenceTypeId.
  527. * classpath/lib/gnu/classpath/jdwp/processor/
  528. ReferenceTypeCommandSet.class: Rebuilt.
  529. 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
  530. * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
  531. classes and mark methods as native appropriately.
  532. 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
  533. * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
  534. pointer.
  535. * gnu/classpath/jdwp/VMFrame.h: Regenerated.
  536. * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
  537. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
  538. VMFrame constructor.
  539. 2007-05-16 David Daney <ddaney@avtrex.com>
  540. * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
  541. (_Jv_StackFrame): Remove commented out code.
  542. (_Jv_UnwindState): Remove superfluous 'typedef'.
  543. * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
  544. compiler warnings.
  545. * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
  546. (getCollectionUsage): Don't declare unused parameter n.
  547. (getMemoryManagerNames): Same.
  548. * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
  549. 'typedef'.
  550. 2007-05-16 Keith Seitz <keiths@redhat.com>
  551. * include/java-interp.h (breakpoint_at): Declare.
  552. * interpret.cc (breakpoint_at): New function.
  553. * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
  554. New member.
  555. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
  556. Initialize _event_list.
  557. (handle_single_step): If there is a breakpoint at the
  558. location at which we are stopping, do not send the notification.
  559. Instead add the event to a list of events that occur at this
  560. location.
  561. (jdwpBreakpointCB): If the event list is not empty, send
  562. whatever events are in it and the breakpoint event in a single
  563. notification.
  564. Mark parameter jni_env as MAYBE_UNUSED.
  565. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
  566. Regenerated.
  567. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
  568. 2007-05-15 David Daney <ddaney@avtrex.com>
  569. * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
  570. * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
  571. 2007-05-15 Keith Seitz <keiths@redhat.com>
  572. * interpret.cc (STOREA): Rewrite using temporary variable to
  573. avoid double-macro expansion side-effects.
  574. (STOREI): Likewise.
  575. (STOREF): Likewise.
  576. (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
  577. (STORED)[SIZEOF_VOID_P == 8]: Likewise.
  578. (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
  579. (STORED)[SIZEOF_VOID_P != 8]: Likewise.
  580. (POKEI): Likewise.
  581. 2007-05-12 David Daney <ddaney@avtrex.com>
  582. PR libgcj/29324
  583. * include/posix-threads.h (_Jv_BlockSigchld): Declare.
  584. (_Jv_UnBlockSigchld): Same.
  585. * posix-threads.cc: Include posix-threads.h.
  586. (block_sigchld) Rename to...
  587. (_Jv_BlockSigchld) ... this.
  588. (_Jv_UnBlockSigchld): New function.
  589. (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
  590. (_Jv_ThreadStart): Same.
  591. * java/lang/PosixProcess$ProcessManager.h: Regenerate.
  592. * java/lang/PosixProcess.java: Clean up imports.
  593. (ProcessManager): Make final.
  594. (ProcessManager.queue): Genericise and make private.
  595. (ProcessManager.pidToProcess): Remove.
  596. (ProcessManager.liveProcesses): New field.
  597. (ProcessManager.reaperPID): Remove.
  598. (ProcessManager.nativeData): New field.
  599. (ProcessManager.removeProcessFromMap): Remove.
  600. (ProcessManager.addProcessToMap):Remove.
  601. (ProcessManager.addToLiveProcesses): New method.
  602. (ProcessManager.run): Rewritten.
  603. (ProcessManager.reap): Change method signature,
  604. (getErrorStream): Correct formatting.
  605. (getInputStream): Same.
  606. (spawn): Add process to liveProcesses list.
  607. (pid): Make package private.
  608. * java/lang/PosixProcess.h: Regenerate.
  609. * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
  610. Add useing namespace java::lang.
  611. (ProcessManagerInternal): New struct.
  612. (sigchld_handler): Rewritten.
  613. (init): Rewritten.
  614. (waitForSignal): Same.
  615. (reap): Same.
  616. (signalReaper): Same.
  617. (nativeDestroy): Call kill as ::kill.
  618. (nativeSpawn): Correct formatting.
  619. * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
  620. * classpath/lib/java/lang/PosixProcess.class: Same.
  621. * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
  622. 2007-05-07 Ian Lance Taylor <iant@google.com>
  623. PR java/31842
  624. * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
  625. overflow.
  626. 2007-05-07 Keith Seitz <keiths@redhat.com>
  627. * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
  628. * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
  629. * classpath/lib/gnu/classpath/jdwp/event/Event.class:
  630. Regenerate.
  631. * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
  632. Regenerate.
  633. * gnu/classpath/jdwp/Jdwp.h: Regenerate.
  634. * gnu/classpath/jdwp/event/Event.h: Regenerate.
  635. * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
  636. 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
  637. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
  638. to use JVMTI.
  639. 2007-05-03 Keith Seitz <keiths@redhat.com>
  640. * interpret.cc: Don't include ExceptionEvent.h.
  641. * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
  642. * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
  643. * Makefile.in: Regenerated.
  644. 2007-05-03 Keith Seitz <keiths@redhat.com>
  645. * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
  646. Declare.
  647. * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
  648. (find_catch_location): New function.
  649. (REPORT_EXCEPTION): New macro.
  650. (throw_internal_error): Use REPORT_EXCEPTION.
  651. (throw_incompatible_class_change_error): Likewise.
  652. (throw_null_pointer_exception): Likewise.
  653. (throw_class_format_error): Likewise.
  654. * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
  655. to REPORT_EXCEPTION.
  656. (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
  657. (insn_new): Use INTERP_REPORT_EXCEPTION.
  658. (insn_athrow): Likewise.
  659. Remove previous JVMTI exception notifications.
  660. Add JVMTI ExceptionCatch notificatin.
  661. * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
  662. exception throw.
  663. * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
  664. * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
  665. * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
  666. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  667. (jdwpExceptionCB): New function.
  668. (jdwpVMInitCB): Set Exception event handler and enable.
  669. * sources.am: Regenerated.
  670. * Makefile.in: Regenerated.
  671. 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
  672. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
  673. * Makefile.in: Regenerate.
  674. * scripts/makemake.tcl (scan_directory): Treat default.css as a
  675. property file.
  676. * classpath/javax/swing/text/html/default.css: Move to...
  677. * classpath/resource/javax/swing/text/html/default.css: New file.
  678. * classpath/javax/swing/text/html/HTMLEditorKit.java
  679. (getStyleSheet): Throw RuntimeException when style loading fails.
  680. * sources.am (property_files): Add
  681. classpath/resource/javax/swing/text/html/default.css.
  682. 2007-05-02 Tom Tromey <tromey@redhat.com>
  683. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
  684. * java/lang/natCharacter.cc (Character::getType): Handle negative
  685. code points.
  686. (Character::toLowerCase): Likewise.
  687. (Character::toUpperCase): Likewise.
  688. (Character::digit): Likewise.
  689. (Character::getNumericValue): Likewise.
  690. (Character::getDirectionality): Likewise.
  691. (Character::toTitleCase): Likewise.
  692. 2007-04-30 Keith Seitz <keiths@redhat.com>
  693. * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
  694. executing the instruction.
  695. * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
  696. one insn from the frame's PC. _Jv_InterpMethod::run et al
  697. will advance the PC before executing the instruction.
  698. 2007-04-27 Keith Seitz <keiths@redhat.com>
  699. * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
  700. * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
  701. Regenerated.
  702. * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
  703. 2007-04-27 Keith Seitz <keiths@redhat.com>
  704. * classpath/lib/gnu/classpath/jdwp/event/filters/
  705. LocationOnlyFilter.class: Regenerated;
  706. * classpath/lib/gnu/classpath/jdwp/util/Location.class:
  707. Regenerated.
  708. * gnu/classpath/jdwp/VMMethod.java
  709. * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
  710. Regenerated.
  711. * gnu/classpath/jdwp/VMMethod.h: Regenerated.
  712. * gnu/classpath/jdwp/util/Location.h: Regenerated.
  713. 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
  714. * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
  715. * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
  716. 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
  717. * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
  718. objects.
  719. (get): Deal with ObjectId of 0.
  720. 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  721. PR libgcj/31084
  722. * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
  723. 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
  724. * gnu/classpath/jdwp/natVMVirtualMachine.java
  725. (getThreadStatus): Implement.
  726. 2007-04-24 Keith Seitz <keiths@redhat.com>
  727. * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
  728. Add _Jv_RewriteBreakpointInsn friend declaration.
  729. * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
  730. [DIRECT_THREADED]: New function.
  731. * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
  732. * interpret-run.cc: Define new REWRITE_INSN macro.
  733. Changed all occurrences of insn rewriting to call REWRITE_INSN.
  734. 2007-04-23 Keith Seitz <keiths@redhat.com>
  735. * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
  736. * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
  737. * boehm.cc (_Jv_IsThreadSuspended): New function.
  738. * nogc.cc (_Jv_IsThreadSuspended): Likewise.
  739. * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
  740. (_Jv_JVMTI_Interface): Define GetThreadState.
  741. 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
  742. * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
  743. interpreter PC.
  744. (<init>): Add a pointer to the interpreter PC as a parameter with
  745. default value NULL.
  746. (get_pc): New method.
  747. * interpret-run.cc: If debugging, pass a pointer to the PC when
  748. creating the stack frame.
  749. * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
  750. to get the PC.
  751. 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
  752. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
  753. for null source file and throw an exception indicating this.
  754. 2007-04-20 Keith Seitz <keiths@redhat.com>
  755. * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
  756. Install the new breakpoint into the bytecode.
  757. (deleteBreakpoint): Remove the breakpoint from the bytecode.
  758. * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
  759. Regenerate.
  760. * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
  761. Don't install the breakpoint here.
  762. 2007-04-19 Keith Seitz <keiths@redhat.com>
  763. * interpret-run.cc [insn_breakpoint]: Save the original
  764. insn for the breakpoint before posting the JVMTI notification.
  765. 2007-04-19 Tom Tromey <tromey@redhat.com>
  766. * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
  767. 2007-04-18 Tom Tromey <tromey@redhat.com>
  768. * Regenerated headers with new gjavah.
  769. 2007-04-18 Andrew Haley <aph@redhat.com>
  770. * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
  771. method_index.
  772. (generateProxyClass): Add field $Proxy0.m. Store methods array in
  773. it.
  774. (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
  775. * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
  776. * java/lang/natClass.cc: Likewise.
  777. * headers.txt: Likewise.
  778. * java/lang/reflect/Method.h: Likewise.
  779. 2007-04-16 Andrew Haley <aph@redhat.com>
  780. * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
  781. method.
  782. (bootGetResource): Use getBootURLLoader() to load resources.
  783. (bootGetResources): Likewise.
  784. * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
  785. check that the method's declaring class is accessible.
  786. 2007-04-10 Keith Seitz <keiths@redhat.com>
  787. * sources.am: Regenerate.
  788. * Makefile.in: Likewise.
  789. 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
  790. * interpret-run.cc: If debugging, check if args is NULL before
  791. getting the "this" pointer.
  792. 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
  793. * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
  794. * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
  795. * gnu/classpath/jdwp/ArrayValue.h: New file.
  796. * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
  797. (setValue): Ditto.
  798. 2007-04-09 David Daney <ddaney@avtrex.com>
  799. PR libgcj/23758
  800. * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
  801. environment before the fork.
  802. * testsuite/libjava.lang/Process_7.java: New test.
  803. * testsuite/libjava.lang/Process_7.out: Its expected results.
  804. * testsuite/libjava.lang/Process_7.jar: Generated file.
  805. 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
  806. * prims.cc (load_jvmti_agent): Add the missing `,'.
  807. 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
  808. * gij.cc (main): Accept -agentlib and -agentpath options.
  809. * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
  810. (load_jvmti_agent): New function.
  811. 2007-04-04 Tania Bento <tbento@redhat.com>
  812. * java/text/DecimalFormatSymbols.java: Added the year 2007 to
  813. Copyright information and introduced new variable, currency.
  814. (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
  815. to "XXX", currencySymbol to "?" and localCurrency appropriately.
  816. (getCurrency): Fixed documentation and return the value of currency.
  817. (setCurrency): Fixed documentation and update the value of currency.
  818. (setInternationalCurrencySymbol): Fixed documentation and update the
  819. value of currency.
  820. * java/util/Currency.java: Introduced two new variables, properties
  821. and fractionDigits. In the static block, a properties object is
  822. created and the currency resource is loaded.
  823. (Currency(Locale)): fractionDigits is defined.
  824. (Currency(String)): New method.
  825. (getDefaultFractionDigits): Return the value of fractionDigits.
  826. (getInstance(String)): Check if String is equal to "XXX".
  827. 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
  828. * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
  829. to ints for argCnt and slots.
  830. (write): Replace writeLong with writeInt for the above.
  831. 2007-04-03 Andrew Haley <aph@redhat.com>
  832. * testsuite/libjava.lang/ProxyTest.java: New test.
  833. 2007-04-02 Tom Tromey <tromey@redhat.com>
  834. http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
  835. * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
  836. file, when writing, if it is too short.
  837. 2007-04-02 Tom Tromey <tromey@redhat.com>
  838. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
  839. * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
  840. already created.
  841. * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
  842. where localport is -1.
  843. (create): Now public.
  844. * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
  845. 'create' on the socket.
  846. 2007-04-02 Andrew Haley <aph@redhat.com>
  847. * java/lang/reflect/natVMProxy.cc (run_proxy): Use
  848. _Jv_LookupProxyMethod to find the Method.
  849. If parameter_types->length == 0, pass a null paramameter list,
  850. not a zero-length parameter list.
  851. * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
  852. * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
  853. 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
  854. * interpret-run.cc: Add code to properly set up variable slots
  855. when debugging.
  856. * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
  857. (getObjectJVMTI): New function.
  858. (setObjectJVMTI): New function.
  859. (getIntJVMTI): New function.
  860. (setIntJVMTI): New function.
  861. (getLongJVMTI): New function.
  862. (setLongJVMTI): New function.
  863. (getFloatJVMTI): New function.
  864. (setFloatJVMTI): New function.
  865. (getDoubleJVMTI): New function.
  866. (setDoubleJVMTI): New function.
  867. (getFrameDepth): New function.
  868. (getValue): Implement.
  869. (setValue): Implement.
  870. 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
  871. * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
  872. (executeResume): Call VMVirtualMachine.resumeThread.
  873. 2007-03-29 Tom Tromey <tromey@redhat.com>
  874. PR libgcj/29869:
  875. * java/util/logging/LogManager.java (readConfiguration): Handle
  876. comma-separated 'handlers'. Don't try to add a non-existing
  877. handler.
  878. 2007-03-27 Tom Tromey <tromey@redhat.com>
  879. * sources.am, Makefile.in: Rebuilt.
  880. * scripts/mime.types: Removed.
  881. * scripts/MakeDefaultMimeTypes.java: Removed.
  882. * gnu/gcj/io/MimeTypes.java: Removed.
  883. * gnu/gcj/io/MimeTypes.h: Removed.
  884. * gnu/gcj/io/DefaultMimeTypes.java: Removed.
  885. * gnu/gcj/io/DefaultMimeTypes.h: Removed.
  886. 2007-03-27 Keith Seitz <keiths@redhat.com>
  887. * gnu/classpath/jdwp/VMFrame.java: Update from upstream
  888. classpath.
  889. * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
  890. * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
  891. * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
  892. (initialize): Fix compiler type-punning warning.
  893. (getAllLoadedClasses): Return empty list instead of NULL.
  894. (getLoadRequests): Likewise.
  895. * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
  896. * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
  897. * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
  898. * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
  899. * gnu/classpath/jdwp/value/CharValue.h: New file.
  900. * gnu/classpath/jdwp/value/LongValue.h: New file.
  901. * gnu/classpath/jdwp/value/ShortValue.h: New file.
  902. * gnu/classpath/jdwp/value/Value.h: New file.
  903. * gnu/classpath/jdwp/value/BooleanValue.h: New file.
  904. * gnu/classpath/jdwp/value/VoidValue.h: New file.
  905. * gnu/classpath/jdwp/value/ByteValue.h: New file.
  906. * gnu/classpath/jdwp/value/FloatValue.h: New file.
  907. * gnu/classpath/jdwp/value/ObjectValue.h: New file.
  908. * gnu/classpath/jdwp/value/StringValue.h: New file.
  909. * gnu/classpath/jdwp/value/ValueFactory.h: New file.
  910. * gnu/classpath/jdwp/value/IntValue.h: New file.
  911. * gnu/classpath/jdwp/value/DoubleValue.h: New file.
  912. * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
  913. * gnu/classpath/jdwp/id/NullObjectId.h: New file.
  914. * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
  915. * gnu/classpath/jdwp/util/NullObject.h: New file.
  916. * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
  917. * Makefile.in: Rebuilt.
  918. * sources.am: Rebuilt.
  919. 2006-03-26 David Daney <ddaney@avtrex.com>
  920. * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
  921. fork, execvp, execinfo.h, pthread_mutexattr_settype,
  922. pthread_mutexattr_setkind_np and sys/wait.h.
  923. * Makefile.in: Regenerate.
  924. * include/Makefile.in: Regenerate.
  925. * include/config.h.in: Regenerate.
  926. * testsuite/Makefile.in: Regenerate.
  927. * configure: Regenerate.
  928. * gcj/Makefile.in: Regenerate.
  929. 2007-03-23 Gary Benson <gbenson@redhat.com>
  930. * link.cc (_Jv_Linker::resolve_method_entry):
  931. Ensure that the argument types and the return type of the
  932. found method match those expected by the calling method.
  933. 2007-03-22 David Daney <ddaney@avtrex.com>
  934. PR libgcj/31228
  935. * configure.ac: Add checks for getrlimit and sys/resource.h.
  936. * include/posix.h (_Jv_platform_close_on_exec): Remove.
  937. * include/config.h.in: Regenerate.
  938. * configure: Regenerate.
  939. * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
  940. _Jv_platform_close_on_exec;
  941. * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
  942. (accept): Likewise.
  943. * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
  944. * java/lang/natPosixProcess.cc: Include sys/resource.h.
  945. (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
  946. pipes.
  947. 2007-03-20 Andrew Haley <aph@redhat.com>
  948. * testsuite/libjava.lang/PR31264.java: New test.
  949. 2007-03-14 Jakub Jelinek <jakub@redhat.com>
  950. * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
  951. * Makefile.in: Rebuilt.
  952. 2007-03-13 Keith Seitz <keiths@redhat.com>
  953. * include/java-interp.h (_Jv_InterpClass): Declare
  954. friend function _Jv_GetInterpClassSourceFile.
  955. * java/lang/Class.h (Class): Likewise.
  956. * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
  957. New function.
  958. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  959. (getSourceFile): Implement.
  960. 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  961. * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
  962. * classpath/configure.ac: Add --with-ecj-jar configure option.
  963. * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
  964. field.
  965. * classpath/INSTALL: Document --with-ecj-jar configure option and
  966. ecj jar requirement for com.sun.tools.javac support.
  967. * classpath/tools/Makefile.am: Build decendents of com and sun
  968. directories.
  969. * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
  970. * gnu/classpath/Configuration.java,
  971. gnu/classpath/natConfiguration.cc (ecj): New method.
  972. (ECJ_JAR): New field.
  973. * scripts/makemake.tcl (scan_packages): Add com directory.
  974. * sources.am (property_files): Add
  975. classpath/resource/sun/rmi/rmic/messages.properties and
  976. classpath/resource/com/sun/tools/javac/messages.properties.
  977. * classpath/resource/com, classpath/resource/com/sun,
  978. classpath/resource/com/sun/tools,
  979. classpath/resource/com/sun/tools/javac, classpath/resource/sun,
  980. classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
  981. classpath/tools/classes/com, classpath/tools/classes/com/sun,
  982. classpath/tools/classes/com/sun/javadoc,
  983. classpath/tools/classes/com/sun/tools,
  984. classpath/tools/classes/com/sun/tools/doclets,
  985. classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
  986. classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
  987. classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
  988. classpath/tools/com/sun/tools,
  989. classpath/tools/com/sun/tools/doclets,
  990. classpath/tools/com/sun/tools/javac, classpath/tools/sun,
  991. classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
  992. directories.
  993. * classpath/resource/com/sun/tools/javac/messages.properties,
  994. classpath/resource/sun/rmi/rmic/messages.properties,
  995. classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
  996. classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
  997. classpath/tools/classes/com/sun/javadoc/Doc.class,
  998. classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
  999. classpath/tools/classes/com/sun/javadoc/Doclet.class,
  1000. classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
  1001. classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
  1002. classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
  1003. classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
  1004. classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
  1005. classpath/tools/classes/com/sun/javadoc/ParamTag.class,
  1006. classpath/tools/classes/com/sun/javadoc/Parameter.class,
  1007. classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
  1008. classpath/tools/classes/com/sun/javadoc/RootDoc.class,
  1009. classpath/tools/classes/com/sun/javadoc/SeeTag.class,
  1010. classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
  1011. classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
  1012. classpath/tools/classes/com/sun/javadoc/Tag.class,
  1013. classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
  1014. classpath/tools/classes/com/sun/javadoc/Type.class,
  1015. classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
  1016. classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
  1017. classpath/tools/classes/sun/rmi/rmic/Main.class,
  1018. classpath/tools/classes/sun/rmi/rmic/Messages.class,
  1019. classpath/tools/com/sun/javadoc/ClassDoc.java,
  1020. classpath/tools/com/sun/javadoc/ConstructorDoc.java,
  1021. classpath/tools/com/sun/javadoc/Doc.java,
  1022. classpath/tools/com/sun/javadoc/DocErrorReporter.java,
  1023. classpath/tools/com/sun/javadoc/Doclet.java,
  1024. classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
  1025. classpath/tools/com/sun/javadoc/FieldDoc.java,
  1026. classpath/tools/com/sun/javadoc/MemberDoc.java,
  1027. classpath/tools/com/sun/javadoc/MethodDoc.java,
  1028. classpath/tools/com/sun/javadoc/PackageDoc.java,
  1029. classpath/tools/com/sun/javadoc/ParamTag.java,
  1030. classpath/tools/com/sun/javadoc/Parameter.java,
  1031. classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
  1032. classpath/tools/com/sun/javadoc/RootDoc.java,
  1033. classpath/tools/com/sun/javadoc/SeeTag.java,
  1034. classpath/tools/com/sun/javadoc/SerialFieldTag.java,
  1035. classpath/tools/com/sun/javadoc/SourcePosition.java,
  1036. classpath/tools/com/sun/javadoc/Tag.java,
  1037. classpath/tools/com/sun/javadoc/ThrowsTag.java,
  1038. classpath/tools/com/sun/javadoc/Type.java,
  1039. classpath/tools/com/sun/javadoc/TypeVariable.java,
  1040. classpath/tools/com/sun/tools/doclets/Taglet.java,
  1041. classpath/tools/com/sun/tools/javac/Main.java,
  1042. classpath/tools/com/sun/tools/javac/Messages.java,
  1043. classpath/tools/sun/rmi/rmic/Main.java,
  1044. classpath/tools/sun/rmi/rmic/Messages.java: New files.
  1045. * Makefile.in, classpath/Makefile.in, classpath/configure,
  1046. classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
  1047. classpath/examples/Makefile.in, classpath/external/Makefile.in,
  1048. classpath/external/jsr166/Makefile.in,
  1049. classpath/external/relaxngDatatype/Makefile.in,
  1050. classpath/external/sax/Makefile.in,
  1051. classpath/external/w3c_dom/Makefile.in,
  1052. classpath/include/Makefile.in, classpath/include/config.h.in,
  1053. classpath/lib/Makefile.in,
  1054. classpath/lib/gnu/classpath/Configuration.class,
  1055. classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
  1056. classpath/native/jawt/Makefile.in,
  1057. classpath/native/jni/Makefile.in,
  1058. classpath/native/jni/classpath/Makefile.in,
  1059. classpath/native/jni/gconf-peer/Makefile.in,
  1060. classpath/native/jni/gtk-peer/Makefile.in,
  1061. classpath/native/jni/java-io/Makefile.in,
  1062. classpath/native/jni/java-lang/Makefile.in,
  1063. classpath/native/jni/java-net/Makefile.in,
  1064. classpath/native/jni/java-nio/Makefile.in,
  1065. classpath/native/jni/java-util/Makefile.in,
  1066. classpath/native/jni/midi-alsa/Makefile.in,
  1067. classpath/native/jni/midi-dssi/Makefile.in,
  1068. classpath/native/jni/native-lib/Makefile.in,
  1069. classpath/native/jni/qt-peer/Makefile.in,
  1070. classpath/native/jni/xmlj/Makefile.in,
  1071. classpath/native/plugin/Makefile.in,
  1072. classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
  1073. classpath/tools/Makefile.in, configure,
  1074. gnu/classpath/Configuration.h: Regenerate.
  1075. 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
  1076. * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
  1077. as a sigle slot.
  1078. 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
  1079. * java/lang/natString.cc (getBytes (jstring enc)):
  1080. Fixed the loop for multiple cycles, Code cleanup
  1081. 2007-03-09 Tom Tromey <tromey@redhat.com>
  1082. * sources.am, Makefile.in: Rebuilt.
  1083. * scripts/makemake.tcl (scan_directory): Allow service files to be
  1084. omitted.
  1085. Omit all XML-related service files.
  1086. 2007-03-07 Tom Tromey <tromey@redhat.com>
  1087. * configure: Rebuilt.
  1088. * configure.ac: Clear vm-tools-packages.
  1089. 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
  1090. * java/lang/Win32Process.java: Added nested class EOFInputStream.
  1091. * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
  1092. enum and implementation.
  1093. (startProcess): Use redirect flag.
  1094. * classpath/lib/java/lang/Win32Process.class: Regenerated.
  1095. * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
  1096. * gcj/javaprims.h: Regenerated.
  1097. * java/lang/Win32Process$EOFInputStream.h: New.
  1098. 2007-03-07 Andrew Haley <aph@redhat.com>
  1099. * libgcj_bc.c (JvRunMainName): Declare.
  1100. 2007-03-07 Gary Benson <gbenson@redhat.com>
  1101. * sources.am, Makefile.in: Rebuilt.
  1102. 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
  1103. * gcj/javaprims.h: Regenerated.
  1104. 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
  1105. * include/jvm.h (_Jv_ClosureListFinalizer): New.
  1106. (_Jv_Linker::create_error_method): Adjust.
  1107. * boehm.cc (_Jv_ClosureListFinalizer): New.
  1108. * nogc.cc (_Jv_ClosureListFinalizer): New.
  1109. * java/lang/Class.h (class _Jv_ClosureList): New.
  1110. (class java::lang::Class): Declare it as friend.
  1111. * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
  1112. (_Jv_ClosureList::registerClousure): New.
  1113. * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
  1114. (_Jv_CompiledEngine::do_get_closure_list): New.
  1115. (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
  1116. (_Jv_IndirectCompiledClass): Add closures.
  1117. (_Jv_IndirectCompiledEngine::get_aux_info): New.
  1118. (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
  1119. it.
  1120. (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
  1121. (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
  1122. (_Jv_InterpreterEngine::do_get_closure_list): Declare.
  1123. (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
  1124. * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
  1125. (node_closure): Add closure list.
  1126. (_Jv_InterpMethod::ncode): Add jclass argument. Use
  1127. ffi_closure_alloc and the separate code pointer. Register the
  1128. closure for finalization.
  1129. (_Jv_JNIMethod::ncode): Likewise.
  1130. (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
  1131. (_Jv_InterpreterEngine::do_get_closure_list): New.
  1132. * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
  1133. (_Jv_InterpClass): Add closures field.
  1134. (_Jv_JNIMethod::ncode): Adjust.
  1135. * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
  1136. (_Jv_ClassReader::handleMethodsEnd): Likewise.
  1137. * link.cc (struct method_closure): Add closure list.
  1138. (_Jv_Linker::create_error_method): Add jclass argument. Use
  1139. ffi_closure_alloc and the separate code pointer. Register the
  1140. closure for finalization.
  1141. (_Jv_Linker::link_symbol_table): Remove outdated comment about
  1142. sharing of otable and atable. Adjust.
  1143. * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
  1144. list.
  1145. (ncode): Add jclass argument. Use ffi_closure_alloc and the
  1146. separate code pointer. Register the closure for finalization.
  1147. (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
  1148. * testsuite/libjava.jar/TestClosureGC.java: New.
  1149. * testsuite/libjava.jar/TestClosureGC.out: New.
  1150. * testsuite/libjava.jar/TestClosureGC.xfail: New.
  1151. * testsuite/libjava.jar/TestClosureGC.jar: New.
  1152. 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
  1153. * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
  1154. * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
  1155. * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
  1156. * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
  1157. (VMMethod::getLineTable): Use new macro.
  1158. (VMMethod::getVariableTable): Implement.
  1159. * sources.am: Regenerated.
  1160. * Makefile.in: Ditto.
  1161. 2007-03-06 Tom Tromey <tromey@redhat.com>
  1162. * Makefile.in: Rebuilt.
  1163. * Makefile.am (bin_PROGRAMS): Added gcjh.
  1164. (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
  1165. gcjh_DEPENDENCIES): New variables.
  1166. 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
  1167. * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
  1168. * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
  1169. (do_getlocalvartable_tests): Add Deallocate calls to free strings.
  1170. 2007-03-05 Matthias Klose <doko@debian.org>
  1171. * Makefile.am (gij_LDFLAGS): Use dbexecdir.
  1172. * Makefile.in: Regnerate.
  1173. 2007-03-05 Mark Wielaard <mark@klomp.org>
  1174. * java/lang/Character.java: Re-merged with Classpath.
  1175. * java/lang/natString.cc (nativeCompareTo): Renamed from
  1176. compareTo.
  1177. * java/lang/StringBuilder.java: Re-merged with Classpath.
  1178. * java/lang/String.java: Re-merged with Classpath.
  1179. (nativeCompareTo): Renamed from compareTo.
  1180. * java/lang/StringBuffer.java: Re-merged with Classpath.
  1181. * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
  1182. 2007-03-05 Andrew Haley <aph@redhat.com>
  1183. * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
  1184. (generateProxyClass): Don't pass method to ncode.
  1185. (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
  1186. * java/lang/reflect/Method.h: Rebuild.
  1187. * java/lang/reflect/Method.java (internalGetParameterTypes,
  1188. internalGetExceptionTypes): New methods.
  1189. * headers.txt (class java/lang/reflect/Method): Declare
  1190. _Jv_GetReflectedMethod. Be its friend.
  1191. * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
  1192. * java/lang/Class.h: Declare it. Be its friend.
  1193. 2007-03-05 Tom Tromey <tromey@redhat.com>
  1194. * sources.am, Makefile.in: Rebuilt.
  1195. * scripts/makemake.tcl (emit_package_rule): Don't omit
  1196. VMProcess.java.
  1197. * Makefile.am (nat_source_files): Added natVMProcess.cc.
  1198. (inner_nat_headers): Added ImmediateEOFInputStream.h.
  1199. * gcj/javaprims.h: Regenerated.
  1200. * java/lang/System.java (EnvironmentMap): Now package-private.
  1201. (EnvironmentMap(Map)): New constructor.
  1202. (EnvironmentMap.put): New method.
  1203. * java/lang/natWin32Process.cc (startProcess): Update.
  1204. * java/lang/Win32Process.java (Win32Process): Added 'redirect'
  1205. argument.
  1206. (startProcess): Likewise.
  1207. * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
  1208. argument.
  1209. * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
  1210. * java/lang/PosixProcess.java (redirect): New field.
  1211. (PosixProcess): Added 'redirect' argument.
  1212. * java/lang/natRuntime.cc (execInternal): Added 'redirect'
  1213. argument to Process creation.
  1214. * java/lang/natVMProcess.cc: New file.
  1215. * java/lang/ProcessBuilder.java: Removed.
  1216. * java/lang/VMProcess.java: New file.
  1217. 2007-03-03 Andrew Haley <aph@redhat.com>
  1218. * java/lang/natClass.cc (parseAnnotationElement): Correct long
  1219. annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
  1220. 2007-03-02 Andrew Haley <aph@redhat.com>
  1221. * sun/reflect/annotation/AnnotationInvocationHandler.java:
  1222. Generify in a few places.
  1223. (equals): Rewrite to use invoke on local proxy.
  1224. (deepToString): Remove most of it.
  1225. (toString): Make nonstatic.
  1226. (arrayClone): Delete.
  1227. (coerce): New method.
  1228. (invoke): Rewrite to handle gcj's structures correctly.
  1229. * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
  1230. null loader.
  1231. * sources.am: Regenerate.
  1232. * Makefile.am: Likewise.
  1233. 2007-03-02 Andrew Haley <aph@redhat.com>
  1234. * sun/reflect/annotation/AnnotationInvocationHandler.java:
  1235. Whitespace only changes.
  1236. 2007-03-02 Andrew Haley <aph@redhat.com>
  1237. * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
  1238. from Classpath to libgcj local.
  1239. 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
  1240. * Makefile.am: Add dummy install-pdf target.
  1241. * Makefile.in: Regenerate
  1242. * include/Makefile.in: Regenerate
  1243. * testsuite/Makefile.in: Regenerate
  1244. * gcj/Makefile.in: Regenerate
  1245. 2007-02-23 Gary Benson <gbenson@redhat.com>
  1246. * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
  1247. 2007-02-23 Gary Benson <gbenson@redhat.com>
  1248. * java/lang/VMCompiler.java
  1249. (compileClass): Don't lose zeros from within the digest.
  1250. 2007-02-22 Jakub Jelinek <jakub@redhat.com>
  1251. PR libgcj/17002
  1252. PR classpath/28550
  1253. * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
  1254. /etc/localtime, use ZoneInfo.readTZFile instead of
  1255. VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
  1256. either if it is a symlink or through /etc/sysconfig/clock.
  1257. (readSysconfigClockFile): New static method.
  1258. (readtzFile): Removed.
  1259. * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
  1260. * posix.cc (_Jv_platform_initProperties): Set
  1261. gnu.java.util.zoneinfo.dir.
  1262. * sources.am (gnu_java_util_source_files): Add
  1263. classpath/gnu/java/util/ZoneInfo.java.
  1264. * Makefile.in: Regenerated.
  1265. * java/util/VMTimeZone.h: Regenerated.
  1266. * java/util/TimeZone.h: Regenerated.
  1267. * gnu/java/util/ZoneInfo.h: Generated.
  1268. 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
  1269. * include/win32-threads.h: Added #undef OUT.
  1270. 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
  1271. * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
  1272. * testsuite/libjava.jvmti/interp/getargssize.java: New test.
  1273. * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
  1274. * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
  1275. * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
  1276. * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
  1277. 2007-02-21 Gary Benson <gbenson@redhat.com>
  1278. * java/util/GregorianCalendar.java: Removed.
  1279. * sources.am, Makefile.in: Rebuilt.
  1280. 2007-02-20 Keith Seitz <keiths@redhat.com>
  1281. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1282. (jdwpClassPrepareCB): Move class status stuff to ...
  1283. (getClassStatus): ... here.
  1284. 2007-02-20 Gary Benson <gbenson@redhat.com>
  1285. * gnu/awt/xlib/XEventLoop.h: Regenerated.
  1286. * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
  1287. * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
  1288. Likewise.
  1289. * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
  1290. * java/lang/SecurityManager.h: Likewise.
  1291. * java/lang/Thread.h: Likewise.
  1292. * java/security/VMSecureRandom$Spinner.h: Likewise.
  1293. * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
  1294. * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
  1295. * java/util/concurrent/atomic/AtomicLong.h: Likewise.
  1296. * java/util/concurrent/atomic/AtomicReference.h: Likewise.
  1297. * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
  1298. * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
  1299. * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
  1300. * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
  1301. * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
  1302. * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
  1303. * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
  1304. * java/util/concurrent/Exchanger.h: Likewise.
  1305. * java/util/concurrent/Exchanger$Node.h: Likewise.
  1306. * java/util/concurrent/FutureTask$Sync.h: Likewise.
  1307. * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
  1308. * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
  1309. Likewise.
  1310. * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
  1311. Likewise.
  1312. * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
  1313. * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
  1314. Likewise.
  1315. * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
  1316. * java/util/concurrent/SynchronousQueue.h: Likewise.
  1317. * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
  1318. * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
  1319. Likewise.
  1320. * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
  1321. * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
  1322. Likewise.
  1323. * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
  1324. * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
  1325. * java/util/logging/ErrorManager.h: Likewise.
  1326. * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
  1327. * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
  1328. 2007-02-16 Keith Seitz <keiths@redhat.com>
  1329. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1330. (get_line_table): New function.
  1331. (handle_single_step): New function.
  1332. (jdwpSingleStepCB): New function.
  1333. (jdwpVMInitCB): Define a JVMTI single step
  1334. callback, but don't enable it until needed.
  1335. 2007-02-16 David Daney <ddaney@avtrex.com>
  1336. * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
  1337. new parameter constructor.
  1338. (Thread(ThreadGroup, Runnable, String, long)): Same.
  1339. (Thread(String, boolean)): New constructor.
  1340. (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
  1341. noInheritableThreadLocal, don't call
  1342. InheritableThreadLocal.newChildThread if set.
  1343. * java/lang/PosixProcess.java(ProcessManager()): Set
  1344. noInheritableThreadLocal in super.
  1345. * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
  1346. parameter to Thread constructor.
  1347. (_Jv_AttachCurrentThreadAsDaemon): Same.
  1348. * java/lang/Thread.h: Regenerate.
  1349. * classpath/lib/java/lang/Thread.class: Same.
  1350. * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
  1351. * classpath/lib/java/lang/PosixProcess.class: Same.
  1352. * classpath/lib/java/lang/Thread$State.class: Same.
  1353. * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
  1354. 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
  1355. * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
  1356. variables to maintain type info.
  1357. * interpret-run.cc: Add local variable info to frame in the debug
  1358. interpreter.
  1359. * jvmti.cc (getLocalFrame): New method.
  1360. (_Jv_JVMTI_GetLocalObject): New method.
  1361. (_Jv_JVMTI_GetLocallInt): New method.
  1362. (_Jv_JVMTI_GetLocalFloat): New method.
  1363. (_Jv_JVMTI_GetLocalLong): New method.
  1364. (_Jv_JVMTI_GetLocalDouble): New method.
  1365. (_Jv_JVMTI_SetLocalObject): New method.
  1366. (_Jv_JVMTI_SetLocalInt): New method.
  1367. (_Jv_JVMTI_SetLocalFloat): New method.
  1368. (_Jv_JVMTI_SetLocalLong): New method.
  1369. (_Jv_JVMTI_SetLocalDouble): New method.
  1370. 2007-02-16 Gary Benson <gbenson@redhat.com>
  1371. * gnu/gcj/tools/gcj_dbtool/Main.java
  1372. (bytesToString): Don't lose zeros from within the digest.
  1373. 2007-02-15 Andrew Haley <aph@redhat.com>
  1374. * Makefile.am (nat_source_files): Remove
  1375. java/lang/management/natVMManagementFactory.cc.
  1376. * java/lang/Thread.java (getStackTrace): Use reflection to call
  1377. the ManagementFactory.
  1378. * java/lang/management/VMManagementFactory.java: Remove native
  1379. methods.
  1380. * java/lang/management/natVMManagementFactory.cc: Deleted.
  1381. * sources.am: Regnerate.
  1382. * scripts/makemake.tcl: Add new "bcheaders" type.
  1383. Move java/lang/management and gnu/classpath/management to "bc".
  1384. Move gnu/java/lang/management to "bcheaders".
  1385. 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
  1386. * interpret.cc (_Jv_InterpMethod::check_handler): New method.
  1387. * interpret-run.cc: Change the catch section to report exception
  1388. events and to use the new check_handler method.
  1389. * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
  1390. * gnu/gcj/jvmti/ExceptionEvent.java: New file.
  1391. * gnu/gcj/jvmti/ExceptionEvent.h: New file.
  1392. * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
  1393. * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
  1394. file.
  1395. * sources.am: Added ExceptionEvent.java.
  1396. * Makefile.am: Added natExceptionEvent.cc
  1397. * Makefile.in: Regenerated.
  1398. * include/Makefile.in: Regenerated.
  1399. * gcj/Makefile.in: Regenerated.
  1400. 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
  1401. David Daney <ddaney@avtrex.com>
  1402. * configure.ac: Create vm-tools-packages file. Add
  1403. gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
  1404. Check for /proc/self/maps.
  1405. * Makefile.am (bin_PROGRAMS): Added gc-analyze.
  1406. (gc_analyze_SOURCES): New.
  1407. (gc_analyze_LDFLAGS): New.
  1408. (gc_analyze_LINK): New.
  1409. (gc_analyze_LDADD): New.
  1410. (gc_analyze_DEPENDENCIES): New.
  1411. (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
  1412. * Makefile.in: Regenerated.
  1413. * configure: Regenerated.
  1414. * include/config.h.in: Regenerated.
  1415. * sources.am: Regenerated.
  1416. * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
  1417. * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
  1418. * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
  1419. * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
  1420. * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
  1421. * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
  1422. * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
  1423. * gnu/gcj/tools/gc_analyze/ItemList.java: New.
  1424. * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
  1425. * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
  1426. * gnu/gcj/util/GCInfo.java: New.
  1427. * gnu/gcj/util/GCInfo.h: New.
  1428. * gnu/gcj/util/natGCInfo.cc: New.
  1429. * gnu/gcj/util/UtilPermission.java: New.
  1430. * gnu/gcj/util/UtilPermission.h: New.
  1431. * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
  1432. * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
  1433. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
  1434. * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
  1435. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
  1436. * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
  1437. * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
  1438. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
  1439. * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
  1440. * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
  1441. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
  1442. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
  1443. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
  1444. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
  1445. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
  1446. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
  1447. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
  1448. * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
  1449. * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
  1450. * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
  1451. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
  1452. * classpath/lib/gnu/gcj/util/GCInfo.class: New.
  1453. * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
  1454. 2007-02-15 David Daney <ddaney@avtrex.com>
  1455. * gnu/java/net/PlainSocketImpl.h: Regenerate.
  1456. * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
  1457. * gnu/classpath/jdwp/VMFrame.h: Same.
  1458. * java/net/Socket.h: Same.
  1459. * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
  1460. 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
  1461. * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
  1462. Added LocalVariableTable attribute handling.
  1463. (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
  1464. * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
  1465. * include/java-interp.h: Added local_var_table and
  1466. local_var_table_len fields to _Jv_InterpMethod.
  1467. (_Jv_InterpMethod::get_local_var_table): New method.
  1468. * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
  1469. * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
  1470. * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
  1471. for new test.
  1472. * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
  1473. * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
  1474. 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
  1475. * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
  1476. 2007-02-13 Keith Seitz <keiths@redhat.com>
  1477. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1478. (jdwpBreakpointCB): New function.
  1479. (jdwpVMInitCB): Define and enable the breakpoint
  1480. callback.
  1481. 2007-02-13 Andrew Haley <aph@redhat.com>
  1482. * testsuite/libjava.lang/Divide_2.out
  1483. * testsuite/libjava.lang/Divide_2.java: New test.
  1484. 2007-02-12 Keith Seitz <keiths@redhat.com>
  1485. * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
  1486. from jthread to Thread *; it is no longer needed.
  1487. (_Jv_JVMTI_GetFrameCount): Likewise.
  1488. Fix small formatting typo.
  1489. 2007-02-12 Tom Tromey <tromey@redhat.com>
  1490. * sources.am, Makefile.in: Rebuilt.
  1491. * java/lang/Socket.java: Removed override.
  1492. * java/lang/DatagramSocket.java: Removed override.
  1493. * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
  1494. field.
  1495. (getLocalAddress): New method.
  1496. * gnu/java/net/PlainDatagramSocketImpl.java
  1497. (PlainDatagramSocketImpl): Throws IOException.
  1498. * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
  1499. 'sizeof'.
  1500. (read): Likewise.
  1501. 2007-02-09 Jakub Jelinek <jakub@redhat.com>
  1502. * java/util/VMTimeZone.java: Rewrite to handle both the old
  1503. 'TZif\0' format and the new one.
  1504. 2007-02-10 Andrew Haley <aph@redhat.com>
  1505. PR java/30742
  1506. * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
  1507. (getCallingClass): Call GET_CALLING_CLASS.
  1508. (getCallingClassLoader): Likewise.
  1509. 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
  1510. * configure: Rebuilt.
  1511. * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
  1512. 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
  1513. * Makefile.in: Rebuilt.
  1514. * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
  1515. the host's ecj1 executable.
  1516. 2007-02-09 Richard Henderson <rth@redhat.com>
  1517. * sysdep/alpha/locks.h (read_barrier): New.
  1518. 2007-02-09 Keith Seitz <keiths@redhat.com>
  1519. * gnu/classpath/jdwp/VMVirtualMachine.java
  1520. (_stepping_threads): New member.
  1521. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
  1522. Regenerated.
  1523. * gnu/classpath/jdwp/VMVirtualMachine.h:
  1524. Regenerated.
  1525. * gnu/claspath/jdwp/natVMVirtualMachine.cc
  1526. (get_request_step_filter): New function.
  1527. (DISABLE_EVENT): New macro.
  1528. (initialize): Initialize _stepping_threads.
  1529. (registerEvent): Implement EVENT_SINGLE_STEP.
  1530. (unregisterEvent): Likewise.
  1531. 2007-02-08 Keith Seitz <keiths@redhat.com>
  1532. * sources.am: Regenerate.
  1533. * Makefile.in: Regenerate.
  1534. * testsuite/Makefile.in: Regenerate.
  1535. * gcj/Makefile.in: Regenerate.
  1536. * include/Makefile.in: Regenerate.
  1537. * classpath/lib/javax/management/MBeanServerFactory.class:
  1538. Regenerate.
  1539. 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
  1540. * classpath/gnu/classpath/jdwp/processor/
  1541. StackFrameCommandSet.java (executeGetValues): Pass jlong instead
  1542. of ByteBuffer.
  1543. (executeSetValues): Ditto.
  1544. (executeThisObject): Ditto.
  1545. * classpath/gnu/classpath/jdwp/processor/
  1546. StackFrameCommandSet.class: Rebuilt.
  1547. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
  1548. Rebuilt.
  1549. * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
  1550. * classpath/lib/gnu/classpath/jdwp/exception/
  1551. InvalidFrameException.java: New file.
  1552. * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
  1553. frame.
  1554. (Constructor): New method.
  1555. * gnu/classpath/jdwp/VMFrame.h: Regenerated.
  1556. * gnu/classpath/jdwp/VMVirtualMachine.java
  1557. (getFrame): Changed ByteBuffer to jlong.
  1558. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1559. (getFrame): Implement.
  1560. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
  1561. 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
  1562. * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
  1563. to hold "this" pointer for frame.
  1564. (_Jv_InterpFrame::get_this_ptr): New method.
  1565. * interpret-run.cc: Copy the "this" pointer into obj_ptr.
  1566. 2007-02-07 Keith Seitz <keiths@redhat.com>
  1567. * include/java-interp.h (_Jv_Frame::depth):
  1568. New function.
  1569. * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
  1570. 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
  1571. * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
  1572. (_Jv_JVMTI_GetMaxLocals): New method.
  1573. * include/java-interp.h
  1574. (_Jv_InterpMethod::get_max_locals): New method.
  1575. 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
  1576. * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
  1577. 2007-02-07 Tom Tromey <tromey@redhat.com>
  1578. * testsuite/libjava.jni/init.c: New file.
  1579. * testsuite/libjava.jni/init.java: New file.
  1580. * testsuite/libjava.jni/init.out: New file.
  1581. * testsuite/libjava.jni/init.jar: New file.
  1582. * testsuite/libjava.jni/init.h: New file.
  1583. * testsuite/libjava.jni/init$NativeClass.h: New file.
  1584. 2007-02-07 Jakub Jelinek <jakub@redhat.com>
  1585. PR libgomp/28468
  1586. * configure: Regenerate.
  1587. 2007-02-06 Andrew Haley <aph@redhat.com>
  1588. * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
  1589. * sources.am: Rebuild.
  1590. 2007-02-05 Keith Seitz <keiths@redhat.com>
  1591. * jvmti.cc (_envListLock): Change type to
  1592. ReentrantReadWriteLock.
  1593. (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
  1594. lock.
  1595. (check_enabled_event): Likewise.
  1596. (_Jv_GetJVMTIEnv): Likewise.
  1597. (_Jv_JVMTI_Init): Likewise.
  1598. (_Jv_JVMTI_PostEvent): Likewise.
  1599. 2007-02-05 Keith Seitz <keiths@redhat.com>
  1600. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1601. (registerEvent): Implement EVENT_BREAKPOINT.
  1602. (unregisterEvent): Likewise.
  1603. (get_request_location): New function.
  1604. 2007-02-05 Matthias Klose <doko@debian.org>
  1605. testsuite/Makefile.am (compile-tests): Fix typo.
  1606. testsuite/Makefile.in: Regenerate.
  1607. 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
  1608. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
  1609. Implment.
  1610. 2007-02-02 Jakub Jelinek <jakub@redhat.com>
  1611. * configure.ac (libjava_cv_anon_version_script): New test.
  1612. (ANONVERSCRIPT): New AM_CONDITIONAL.
  1613. * configure: Rebuilt.
  1614. * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
  1615. if ANONVERSCRIPT.
  1616. * Makefile.in: Rebuilt.
  1617. (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
  1618. * libgcj.ver: New file.
  1619. 2007-02-01 David Daney <ddaney@avtrex.com>
  1620. * scripts/makemake.tcl: Replace gnu/xml build with build of all
  1621. its subpackages.
  1622. * sources.am: Regenerate.
  1623. * Makefile.in: Regenerate.
  1624. 2007-02-01 Tom Tromey <tromey@redhat.com>
  1625. * java/lang/ClassLoader.java (getResources): No longer final.
  1626. 2007-02-01 Tom Tromey <tromey@redhat.com>
  1627. * java/util/logging/LogManager.java (loggers): Genericized.
  1628. (addLogger): Merged.
  1629. (findAncestor): Likewise.
  1630. (getLogger): Likewise.
  1631. (getLoggerNames): Genericized.
  1632. (reset): Merged.
  1633. (getLevelProperty): Likewise.
  1634. * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
  1635. * java/lang/reflect/Constructor.java (getParameterTypes):
  1636. Genericized.
  1637. (getExceptionTypes): Likewise.
  1638. (newInstance): Likewise.
  1639. * java/lang/reflect/Array.java (newInstance): Genericized.
  1640. * java/lang/Object.java (getClass): Genericized.
  1641. * java/nio/charset/spi/CharsetProvider.java (charsets):
  1642. Genericized.
  1643. * java/text/Collator.java: Implement Comparable<Object>.
  1644. 2007-02-01 Tom Tromey <tromey@redhat.com>
  1645. * java/util/Calendar.java: Implement Comparable<Calendar>. Update
  1646. comments.
  1647. (clear): Call complete.
  1648. (setTimeZone): Call computeTime, computeFields.
  1649. (compareTo): New method.
  1650. * java/nio/charset/Charset.java: Implement Comparable<Charset>.
  1651. (availableCharsets): Genericized.
  1652. (aliases): Likewise.
  1653. (compareTo): Changed argument type.
  1654. * java/lang/ClassLoader.java (loadClass): Genericized.
  1655. (findClass): Likewise.
  1656. (defineClass): Likewise.
  1657. (resolveClass): Likewise.
  1658. (findSystemClass): Likewise.
  1659. (setSigners): Likewise.
  1660. (findLoadedClass): Likewise.
  1661. (getResources): Likewise.
  1662. (findResources): Likewise.
  1663. (getSystemResources): Likewise.
  1664. (checkInitialized): New method.
  1665. * java/lang/Class.java (getCanonicalName): New method.
  1666. 2007-01-31 Keith Seitz <keiths@redhat.com>
  1667. * include/jvmti-int.h (JVMTI): Declare member "enabled".
  1668. * jvmti.cc (JVMTI): Add member "enabled".
  1669. (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
  1670. * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
  1671. instead of gnu::classpath::jdwp::Jdwp::isDebugging.
  1672. (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
  1673. instead of run to compile the method.
  1674. * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
  1675. notification.
  1676. 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
  1677. * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
  1678. -shared-libgcc to the cxxflaglist for Darwin.
  1679. 2007-01-31 Tom Tromey <tromey@redhat.com>
  1680. * scripts.am, Makefile.in: Rebuilt.
  1681. * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
  1682. as 'ordinary'.
  1683. (emit_ordinary_rule): New proc.
  1684. 2007-01-31 Keith Seitz <keiths@redhat.com>
  1685. * testsuite/libjava.jvmti/getmethodname.h: New file.
  1686. * testsuite/libjava.jvmti/getmethodname.jar: New file.
  1687. 2007-01-31 Andrew Haley <aph@redhat.com>
  1688. * prims.cc (_Jv_Abort): fflush (stderr).
  1689. * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
  1690. 2007-01-31 Tom Tromey <tromey@redhat.com>
  1691. * configure, Makefile.in: Rebuilt.
  1692. * configure.ac (JAR): Check for -@ feature.
  1693. * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
  1694. 2007-01-31 Tom Tromey <tromey@redhat.com>
  1695. PR libgcj/30606:
  1696. * configure, include/config.h.in: Rebuilt.
  1697. * configure.ac: Check for magic_t in magic.h.
  1698. * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
  1699. 2007-01-30 Tom Tromey <tromey@redhat.com>
  1700. * Makefile.in: Rebuilt.
  1701. * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
  1702. 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
  1703. * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
  1704. cast to print it right.
  1705. 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
  1706. PR libgcj/30600:
  1707. * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
  1708. 'limit'.
  1709. 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
  1710. * include/java-interp.h: Added _Jv_Frame class and its two
  1711. subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
  1712. _Jv_FrameType from java-stack.h.
  1713. * include/java-stack.h: Removed _Jv_FrameType.
  1714. * java/lang/Thread.java: Added frame member to hold new
  1715. composite frame stack.
  1716. * java/lang/Thread.h: Regenerated.
  1717. * java/lang/Thread.class: Rebuilt.
  1718. * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
  1719. calling a JNI method.
  1720. * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
  1721. (_Jv_JVMTI_GetFrameCount): New method.
  1722. * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
  1723. classes.
  1724. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
  1725. * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
  1726. * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
  1727. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
  1728. * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
  1729. for test.
  1730. 2007-01-29 Tom Tromey <tromey@redhat.com>
  1731. * interpret.cc (run_debug): Remove comment.
  1732. (STOREA): Reformat.
  1733. (STOREI): Likewise.
  1734. (STOREF): Likewise.
  1735. (STOREL): Likewise.
  1736. (STORED): Likewise.
  1737. (POKEI): Likewise.
  1738. (run_normal_debug): Likewise.
  1739. (run_synch_object_debug): Likewise.
  1740. (run_class_debug): Likewise.
  1741. (run_synch_class_debug): Likewise.
  1742. (get1s): Likewise.
  1743. (get1u): Likewise.
  1744. (get2u): Likewise.
  1745. (get4): Likewise.
  1746. (NULLARRAYCHECK): Likewise.
  1747. (ARRAYBOUNDSCHECK): Likewise.
  1748. * interpret-run.cc (insn_target) <breakpoint>: Tidy.
  1749. 2007-01-29 Tom Tromey <tromey@redhat.com>
  1750. * configure, Makefile.in: Rebuilt.
  1751. * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
  1752. * configure.ac (BASH_JAR): Removed conditional.
  1753. (JAR): Prefer the jar found by AC_CHECK_PROGS.
  1754. 2007-01-29 Tom Tromey <tromey@redhat.com>
  1755. * Makefile.in: Rebuilt.
  1756. * Makefile.am (interpret.lo): New target. Add -fwrap to
  1757. AM_CXXFLAGS.
  1758. 2007-01-29 Keith Seitz <keiths@redhat.com>
  1759. * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
  1760. Define.
  1761. [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
  1762. gcj. All jvmti object types now are defined to be their
  1763. corresponding java classes.
  1764. * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
  1765. jthread to Thread*.
  1766. (_Jv_JVMTI_ResumeThread): Likewise.
  1767. (_Jv_JVMTI_InterruptThread): Likewise.
  1768. (_Jv_JVMTI_SetEventNotificationMode): Likewise.
  1769. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1770. (jdwpClassPrepareCB): Likewise.
  1771. (jdwpThreadEndCB): Likewise.
  1772. (jdwpThreadStartCB): Likewise.
  1773. (jdwpVMInitCB): Likewise.
  1774. 2007-01-28 Michele Sandri <gpointorama@gmail.com>
  1775. * gnu/java/nio/channels/natFileChannelWin32.cc
  1776. (lock): Implemented.
  1777. (unlock): Implemented.
  1778. 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
  1779. PR libgcj/30513
  1780. * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
  1781. libgcj_flags to undefine 'sun' at compile time.
  1782. * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
  1783. Sparc.
  1784. (write_barrier): Likewise.
  1785. 2007-01-27 Keith Seitz <keiths@redhat.com>
  1786. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1787. (getAllClassMethods): Move error handling to ...
  1788. (throw_jvmti_error): ... here.
  1789. (jdwpClassPrepareCB): New function.
  1790. (jdwpThreadEndCB): New function.
  1791. (jdwpThreadStartCB): New function.
  1792. (jdwpVMDeathCB): New function.
  1793. (jdwpVMInitCB): Define and enable callbacks for
  1794. ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
  1795. 2007-01-27 Jakub Jelinek <jakub@redhat.com>
  1796. * Makefile.am (generic_header_files): Add $(inner_nat_headers).
  1797. * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
  1798. (MYGCJH): New variable.
  1799. (compile-tests): New goal.
  1800. * Makefile.in: Rebuilt.
  1801. * testsuite/Makefile.in: Rebuilt.
  1802. 2007-01-26 Andrew Haley <aph@redhat.com>
  1803. * java/lang/natClass.cc (initializeClass): Re-throw
  1804. SecurityExceptions.
  1805. * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
  1806. * java/lang/ClassLoader.java: (loadClass): Likewise.
  1807. 2007-01-26 Tom Tromey <tromey@redhat.com>
  1808. * Updated headers.
  1809. 2007-01-25 Tom Tromey <tromey@redhat.com>
  1810. PR libgcj/29594:
  1811. * gnu/gcj/convert/Convert.java (main): Correctly handle missing
  1812. input or output encodings. Removed unused local variables.
  1813. 2007-01-25 Keith Seitz <keiths@redhat.com>
  1814. * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
  1815. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1816. (_Jv_GetJDWP_JVMTIEnv): New function.
  1817. * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
  1818. (getSignature): Implement.
  1819. (getModifiers): Implement.
  1820. 2007-01-25 Andrew Haley <aph@redhat.com>
  1821. * configure, Makefile.in, include/config.h.in: Rebuilt.
  1822. * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
  1823. * configure.ac: Don't check for libmagic.
  1824. * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
  1825. p_magic_close, p_magic_buffer): New globals.
  1826. (init): Look up 'magic' functions.
  1827. (guessContentTypeFromBuffer): Updated.
  1828. 2007-01-25 Keith Seitz <keiths@redhat.com>
  1829. * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
  1830. (_Jv_JVMTI_Interface): Define GetMethodName.
  1831. * testsuite/libjava.jvmti/getmethodname.java: New file.
  1832. * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
  1833. * testsuite/libjava.jvmti/getmethodname.out: New file.
  1834. 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
  1835. * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
  1836. * libjava/testsuite/libjava.jvmti/interp: New folder.
  1837. * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
  1838. 2007-01-24 Keith Seitz <keiths@redhat.com>
  1839. * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
  1840. CLASS_PREPARE notification.
  1841. 2007-01-24 Keith Seitz <keiths@redhat.com>
  1842. * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
  1843. gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
  1844. * interpret-run.cc: Implement insn_breakpoint.
  1845. 2007-01-24 Keith Seitz <keiths@redhat.com>
  1846. * prims.cc (_Jv_RunMain): Send JVMTI event notifications
  1847. for VM_INIT and VM_DEATH instead of the JDWP notifications.
  1848. 2007-01-24 Keith Seitz <keiths@redhat.com>
  1849. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1850. (getAllClassMethods): Implement.
  1851. 2007-01-24 Andrew Haley <aph@redhat.com>
  1852. * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
  1853. (getClassContext) Add a barrier to prevent GetStackWalkerStack()
  1854. from being sibcalled.
  1855. 2007-01-24 Andrew Haley <aph@redhat.com>
  1856. * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
  1857. * sources.am: Rebuild.
  1858. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
  1859. * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
  1860. _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
  1861. 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
  1862. PR libgcj/30550
  1863. * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
  1864. * Makefile.in: Regenerated.
  1865. 2007-01-22 Keith Seitz <keiths@redhat.com>
  1866. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1867. (getClassMethod): Implement.
  1868. 2007-01-22 Keith Seitz <keiths@redhat.com>
  1869. * java/lang/Class.h (_Jv_GetClassStatus): Declare.
  1870. * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
  1871. * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
  1872. (_Jv_JVMTI_Interface): Define GetClassStatus.
  1873. 2007-01-22 Tom Tromey <tromey@redhat.com>
  1874. * configure: Rebuilt.
  1875. * configure.ac (GCJ): Reverted patch of 2006-12-20.
  1876. 2007-01-22 Tom Tromey <tromey@redhat.com>
  1877. PR java/29812:
  1878. * testsuite/libjava.jni/pr29812.java: New file.
  1879. * testsuite/libjava.jni/pr29812_injar.java: New file.
  1880. * testsuite/libjava.jni/pr29812_injar.jar: New file.
  1881. * testsuite/libjava.jni/pr29812.out: New file.
  1882. * testsuite/libjava.jni/pr29812_injar.c: New file.
  1883. * testsuite/libjava.jni/pr29812_injar.h: New file.
  1884. * testsuite/libjava.jni/pr29812.jar: New file.
  1885. * testsuite/libjava.jni/pr29812.c: New file.
  1886. * testsuite/libjava.jni/pr29812.h: New file.
  1887. * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
  1888. New proc.
  1889. (gcj_jni_invocation_test_one): Use it.
  1890. (gcj_jni_pr29812): New proc.
  1891. (gcj_jni_run): Use it.
  1892. * java/lang/natRuntime.cc (_load): Push a new system frame before
  1893. calling JNI_OnLoad.
  1894. * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
  1895. (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
  1896. * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
  1897. <allocated_p>: Now bool.
  1898. <loader>: New field.
  1899. (_Jv_JNI_EnsureLocalCapacity): Updated.
  1900. (_Jv_JNI_NewLocalRef): Likewise.
  1901. (_Jv_JNI_NewLocalRef): Likewise.
  1902. (_Jv_JNI_PopLocalFrame): Likewise.
  1903. (_Jv_JNI_FindClass): Likewise.
  1904. (_Jv_GetJNIEnvNewFrame): Likewise.
  1905. (_Jv_JNI_AttachCurrentThread): Likewise.
  1906. (_Jv_GetJNIEnvNewFrameWithLoader): New function.
  1907. (_Jv_GetJNIEnvNewFrame): Use it.
  1908. * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
  1909. 2007-01-22 Tom Tromey <tromey@redhat.com>
  1910. * libtool-version: Bump current to 9.
  1911. 2007-01-22 Andrew Haley <aph@redhat.com>
  1912. * sysdep/alpha/locks.h (write_barrier): New.
  1913. 2007-01-21 Matthias Klose <doko@debian.org>
  1914. * Makefile.am (install-exec-hook): Use transformed name.
  1915. * Makefile.in: Regenerate.
  1916. 2007-01-19 Keith Seitz <keiths@redhat.com>
  1917. * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
  1918. in methods and reformat.
  1919. * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
  1920. MAYBE_UNUSED.
  1921. 2007-01-18 Keith Seitz <keiths@redhat.com>
  1922. From Macro Trudel <mtrudel@gmx.ch>:
  1923. * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
  1924. Use JNICALL.
  1925. 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
  1926. * jni.cc (_Jv_JNI_FindClass): Initialize class.
  1927. * testsuite/libjava.jni/findclass2.jar: New file.
  1928. * testsuite/libjava.jni/findclass2.h: New file.
  1929. * testsuite/libjava.jni/findclass2.java: New file
  1930. * testsuite/libjava.jni/findclass2.c: New file.
  1931. * testsuite/libjava.jni/findclass2.out: New file.
  1932. 2007-01-18 Tom Tromey <tromey@redhat.com>
  1933. * configure: Rebuilt.
  1934. * configure.ac: Use multi_basedir instead of libgcj_basedir.
  1935. 2007-01-18 Gary Benson <gbenson@redhat.com>
  1936. * gnu/java/nio/natVMPipeEcos.cc:
  1937. Renamed from gnu/java/nio/natPipeImplEcos.cc.
  1938. * gnu/java/nio/natVMPipePosix.cc:
  1939. Renamed from gnu/java/nio/natPipeImplPosix.cc.
  1940. * gnu/java/nio/natVMPipeWin32.cc:
  1941. Renamed from gnu/java/nio/natPipeImplWin32.cc.
  1942. * gnu/java/nio/natVMSelectorEcos.cc:
  1943. Renamed from gnu/java/nio/natSelectorImplEcos.cc.
  1944. * gnu/java/nio/natVMSelectorPosix.cc:
  1945. Renamed from gnu/java/nio/natSelectorImplPosix.cc.
  1946. * gnu/java/nio/natVMSelectorWin32.cc:
  1947. Renamed from gnu/java/nio/natSelectorImplWin32.cc.
  1948. * java/io/natVMObjectInputStream.cc:
  1949. Renamed from java/io/natObjectInputStream.cc.
  1950. * java/lang/natVMDouble.cc:
  1951. Renamed from java/lang/natDouble.cc.
  1952. * java/lang/natVMFloat.cc:
  1953. Renamed from java/lang/natFloat.cc.
  1954. * Makefile.am, configure.ac: Reflect the above.
  1955. * Makefile.in, configure: Rebuilt.
  1956. 2007-01-17 Andrew Haley <aph@redhat.com>
  1957. * Makefile.in: Rebuilt.
  1958. * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
  1959. 2007-01-17 Keith Seitz <keiths@redhat.com>
  1960. * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
  1961. (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
  1962. 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
  1963. * configure.ac: Use multi.m4 from aclocal rather than custom
  1964. code. Use multi_basedir instead libgcj_basedir. Test for
  1965. /proc/self/exe when not cross-compiling.
  1966. * aclocal.m4: Regenerate.
  1967. * configure: Regenerate.
  1968. * Makefile.in: Regenerate.
  1969. 2007-01-17 Gary Benson <gbenson@redhat.com>
  1970. * java/nio/natVMDirectByteBufferImpl.cc:
  1971. Renamed from java/nio/natDirectByteBufferImpl.cc.
  1972. * Makefile.am: Reflect the above.
  1973. * Makefile.in: Rebuilt.
  1974. 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
  1975. * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
  1976. Fixed indentation. Removed unused variable.
  1977. 2007-01-16 Tom Tromey <tromey@redhat.com>
  1978. * java/lang/natThread.cc (finalize_native): Remove cast.
  1979. (_Jv_GetCurrentJNIEnv): Likewise.
  1980. * include/jvm.h (struct natThread) <jni_env>: Declare as
  1981. _Jv_JNIEnv*.
  1982. 2007-01-16 Keith Seitz <keiths@redhat.com>
  1983. * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
  1984. %#llx instead of %d for new_value.
  1985. * testsuite/libjava.jvmti/events.out: Update expected output.
  1986. * testsuite/libjava.jvmti/events.jar: Regenerate.
  1987. 2007-01-16 Keith Seitz <keiths@redhat.com>
  1988. * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
  1989. New macro.
  1990. (ENABLE_EVENT): New macro.
  1991. (initialize): Define and enable JVMTI VM_INIT callback.
  1992. (jdwpVMInitCB): New function.
  1993. 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
  1994. * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
  1995. * testsuite/libjava.jvmti/getallthreads.java: New test.
  1996. * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
  1997. * testsuite/libjava.jvmti/getallthreads.out: Ditto.
  1998. * testsuite/libjava.jvmti/getallthreads.h: Ditto.
  1999. * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
  2000. 2007-01-15 Keith Seitz <keiths@redhat.com>
  2001. * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
  2002. java.lang.StringBuilder instead of java.lang.StringBuffer.
  2003. (resumeThread): Likewise.
  2004. 2007-01-15 Gary Benson <gbenson@redhat.com>
  2005. * java/nio/MappedByteBuffer.java: Removed.
  2006. * sources.am, Makefile.in: Rebuilt.
  2007. 2007-01-15 Gary Benson <gbenson@redhat.com>
  2008. * java/net/URLClassLoader.java: Removed.
  2009. * gnu/java/net/loader/Load_gcjlib.java: New file.
  2010. * gnu/gcj/runtime/BootClassLoader.java: Ensure core
  2011. URL handler is present in static executables.
  2012. * sources.am, Makefile.in: Rebuilt.
  2013. 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
  2014. * Makefile.am (libgcj_la_LDFLAGS): Add
  2015. $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
  2016. (libgcj_tools_la_LDFLAGS): Likewise.
  2017. (libgcj_bc_la_LDFLAGS): Likewise.
  2018. * Makefile.in: Regenerated.
  2019. * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
  2020. LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
  2021. libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
  2022. Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
  2023. * configure: Regenerated.
  2024. * aclocal.m4: Likewise.
  2025. * gcj/Makefile.in: Likewise.
  2026. * include/Makefile.in: Likewise.
  2027. * testsuite/Makefile.in: Likewise.
  2028. 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
  2029. * sysdep/sh/locks.h (read_barrier): New.
  2030. (write_barrier): Likewise.
  2031. 2007-01-12 Andrew Haley <aph@redhat.com>
  2032. * include/i386-signal.h: Rewrite to use rt_sigaction.
  2033. 2007-01-11 Andrew Haley <aph@redhat.com>
  2034. * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
  2035. to char*.
  2036. * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
  2037. aliasing violation.
  2038. 2007-01-10 Tom Tromey <tromey@redhat.com>
  2039. * gnu/gcj/xlib/*.h: New files.
  2040. * gnu/awt/xlib/*.h: Likewise.
  2041. * classpath/lib/gnu/gcj/xlib: New class files.
  2042. * classpath/lib/gnu/awt/xlib: Likewise.
  2043. 2007-01-10 Tom Tromey <tromey@redhat.com>
  2044. * HACKING: Various updates.
  2045. 2007-01-10 Tom Tromey <tromey@redhat.com>
  2046. * java/lang/natDouble.cc (toString): Added parens.
  2047. * gnu/gcj/io/shs.h (PROTO): Define.
  2048. * link.cc (resolve_pool_entry): Added missing braces.
  2049. 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
  2050. PR libgcj/30424
  2051. * sysdep/ia64/locks.h (read_barrier): New.
  2052. (write_barrier): New.
  2053. 2007-01-10 Gary Benson <gbenson@redhat.com>
  2054. * java/net/URL.java: Removed.
  2055. * sources.am, Makefile.in: Rebuilt.
  2056. 2007-01-10 Matthias Klose <doko@debian.org>
  2057. * Makefile.am (install-exec-hook): Support $(DESTDIR).
  2058. * Makefile.in: Regenerated.
  2059. 2007-01-05 Tom Tromey <tromey@redhat.com>
  2060. * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
  2061. dummy.class in srcdir.
  2062. 2007-01-03 Tom Tromey <tromey@redhat.com>
  2063. * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
  2064. for srcdir.
  2065. 2007-01-03 Tom Tromey <tromey@redhat.com>
  2066. * testsuite/*: Added many .jar and .h files.
  2067. * testsuite/libjava.special/special.exp
  2068. (gcj_special_try_compiler): New proc.
  2069. * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
  2070. bytecompile source. Search for .jar files.
  2071. (gcj_loader_test_one): Don't look for MyLoader.java.
  2072. * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
  2073. bytecompile sources or build headers.
  2074. (gcj_jvmti_run): Look for .jar files.
  2075. * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
  2076. files.
  2077. (gcj_jni_test_one): Don't bytecompile sources or build headers.
  2078. Set classpath when invoking gij.
  2079. (gcj_jni_invocation_test_one): Likewise.
  2080. * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
  2081. headers or bytecompile sources.
  2082. (gcj_cni_run): Use .jar files, not .java files.
  2083. * testsuite/libjava.lang/lang.exp: Compile .jar files.
  2084. 2007-01-02 Tom Tromey <tromey@redhat.com>
  2085. * configure: Rebuilt.
  2086. * configure.ac: Check for gjar.
  2087. 2007-01-02 Tom Tromey <tromey@redhat.com>
  2088. * testsuite/libjava.jacks/jacks.exp: Removed.
  2089. * testsuite/libjava.jacks/jacks.xfail: Removed.