ChangeLog-2006 150 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212
  1. 2006-12-22 Tom Tromey <tromey@redhat.com>
  2. * sources.am, Makefile.in: Rebuilt.
  3. * java/io/natObjectInputStream.cc (allocateObject): Now method on
  4. VMObjectStream.
  5. (currentLoader): Removed.
  6. * java/io/ObjectInputStream.java: Removed.
  7. * java/io/VMObjectInputStream.java: New file.
  8. * scripts/classes.pl (scan): Ignore .svn directories.
  9. * gcj/javaprims.h: Updated.
  10. 2006-12-22 Tom Tromey <tromey@redhat.com>
  11. * testsuite/libjava.jni/register2.c: Include jni.h, not
  12. register2.h.
  13. * testsuite/libjava.cni/cni.exp (gcj_cni_build_headers):
  14. Special-case shortfield.
  15. 2006-12-20 Andrew Haley <aph@redhat.com>
  16. * java/lang/natClass.cc (getDeclaredAnnotations): Call
  17. ClassLoader.getDeclaredAnnotations and
  18. ClassLoader.putDeclaredAnnotations.
  19. * java/lang/ClassLoader.java (AnnotationsKey): New class.
  20. (getDeclaredAnnotations, putDeclaredAnnotations): New.
  21. 2006-12-19 Andrew Haley <aph@redhat.com>
  22. * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Move here
  23. from include/jvm.h.
  24. Add BC ABI Version 1.
  25. Throw a ClassFormatError if we're not ABI-compatible.
  26. (_Jv_RegisterClasses): Throw a ClassFormatError if we're not
  27. ABI-compatible.
  28. (_Jv_RegisterClasses_Counted): Likewise.
  29. (_Jv_NewClassFromInitializer): Likewise.
  30. Call Class::initializerSize to get size of initializer struct.
  31. * include/jvm.h (_Jv_CheckABIVersion): Move to natClassLoader.cc.
  32. * java/lang/Class.h (Class::initializerSize): New function.
  33. 2006-12-18 Tom Tromey <tromey@redhat.com>
  34. * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_build_headers):
  35. Don't use jv-scan.
  36. 2006-12-18 Tom Tromey <tromey@redhat.com>
  37. * HACKING: Updated.
  38. * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.93.
  39. 2006-12-15 Tom Tromey <tromey@redhat.com>
  40. * configure, Makefile.in: Rebuilt.
  41. * Makefile.am (gcjh.stamp): Use JAVA_MAINTAINER_MODE.
  42. * configure.ac: Added --enable-java-maintainer-mode.
  43. 2006-12-15 Tom Tromey <tromey@redhat.com>
  44. * testsuite/libjava.compile: Removed.
  45. 2006-12-15 Andrew Haley <aph@redhat.com>
  46. * Makefile.am (AM_MAKEFLAGS): Pass JAR to sub-make.
  47. (libgcj_tools_la_GCJFLAGS): Pass -fsource-filename to gcj.
  48. 2006-12-14 Gary Benson <gbenson@redhat.com>
  49. * include/java-stack.h (stackwalker_nnl_trace_fn,
  50. GetStackWalkerFirstNonNullLoader): Declare.
  51. * stacktrace.cc (stackwalker_nnl_trace_fn,
  52. GetStackWalkerFirstNonNullLoader): New methods.
  53. * gnu/classpath/natVMStackWalker.cc
  54. (firstNonNullClassLoader): New method.
  55. * gnu/classpath/VMStackWalker.java
  56. (firstNonNullClassLoader): Replace with native method.
  57. 2006-12-13 Gary Benson <gbenson@redhat.com>
  58. * stacktrace.cc (stackwalker_trace_fn,
  59. GetStackWalkerCallingClass): Be less strict about caller.
  60. * gnu/classpath/natVMStackWalker.cc
  61. (getCallingClassLoader): New method.
  62. * gnu/classpath/VMStackWalker.java
  63. (getCallingClassLoader): Replace with native method.
  64. 2006-12-12 Tom Tromey <tromey@redhat.com>
  65. * sources.am, Makefile.in: Rebuilt.
  66. * gnu/java/rmi/rmic/CompilerProcess.java: Removed.
  67. * gnu/java/rmi/rmic/RMICException.java: Removed.
  68. * gnu/java/rmi/rmic/Compiler.java: Removed.
  69. * gnu/java/rmi/rmic/Compile_gcj.java: Removed.
  70. * gnu/java/rmi/rmic/Compile_jikes.java: Removed.
  71. * gnu/java/rmi/rmic/TabbedWriter.java: Removed.
  72. * gnu/java/rmi/rmic/Compile_kjc.java: Removed.
  73. * gnu/java/rmi/rmic/RMIC.java: Removed.
  74. * Makefile.am (toolexeclib_LTLIBRARIES): Uncomment
  75. libgcj-tools.la.
  76. (jar_DATA): Uncomment libgcj-tools jar.
  77. (libgcj_tools_la_SOURCES): Uncomment.
  78. (libgcj_tools_la_GCJFLAGS): Likewise.
  79. (libgcj_tools_la_LDFLAGS): Likewise.
  80. (libgcj_tools_la_DEPENDENCIES): Likewise.
  81. (libgcj_tools_la_LINK): Likewise.
  82. (libgcj-tools-$(gcc_version).jar): Uncomment.
  83. (bin_PROGRAMS): Add gappletviewer, gjarsigner, gkeytool, gjar,
  84. gjavah, gnative2ascii, gorbd, grmid, gserialver, gtnameserv.
  85. (gjar_SOURCES): New variable.
  86. (gjar_LDFLAGS): Likewise.
  87. (gjar_LINK): Likewise.
  88. (gjar_LDADD): Likewise.
  89. (gjar_DEPENDENCIES): Likewise.
  90. (gjavah_SOURCES): Likewise.
  91. (gjavah_LDFLAGS): Likewise.
  92. (gjavah_LINK): Likewise.
  93. (gjavah_LDADD): Likewise.
  94. (gjavah_DEPENDENCIES): Likewise.
  95. (gnative2ascii_SOURCES): Likewise.
  96. (gnative2ascii_LDFLAGS): Likewise.
  97. (gnative2ascii_LINK): Likewise.
  98. (gnative2ascii_LDADD): Likewise.
  99. (gnative2ascii_DEPENDENCIES): Likewise.
  100. (gorbd_SOURCES): Likewise.
  101. (gorbd_LDFLAGS): Likewise.
  102. (gorbd_LINK): Likewise.
  103. (gorbd_LDADD): Likewise.
  104. (gorbd_DEPENDENCIES): Likewise.
  105. (grmid_SOURCES): Likewise.
  106. (grmid_LDFLAGS): Likewise.
  107. (grmid_LINK): Likewise.
  108. (grmid_LDADD): Likewise.
  109. (grmid_DEPENDENCIES): Likewise.
  110. (gserialver_SOURCES): Likewise.
  111. (gserialver_LDFLAGS): Likewise.
  112. (gserialver_LINK): Likewise.
  113. (gserialver_LDADD): Likewise.
  114. (gserialver_DEPENDENCIES): Likewise.
  115. (gtnameserv_SOURCES): Likewise.
  116. (gtnameserv_LDFLAGS): Likewise.
  117. (gtnameserv_LINK): Likewise.
  118. (gtnameserv_LDADD): Likewise.
  119. (gtnameserv_DEPENDENCIES): Likewise.
  120. (grmic_LDADD): Link against tools library.
  121. (grmic_LDFLAGS): Changed --main.
  122. (grmiregistry_LDADD): Link against tools library.
  123. (grmiregistry_LDFLAGS): Changed --main.
  124. (grmic_DEPENDENCIES): Updated.
  125. (grmiregistry_DEPENDENCIES): Likewise.
  126. 2006-12-12 Tom Tromey <tromey@redhat.com>
  127. * sources.am, Makefile.in: Rebuilt.
  128. * gnu/java/nio/FileLockImpl.java: New override.
  129. * gnu/java/nio/SelectorProviderImpl.java: New override.
  130. * gnu/java/nio/PipeImpl.java: New override.
  131. * gnu/java/nio/SocketChannelSelectionKeyImpl.java: New override.
  132. * gnu/java/nio/NIOSocket.java: New override.
  133. * gnu/java/nio/SocketChannelSelectionKey.java: New override.
  134. * java/io/FileDescriptor.java: New override.
  135. * java/io/RandomAccessFile.java: New override.
  136. * java/io/FileInputStream.java: New override.
  137. * java/io/FileOutputStream.java: New override.
  138. * configure.ac: Pass --disable-Werror, --disable-tool-wrappers to
  139. Classpath configure.
  140. * java/io/ObjectInputStream.java (readClassDescriptor): Don't pass
  141. class loader to ObjectStreamField.
  142. * java/net/DatagramSocket.java: New override.
  143. * java/net/Socket.java: New override.
  144. * java/net/MulticastSocket.java: New override.
  145. * gnu/classpath/VMStackWalker.java (firstNonNullClassLoader): New
  146. method from Classpath.
  147. * java/lang/Class.java (newInstance): Fixed return type.
  148. (forName): Likewise.
  149. (getClasses): Likewise.
  150. (getComponentType): Likewise.
  151. (getConstructors): Likewise.
  152. (getDeclaredClasses): Likewise.
  153. (getDeclaredConstructors): Likewise.
  154. (getDeclaringClass): Likewise.
  155. (getInterfaces): Likewise.
  156. (getSuperclass): Likewise.
  157. (internalGetClasses): Genericized.
  158. (getMethod): Likewise.
  159. (isAssignableFrom): Likewise.
  160. * java/util/zip/natDeflater.cc (getBytesWritten): Renamed.
  161. (getBytesRead): Likewise.
  162. * java/util/zip/Deflater.java (getBytesRead, getBytesWritten): New
  163. methods.
  164. (getTotalIn, getTotalOut): Rewrote.
  165. * java/net/NetworkInterface.java: New override.
  166. * java/lang/ClassLoader.java (defineClass): New overload from
  167. Classpath.
  168. 2006-12-11 Gary Benson <gbenson@redhat.com>
  169. * gcj/Makefile.in: Rebuilt.
  170. 2006-12-11 Gary Benson <gbenson@redhat.com>
  171. * Makefile.in: Rebuilt.
  172. * include/Makefile.in: Likewise.
  173. * testsuite/Makefile.in: Likewise.
  174. 2006-12-08 Mohan Embar <gnustuff@thisiscool.com>
  175. * configure, Makefile.in: Rebuilt.
  176. * configure.ac: (GCJ_FOR_ECJX) New substitution.
  177. (host_exeext): Likewise.
  178. (ENABLE_SHARED): New conditional,
  179. * Makefile.am: Added GCJ_FOR_ECJX and GCJ_FOR_ECJX_LINK.
  180. (install-exec-hook): Correctly rename ecjx to ecj1.
  181. (ecjx_LINK, ecjx_LDFLAGS, ecjx_LDADD, ecjx_DEPENDENCIES): Define
  182. as a function of whether we're doing a native and/or shared build.
  183. 2006-12-08 Mohan Embar <gnustuff@thisiscool.com>
  184. * posix-threads.cc (_Jv_ThreadUnpark): Removed.
  185. (ParkHelper::unpark): Ported from _Jv_ThreadUnpark.
  186. (ParkHelper::deactivate): Implemented.
  187. (_Jv_ThreadPark): Removed.
  188. (ParkHelper::park): Ported from _Jv_ThreadPark; moved
  189. mutex locking and unlocking to inside if statement.
  190. * win32-threads.cc (compare_and_exchange): New helper function.
  191. (_Jv_ThreadUnpark, _Jv_ThreadPark): Removed.
  192. (ParkHelper::init): Implemented.
  193. (ParkHelper::init_event): Implemented.
  194. (ParkHelper::deactivate): Implemented.
  195. (ParkHelper::destroy): Implemented.
  196. (ParkHelper::unpark): Implemented.
  197. (ParkHelper::park): Implemented.
  198. * java/lang/natThread.cc (initialize_native): Use ParkHelper
  199. instead of POSIX synchronization constructs.
  200. (finalize_native): Likewise.
  201. (interrupt): Use ParkHelper method instead of _Jv_ThreadUnpark().
  202. (finish_): Use ParkHelper::deactivate().
  203. * include/jvm.h (struct natThread): Use ParkHelper instead of POSIX
  204. synchronization constructs.
  205. * include/posix-threads.h: Include sysdep/locks.h
  206. (_Jv_ThreadUnpark, _Jv_ThreadPark): Removed.
  207. (ParkHelper): New struct.
  208. (ParkHelper::init): Implemented.
  209. (ParkHelper::destroy): Implemented.
  210. * include/win32-threads.h (ParkHelper): New struct.
  211. (TEXT): undefined this macro.
  212. * sun/misc/natUnsafe.cc (unpark): Use ParkHelper instead of
  213. _Jv_ThreadUnpark.
  214. (park): Use ParkHelper instead of _Jv_ThreadPark.
  215. 2006-12-08 Ben Konrath <bkonrath@redhat.com>
  216. PR libgcj/30110:
  217. * Makefile.am: Add contents of classpath/external to src.zip.
  218. * Makefile.in: Regenerate.
  219. 2006-12-07 Tom Tromey <tromey@redhat.com>
  220. PR libgcj/30076:
  221. * defineclass.cc (read_fields): Sort fields here.
  222. (handleFieldsEnd): Removed.
  223. (handleField): Added field map argument.
  224. (struct _Jv_ClassReader): Updated.
  225. (handleParameterAnnotations): Use writeInt for the length.
  226. 2006-12-07 Gary Benson <gbenson@redhat.com>
  227. * include/java-stack.h (stackwalker_trace_fn,
  228. GetStackWalkerCallingClass): Declare.
  229. * stacktrace.cc (stackwalker_trace_fn,
  230. GetStackWalkerCallingClass): New methods.
  231. * gnu/classpath/natVMStackWalker.cc
  232. (getCallingClass): Use the above.
  233. * gnu/classpath/VMStackWalker.java
  234. (getCallingClass): Replace with native method.
  235. 2006-12-06 Tom Tromey <tromey@redhat.com>
  236. PR java/24938:
  237. * sources.am, Makefile.in: Rebuilt.
  238. * gnu/CORBA/DynAn/gnuDynValue.java: Removed.
  239. * gnu/CORBA/DynAn/RecordAny.java: Removed.
  240. * gnu/CORBA/DynAn/RecordAny.h: Rebuilt.
  241. 2006-12-06 Andrew Haley <aph@redhat.com>
  242. * gcj/javaprims.h (_Jv_is_proxy): Declare.
  243. * java/lang/reflect/natVMProxy.cc (_Jv_is_proxy): Define
  244. (run_proxy): Register this proxy invocation with a _Jv_InterpFrame.
  245. * include/java-stack.h (struct _Jv_StackFrame): Add proxyClass and
  246. proxyMethod.
  247. * stacktrace.cc (UnwindTraceFn): Add frame_proxy handling.
  248. (getLineNumberForFrame): Likewise.
  249. (FillInFrameInfo): Likewise.
  250. 2006-12-05 Andrew Haley <aph@redhat.com>
  251. * Makefile.am: Add java/lang/reflect/natVMProxy.cc.
  252. * java/lang/reflect/Method.java (exception_types, parameter_types,
  253. return_type): Make package private.
  254. * include/jvm.h (_Jv_makeUtf8Const(const char *s)): New function.
  255. (_Jv_Linker::layout_vtable_methods): Given
  256. public linkage.
  257. (_Jv_Linker::search_method_in_class): Likewise.
  258. * interpret.cc (_Jv_init_cif): Renamed from init_cif. Given
  259. public linkage.
  260. * include/java-interp.h (_Jv_init_cif): Likewise.
  261. * java/lang/reflect/natVMProxy.cc: New file.
  262. * java/lang/VMCompiler.java (precompiles): New method.
  263. (compileClass): Use it.
  264. * java/lang/reflect/VMProxy.java
  265. (HAVE_NATIVE_GENERATE_PROXY_CLASS): true.
  266. (generateProxyClass): Native.
  267. 2006-12-05 Tom Tromey <tromey@redhat.com>
  268. * Makefile.in: Rebuilt.
  269. * Makefile.am (libexecsubdir): New variable.
  270. (install-exec-hook): Install ecj1 in libexecsubdir.
  271. (libexecsub_PROGRAMS): Renamed.
  272. 2006-12-05 Tom Tromey <tromey@redhat.com>
  273. PR java/29495:
  274. * testsuite/libjava.lang/PR29495.out: New file.
  275. * testsuite/libjava.lang/PR29495.java: New file.
  276. 2006-12-05 Gary Benson <gbenson@redhat.com>
  277. * gnu/classpath/natVMStackWalker.cc: Comment fixes.
  278. 2006-12-05 Gary Benson <gbenson@redhat.com>
  279. * gnu/classpath/natVMStackWalker.cc (getCallingClass): Unwind
  280. the stack when the caller is a compiled frame and the caller
  281. of the caller is an interpreted frame.
  282. 2006-12-04 Adam Megacz <megacz@cs.berkeley.edu>
  283. * gnu/gcj/runtime/natSharedLibLoader.cc (init): add "::" to fix
  284. syntax error
  285. 2006-12-04 Adam Megacz <megacz@cs.berkeley.edu>
  286. * include/win32.h (_Jv_platform_process): change to Win32Process
  287. 2006-12-04 Gary Benson <gbenson@redhat.com>
  288. * stacktrace.cc (GetClassContext): Remove.
  289. * include/java-stack.h (GetClassContext): Likewise.
  290. 2006-12-04 Gary Benson <gbenson@redhat.com>
  291. * java/lang/SecurityManager.java: Removed.
  292. * java/lang/VMSecurityManager.java: Likewise.
  293. * java/lang/natVMSecurityManager.cc: Likewise.
  294. * javax/naming/spi/NamingManager.java: Likewise.
  295. * gnu/CORBA/ObjectCreator.java: Likewise.
  296. * sun/reflect/Reflection.java: Replaced with reference.
  297. * sun/reflect/natReflection.cc: Removed.
  298. * gcj/javaprims.h: Removed reference to VMSecurityManager.
  299. * Makefile.am (nat_source_files): Removed natReflection.cc
  300. and natVMSecurityManager.cc.
  301. * sources.am, Makefile.in: Rebuilt.
  302. 2006-12-01 Gary Benson <gbenson@redhat.com>
  303. * java/net/URLClassLoader.java
  304. (findClass): Inhibit calling this.toString() further into VM
  305. initialization.
  306. (runtimeInitialized): Removed.
  307. * java/net/natURLClassLoader.cc: Removed.
  308. * Makefile.am: Reflect the above.
  309. * Makefile.in: Rebuilt.
  310. 2006-11-30 Tom Tromey <tromey@redhat.com>
  311. * java/lang/Class.java (getAnnotations): Don't recurse.
  312. 2006-11-30 Gary Benson <gbenson@redhat.com>
  313. * include/java-stack.h (GetStackWalkerStack): Declare.
  314. * stacktrace.cc (GetStackWalkerStack): New method.
  315. * gnu/classpath/natVMStackWalker.cc (getClassContext): Likewise.
  316. * gnu/classpath/VMStackWalker.java
  317. (getClassContext): Replace stub with native method declaration.
  318. (getCallingClass): Remove "throws NotImplementedException".
  319. (getCallingClassLoader): Likewise.
  320. 2006-11-30 Gary Benson <gbenson@redhat.com>
  321. * java/lang/ClassLoader.java: Merged javadoc.
  322. (getParent, getSystemClassLoader): Use VMStackWalker.
  323. 2006-11-30 Gary Benson <gbenson@redhat.com>
  324. * java/lang/Thread.java: Merged javadoc.
  325. (getContextClassLoader): Use VMStackWalker.
  326. 2006-11-29 Gary Benson <gbenson@redhat.com>
  327. * java/lang/Package.java: Removed.
  328. * java/security/Security.java: Likewise.
  329. * java/util/ResourceBundle.java: Likewise.
  330. * java/util/natResourceBundle.cc: Likewise.
  331. * Makefile.am (nat_source_files): Removed natResourceBundle.cc.
  332. * sources.am, Makefile.in: Rebuilt.
  333. 2006-11-29 Gary Benson <gbenson@redhat.com>
  334. * gnu/classpath/VMStackWalker.java: Added javadoc.
  335. 2006-11-27 Andrew Haley <aph@redhat.com>
  336. * sun/reflect/misc/ReflectUtil.java (checkPackageAccess):
  337. Implement.
  338. 2006-11-23 Andrew Haley <aph@redhat.com>
  339. * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Abort if we
  340. are ABI-incompatible.
  341. 2006-11-23 Andrew Haley <aph@redhat.com>
  342. * Makefile.am (nat_source_files): Add gnu/classpath/natVMStackWalker.cc.
  343. * sources.am: Rebuild.
  344. * gnu/classpath/natVMStackWalker.cc: New file.
  345. * gnu/classpath/VMStackWalker.java: New file.
  346. * headers.txt: prepend
  347. _Jv_Thread_t* _Jv_ThreadGetData(java::lang::Thread* thread)
  348. * include/java-stack.h: Add VMStackWalker namespace.
  349. Add friend class gnu::classpath::VMStackWalker.
  350. 2006-11-23 Gary Benson <gbenson@redhat.com>
  351. * java/security/Security.java: Merge with classpath.
  352. * java/lang/Package.java: Likewise.
  353. 2006-11-21 Andrew Haley <aph@redhat.com>
  354. * java/lang/Class.h: (isEnum, isSynthetic, isAnnotation): Move
  355. to native code.
  356. * java/lang/Class.java (isEnum, isSynthetic, isAnnotation):
  357. Likewise.
  358. 2006-11-17 Andrew Haley <aph@redhat.com>
  359. * java/net/natVMURLConnection.cc: Check for HAVE_MAGIC_OPEN.
  360. * configure.ac: Add HAVE_MAGIC_OPEN.
  361. * include/config.h.in: Regenerated.
  362. * configure: Regenerated.
  363. 2006-11-07 Andrew Haley <aph@redhat.com>
  364. * java/lang/VMCompiler.java (compileClass): Revert mistaken
  365. change.
  366. * java/lang/natVMClassLoader.cc (defineClass): Register the new
  367. class with the initiating loader.
  368. 2006-11-06 Andrew Haley <aph@redhat.com>
  369. * defineclass.cc (prepare_pool_entry): Be careful about which
  370. constant pool entries have their '/' characters stripped.
  371. (handleGenericSignature): Likewise.
  372. (handleAnnotationElement): Likewise.
  373. (handleAnnotation): Likewise.
  374. (read_one_class_attribute): Likewise.
  375. (handleMethod): Likewise.
  376. * include/java-cpool.h (JV_CONSTANT_LazyFlag): New.
  377. * java/lang/natClass.cc (check_constant): Likewise.
  378. * link.cc (resolve_pool_entry): Mask JV_CONSTANT_LazyFlag.
  379. 2006-11-01 Andrew Haley <aph@redhat.com>
  380. * java/lang/natClass.cc (parseAnnotationElement): Set result from
  381. anno_class.
  382. 2006-10-21 Tom Tromey <tromey@redhat.com>
  383. * testsuite/libjava.lang/PR260.out: Rewrote for 1.5.
  384. * testsuite/libjava.lang/pr179.out: Rewrote for 1.5.
  385. * testsuite/libjava.lang/pr179.java: Updated comments.
  386. * testsuite/libjava.compile/inner_1.xfail: Removed.
  387. 2006-10-20 Tom Tromey <tromey@redhat.com>
  388. * testsuite/libjava.cni/cni.exp (gcj_cni_build_headers): Don't use
  389. jv-scan.
  390. * testsuite/lib/libjava.exp (test_libjava_from_javac): Removed.
  391. (find_jvscan): Removed.
  392. 2006-10-20 Tom Tromey <tromey@redhat.com>
  393. * testsuite/libjava.jni/jni.exp (gcj_jni_build_header): Use
  394. -force.
  395. * testsuite/lib/libjava.exp (find_gcjh): Find 'gjavah' instead.
  396. * testsuite/libjava.cni/cni.exp (gcj_cni_build_headers): Pass -cni
  397. and -force to gcjh.
  398. * Makefile.in: Rebuilt.
  399. * Makefile.am (MYGCJH): Use gjavah.
  400. 2006-10-18 Tom Tromey <tromey@redhat.com>
  401. PR classpath/28203:
  402. * java/lang/Class.java (getAnnotations): Rewrote.
  403. * java/lang/reflect/Method.java (METHOD_MODIFIERS): Now
  404. package-private.
  405. * java/lang/reflect/Field.java (FIELD_MODIFIERS): Now
  406. package-private.
  407. * gcj/field.h (_Jv_FIELD_CONSTANT_VALUE): Removed.
  408. * defineclass.cc (handleConstantValueAttribute): Added found_value
  409. argument. Don't use _Jv_FIELD_CONSTANT_VALUE.
  410. (read_one_field_attribute): Updated.
  411. (read_fields): Likewise.
  412. (handleField): Mask with FIELD_MODIFIERS, not ALL_FLAGS.
  413. (handleMethod): Mask with METHOD_MODIFIERS, not ALL_FLAGS.
  414. 2006-10-17 Tom Tromey <tromey@redhat.com>
  415. * defineclass.cc (handleMemberAnnotations): Write member index
  416. after 'kind'.
  417. (handleAnnotation): Call prepare_pool_entry.
  418. * java/lang/reflect/natMethod.cc (getDeclaredAnnotationsInternal):
  419. Removed unused variable.
  420. (getParameterAnnotationsInternal): Likewise.
  421. * java/lang/reflect/natField.cc (getDeclaredAnnotationsInternal):
  422. Removed unused variable.
  423. * java/lang/reflect/natConstructor.cc
  424. (getDeclaredAnnotationsInternal): Removed unused variable.
  425. (getParameterAnnotationsInternal): Likewise.
  426. * java/lang/natClass.cc (parseAnnotation): Create annotation.
  427. (parseAnnotationElement): Handle 'c' and 'e' cases more
  428. correctly.
  429. (getMethodDefaultValue): Fixed variable names.
  430. (parseAnnotationElement): Create String for 's' entry.
  431. * java/lang/reflect/Constructor.java (getAnnotation): New method.
  432. * java/lang/reflect/Field.java (getAnnotation): New method.
  433. * java/lang/reflect/Method.java (getAnnotation): New method.
  434. 2006-10-17 Tom Tromey <tromey@redhat.com>
  435. * java/lang/natClass.cc (parseAnnotationElement): Expect a utf8
  436. constant in the "string" case.
  437. * defineclass.cc (handleAnnotationElement): Expect a utf8 constant
  438. in the "string" case.
  439. 2006-10-17 Tom Tromey <tromey@redhat.com>
  440. * configure, Makefile.in: Rebuilt.
  441. * Makefile.am (install-exec-hook): Now unconditional. Rename ecjx
  442. if needed.
  443. (jar_DATA): Add ecj jar when needed.
  444. (toolexec_PROGRAMS): New variable.
  445. (ecjx_SOURCES, ecjx_LDFLAGS, ecjx_LDADD, ecjx_DEPENDENCIES):
  446. Likewise.
  447. * prims.cc (JvRunMainName): New function.
  448. * include/jvm.h (JvRunMainName): Declare.
  449. * configure.ac: Added --with-ecj-jar.
  450. (ECJ_JAR): New subst.
  451. (ECJ_BUILD_JAR): Likewise.
  452. (INSTALL_ECJ_JAR): New conditional.
  453. (BUILD_ECJ1): Likewise.
  454. 2006-10-13 Tom Tromey <tromey@redhat.com>
  455. * HACKING: Updated.
  456. * sources.am, Makefile.in: Rebuilt.
  457. * scripts/makemake.tcl (emit_bc_rule): Updated for class files in
  458. srcdir.
  459. (emit_package_rule): Likewise.
  460. (emit_process_package_rule): Likewise.
  461. * Makefile.am (gcjh.stamp): Conditional on MAINTAINER_MODE. Put
  462. headers in srcdir.
  463. (libgcj-$(gcc_version).jar): Updated to find classes in source
  464. tree.
  465. (BOOTCLASSPATH): Likewise.
  466. (install-data-local): Likewise.
  467. Added all the .class and CNI .h files.
  468. 2006-10-12 Andrew Haley <aph@redhat.com>
  469. * java/lang/natThreadLocal.cc: New file.
  470. * java/lang/ThreadLocal.java: Rewrite to use native TLS.
  471. * Makefile.am: Add java/lang/natThreadLocal.cc.
  472. * sources.am: Move classpath/java/lang/ThreadLocal.java to
  473. java/lang/ThreadLocal.java.
  474. 2006-10-11 Tom Tromey <tromey@redhat.com>
  475. * sources.am, Makefile.in, include/config.h.in, configure:
  476. Rebuilt.
  477. * Makefile.am (nat_source_files): Added natConfiguration.cc.
  478. * gnu/classpath/natConfiguration.cc: New file.
  479. * configure.ac (AWT_TOOLKIT): New define.
  480. (LIBGCJ_PREFIX): Likewise.
  481. * gnu/classpath/Configuration.java: New file.
  482. * sources.am: Rebuilt.
  483. * scripts/makemake.tcl: Don't special case Configuration.java.
  484. 2006-10-10 Tom Tromey <tromey@redhat.com>
  485. * gcj/javaprims.h: Updated.
  486. * sources.am, Makefile.in: Rebuilt.
  487. * standard.omit.in: Removed process source files.
  488. * scripts/makemake.tcl: Removed ConcreteProcess special case.
  489. (emit_package_rule): Also special-case Process.
  490. (emit_process_package_rule): New proc.
  491. * Makefile.am (inner_nat_headers): Removed
  492. PLATFORM_INNER_NAT_HDRS.
  493. * configure: Rebuilt.
  494. * configure.ac (PLATFORM_INNER_NAT_HDRS): Removed subst.
  495. Don't create ConcreteProcess.java link.
  496. (PLATFORM): New subst.
  497. * java/lang/natWin32Process.cc: Updated.
  498. * java/lang/natPosixProcess.cc: Updated.
  499. * java/lang/natEcosProcess.cc: Updated.
  500. * java/lang/Win32Process.java (Win32Process): Renamed from
  501. ConcreteProcess.
  502. * java/lang/EcosProcess.java (EcosProcess): Renamed from
  503. ConcreteProcess.
  504. * java/lang/PosixProcess.java (PosixProcess): Renamed from
  505. ConcreteProcess.
  506. * include/win32.h (_Jv_platform_process): New define.
  507. * java/lang/natRuntime.cc (execInternal): Use
  508. _Jv_platform_process.
  509. * include/posix.h (_Jv_platform_process): New define.
  510. 2006-10-09 Andrew Haley <aph@redhat.com>
  511. * win32-threads.cc (_Jv_ThreadUnpark, _Jv_ThreadPark): New
  512. functions.
  513. 2006-10-06 Tom Tromey <tromey@redhat.com>
  514. PR libgcj/29278:
  515. * Makefile.in: Rebuilt.
  516. * Makefile.am ($(generic_header_files)): Depend on gcjh.stamp.
  517. (gcjh.stamp): New target.
  518. 2006-10-06 Andrew Haley <aph@redhat.com>
  519. * posix-threads.cc (_Jv_ThreadUnpark, _Jv_ThreadPark): Moved here
  520. from sun/misc/natUnsafe.cc.
  521. * sun/misc/natUnsafe.cc (class spinlock): New class.
  522. (compareAndSwap): New methods.
  523. (compareAndSwapInt, compareAndSwapLong, compareAndSwapObject)
  524. (putOrderedLong, putLongVolatile, putObjectVolatile, putLong)
  525. (getIntVolatile, getObjectVolatile, getLong, getLongVolatile):
  526. Rewrite to use gcj's own atomic functions rather than gcc
  527. builtins.
  528. (unpark): Moved to posix-threads.cc
  529. (park): Likewise.
  530. * include/jvm.h (struct natThread::alive_flag): Moved here from
  531. Thread.java.
  532. (struct natThread): Likewise.
  533. * include/posix-threads.h: (_Jv_ThreadUnpark, _Jv_ThreadPark):
  534. moved here from sun/misc/natUnsafe.cc.
  535. * java/lang/natThread.cc (initialize_native): Set alive_flag here.
  536. (isAlive): Moved here from Thread.java.
  537. (interrupt): alive_flag is now in the natThread structure.
  538. (interrupt): Call _Jv_ThreadUnpark().
  539. (finish_): parkPermit and alive_flag are now in the natThread
  540. structure.
  541. (start): LIkewise.
  542. (_Jv_AttachCurrentThread): Likewise.
  543. * java/lang/Thread.java (alive_flag): Remove.
  544. (parkPermit): Likewise.
  545. (Thread): Don't set alive_flag.
  546. (isAlive): Make native.
  547. 2006-09-13 Andrew Haley <aph@redhat.com>
  548. * Makefile.am: Add sun/reflect/natReflection.cc.
  549. * Makefile.in: Rebuild.
  550. * sun/reflect/natReflection.cc: New file.
  551. * sun/reflect/Reflection.java (getCallerClass): Now native.
  552. * stacktrace.cc (GetClassContext): Don't check the class if
  553. checkClass is NULL.
  554. 2006-09-12 Andrew Haley <aph@redhat.com>
  555. * java/lang/Thread.java (alive_flag): Make it a byte.
  556. (THREAD_DEAD, THREAD_ALIVE, THREAD_SIGNALED): new constants.
  557. (parkPermit): New variable.
  558. (data): Now package private.
  559. (Thread): Set alive_flag to THREAD_DEAD, not false.
  560. (isAlive): Test against THREAD_DEAD.
  561. * java/lang/natThread.cc (initialize_native): Initialize
  562. park_mutex and park_cond.
  563. (finish_): Set parkPermit THREAD_PARK_DEAD.
  564. (interrupt): Rewrite. Use an atomic update rather than a mutex to
  565. access alive_flag.
  566. If the thread is parked, unpark it.
  567. (start): Set alive_flag to THREAD_ALIVE, not true.
  568. (finalize_native): Destroy park_mutex and park_cond.
  569. * sun/misc/natUnsafe.cc (unpark): New method.
  570. (park): New method.
  571. * include/jvm.h (struct natThread): Moved here.
  572. 2006-06-07 Andrew Haley <aph@redhat.com>
  573. * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
  574. (_Jv_Linker::uaddr): New.
  575. * link.cc (resolve_pool_entry): Call search_method_in_superclasses
  576. instead of an open-coded loop around search_method_in_class.
  577. (search_method_in_class): Add a new arg, check_perms.
  578. (search_method_in_superclasses): New.
  579. (link_symbol_table): Call maybe_adjust_signature() to extract the
  580. least significnt bit of the signature pointer. Do this three
  581. times, for instace method calls, static methods, and interfaces.
  582. Call search_method_in_superclasses() instead of
  583. _Jv_LookupDeclaredMethod.
  584. (typedef uaddr): Delete.
  585. 2006-09-11 Andrew Haley <aph@redhat.com>
  586. * gij.cc (main): Remove bogus code that sets LTDL_SHLIBPATH_VAR
  587. and forks.
  588. 2006-06-16 Andrew Haley <aph@redhat.com>
  589. * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
  590. copy the whole Class instance from the initializer: instead, copy
  591. everything but the first word (the vtable pointer).
  592. Change prototype to (const char* class_initializer).
  593. (_Jv_RegisterNewClasses): Change prototype to (const char**).
  594. * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
  595. (const char**).
  596. 2006-08-31 Tom Tromey <tromey@redhat.com>
  597. PR libgcj/28698:
  598. * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro. Declare primitive
  599. classes.
  600. 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
  601. * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
  602. to GC.
  603. (_Jv_DetachCurrentThread): Detach thread from GC.
  604. * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
  605. Declare.
  606. * boehm.cc (_Jv_GCAttachThread): New function.
  607. (_Jv_GCDetachThread): Likewise.
  608. 2006-08-16 Jakub Jelinek <jakub@redhat.com>
  609. Bryce McKinlay <bryce@mckinlay.net.nz>
  610. * configure, Makefile.in: Rebuilt.
  611. * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
  612. (libgcj_bc_la_SOURCES): New variable.
  613. (libgcj_bc_la_LDFLAGS): Likewise.
  614. (libgcj_bc_la_LIBADD): Likewise.
  615. (libgcj_bc_la_DEPENDENCIES): Likewise.
  616. (libgcj_bc_la_LINK): Likewise.
  617. (libgcj_bc_dummy_LINK): Likewise.
  618. (libgcj_bc.la): New target.
  619. (install-exec-hook): Likewise.
  620. * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
  621. * libgcj_bc.c: New file.
  622. * configure.ac (LIBGCJ_SPEC): New subst.
  623. * configure.host (use_libgcj_bc): New variable.
  624. 2006-08-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  625. * link.cc:
  626. Increment loaded classes when printing verbose output.
  627. * gnu/java/lang/management/natVMMemoryMXBeanImpl.cc:
  628. Added comments.
  629. * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc:
  630. (getMemoryManagerNames(jstring)): Implemented.
  631. (isValid(jstring)): Implemented.
  632. * gnu/java/lang/management/natVMClassLoadingMXBeanImpl.cc:
  633. (getLoadedClassCount()): Implemented.
  634. (getUnloadedClassCount()): Likewise.
  635. (isVerbose()): Likewise.
  636. (setVerbose(jboolean)): Likewise.
  637. * java/lang/management/natVMManagementFactory.cc:
  638. (getMemoryPoolNames()): Implemented.
  639. (getMemoryManagerNames()): Likewise.
  640. (getGarbageCollectorNames()): Likewise.
  641. * include/jvm.h:
  642. Add loaded and unloaded class counts.
  643. * defineclasses.c:
  644. Increment loaded classes count.
  645. * prims.cc:
  646. Add loaded and unloaded class counts.
  647. 2006-08-16 Tom Tromey <tromey@redhat.com>
  648. * include/posix-threads.h (_Jv_MutexLock): No longer inline.
  649. * posix-threads.cc (_Jv_CondWait): Set thread's state.
  650. * include/jvm.h (class JvSetThreadState): New class.
  651. (JvThreadState): New enum.
  652. * java/lang/Thread.java (state): New field.
  653. * java/lang/natThread.cc (_Jv_ThreadRun): Use
  654. getUncaughtExceptionHandler.
  655. (start): Set state.
  656. (_Jv_AttachCurrentThread): Likewise.
  657. (finish_): Likewise.
  658. (getState): Wrote.
  659. 2006-08-15 Tom Tromey <tromey@redhat.com>
  660. * gnu/gcj/runtime/natSharedLibLoader.cc (init): Added missing
  661. '::'.
  662. * gnu/gcj/convert/natIconv.cc (init): Added missing '::'.
  663. (read): Likewise.
  664. * gnu/gcj/natCore.cc (create): Added missing '::'.
  665. * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
  666. Added missing '::'
  667. 2006-08-14 Tom Tromey <tromey@redhat.com>
  668. * Makefile.in: Rebuilt.
  669. * Makefile.am (libgcj_la_LIBADD): Add LIBMAGIC.
  670. * java/net/natVMURLConnection.cc: Wrote, based on Classpath.
  671. * configure, config.h.in: Rebuilt.
  672. * configure.ac: Check for magic.h and -lmagic.
  673. 2006-08-14 Tom Tromey <tromey@redhat.com>
  674. * java/lang/natThread.cc (getId): Removed.
  675. * java/lang/Thread.java (threadId): New field.
  676. (totalThreadsCreated): Likewise.
  677. (Thread): Set threadId.
  678. (getId): No longer native.
  679. 2006-08-14 Tom Tromey <tromey@redhat.com>
  680. * sources.am, Makefile.in: Rebuilt.
  681. * Makefile.am (nat_source_files): Added new .cc files.
  682. (libgcj-$(gcc_version).jar): Include 'sun'.
  683. (src.zip): Likewise.
  684. * java/lang/natThread.cc (getId): New stub.
  685. (getState): Likewise.
  686. * scripts/makemake.tcl (emit_source_var): Use -decreasing when
  687. sorting.
  688. * gnu/java/lang/management/natVMMemoryMXBeanImpl.cc: New file.
  689. * gnu/java/lang/management/natVMCompilationMXBeanImpl.cc: New file.
  690. * gnu/java/lang/management/natVMGarbageCollectorMXBeanImpl.cc: New
  691. file.
  692. * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc: New file.
  693. * gnu/java/lang/management/natVMMemoryManagerMXBeanImpl.cc: New file.
  694. * gnu/java/lang/management/natVMClassLoadingMXBeanImpl.cc: New file.
  695. * gnu/java/lang/management/natVMThreadMXBeanImpl.cc: New file.
  696. * gnu/java/nio/natVMChannel.cc: New file.
  697. * gcj/javaprims.h: Updated.
  698. * sources.am: Likewise.
  699. * java/lang/management/natVMManagementFactory.cc: New file.
  700. * java/net/natVMURLConnection.cc: New file.
  701. * java/util/concurrent/atomic/natAtomicLong.cc: New file.
  702. * sun/misc/natUnsafe.cc: New file.
  703. 2006-08-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  704. * libjava/Makefile.in,
  705. * libjava/sources.am:
  706. Regenerated.
  707. * libjava/scripts/makemake.tcl:
  708. Added gconf and dnd peers as BC.
  709. 2006-08-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  710. * libjava/Makefile.in,
  711. * libjava/sources.am:
  712. Regenerated.
  713. * libjava/scripts/makemake.tcl:
  714. Added external/jsr166.
  715. 2006-08-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  716. * libjava/configure,
  717. * libjava/Makefile.in:
  718. Regenerated.
  719. * libjava/scripts/makemake.tcl:
  720. Handle the Escher peers as we handle Qt.
  721. * libjava/gcj/Makefile.in:
  722. Regenerated.
  723. * libjava/configure.ac:
  724. Handle Escher peers and disable plugin when Gtk+ is not used.
  725. * libjava/sources.am:
  726. Regenerated.
  727. * libjava/classpath/gnu/java/awt/peer/x/fonts.properties:
  728. Removed (as recently on generics branch of Classpath).
  729. * libjava/include/Makefile.in,
  730. * libjava/testsuite/Makefile.in:
  731. Regenerated.
  732. 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
  733. * libjava/Makefile.in:
  734. Regenerated.
  735. * libjava/scripts/classes.pl:
  736. Ignore .svn directories.
  737. * libjava/scripts/makemake.tcl:
  738. Include sun directory.
  739. * libjava/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
  740. * libjava/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
  741. * libjava/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
  742. * libjava/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
  743. * libjava/gnu/java/lang/management/VMThreadMXBeanImpl.java,
  744. * libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
  745. * libjava/gnu/java/lang/management/VMCompilationMXBeanImpl.java,
  746. * libjava/gnu/java/nio/VMChannel.java:
  747. Copied over from classpath/vm/reference.
  748. * libjava/gnu/java/nio/channels/FileChannelImpl.java:
  749. (getNativeFD()): Implemented.
  750. * libjava/gcj/javaprims.h:
  751. Updated for generics merge from 20060709.
  752. * libjava/javax/naming/spi/NamingManager.java:
  753. Copied over from classpath/vm/reference.
  754. * libjava/sources.am:
  755. Regenerated.
  756. * libjava/java/lang/Thread.java:
  757. (getId()): Implemented.
  758. (getState()): Likewise.
  759. (getAllStackTraces()): Likewise.
  760. (getStackTrace()): Likewise.
  761. * libjava/java/lang/management/VMManagementFactory.java,
  762. * libjava/java/net/VMURLConnection.java:
  763. Copied over from classpath/vm/reference.
  764. * libjava/classpath/vm/reference/java/lang/management/VMThreadInfo.java:
  765. Removed.
  766. * libjava/classpath/native/fdlibm/namespace.h:
  767. Changed back to GCJ LOCAL version.
  768. * libjava/sun/reflect/Reflection.java,
  769. * libjava/sun/reflect/misc/ReflectUtil.java,
  770. * libjava/sun/misc/Unsafe.java:
  771. Copied over from classpath/vm/reference.
  772. 2006-07-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  773. * sources.am, Makefile.in: Rebuilt.
  774. * gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
  775. * gnu/java/lang/management/natVMRuntimeMXBeanImpl.cc:
  776. New files.
  777. * include/jvm.h:
  778. Add new variables used in prims.cc.
  779. * Makefile.am:
  780. Add natVMRuntimeMXBeanImpl.cc.
  781. * prims.cc:
  782. (_Jv_CreateJavaVM): Retain start time and input
  783. arguments.
  784. 2006-07-21 Tom Tromey <tromey@redhat.com>
  785. PR libgcj/4105:
  786. * java/lang/natClass.cc (findInnerClassAttribute): New method.
  787. (findDeclaredClasses): Likewise.
  788. (getDeclaredClasses): Implemented.
  789. (getDeclaringClass): Likewise.
  790. (isAnonymousClass): Likewise.
  791. (isMemberClass): Likewise.
  792. (check_constant): Pass message in exception. Allow resolved
  793. constants.
  794. (resolve_class_constant): New function.
  795. * defineclass.cc (read_one_class_attribute): Handle InnerClasses.
  796. * java/lang/Class.h (isAnonymousClass, isLocalClass,
  797. isMemberClass): Declare.
  798. * java/lang/Class.java (getSimpleName): Implemented.
  799. (isAnonymousClass, isLocalClass, isMemberClass): New methods.
  800. 2006-07-16 Tom Tromey <tromey@redhat.com>
  801. * configure: Rebuilt.
  802. * configure.ac (JV_API_VERSION, JV_VERSION): Claim 1.5.
  803. 2006-07-12 Andrew Haley <aph@redhat.com>
  804. * Makefile.am (java/lang/Object.lo): Add -fsource-filename.
  805. (java/lang/Class.lo): Likewise.
  806. * Makefile.in: Regenerate.
  807. 2006-07-07 Tom Tromey <tromey@redhat.com>
  808. * defineclass.cc (input_data, input_offset): New fields.
  809. (reflection_data, data_stream): Likewise.
  810. (get_reflection_stream): New method.
  811. (_Jv_ClassReader): Initialize new fields.
  812. (parse): Call finish_reflection_data.
  813. (finish_reflection_data): New method.
  814. (handleEnclosingMethod): Likewise.
  815. (handleGenericSignature): Likewise.
  816. (handleAnnotationElement): Likewise.
  817. (handleAnnotation): Likewise.
  818. (handleAnnotations): Likewise.
  819. (handleMemberAnnotations): Likewise.
  820. (handleAnnotationDefault): Likewise.
  821. (handleParameterAnnotations): Likewise.
  822. (read_one_field_attribute): Handle new attributes.
  823. (read_one_method_attribute): Likewise.
  824. (read_one_class_attribute): Likewise.
  825. * include/jvm.h (resolve_method_entry): New method.
  826. * java/lang/Class.h (jv_attr_type, jv_attr_kind): New enums.
  827. (Class): Updated for new methods. Field, Method, Constructor now
  828. friends.
  829. (reflection_data): New field.
  830. * java/lang/Class.java (asSubclass, cast): New methods.
  831. (getEnclosingClass, getEnclosingConstructor): Now native.
  832. (getEnclosingMethod): Likewise.
  833. (getClassSignature): New method.
  834. (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
  835. Likewise.
  836. (Class): Implements AnnotatedElement.
  837. (getAnnotation, isAnnotationPresent, getAnnotations): New methods.
  838. (getDeclaredAnnotations): New method.
  839. (getDeclaredAnnotationsInternal): Likewise.
  840. * java/lang/reflect/natConstructor.cc (anno_a_t, anno_aa_t): New
  841. typedefs.
  842. (getSignature): New method.
  843. (getDeclaredAnnotationsInternal): Likewise.
  844. (getParameterAnnotationsInternal): Likewise.
  845. * java/lang/reflect/natField.cc (anno_a_t): New typedef.
  846. (getSignature): New method.
  847. (getDeclaredAnnotationsInternal): Likewise.
  848. * java/lang/reflect/natMethod.cc (anno_a_t, anno_aa_t): New
  849. typedefs.
  850. (getSignature): New method.
  851. (getDefaultValue): Likewise.
  852. (getDeclaredAnnotationsInternal): Likewise.
  853. (getParameterAnnotationsInternal): Likewise.
  854. * java/lang/reflect/Constructor.java (addTypeParameters):
  855. Genericized.
  856. (getSignature): Now native.
  857. (getDeclaredAnnotations, getDeclaredAnnotationsInternal,
  858. getParameterAnnotations, getParameterAnnotationsInternal): New
  859. methods.
  860. * java/lang/reflect/Field.java (getDeclaringClass, getType):
  861. Genericized.
  862. (getSignature): Now native.
  863. (getDeclaredAnnotations, getDeclaredAnnotationsInternal): New
  864. methods.
  865. * java/lang/reflect/Method.java (getReturnType): Genericized.
  866. (getParameterTypes, getExceptionTypes, getTypeParameters):
  867. Likewise.
  868. (getSignature): Now native.
  869. (getDefaultValue, getDeclaredAnnotations,
  870. getParameterAnnotations, getDeclaredAnnotationsInternal,
  871. getParameterAnnotationsInternal): New methods.
  872. * java/lang/natClass.cc (read_u1): New functions.
  873. (read_u2): Likewise.
  874. (read_4): New function.
  875. (getReflectionSignature): New methods.
  876. (getClassSignature): New method.
  877. (getEnclosingMethodData): Likewise.
  878. (getEnclosingClass): Likewise.
  879. (getEnclosingMethod): Likewise.
  880. (getEnclosingConstructor): Likewise.
  881. (check_constant): New function.
  882. (parseAnnotationElement): Likewise.
  883. (parseAnnotation): Likewise.
  884. (parseAnnotations): Likewise.
  885. (parseParameterAnnotations): Likewise.
  886. (getMethodDefaultValue): New method.
  887. (getDeclaredAnnotations): New methods.
  888. (getDeclaredAnnotationsInternal): New method.
  889. * boehm.cc (_Jv_MarkObj): Mark 'reflection_data' field.
  890. * link.cc (resolve_method_entry): New method.
  891. (resolve_pool_entry): Use it.
  892. 2006-07-07 Andrew Haley <aph@redhat.com>
  893. * Makefile.am: Use -fsource-filename when compiling libgcj.
  894. * Makefile.in: Regenerate.
  895. 2006-06-23 Tom Tromey <tromey@redhat.com>
  896. Merged in classpath-generics.
  897. * sources.am, Makefile.in: Rebuilt.
  898. * Makefile.am (generic_header_files): Don't filter out omitted
  899. headers.
  900. (generic_header_files): Rewrote.
  901. (MYGCJH): New variable.
  902. Removed all .h rules.
  903. * headers.txt: New file.
  904. * java/io/PrintStream.java (PrintStream): Implement Appendable.
  905. * java/lang/Class.java: Genericized.
  906. (getEnumConstants): New method.
  907. (isEnum): Likewise.
  908. (isSynthetic): Likewise.
  909. (isAnnotation): Likewise.
  910. * java/lang/reflect/Constructor.java (getDeclaringClass,
  911. getTypeParameters, declaringClass): Genericized.
  912. * java/lang/reflect/Method.java (invoke): Now varargs.
  913. * java/lang/ref/Reference.java (Reference): Imported genericized
  914. version from Classpath.
  915. (get): Now native.
  916. * java/lang/ref/natReference.cc (get): New method.
  917. * java/lang/ProcessBuilder.java: New file.
  918. * java/lang/System.java (environmentMap): New field.
  919. (clearProperty): New method.
  920. (getenv): Likewise.
  921. (EnvironmentCollection): New class.
  922. (EnvironmentMap): Likewise.
  923. (EnvironmentSet): Likewise.
  924. * java/lang/StringBuilder.java (StringBuilder): Implements
  925. Appendable.
  926. * gnu/classpath/SystemProperties.java (remove): New method.
  927. 2006-06-23 Tom Tromey <tromey@redhat.com>
  928. * testsuite/libjava.loader/TestLeak.java: Don't use wildcard
  929. import for java.lang.reflect.
  930. 2006-06-21 Tom Tromey <tromey@redhat.com>
  931. * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
  932. Set java.class.version to 49.
  933. 2006-06-21 Tom Tromey <tromey@redhat.com>
  934. * link.cc (resolve_pool_entry): Initialize field's declaring
  935. class, not its qualifying class.
  936. 2006-06-21 Tom Tromey <tromey@redhat.com>
  937. * testsuite/libjava.jacks/jacks.xfail: Updated for ecj.
  938. 2006-06-20 Tom Tromey <tromey@redhat.com>
  939. * testsuite/libjava.compile/Where.xfail: Now 'no-link'.
  940. 2006-06-19 Tom Tromey <tromey@redhat.com>
  941. * gnu/java/lang/natMainThread.cc (call_main): Link main class.
  942. 2006-06-19 Tom Tromey <tromey@redhat.com>
  943. * testsuite/lib/libjava.exp (test_libjava): Don't compile via
  944. bytecode. Run BC compilations from source.
  945. 2006-06-19 Tom Tromey <tromey@redhat.com>
  946. * testsuite/libjava.lang/TestProxy.java: Don't use wildcard
  947. imports for java.lang.reflect.
  948. 2006-06-13 Tom Tromey <tromey@redhat.com>
  949. * testsuite/libjava.lang/stringconst.xfail: Removed.
  950. * testsuite/libjava.lang/ArrayStore2.xfail: Removed.
  951. 2006-06-08 Tom Tromey <tromey@redhat.com>
  952. * sources.am, Makefile.in: Rebuilt.
  953. * Makefile.am (libgcj_la_LIBADD): Add Object.lo and Class.lo.
  954. (java/lang/Object.lo): New target.
  955. (java/lang/Class.lo): Likewise.
  956. * scripts/makemake.tcl (emit_package_rule): Add special case for
  957. Object and Class.
  958. 2006-06-06 Tom Tromey <tromey@redhat.com>
  959. * Makefile.in: Rebuilt.
  960. * Makefile.am (gcj_dbtool_DEPENDENCIES): Add gcj_dbtool.lo.
  961. 2006-06-06 Tom Tromey <tromey@redhat.com>
  962. * Makefile.in: Rebuilt.
  963. * Makefile.am (nat_headers): Don't list Main.h.
  964. (generic_header_files): Likewise.
  965. 2006-06-05 Tom Tromey <tromey@redhat.com>
  966. * testsuite/libjava.loader/TestLeak.java (MyLoader): Now static.
  967. * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Use -w.
  968. * testsuite/lib/libjava.exp (libjava_arguments): Add -w.
  969. * testsuite/libjava.compile/G19990210_2.java: Removed.
  970. * testsuite/libjava.compile/PR208.java: Removed.
  971. * testsuite/libjava.compile/PR208.xfail: Removed.
  972. * testsuite/libjava.compile/support/Case.java: Removed.
  973. * testsuite/libjava.compile/Case.java: Removed.
  974. 2006-06-04 Tom Tromey <tromey@redhat.com>
  975. * sources.am, Makefile.in: Rebuilt.
  976. * Makefile.am (gcj_dbtool_LDADD): Add
  977. gnu-gcj-tools-gcj_dbtool.lo.
  978. (gcj_dbtool_SOURCES): Updated.
  979. (EXTRA_libgcj_la_SOURCES): New macro.
  980. * scripts/makemake.tcl (emit_package_rule): Compile class files
  981. from the package.
  982. (gcj_dbtool/Main.java, Class.java, Object.java): Removed
  983. package_map settings.
  984. (emit_package_rule): Special case gnu.gcj.tools.gcj_dbtool.
  985. 2006-06-04 Tom Tromey <tromey@redhat.com>
  986. * java/lang/Class.java (getClassLoaderInternal): Now native.
  987. 2006-12-20 Adam Megacz <megacz@cs.berkeley.edu>
  988. * configure.ac: add $built_gcc_dir to $GCJH and $GCJ when
  989. crossbuilding.
  990. * configure: Regenerate.
  991. 2006-12-18 Adam Megacz <megacz@cs.berkeley.edu>
  992. * Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes
  993. -I/usr/include to wind up in cross-builds
  994. * configure: Regenerate.
  995. 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
  996. * configure: Regenerate.
  997. 2006-11-27 Mike Stump <mrs@apple.com>
  998. * sysdep/x86-64/locks.h: Enable use of either file on either
  999. target to support multilibs from one to the other.
  1000. * sysdep/i386/locks.h: Likewise.
  1001. 2006-11-21 Gary Benson <gbenson@redhat.com>
  1002. * java/security/Security.java: Merge with classpath.
  1003. * java/lang/Package.java: Likewise.
  1004. * java/lang/Class.java (getDeclaredAnnotations): New method.
  1005. 2006-11-20 David Daney <ddaney@avtrex.com>
  1006. * include/mips-signal.h (sys/syscall.h): Do not include.
  1007. (sig_ucontext_t): Removed.
  1008. (MAKE_THROW_FRAME): Changed to be a nop.
  1009. (_INIT_SIG_HANDLER): New macro.
  1010. (INIT_SEGV): Rewrote to use _INIT_SIG_HANDLER.
  1011. (INIT_FPE): Same.
  1012. 2006-11-20 David Daney <ddaney@avtrex.com>
  1013. * testsuite/libjava.lang/Throw_3.java: New Test.
  1014. * testsuite/libjava.lang/Throw_3.out: Its expected output.
  1015. 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
  1016. * configure: Regenerated.
  1017. 2006-11-03 Gary Benson <gbenson@redhat.com>
  1018. * java/net/InetAddress.java: Removed.
  1019. * java/net/natInetAddressNoNet.cc: Likewise.
  1020. * java/net/natInetAddressPosix.cc: Likewise.
  1021. * java/net/natInetAddressWin32.cc: Likewise.
  1022. * java/net/VMInetAddress.java (getLocalHostname,
  1023. lookupInaddrAny, getHostByAddr, getHostByName,
  1024. aton): Replace glue methods with native ones.
  1025. * java/net/natVMInetAddressNoNet.cc: New file.
  1026. * java/net/natVMInetAddressPosix.cc: Likewise.
  1027. * java/net/natVMInetAddressWin32.cc: Likewise.
  1028. * Makefile.am, configure.ac: Reflect the above.
  1029. * sources.am, Makefile.in, configure: Rebuilt.
  1030. * java/net/natVMNetworkInterfaceWin32.cc
  1031. (winsock2GetRealNetworkInterfaces): Create InetAddress
  1032. objects using InetAddress.getByAddress.
  1033. * gnu/java/net/natPlainSocketImplWin32.cc
  1034. (accept, getOption): Likewise.
  1035. * gnu/java/net/natPlainDatagramSocketImplWin32.cc
  1036. (peekData, receive, getOption): Likewise.
  1037. 2006-11-02 Keith Seitz <keiths@redhat.com>
  1038. * gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.
  1039. 2006-11-02 Keith Seitz <keiths@redhat.com>
  1040. * jvmti.cc (_Jv_JVMTI_GetLineNumberTable): New function.
  1041. (_Jv_JVMTI_Interface): Define GetLineNumberTable.
  1042. 2006-11-01 Keith Seitz <keiths@redhat.com>
  1043. * gnu/gcj/jvmti/Location.java: New file.
  1044. * gnu/gcj/jvmti/BreakpointManager.java: New file.
  1045. * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
  1046. (_Jv_JVMTI_ClearBreakpoint): New function.
  1047. (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
  1048. * sources.am: Regenerated.
  1049. * Makefile.in: Regenerated.
  1050. 2006-10-28 Keith Seitz <keiths@redhat.com>
  1051. * Makefile.am (nat_source_files): Add natBreakpoint.cc.
  1052. * sources.am: Regenerated.
  1053. * Makefile.in: Regenerated.
  1054. * gnu/gcj/jvmti/Breakpoint.java: New file.
  1055. * gnu/gcj/jvmti/natBreakpoint.java: New file.
  1056. 2006-10-27 Keith Seitz <keiths@redhat.com>
  1057. * include/java-stack.h (ncodeMap): Declare.
  1058. (_Jv_StackTrace): Make _Jv_GetMethodDeclaringClass friend.
  1059. * java/lang/Class.h (_Jv_GetMethodDeclaringClass): Declare.
  1060. * java/lang/natClass.cc (_Jv_GetMethodDeclaringClass): New
  1061. function.
  1062. * stacktrace.cc (ncodeMap): Redefine from file global to global
  1063. for class _Jv_StackTrace.
  1064. (_Jv_StackTrace::UpdateNCodeMap): Add interpreted classes, too,
  1065. so that _Jv_GetMethodDeclaringClass can find them all.
  1066. (_Jv_StackTrace::ClassForFrame): Exclude interpreted classes.
  1067. * jvmti.cc (_Jv_JVMTI_GetMethodDeclaringClass): New function.
  1068. (_Jv_JVMTI_Interface): Define GetMethodDeclaringClass function.
  1069. 2006-10-25 Andreas Tobler <a.tobler@schweiz.org>
  1070. * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace
  1071. formatting modifiers %p with %#llx and cast the arguments.
  1072. 2006-10-20 Tom Tromey <tromey@redhat.com>
  1073. * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
  1074. Correctly pass jvalues.
  1075. 2006-10-18 Tom Tromey <tromey@redhat.com>
  1076. Bryce McKinlay <mckinlay@redhat.com>
  1077. * testsuite/libjava.jni/register2.java: New file.
  1078. * testsuite/libjava.jni/register2.out: New file.
  1079. * testsuite/libjava.jni/register2.c: New file.
  1080. * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
  1081. * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
  1082. * jni.cc (struct NativeMethodCacheEntry): New struct.
  1083. (nathash): Changed type.
  1084. (hash): Updated.
  1085. (nathash_find_slot): Likewise.
  1086. (nathash_find): Likewise.
  1087. (natrehash): Likewise.
  1088. (nathash_add): Likewise.
  1089. (_Jv_JNI_RegisterNatives): Likewise.
  1090. (_Jv_LookupJNIMethod): Likewise.
  1091. Idea from Juerg Lehni <juerg@scratchdisk.com>
  1092. 2006-10-16 Geoffrey Keating <geoffk@apple.com>
  1093. * testsuite/libjava.jvmti/natevents.cc (env): Delete.
  1094. (ExceptionCB): Fix types for printf arguments.
  1095. (ExceptionCatchCB): Likewise.
  1096. (SingleStepCB): Likewise.
  1097. (BreakpointCB): Likewise.
  1098. (FieldAccessCB): Likewise.
  1099. (FieldModificationCB): Likewise.
  1100. (CompiledMethodLoadCB): Likewise.
  1101. 2006-10-14 Keith Seitz <keiths@redhat.com>
  1102. * include/java-insns.h (enum java_code): Add op_breakpoint.
  1103. * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
  1104. [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
  1105. [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
  1106. (install_break): Declare.
  1107. * interpret.cc (breakpoint_insn): Define breakpoint insn.
  1108. (compile): Add op_breakpoint to "can't happen" cases.
  1109. [INTERPRETER] Initialize breakpoint insn if necessary.
  1110. (install_break): New method.
  1111. * interpret-run.cc: Add op_breakpoint to insn_targets.
  1112. Add insn_breakpoint label.
  1113. * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
  1114. opcodes section of switch statement.
  1115. (verify_instructions_0): Likewise.
  1116. 2006-10-12 Keith Seitz <keiths@redhat.com>
  1117. * include/jvmti-int.h (JVMTI): Declare all members "extern".
  1118. * jvmti.cc (JVMTI): Define.
  1119. 2006-10-11 Tom Tromey <tromey@redhat.com>
  1120. * Makefile.in: Rebuilt.
  1121. * Makefile.am (install-data-local): Use mkinstalldirs.
  1122. 2006-10-10 Tom Tromey <tromey@redhat.com>
  1123. * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
  1124. Removed obsolete comment.
  1125. 2006-10-10 Keith Seitz <keiths@redhat.com>
  1126. * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
  1127. (_Jv_InterpMethod::set_insn): Declare.
  1128. * interpret.cc (_Jv_InterpMethod::get_insn): New method.
  1129. (_Jv_InterpMethod::get_insn): New method.
  1130. 2006-10-10 Tom Tromey <tromey@redhat.com>
  1131. * prims.cc (_Jv_PrependVersionedLibdir): Use
  1132. _Jv_platform_path_separator.
  1133. 2006-10-10 Tom Tromey <tromey@redhat.com>
  1134. PR libgcj/29205:
  1135. * Makefile.in: Rebuilt.
  1136. * Makefile.am (install-data-local): Install the .pc file.
  1137. (pkgconfig_DATA): Removed.
  1138. 2006-10-03 Gary Benson <gbenson@redhat.com>
  1139. * java/net/InetAddress.java
  1140. (<clinit>): Reorder the static initializers.
  1141. 2006-10-02 Gary Benson <gbenson@redhat.com>
  1142. * java/net/InetAddress.java
  1143. (checkConnect): Reinstated.
  1144. (loopbackAddress): Ensure initialized from non-null object.
  1145. 2006-09-30 Keith Seitz <keiths@redhat.com>
  1146. * include/java-interp.h (prepared): Change type to pc_t.
  1147. (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
  1148. * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
  1149. (insn_index): Implement for bytecode interpreter.
  1150. * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
  1151. qualifier to resolve_pool_entry.
  1152. [!DIRECT_THREADED] (AVAL2U): Likewise.
  1153. [!DIRECT_THREADED] bytecode() cannot be called without an object.
  1154. Changed all typos.
  1155. [!DIRECT_THREADED] Likewise for defining_class.
  1156. 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
  1157. PR target/26792:
  1158. * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
  1159. if HAVE_GETIPINFO not defined.
  1160. * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
  1161. (_Jv_StackTrace::getLineNumberForFrame): Likewise.
  1162. * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
  1163. * aclocal.m4, configure, include/config.h.in, Makefile.in:
  1164. Rebuilt.
  1165. 2006-09-27 Tom Tromey <tromey@redhat.com>
  1166. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
  1167. * java/util/Locale.java (hashcode): No longer transient.
  1168. (writeObject): Use ObjectOutputStream.PutField and
  1169. defaultWriteObject.
  1170. (readObject): Use defaultReadObject.
  1171. 2006-09-25 Keith Seitz <keiths@redhat.com>
  1172. * gnu/classpath/jdwp/VMVirtualMachine.java
  1173. (_jdwp_suspend_counts): New private variable.
  1174. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1175. (initialize): Initialize _jdwp_suspend_counts.
  1176. (suspendThread): Implement.
  1177. (resumeThread): Implement.
  1178. (getSuspendCount): Implement.
  1179. 2006-09-22 Marco Trudel <mtrudel@gmx.ch>
  1180. * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static. Marked JNICALL.
  1181. 2006-09-21 Keith Seitz <keiths@redhat.com>
  1182. * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
  1183. events.
  1184. (check_enabled_event): New function.
  1185. (check_enabled_events): New function.
  1186. (post_event): New function.
  1187. (_Jv_JVMTI_SetEventNotificationMode): New function.
  1188. (_Jv_JVMTI_SetEventCallbacks): New function.
  1189. (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
  1190. SetEventCallbacks members.
  1191. * include/jvmti-int.h: New file.
  1192. * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
  1193. (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
  1194. * testsuite/libjava.jvmti/events.java: New file.
  1195. * testsuite/libjava.jvmti/events.out: New file.
  1196. * testsuite/libjava.jvmti/natevents.cc: New file.
  1197. 2006-09-21 Sandro Tolaini <tolaini@libero.it>
  1198. * configure.ac: Don't use darwin-signal.h as signal handler for
  1199. Darwin/i386.
  1200. * configure.host: Enable Darwin/i386 as a supported host, with no
  1201. signal unwinding.
  1202. 2006-09-20 Keith Seitz <keiths@redhat.com>
  1203. * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
  1204. and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
  1205. (_Jv_JVMTI_GetClassMethods): Likewise.
  1206. (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
  1207. (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
  1208. (_Jv_JVMTI_GetSystemProperty): Likewise.
  1209. 2006-09-20 Keith Seitz <keiths@redhat.com>
  1210. * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
  1211. (_Jv_JVMTI_Interface): Define GetErrorName member.
  1212. * testsuite/libjava.jvmti/geterrorname.java: New file.
  1213. * testsuite/libjava.jvmti/geterrorname.out: New file.
  1214. * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
  1215. 2006-09-20 Gary Benson <gbenson@redhat.com>
  1216. * java/net/InetAddress.java: Mostly merged with Classpath.
  1217. * java/net/VMInetAddress.java: New file.
  1218. * sources.am, Makefile.in: Rebuilt.
  1219. * java/net/natVMNetworkInterfacePosix.cc
  1220. (getInterfaces): Create InetAddress objects using
  1221. InetAddress.getByAddress.
  1222. * gnu/java/net/natPlainSocketImplPosix.cc
  1223. (accept, getOption): Likewise.
  1224. * gnu/java/net/natPlainDatagramSocketImplPosix.cc
  1225. (peekData, receive, getLocalAddress): Likewise.
  1226. 2006-09-19 Keith Seitz <keiths@redhat.com>
  1227. * testsuite/libjava.jvmti/jvmti.exp: New file.
  1228. 2006-09-19 Keith Seitz <keiths@redhat.com>
  1229. * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
  1230. (THREAD_CHECK_VALID): Likewise.
  1231. (THREAD_CHECK_ALIVE): Likewise.
  1232. (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
  1233. jthread.
  1234. (_Jv_JVMTI_ResumeThread): Likewise.
  1235. (_Jv_JVMTI_InterruptThread): Likewise.
  1236. (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
  1237. that was just freed.
  1238. 2006-09-19 Mark Wielaard <mark@klomp.org>
  1239. Fixes bug #29137
  1240. * java/util/logging/LogManager.java (addLogger): Always check for
  1241. existing children of a new Logger.
  1242. 2006-09-19 Tom Tromey <tromey@redhat.com>
  1243. * java/util/logging/LogManager.java: Re-merged with Classpath.
  1244. 2006-09-18 Tom Tromey <tromey@redhat.com>
  1245. * configure: Rebuilt.
  1246. 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
  1247. * configure.host: Handle kfreebsd.
  1248. 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
  1249. * configure: Rebuilt.
  1250. * shlibpath.m4: Handle GNU/kFreeBSD.
  1251. 2006-09-14 Tom Tromey <tromey@redhat.com>
  1252. PR boehm-gc/29068:
  1253. * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
  1254. (_Jv_GCDetachThread): Likewise.
  1255. 2006-09-14 Andreas Schwab <schwab@suse.de>
  1256. * posix-threads.cc: Include "posix.h".
  1257. 2006-09-13 Geoffrey Keating <geoffk@apple.com>
  1258. * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
  1259. microseconds; use gettimeofday when available.
  1260. * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
  1261. timeout calculation.
  1262. * testsuite/libjava.lang/Thread_Sleep_2.java: New.
  1263. * testsuite/libjava.lang/Thread_Sleep_2.out: New.
  1264. * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
  1265. 2006-09-12 Tom Tromey <tromey@redhat.com>
  1266. PR java/29013:
  1267. * testsuite/libjava.lang/PR29013.out: Likewise.
  1268. * testsuite/libjava.lang/PR29013.java: New file.
  1269. 2006-09-12 Tom Tromey <tromey@redhat.com>
  1270. * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
  1271. 2006-09-07 Matthias Klose <doko@debian.org>
  1272. * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
  1273. * Makefile.in: Regenerate.
  1274. 2006-09-06 Keith Seitz <keiths@redhat.com>
  1275. * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
  1276. to _Jv_MethodBase instead of _Jv_InterpMethod.
  1277. * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
  1278. Do not check access flags.
  1279. Fix some minor style anomalies.
  1280. 2006-09-01 Geoffrey Keating <geoffk@apple.com>
  1281. * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
  1282. Pass -lgcj to linker for C++ files on Darwin.
  1283. 2006-09-01 Keith Seitz <keiths@redhat.com>
  1284. * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
  1285. (THREAD_CHECK_VALID): Likewise.
  1286. (THREAD_CHECK_IS_ALIVE): Likewise.
  1287. (NULL_CHECK): Likewise.
  1288. (ILLEGAL_ARGUMENT): Likewise.
  1289. 2006-09-01 Keith Seitz <keiths@redhat.com>
  1290. * include/jvm.h (_Jv_JVMTI_Init): Declare.
  1291. * jvmti.cc (_Jv_JVMTI_Init): New function.
  1292. * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
  1293. * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
  1294. (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
  1295. * jvmti.cc (_jvmtiEnvironments): New linked list of
  1296. JVMTI environments.
  1297. (FOREACH_ENVIRONMENT): New macro.
  1298. (_envListLock): New object to act as synchronization lock
  1299. for _jvmtiEnvironments.
  1300. (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
  1301. Remove the environment from the list of known environments.
  1302. (_Jv_GetJVMTIEnv): Add the new environment to the list
  1303. of known environments.
  1304. 2006-09-01 Gary Benson <gbenson@redhat.com>
  1305. * java/net/InetAddress.java (getLocalHost): Refactor to avoid
  1306. security check if getLocalHostname() fails and to provide more
  1307. meaningful exceptions it the security check fails.
  1308. 2006-09-01 Gary Benson <gbenson@redhat.com>
  1309. * java/net/InetAddress.java (getByAddress): Create Inet4Address
  1310. objects when passed IPv4-mapped IPv6 addresses.
  1311. (getByName, getAllByName): Defer to the above to ensure that the
  1312. correct Inet*Address objects are returned.
  1313. 2006-09-01 Gary Benson <gbenson@redhat.com>
  1314. * java/net/InetAddress.java (getByName, getAllByName):
  1315. Only perform security check when DNS lookups are required.
  1316. 2006-08-31 Keith Seitz <keiths@redhat.com>
  1317. * include/jvmti_md.h: New file.
  1318. * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
  1319. Pass millis to _Jv_CondWait.
  1320. 2006-08-31 Tom Tromey <tromey@redhat.com>
  1321. PR libgcj/28698:
  1322. * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro. Declare primitive
  1323. classes.
  1324. 2006-08-24 Keith Seitz <keiths@redhat.com>
  1325. * prims.cc (remoteDebug): New global.
  1326. (jdwpOptions): New global.
  1327. (parse_x_arg): Add processing for "X" options "debug" and
  1328. "runjdwp:"
  1329. (_Jv_RunMain): If debugging, start up JDWP backend.
  1330. Send VM_INIT and VM_DEATH when appropriate.
  1331. 2006-08-23 Keith Seitz <keiths@redhat.com>
  1332. * gnu/classpath/jdwp/VMVirtualMachine.java
  1333. (initialize): Declare.
  1334. * gnu/classpath/jdwp/natVMVirtualMachine.cc
  1335. (initialize): Get and save JVMTI environment.
  1336. 2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  1337. PR libgcj/27890
  1338. * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
  1339. Set gnu.classpath.home.url to TOOLEXECLIBDIR.
  1340. * configure.ac: Do not add --with-native-libdir to
  1341. ac_configure_args.
  1342. * java/security/libgcj.security: Remove file.
  1343. * java/util/logging/logging.properties: Likewise.
  1344. * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
  1345. * classpath/resource/Makefile.am (loggingdir): Define to
  1346. toolexeclibdir.
  1347. (securitydir): Likewise.
  1348. * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
  1349. Set default nativeexeclibdir using toolexeclibdir.
  1350. * HACKING: Fix classpath aclocal arguments.
  1351. * Makefile.am (secdir): Remove variable.
  1352. (propdir): Likewise.
  1353. (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
  1354. definition.
  1355. (all_property_files): Remove variable.
  1356. (install-data-local): Do not install libgcj.security or
  1357. logging.properties.
  1358. * configure, Makefile.in, classpath/configure,
  1359. classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
  1360. classpath/native/jni/midi-alsa/Makefile.in,
  1361. classpath/native/jni/classpath/Makefile.in,
  1362. classpath/native/jni/midi-dssi/Makefile.in,
  1363. classpath/native/jni/Makefile.in,
  1364. classpath/native/jni/java-nio/Makefile.in,
  1365. classpath/native/jni/java-net/Makefile.in,
  1366. classpath/native/jni/gconf-peer/Makefile.in,
  1367. classpath/native/jni/java-io/Makefile.in,
  1368. classpath/native/jni/xmlj/Makefile.in,
  1369. classpath/native/jni/java-util/Makefile.in,
  1370. classpath/native/jni/qt-peer/Makefile.in,
  1371. classpath/native/jni/gtk-peer/Makefile.in,
  1372. classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
  1373. classpath/native/target/Linux/Makefile.in,
  1374. classpath/native/target/Makefile.in,
  1375. classpath/native/target/generic/Makefile.in,
  1376. classpath/native/fdlibm/Makefile.in,
  1377. classpath/native/plugin/Makefile.in,
  1378. classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
  1379. classpath/tools/Makefile.in, classpath/doc/Makefile.in,
  1380. classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
  1381. classpath/external/Makefile.in,
  1382. classpath/external/sax/Makefile.in,
  1383. classpath/external/w3c_dom/Makefile.in,
  1384. classpath/external/relaxngDatatype/Makefile.in,
  1385. classpath/include/Makefile.in, classpath/aclocal.m4,
  1386. classpath/examples/Makefile.in, aclocal.m4: Regenerate.
  1387. 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
  1388. * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
  1389. to GC.
  1390. (_Jv_DetachCurrentThread): Detach thread from GC.
  1391. * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
  1392. Declare.
  1393. * boehm.cc (_Jv_GCAttachThread): New function.
  1394. (_Jv_GCDetachThread): Likewise.
  1395. 2006-08-19 Ranjit Mathew <rmathew@gcc.gnu.org>
  1396. * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
  1397. as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
  1398. function prologue.
  1399. 2006-08-17 H.J. Lu <hongjiu.lu@intel.com>
  1400. * Makefile.am (install-exec-hook): Support $(DESTDIR).
  1401. * Makefile.in: Regenerated.
  1402. 2006-08-16 Tom Tromey <tromey@redhat.com>
  1403. * libtool-version: Updated.
  1404. 2006-08-16 Jakub Jelinek <jakub@redhat.com>
  1405. Bryce McKinlay <bryce@mckinlay.net.nz>
  1406. * configure, Makefile.in: Rebuilt.
  1407. * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
  1408. (libgcj_bc_la_SOURCES): New variable.
  1409. (libgcj_bc_la_LDFLAGS): Likewise.
  1410. (libgcj_bc_la_LIBADD): Likewise.
  1411. (libgcj_bc_la_DEPENDENCIES): Likewise.
  1412. (libgcj_bc_la_LINK): Likewise.
  1413. (libgcj_bc_dummy_LINK): Likewise.
  1414. (libgcj_bc.la): New target.
  1415. (install-exec-hook): Likewise.
  1416. * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
  1417. * libgcj_bc.c: New file.
  1418. * configure.ac (LIBGCJ_SPEC): New subst.
  1419. * configure.host (use_libgcj_bc): New variable.
  1420. 2006-08-15 Kyle Galloway <kgallowa@redhat.com>
  1421. * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
  1422. * interpret.cc: Added placeholder for debug variable type info to STORE*
  1423. macros.
  1424. (_Jv_InterpMethod::run_debug): New method.
  1425. (_Jv_InterpMethod::run_sync_object_debug): New method.
  1426. (_Jv_InterpMethod::run_sync_class_debug): New method.
  1427. (_Jv_InterpMethod::run_normal_debug): New method.
  1428. (_Jv_InterpMethod::run_class_debug): New method.
  1429. (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
  1430. versions of these functions.
  1431. * interpret-run.cc: New file, holds contents of old
  1432. _Jv_InterpMethod::run method.
  1433. * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
  1434. appropriate function for debug or normal mode.
  1435. 2006-08-14 Mark Wielaard <mark@klomp.org>
  1436. Imported GNU Classpath 0.92
  1437. * HACKING: Add more importing hints. Update automake version
  1438. requirement.
  1439. * configure.ac (gconf-peer): New enable AC argument.
  1440. Add --disable-gconf-peer and --enable-default-preferences-peer
  1441. to classpath configure when gconf is disabled.
  1442. * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
  1443. gnu/java/awt/dnd/peer/gtk to bc. Classify
  1444. gnu/java/security/Configuration.java as generated source file.
  1445. * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
  1446. gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
  1447. gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
  1448. gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
  1449. gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
  1450. gnu/java/lang/management/VMThreadMXBeanImpl.java,
  1451. gnu/java/lang/management/VMMemoryMXBeanImpl.java,
  1452. gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
  1453. classes.
  1454. * java/lang/management/VMManagementFactory.java: Likewise.
  1455. * java/net/VMURLConnection.java: Likewise.
  1456. * gnu/java/nio/VMChannel.java: Likewise.
  1457. * java/lang/Thread.java (getState): Add stub implementation.
  1458. * java/lang/Class.java (isEnum): Likewise.
  1459. * java/lang/Class.h (isEnum): Likewise.
  1460. * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
  1461. * javax/naming/spi/NamingManager.java: New override for StackWalker
  1462. functionality.
  1463. * configure, sources.am, Makefile.in, gcj/Makefile.in,
  1464. include/Makefile.in, testsuite/Makefile.in: Regenerated.
  1465. 2006-08-14 Gary Benson <gbenson@redhat.com>
  1466. * java/lang/Thread.java (accessControlState): New field.
  1467. * java/security/VMAccessControlState.java: New file.
  1468. * java/security/natVMAccessControlState.cc: Likewise.
  1469. * java/security/VMAccessController.java
  1470. (contexts, inGetContext): Removed.
  1471. (pushContext, popContext, getContext): Use VMAccessControlState.
  1472. * Makefile.am (nat_source_files): Updated.
  1473. * sources.am, Makefile.in: Rebuilt.
  1474. 2006-08-10 Gary Benson <gbenson@redhat.com>
  1475. * include/java-stack.h (GetAccessControlStack): Change return
  1476. type.
  1477. * stacktrace.cc (accesscontrol_trace_fn): Record the number of
  1478. Java frames encountered.
  1479. (GetAccessControlStack): Return a flag indicating whether a call to
  1480. doPrivileged was encountered rather than an array of method names.
  1481. * java/security/natVMAccessController.cc (getStack): Change return
  1482. type.
  1483. * java/security/VMAccessController.java (getStack): Likewise.
  1484. (getContext): Change to reflect the above.
  1485. 2006-08-09 Gary Benson <gbenson@redhat.com>
  1486. * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
  1487. 2006-08-09 Gary Benson <gbenson@redhat.com>
  1488. * java/lang/System.java (setSecurityManager): Javadoc fix.
  1489. * java/security/VMAccessController.java (getContext): Comment fix.
  1490. 2006-08-09 Gary Benson <gbenson@redhat.com>
  1491. * include/java-stack.h (accesscontrol_trace_fn): Declare.
  1492. (GetAccessControlStack): Likewise.
  1493. (GetClassMethodStack): Remove.
  1494. * stacktrace.cc (accesscontrol_trace_fn): New method.
  1495. (GetAccessControlStack): Likewise.
  1496. (GetClassMethodStack): Remove.
  1497. * java/security/natVMAccessController.cc (getStack): Use
  1498. GetAccessControlStack.
  1499. 2006-08-07 Gary Benson <gbenson@redhat.com>
  1500. PR libgcj/28340:
  1501. * java/lang/ClassLoader.java (clinit): Install a default
  1502. security manager if java.security.manager is defined.
  1503. (getParent, getSystemClassLoader): Use the correct stack
  1504. frame during security checks.
  1505. * java/net/URLClassLoader.java (findClass): Avoid calling
  1506. this.toString() during VM initialization.
  1507. (runtimeInitialized): New method.
  1508. * java/net/natURLClassLoader.cc: New file.
  1509. * Makefile.am (nat_source_files): Added the above.
  1510. * Makefile.in: Rebuilt.
  1511. 2006-08-07 Gary Benson <gbenson@redhat.com>
  1512. Casey Marshall <csm@gnu.org>
  1513. * java/lang/SecurityManager.java (getSecurityContext,
  1514. checkPermission, checkAccess, checkRead, checkConnect,
  1515. checkPackageAccess, checkPackageDefinition, checkPackageList):
  1516. Merge with Classpath.
  1517. (SecurityContext): Remove.
  1518. 2006-08-07 Gary Benson <gbenson@redhat.com>
  1519. * java/security/VMAccessController.java (pushContext, popContext,
  1520. getContext): Use Thread.currentThread() to determine when we're
  1521. bootstrapping.
  1522. (runtimeInitialized): Remove.
  1523. * java/security/natVMAccessController.cc (runtimeInitialized):
  1524. Remove.
  1525. 2006-08-06 Tom Tromey <tromey@redhat.com>
  1526. PR libgcj/28491:
  1527. * configure, include/config.h.in: Rebuilt.
  1528. * configure.ac: Look for ifaddrs.h, getifaddrs.
  1529. * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
  1530. getifaddrs if available.
  1531. 2006-08-06 Tom Tromey <tromey@redhat.com>
  1532. PR libgcj/28576:
  1533. * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
  1534. Implemented.
  1535. (disconnect): Likewise.
  1536. (send): Handle already-connected case.
  1537. 2006-08-04 Mark Wielaard <mark@klomp.org>
  1538. * jvmti.cc: Include gcj/method.h.
  1539. 2006-08-04 Tom Tromey <tromey@redhat.com>
  1540. * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
  1541. (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
  1542. result to _Jv_uintptr_t.
  1543. 2006-08-01 Keith Seitz <keiths@redhat.com>
  1544. * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
  1545. * gnu/classpath/jdwp/VMIdManager.java: Likewise.
  1546. * gnu/classpath/jdwp/VMMethod.java: Likewise.
  1547. * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
  1548. * gnu/classpath/jdwp/natVMFrame.java: New file.
  1549. * gnu/classpath/jdwp/natVMMethod.java: New file.
  1550. * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
  1551. * Makefile.am (nat_source_files): Add new filles.
  1552. * Makefile.in: Regenerated.
  1553. 2006-08-03 Tom Tromey <tromey@redhat.com>
  1554. * jvmti.cc (REQUIRE_PHASE): New macro.
  1555. (_Jv_JVMTI_InterruptThread): New function.
  1556. (_Jv_JVMTI_CreateRawMonitor): Likewise.
  1557. (_Jv_JVMTI_DestroyRawMonitor): Likewise.
  1558. (_Jv_JVMTI_RawMonitorEnter): Likewise.
  1559. (_Jv_JVMTI_RawMonitorExit): Likewise.
  1560. (_Jv_JVMTI_RawMonitorWait): Likewise.
  1561. (_Jv_JVMTI_RawMonitorNotify): Likewise.
  1562. (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
  1563. (_Jv_JVMTI_Allocate): Likewise.
  1564. (_Jv_JVMTI_Deallocate): Likewise.
  1565. (_Jv_JVMTI_GetClassModifiers): Likewise.
  1566. (_Jv_JVMTI_GetClassMethods): Likewise.
  1567. (_Jv_JVMTI_IsInterface): Likewise.
  1568. (_Jv_JVMTI_IsArrayClass): Likewise.
  1569. (_Jv_JVMTI_GetClassLoader): Likewise.
  1570. (_Jv_JVMTI_GetObjectHashCode): Likewise.
  1571. (_Jv_JVMTI_GetFieldModifiers): Likewise.
  1572. (_Jv_JVMTI_IsFieldSynthetic): Likewise.
  1573. (_Jv_JVMTI_GetMethodModifiers): Likewise.
  1574. (_Jv_JVMTI_IsMethodNative): Likewise.
  1575. (_Jv_JVMTI_IsMethodSynthetic): Likewise.
  1576. (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
  1577. (_Jv_JVMTI_ForceGarbageCollection): Likewise.
  1578. (_Jv_JVMTI_GetSystemProperty): Likewise.
  1579. (_Jv_JVMTI_SetSystemProperty): Likewise.
  1580. (_Jv_JVMTI_GetTime): Likewise.
  1581. (_Jv_JVMTI_GetAvailableProcessors): Likewise.
  1582. (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
  1583. (_Jv_JVMTI_SetVerboseFlag): Likewise.
  1584. (_Jv_JVMTI_GetObjectSize): Likewise.
  1585. (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
  1586. (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
  1587. (_Jv_JVMTI_Interface): Updated.
  1588. (NULL_CHECK): New macro.
  1589. 2006-08-02 Andreas Tobler <a.tobler@schweiz.ch>
  1590. PR libgcj/28546
  1591. * include/no-threads.h: Declare _Jv_Thread_t as empty class.
  1592. 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch>
  1593. * gnu/classpath/natSystemProperties.cc: Add additional check for
  1594. getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
  1595. (SystemProperties::insertSystemProperties): Likewise.
  1596. * java/io/natFilePosix.cc (File::performList): Add
  1597. additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
  1598. * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
  1599. additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
  1600. 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  1601. PR libgcj/28312
  1602. * classpath/native/jni/midi-alsa/Makefile.am
  1603. (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
  1604. * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
  1605. * classpath/native/jni/midi-dssi/Makefile.am
  1606. (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
  1607. * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
  1608. * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
  1609. sections.
  1610. (libqtpeer_la_LDFLAGS): Add -avoid-version.
  1611. * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
  1612. * classpath/native/jni/gtk-peer/Makefile.am
  1613. (libgtkpeer_la_LDFLAGS): Add -avoid-version.
  1614. * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
  1615. * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
  1616. -avoid-version.
  1617. * classpath/native/jawt/Makefile.in: Regenerate.
  1618. * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
  1619. * Makefile.in: Regenerate.
  1620. 2006-07-28 Andrew Haley <aph@redhat.com>
  1621. * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
  1622. curLoader to VMClassLoader::bootLoader.
  1623. 2006-07-28 Gary Benson <gbenson@redhat.com>
  1624. Casey Marshall <csm@gnu.org>
  1625. PR libgcj/13604:
  1626. * include/java-stack.h (GetClassMethodStack): Declare.
  1627. * stacktrace.cc (GetClassMethodStack): New method.
  1628. * java/security/AccessController.java: Removed.
  1629. * java/security/VMAccessController.java: New file.
  1630. * java/security/natVMAccessController.cc: Likewise.
  1631. * Makefile.am (nat_source_files): Added the above.
  1632. * sources.am, Makefile.in: Rebuilt.
  1633. 2006-07-28 Gary Benson <gbenson@redhat.com>
  1634. * java/lang/SecurityManager.java (currentClassLoader,
  1635. currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
  1636. checkWrite, checkTopLevelWindow, checkPrintJobAccess,
  1637. checkSystemClipboardAccess, checkAwtEventQueueAccess,
  1638. checkPackageList): Remerged javadoc.
  1639. 2006-07-28 Gary Benson <gbenson@redhat.com>
  1640. * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
  1641. from the start to the end of the function. Remove references
  1642. to VMThrowable.trace_enabled.
  1643. * java/lang/natVMThrowable.cc (fillInStackTrace): Use
  1644. runtimeInitialized rather than trace_enabled to decide
  1645. whether to inhibit stack trace generation.
  1646. * java/lang/VMThrowable.java (trace_enabled): Removed.
  1647. 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
  1648. * include/win32-threads.h (_Jv_Thread_t): Explicitly
  1649. name the struct.
  1650. 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
  1651. * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
  1652. attribute.
  1653. (_Jv_JVMTI_ResumeThread): Likewise.
  1654. (_Jv_JVMTI_DisposeEnvironment): Likewise.
  1655. 2006-07-21 Mohan Embar <gnustuff@thisiscool.com>
  1656. * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
  1657. SockAddr before using - needed for OS X/PPC.
  1658. 2006-07-21 Keith Seitz <keiths@redhat.com>
  1659. * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
  1660. just the contents.
  1661. (_Jv_ResumeThread): Likewise.
  1662. * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
  1663. _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
  1664. to JVMTI instead.
  1665. * include/posix-threads.h: Likewise.
  1666. * win32-threads.cc: Likewise.
  1667. * include/win32-threads.h: Likewise.
  1668. * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
  1669. (_Jv_JVMTI_ResumeThread): New function.
  1670. (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
  1671. 2006-07-21 David Daney <ddaney@avtrex.com>
  1672. PR libgcj/28426
  1673. * configure: Regenerated.
  1674. 2006-07-21 Mark Wielaard <mark@klomp.org>
  1675. * java/io/OutputStreamWriter.java (flush): Create work if null.
  1676. 2006-07-21 Keith Seitz <keiths@redhat.com>
  1677. * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
  1678. * Makefile.am (java/lang/Thread.h): Add friend function
  1679. _Jv_ThreadGetData.
  1680. * Makefile.in: Regenerate.
  1681. 2006-07-20 Keith Seitz <keiths@redhat.com>
  1682. * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
  1683. (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
  1684. 2006-07-20 Keith Seitz <keiths@redhat.com>
  1685. * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
  1686. * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
  1687. * jvmti.cc: New file.
  1688. * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
  1689. * Makefile.in: Regenerate.
  1690. 2006-07-20 David Daney <ddaney@avtrex.com>
  1691. * configure.host: Enable the interpreter for mipsel-* and mips-*.
  1692. 2006-07-20 David Daney <ddaney@avtrex.com>
  1693. * include/mips-signal.h: Update copyright.
  1694. (struct kernel_sigaction): Removed.
  1695. (SIGNAL_HANDLER): Changed prototype.
  1696. (MAKE_THROW_FRAME): Added cast.
  1697. (INIT_SEGV): Use sigaction instead of syscall.
  1698. (INIT_FPE): Likewise.
  1699. 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
  1700. * configure: Regenerate.
  1701. 2006-07-18 Gary Benson <gbenson@redhat.com>
  1702. * java/io/File.java (deleteOnExit): Fix security check.
  1703. 2006-07-14 Anthony Green <green@redhat.com>
  1704. * java/io/natFilePosix.cc (performSetLastModified): Return true on
  1705. success, false otherwise.
  1706. 2006-07-14 Ranjit Mathew <rmathew@gcc.gnu.org>
  1707. * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
  1708. _Unwind_Backtrace().
  1709. (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
  1710. EH.
  1711. (_Jv_StackTrace::GetClassContext): Unconditionally use
  1712. _Unwind_Backtrace().
  1713. (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
  1714. * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
  1715. (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
  1716. (_Unwind_GetRegionStart): Likewise.
  1717. (_Unwind_Backtrace): Likewise.
  1718. (fallback_backtrace): Accept additional unwind trace function
  1719. argument. Call it during unwinding. Stop when any of _Jv_RunMain(),
  1720. _Jv_ThreadStart() or main() is seen during unwinding.
  1721. * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
  1722. additional unwind trace function argument.
  1723. 2006-07-14 Gary Benson <gbenson@redhat.com>
  1724. * java/io/File.java (internalExists): New method.
  1725. (exists): Use internalExists.
  1726. (internalIsDirectory): New method.
  1727. (isDirectory): Use internalIsDirectory.
  1728. (createTempFile): Use internalExists and internalIsDirectory.
  1729. 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
  1730. * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
  1731. 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
  1732. * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
  1733. (_Jv_InterpMethod::run): SAVE_PC before executing any instruction
  1734. using resolve_pool_entry, as it can throw. Likewise for div/rem ops
  1735. that can throw ArithmeticException.
  1736. 2006-07-12 Gary Benson <gbenson@redhat.com>
  1737. * java/io/File.java (renameTo): Fix security checks.
  1738. 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
  1739. PR libgcj/28352
  1740. * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
  1741. looking up line number for interpreted frame.
  1742. 2006-07-07 Bryce McKinlay <mckinlay@redhat.com>
  1743. Geoffrey Keating <geoffk@apple.com>
  1744. * testsuite/libjava.lang/StackTrace2.java: Renamed from
  1745. StackTrace.java. Changed class name.
  1746. * testsuite/libjava.lang/StackTrace2.out: Renamed from
  1747. StackTrace.out. Updated for new class name.
  1748. 2006-07-07 Ranjit Mathew <rmathew@gcc.gnu.org>
  1749. * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
  1750. prologue to determine its beginning. Stop unwinding when we reach
  1751. JvRunMain().
  1752. 2006-07-07 Gary Benson <gbenson@redhat.com>
  1753. * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
  1754. * Makefile.in: Regenerate.
  1755. 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
  1756. * stacktrace.cc (ClassForFrame): Remove commented-out code.
  1757. (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
  1758. only when needed.
  1759. (getLineNumberForFrame): Don't adjust IP here.
  1760. * testsuite/libjava.lang/StackTrace.java: New test case.
  1761. * testsuite/libjava.lang/StackTrace.out: Ditto.
  1762. 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
  1763. * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
  1764. -fno-indirect-classes.
  1765. * Makefile.in: Regenerate.
  1766. * gcj/Makefile.in: Regenerate.
  1767. * include/Makefile.in: Regenerate.
  1768. * testsuite/Makefile.in: Regenerate.
  1769. 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
  1770. * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
  1771. 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
  1772. * configure.ac (ac_configure_args): Add --with-native-libdir.
  1773. * configure: Regenerate.
  1774. * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
  1775. sections.
  1776. * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
  1777. * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
  1778. * classpath/native/jawt/Makefile.in: Regenerate.
  1779. * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
  1780. * classpath/native/plugin/Makefile.in: Regenerate.
  1781. 2006-07-05 Ranjit Mathew <rmathew@gcc.gnu.org>
  1782. Danny Smith <dannysmith@users.sourceforge.net>
  1783. * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
  1784. startfile.
  1785. * configure.ac: Allow targets to affect the spec for startfile
  1786. by specifying a THREADSTARTFILESPEC variable. Define this for
  1787. the win32 threads package to include crtmt.o.
  1788. * configure: Regenerate.
  1789. * win32.cc (_CRT_MT): Remove definition.
  1790. (__mingwthr_key_dtor): Likewise.
  1791. 2006-07-04 Andreas Tobler <a.tobler@schweiz.ch>
  1792. * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
  1793. the -B$specdir.
  1794. PR libgcj/28226:
  1795. * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
  1796. * include/win32.h (_Jv_platform_dladdr): Likewise.
  1797. * posix.cc (_Jv_platform_dladdr): Likewise.
  1798. * win32.cc (_Jv_platform_dladdr): Likewise.
  1799. * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
  1800. instead of libgcj-*.jar.
  1801. 2006-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
  1802. PR libgcj/28244:
  1803. * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
  1804. libgcj.spec.
  1805. * Makefile.in: Regenerate.
  1806. 2006-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  1807. * classpath/tools/Makefile.am: Comment out tools wrapper creation.
  1808. (TOOLS_ZIP): Rename tools.zip tools.jar.
  1809. (noinst_DATA): Do not install tools.jar.
  1810. * classpath/tools/Makefile.in: Regenerate.
  1811. * classpath/Makefile.am (SUBDIRS): Add tools.
  1812. (DIST_SUBDIRS): Likewise.
  1813. * classpath/Makefile.in: Regenerate.
  1814. * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
  1815. (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
  1816. (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
  1817. Add build logic for libgcj-tools.la,
  1818. libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
  1819. gkeytool.
  1820. * Makefile.in: Regenerate.
  1821. 2006-06-29 Ranjit Mathew <rmathew@gcc.gnu.org>
  1822. * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
  1823. C99.
  1824. * include/java-stack.h: Include stdlib.h.
  1825. (_Jv_AddrInfo): New structure to hold address information.
  1826. * include/posix.h (_Jv_platform_dladdr): Declare.
  1827. * include/win32.h (_Jv_platform_dladdr): Declare.
  1828. (backtrace): Remove declaration.
  1829. * posix.cc: Include dlfcn.h if available. Include java-stack.h.
  1830. (_Jv_platform_dladdr): Define.
  1831. * win32.cc: Include string.h. Include java-stack.h.
  1832. (backtrace): Remove.
  1833. (_Jv_platform_dladdr): Define.
  1834. * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
  1835. frame pointer value is 32-bit word-aligned. Use operand of the CALL
  1836. instruction calling the current function to find its starting address.
  1837. * stacktrace.cc: Do not include dlfcn.h. Include platform.h.
  1838. (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
  1839. instead of dladdr().
  1840. (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
  1841. (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
  1842. targets with SJLJ exceptions instead of using _Unwind_Backtrace().
  1843. (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
  1844. 2006-06-27 Tom Tromey <tromey@redhat.com>
  1845. * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
  1846. Set 'out.count' earlier.
  1847. (close): Call setFinished on converter.
  1848. (flush): Always write work buffer.
  1849. * java/io/PrintStream.java (writeChars): Do 'do' loop.
  1850. (close): Call setFinished on converter. Write a 'flush' array.
  1851. * java/lang/natString.cc (getBytes): Call setFinished on
  1852. converter.
  1853. * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
  1854. field.
  1855. (write): Set hasBytes. Changed 'finished' logic.
  1856. (havePendingBytes): Rewrote.
  1857. (setFinished): New method.
  1858. * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
  1859. * testsuite/libjava.lang/RH194522.java: New file.
  1860. * testsuite/libjava.lang/RH194522.out: New file.
  1861. 2006-06-27 Marco Trudel <mtrudel@gmx.ch>
  1862. * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
  1863. conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
  1864. !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
  1865. 2006-06-27 Tom Tromey <tromey@redhat.com>
  1866. PR libgcj/28178:
  1867. * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
  1868. (_Jv_JNI_DeleteGlobalRef): Likewise.
  1869. * testsuite/libjava.jni/PR28178.java: New file.
  1870. * testsuite/libjava.jni/PR28178.c: New file.
  1871. * testsuite/libjava.jni/PR28178.out: New file.
  1872. 2006-06-26 Keith Seitz <keiths@redhat.com>
  1873. * include/posix-threads.h: Fix coding style aberrations from
  1874. 2006-06-19 check-in.
  1875. * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
  1876. * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
  1877. * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
  1878. 2006-06-26 Keith Seitz <keiths@redhat.com>
  1879. * include/no-gc.h (_Jv_SuspendThread): Declare.
  1880. (_Jv_ResumeThread): Likewise.
  1881. * include/boehm-gc.h (_Jv_SuspendThread): Declare.
  1882. (_Jv_ResumeThread): Likewise.
  1883. * nogc.cc (_Jv_SuspendThread): New function.
  1884. (_Jv_ResumeThread): Likewise.
  1885. * boehm.cc (_Jv_SuspendThread): New function.
  1886. (_Jv_ResumeThread): Likewise.
  1887. 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  1888. * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
  1889. Link against -ljvm, not -lgcj.
  1890. 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  1891. * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
  1892. toolexeclibdir.
  1893. * Makefile.in: Regenerate.
  1894. 2006-06-22 Tom Tromey <tromey@redhat.com>
  1895. * java/lang/reflect/natField.cc (getAddr): Allow setting of final
  1896. field when it is accessible.
  1897. 2006-06-21 Bryce McKinlay <mckinlay@redhat.com>
  1898. * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef.
  1899. (_Jv_GetPlatformThreadID): New function.
  1900. * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
  1901. (_Jv_GetPlatformThreadID): New function.
  1902. 2006-06-20 Bryce McKinlay <mckinlay@redhat.com>
  1903. * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
  1904. Bump "java.class.version" to 48.0.
  1905. 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
  1906. * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
  1907. "$(dbexecdir)".
  1908. Build libjvm.la.
  1909. * Makefile.in: Regenerate.
  1910. * jni.cc (the_vm): Rename and export as ...
  1911. (_Jv_the_vm): New exported symbol.
  1912. (_Jv_JNI_AttachCurrentThread): Export.
  1913. (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
  1914. references.
  1915. (_Jv_GetJavaVM): Likewise.
  1916. (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
  1917. JNI_GetCreatedJavaVMs): Move to ...
  1918. * jni-libjvm.cc: New file.
  1919. 2006-06-19 Andrew Haley <aph@redhat.com>
  1920. * testsuite/libjava.lang/PR27908.out: New.
  1921. * testsuite/libjava.lang/PR27908.java: New.
  1922. 2006-06-19 Keith Seitz <keiths@redhat.com>
  1923. * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
  1924. (_Jv_ThreadDebugResume): Declare.
  1925. (_Jv_ThreadDebugSuspendCount): Declare.
  1926. * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
  1927. (_Jv_ThreadDebugSuspendCount): New function.
  1928. (_Jv_ThreadDebugResume): New function.
  1929. * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
  1930. (_Jv_ThreadDebugResume): Declare.
  1931. (_Jv_ThreadDebugSuspendCount): Declare.
  1932. * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
  1933. (_Jv_ThreadDebugSuspendCount): New function.
  1934. (_Jv_ThreadDebugResume): New function.
  1935. 2006-06-16 Andrew Haley <aph@redhat.com>
  1936. * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
  1937. copy the whole Class instance from the initializer: instead, copy
  1938. everything but the first word (the vtable pointer).
  1939. Change prototype to (const char* class_initializer).
  1940. (_Jv_RegisterNewClasses): Change prototype to (const char**).
  1941. * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
  1942. (const char**).
  1943. 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
  1944. * classpath/Makefile.am: Do not recurse into tools directory.
  1945. * classpath/Makefile.in: Regenerate.
  1946. 2006-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
  1947. * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
  1948. -I$(top_srcdir)/include.
  1949. (gjarsigner_CFLAGS): Likewise.
  1950. (gkeytool_CFLAGS): Likewise.
  1951. * classpath/tools/Makefile.in: Regenerate.
  1952. 2006-06-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  1953. * configure: Regenerate.
  1954. * Makefile.in: Regenerate.
  1955. * configure.ac (--enable-plugin): New option.
  1956. (ac_configure_args): Add --enable-tool-wrappers.
  1957. (ac_configure_args): Add --disable-plugin unless --enable-plugin
  1958. was specified.
  1959. * gcj/Makefile.in: Regenerate.
  1960. * sources.am (gnu_java_net_source_files): Add
  1961. classpath/gnu/java/net/IndexListParser.java.
  1962. (property_files): Remove
  1963. classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
  1964. classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
  1965. Add
  1966. classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
  1967. classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
  1968. classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
  1969. classpath/resource/gnu/classpath/tools/jar/messages.properties,
  1970. classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
  1971. classpath/resource/gnu/classpath/tools/keytool/messages.properties,
  1972. classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
  1973. classpath/resource/gnu/classpath/tools/serialver/messages.properties.
  1974. * classpath/Makefile.in: Regenerate.
  1975. * classpath/native/jni/gtk-peer/cairographics2d.h,
  1976. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
  1977. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
  1978. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
  1979. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
  1980. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
  1981. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
  1982. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
  1983. Merge from GNU Classpath.
  1984. * classpath/native/Makefile.in: Regenerate.
  1985. * classpath/native/jawt/Makefile.in: Regenerate.
  1986. * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
  1987. versioned library directory.
  1988. * classpath/native/Makefile.am: Add plugin directory if
  1989. --enable-plugin was specified.
  1990. * classpath/native/plugin/Makefile.in: Regenerate. *
  1991. classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
  1992. GCJ's versioned library directory.
  1993. * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
  1994. New file.
  1995. * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
  1996. Likewise.
  1997. * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
  1998. Likewise.
  1999. * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
  2000. Remove file.
  2001. * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
  2002. New file.
  2003. * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
  2004. Remove file.
  2005. * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
  2006. New file.
  2007. * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
  2008. Likewise.
  2009. * classpath/resource/gnu/classpath/tools/jar/messages.properties:
  2010. Likewise.
  2011. * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
  2012. Likewise.
  2013. * classpath/gnu/java/net/IndexListParser.java:
  2014. Likewise.
  2015. * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
  2016. classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
  2017. classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
  2018. classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
  2019. classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
  2020. classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
  2021. classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
  2022. classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
  2023. classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
  2024. classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
  2025. classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
  2026. classpath/gnu/java/awt/java2d/PolyEdge.java,
  2027. classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
  2028. GNU Classpath.
  2029. * classpath/tools/toolwrapper.c: Replace tools.zip reference with
  2030. libgcj-tools-4.2.0.jar.
  2031. * classpath/tools/Makefile.in: Regenerate.
  2032. * classpath/tools/Makefile.am: Rename tools.zip to
  2033. libgcj-tools-4.2.0.jar. Install libgcj-tools-4.2.0.jar in
  2034. $(datadir)/java.
  2035. * classpath/javax/swing/JTabbedPane.java,
  2036. classpath/javax/swing/text/DefaultStyledDocument.java,
  2037. classpath/javax/swing/text/html/HTMLDocument.java,
  2038. classpath/javax/swing/text/GapContent.java,
  2039. classpath/javax/swing/JComponent.java,
  2040. classpath/javax/swing/RepaintManager.java,
  2041. classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
  2042. classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
  2043. classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
  2044. classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
  2045. classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
  2046. classpath/javax/swing/plaf/metal/MetalButtonUI.java,
  2047. classpath/java/text/Bidi.java,
  2048. classpath/java/awt/image/BufferedImage.java,
  2049. classpath/java/awt/datatransfer/DataFlavor.java,
  2050. classpath/java/awt/geom/AffineTransform.java,
  2051. classpath/java/awt/dnd/DropTargetDropEvent.java,
  2052. classpath/java/awt/dnd/DropTargetContext.java,
  2053. classpath/java/awt/font/TextLayout.java,
  2054. classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
  2055. classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
  2056. classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
  2057. classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
  2058. classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
  2059. classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
  2060. GNU Classpath.
  2061. * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
  2062. classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
  2063. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
  2064. classpath/native/jni/gtk-peer/gtkcairopeer.h,
  2065. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
  2066. Remove files.
  2067. * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
  2068. directory.
  2069. * include/Makefile.in: Regenerate.
  2070. * testsuite/Makefile.in: Regenerate.
  2071. 2006-06-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2072. * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
  2073. to no.
  2074. 2006-06-12 Andrew Haley <aph@redhat.com>
  2075. * testsuite/libjava.lang/PR27908.out: Delete.
  2076. * testsuite/libjava.lang/PR27908.java: Delete.
  2077. 2006-06-12 Andrew Haley <aph@redhat.com>
  2078. * testsuite/libjava.lang/PR27908.out: New.
  2079. * testsuite/libjava.lang/PR27908.java: New.
  2080. 2006-06-10 Thomas Fitzsimmons <fitzsim@redhat.com>
  2081. * configure.ac (ac_configure_args): Add --disable-plugin.
  2082. (--enable-gtk-cairo): Remove option.
  2083. * configure: Regenerate.
  2084. 2006-06-09 Tom Tromey <tromey@redhat.com>
  2085. PR libgcj/27730:
  2086. * java/lang/Thread.java (threadId): New field.
  2087. (nextThreadId): New static field.
  2088. (Thread): Initialize new field.
  2089. (getId): New method.
  2090. 2006-06-09 Tom Tromey <tromey@redhat.com>
  2091. * java/lang/Class.java (getClassLoaderInternal): Now native.
  2092. 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
  2093. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
  2094. (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
  2095. * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
  2096. Likewise.
  2097. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
  2098. Likewise.
  2099. 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
  2100. * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
  2101. classpath/native/jni/qt-peer/eventmethods.h,
  2102. classpath/native/jni/qt-peer/qtmenupeer.cpp,
  2103. classpath/native/jni/qt-peer/.cvsignore,
  2104. classpath/native/jni/gtk-peer/gdkdisplay.h,
  2105. classpath/native/jni/gtk-peer/cairographics2d.h,
  2106. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
  2107. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
  2108. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
  2109. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
  2110. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
  2111. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
  2112. classpath/native/jni/gtk-peer/.cvsignore,
  2113. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
  2114. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
  2115. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
  2116. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
  2117. classpath/native/jni/gtk-peer/gtkpeer.h,
  2118. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
  2119. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
  2120. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
  2121. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
  2122. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
  2123. classpath/native/jni/gtk-peer/Makefile.am,
  2124. classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
  2125. classpath/native/jawt/Makefile.am,
  2126. classpath/native/jawt/.cvsignore,
  2127. classpath/native/target/Linux/Makefile.in,
  2128. classpath/native/plugin/gcjwebplugin.cc,
  2129. classpath/native/plugin/Makefile.am,
  2130. classpath/native/plugin/.cvsignore,
  2131. classpath/resource/Makefile.in,
  2132. classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
  2133. classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
  2134. classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
  2135. classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
  2136. classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
  2137. classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
  2138. classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
  2139. classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  2140. classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
  2141. classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  2142. classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
  2143. classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
  2144. classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
  2145. classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
  2146. classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
  2147. classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
  2148. classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
  2149. classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
  2150. classpath/gnu/java/awt/peer/gtk/GtkImage.java,
  2151. classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
  2152. classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
  2153. classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
  2154. classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
  2155. classpath/gnu/java/awt/peer/swing/SwingComponent.java,
  2156. classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
  2157. classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
  2158. classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
  2159. classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
  2160. classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
  2161. classpath/gnu/java/awt/print/JavaPrinterJob.java,
  2162. classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
  2163. classpath/gnu/java/awt/print/SpooledDocument.java,
  2164. classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
  2165. classpath/gnu/java/awt/BitwiseXORComposite.java,
  2166. classpath/gnu/java/awt/font/GNUGlyphVector.java,
  2167. classpath/gnu/java/awt/font/opentype/NameDecoder.java,
  2168. classpath/gnu/java/awt/java2d/RasterGraphics.java,
  2169. classpath/gnu/java/awt/java2d/TexturePaintContext.java,
  2170. classpath/gnu/java/awt/java2d/PolyEdge.java,
  2171. classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
  2172. classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
  2173. classpath/gnu/java/awt/java2d/ImagePaint.java,
  2174. classpath/gnu/java/awt/Buffers.java,
  2175. classpath/gnu/classpath/Configuration.java.in,
  2176. classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
  2177. classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
  2178. classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
  2179. classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
  2180. classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
  2181. classpath/tools/toolwrapper.c,
  2182. classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
  2183. classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
  2184. classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
  2185. classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
  2186. classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
  2187. classpath/tools/gnu/classpath/tools/getopt/Messages.java,
  2188. classpath/tools/gnu/classpath/tools/getopt/Option.java,
  2189. classpath/tools/gnu/classpath/tools/getopt/Parser.java,
  2190. classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
  2191. classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
  2192. classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
  2193. classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
  2194. classpath/tools/gnu/classpath/tools/jarsigner/package.html,
  2195. classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
  2196. classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
  2197. classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
  2198. classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
  2199. classpath/tools/gnu/classpath/tools/keytool/Messages.java,
  2200. classpath/tools/gnu/classpath/tools/keytool/package.html,
  2201. classpath/tools/gnu/classpath/tools/keytool/Command.java,
  2202. classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
  2203. classpath/tools/gnu/classpath/tools/keytool/Main.java,
  2204. classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
  2205. classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
  2206. classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
  2207. classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
  2208. classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
  2209. classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
  2210. classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
  2211. classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
  2212. classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
  2213. classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
  2214. classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
  2215. classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
  2216. classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
  2217. classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
  2218. classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
  2219. classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
  2220. classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
  2221. classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
  2222. classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
  2223. classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
  2224. classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
  2225. classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
  2226. classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
  2227. classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
  2228. classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
  2229. classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
  2230. classpath/tools/gnu/classpath/tools/serialver/Messages.java,
  2231. classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
  2232. classpath/tools/gnu/classpath/tools/jar/Creator.java,
  2233. classpath/tools/gnu/classpath/tools/jar/Entry.java,
  2234. classpath/tools/gnu/classpath/tools/jar/Lister.java,
  2235. classpath/tools/gnu/classpath/tools/jar/Main.java,
  2236. classpath/tools/gnu/classpath/tools/jar/Updater.java,
  2237. classpath/tools/gnu/classpath/tools/jar/Messages.java,
  2238. classpath/tools/gnu/classpath/tools/jar/Extractor.java,
  2239. classpath/tools/gnu/classpath/tools/jar/Action.java,
  2240. classpath/tools/gnu/classpath/tools/jar/Indexer.java,
  2241. classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
  2242. classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
  2243. classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
  2244. classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
  2245. classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
  2246. classpath/tools/keytool.in, classpath/tools/appletviewer.in,
  2247. classpath/tools/.cvsignore, classpath/configure.ac,
  2248. classpath/javax/swing/JTabbedPane.java,
  2249. classpath/javax/swing/AbstractButton.java,
  2250. classpath/javax/swing/JViewport.java,
  2251. classpath/javax/swing/KeyboardManager.java,
  2252. classpath/javax/swing/JMenuItem.java,
  2253. classpath/javax/swing/JMenuBar.java,
  2254. classpath/javax/swing/MenuSelectionManager.java,
  2255. classpath/javax/swing/JOptionPane.java,
  2256. classpath/javax/swing/JSpinner.java,
  2257. classpath/javax/swing/JCheckBoxMenuItem.java,
  2258. classpath/javax/swing/JEditorPane.java,
  2259. classpath/javax/swing/JFormattedTextField.java,
  2260. classpath/javax/swing/JTree.java,
  2261. classpath/javax/swing/CellRendererPane.java,
  2262. classpath/javax/swing/JScrollPane.java,
  2263. classpath/javax/swing/tree/VariableHeightLayoutCache.java,
  2264. classpath/javax/swing/tree/TreeNode.java,
  2265. classpath/javax/swing/tree/FixedHeightLayoutCache.java,
  2266. classpath/javax/swing/tree/DefaultTreeCellEditor.java,
  2267. classpath/javax/swing/tree/TreePath.java,
  2268. classpath/javax/swing/tree/RowMapper.java,
  2269. classpath/javax/swing/tree/DefaultMutableTreeNode.java,
  2270. classpath/javax/swing/tree/DefaultTreeModel.java,
  2271. classpath/javax/swing/tree/AbstractLayoutCache.java,
  2272. classpath/javax/swing/tree/TreeSelectionModel.java,
  2273. classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
  2274. classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
  2275. classpath/javax/swing/tree/ExpandVetoException.java,
  2276. classpath/javax/swing/JList.java,
  2277. classpath/javax/swing/table/JTableHeader.java,
  2278. classpath/javax/swing/table/AbstractTableModel.java,
  2279. classpath/javax/swing/table/DefaultTableModel.java,
  2280. classpath/javax/swing/table/TableCellEditor.java,
  2281. classpath/javax/swing/table/TableCellRenderer.java,
  2282. classpath/javax/swing/ProgressMonitor.java,
  2283. classpath/javax/swing/JToolBar.java,
  2284. classpath/javax/swing/TransferHandler.java,
  2285. classpath/javax/swing/DefaultCellEditor.java,
  2286. classpath/javax/swing/DefaultButtonModel.java,
  2287. classpath/javax/swing/JLayeredPane.java,
  2288. classpath/javax/swing/text/DefaultEditorKit.java,
  2289. classpath/javax/swing/text/DefaultCaret.java,
  2290. classpath/javax/swing/text/FieldView.java,
  2291. classpath/javax/swing/text/JTextComponent.java,
  2292. classpath/javax/swing/text/TextAction.java,
  2293. classpath/javax/swing/text/StyleContext.java,
  2294. classpath/javax/swing/text/html/HTMLDocument.java,
  2295. classpath/javax/swing/text/html/MinimalHTMLWriter.java,
  2296. classpath/javax/swing/text/html/ImageView.java,
  2297. classpath/javax/swing/text/html/HTMLEditorKit.java,
  2298. classpath/javax/swing/text/AbstractWriter.java,
  2299. classpath/javax/swing/text/GapContent.java,
  2300. classpath/javax/swing/text/Utilities.java,
  2301. classpath/javax/swing/text/PlainView.java,
  2302. classpath/javax/swing/UIManager.java,
  2303. classpath/javax/swing/JSplitPane.java,
  2304. classpath/javax/swing/JComponent.java,
  2305. classpath/javax/swing/SwingUtilities.java,
  2306. classpath/javax/swing/border/AbstractBorder.java,
  2307. classpath/javax/swing/border/CompoundBorder.java,
  2308. classpath/javax/swing/border/TitledBorder.java,
  2309. classpath/javax/swing/border/MatteBorder.java,
  2310. classpath/javax/swing/border/BevelBorder.java,
  2311. classpath/javax/swing/RepaintManager.java,
  2312. classpath/javax/swing/JTable.java,
  2313. classpath/javax/swing/UIDefaults.java,
  2314. classpath/javax/swing/DefaultDesktopManager.java,
  2315. classpath/javax/swing/JMenu.java,
  2316. classpath/javax/swing/JLabel.java,
  2317. classpath/javax/swing/JSlider.java,
  2318. classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
  2319. classpath/javax/swing/plaf/basic/BasicButtonUI.java,
  2320. classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
  2321. classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
  2322. classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
  2323. classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
  2324. classpath/javax/swing/plaf/basic/BasicSliderUI.java,
  2325. classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
  2326. classpath/javax/swing/plaf/basic/BasicComboPopup.java,
  2327. classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
  2328. classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
  2329. classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
  2330. classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
  2331. classpath/javax/swing/plaf/basic/BasicPanelUI.java,
  2332. classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
  2333. classpath/javax/swing/plaf/basic/BasicTreeUI.java,
  2334. classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
  2335. classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
  2336. classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
  2337. classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
  2338. classpath/javax/swing/plaf/basic/BasicListUI.java,
  2339. classpath/javax/swing/plaf/basic/BasicIconFactory.java,
  2340. classpath/javax/swing/plaf/basic/BasicTextUI.java,
  2341. classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
  2342. classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
  2343. classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
  2344. classpath/javax/swing/plaf/basic/BasicTableUI.java,
  2345. classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
  2346. classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
  2347. classpath/javax/swing/plaf/multi/MultiListUI.java,
  2348. classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
  2349. classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
  2350. classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
  2351. classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
  2352. classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
  2353. classpath/javax/swing/plaf/metal/MetalSliderUI.java,
  2354. classpath/javax/swing/plaf/metal/MetalIconFactory.java,
  2355. classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
  2356. classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
  2357. classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
  2358. classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
  2359. classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
  2360. classpath/javax/swing/plaf/metal/MetalBorders.java,
  2361. classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
  2362. classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
  2363. classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
  2364. classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
  2365. classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
  2366. classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
  2367. classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
  2368. classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
  2369. classpath/javax/swing/plaf/metal/MetalUtils.java,
  2370. classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
  2371. classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
  2372. classpath/javax/swing/plaf/metal/MetalButtonUI.java,
  2373. classpath/javax/swing/JPopupMenu.java,
  2374. classpath/javax/swing/JProgressBar.java,
  2375. classpath/javax/swing/WindowConstants.java,
  2376. classpath/javax/swing/JFrame.java,
  2377. classpath/javax/swing/JFileChooser.java,
  2378. classpath/javax/swing/JComboBox.java,
  2379. classpath/javax/swing/event/EventListenerList.java,
  2380. classpath/javax/swing/ListSelectionModel.java,
  2381. classpath/javax/swing/JScrollBar.java,
  2382. classpath/java/text/SimpleDateFormat.java,
  2383. classpath/java/text/NumberFormat.java,
  2384. classpath/java/text/class-dependencies.conf,
  2385. classpath/java/awt/image/ColorModel.java,
  2386. classpath/java/awt/image/BufferedImage.java,
  2387. classpath/java/awt/Window.java,
  2388. classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
  2389. classpath/java/awt/LightweightDispatcher.java,
  2390. classpath/java/awt/EventDispatchThread.java,
  2391. classpath/java/awt/BasicStroke.java,
  2392. classpath/java/awt/ColorPaintContext.java,
  2393. classpath/java/awt/Container.java,
  2394. classpath/java/awt/TexturePaint.java,
  2395. classpath/java/awt/Component.java, classpath/java/awt/Font.java,
  2396. classpath/java/awt/GraphicsConfiguration.java,
  2397. classpath/java/awt/DefaultKeyboardFocusManager.java,
  2398. classpath/java/awt/print/PrinterJob.java,
  2399. classpath/java/awt/im/InputContext.java,
  2400. classpath/java/awt/dnd/DragGestureRecognizer.java,
  2401. classpath/java/awt/Toolkit.java,
  2402. classpath/java/awt/font/GraphicAttribute.java,
  2403. classpath/java/awt/font/ImageGraphicAttribute.java,
  2404. classpath/java/awt/font/GlyphVector.java,
  2405. classpath/java/awt/font/GlyphMetrics.java,
  2406. classpath/java/awt/font/ShapeGraphicAttribute.java,
  2407. classpath/java/awt/Graphics2D.java,
  2408. classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
  2409. classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
  2410. classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
  2411. classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
  2412. classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
  2413. classpath/include/config.h.in,
  2414. classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
  2415. classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
  2416. classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
  2417. classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
  2418. classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
  2419. classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
  2420. classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
  2421. classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
  2422. Merge from GNU Classpath HEAD.
  2423. 2006-06-08 Tom Tromey <tromey@redhat.com>
  2424. * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
  2425. Set gnu.gcj.user.realname.
  2426. 2006-06-09 Andreas Tobler <a.tobler@schweiz.ch>
  2427. * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
  2428. 2006-06-07 Andrew Haley <aph@redhat.com>
  2429. * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
  2430. (_Jv_Linker::uaddr): New.
  2431. * link.cc (resolve_pool_entry): Call search_method_in_superclasses
  2432. instead of an open-coded loop around search_method_in_class.
  2433. (search_method_in_class): Add a new arg, check_perms.
  2434. (search_method_in_superclasses): New.
  2435. (link_symbol_table): Call maybe_adjust_signature() to extract the
  2436. least significnt bit of the signature pointer. Do this three
  2437. times, for instace method calls, static methods, and interfaces.
  2438. Call search_method_in_superclasses() instead of
  2439. _Jv_LookupDeclaredMethod.
  2440. (typedef uaddr): Delete.
  2441. 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
  2442. * scripts/makemake.tcl (emit_bc_rule): Do not skip
  2443. gnu-java-awt-peer-qt.lo.
  2444. * configure.ac (QT_AWT): Remove conditional.
  2445. Do not add gnu/java/awt/peer/qt to standard.omit.
  2446. * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
  2447. in GCJ's versioned library directory.
  2448. * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
  2449. Load libqtpeer.so unconditionally.
  2450. * gij.cc (main): Do not re-exec gij.
  2451. * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
  2452. (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
  2453. when linking gij.
  2454. 2006-06-06 David Daney <ddaney@avtrex.com>
  2455. * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
  2456. (showRaw): New method.
  2457. * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
  2458. (getLineNumberForFrame): Show IP offset in trace if line number
  2459. not available and show_raw true.
  2460. 2006-06-06 Gary Benson <gbenson@redhat.com>
  2461. * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
  2462. * configure.ac: Remove realpath check and add checks for
  2463. lstat and readlink.
  2464. * configure: Rebuilt.
  2465. * include/config.h.in: Likewise.
  2466. * java/io/File.java: Javadoc fix.
  2467. 2006-06-05 Andreas Schwab <schwab@suse.de>
  2468. PR libgcj/27860
  2469. * link.cc: Check for closure support in libffi with FFI_CLOSURES.
  2470. 2006-06-05 Tom Tromey <tromey@redhat.com>
  2471. PR libgcj/27892:
  2472. * gij.cc (main): Use putenv.
  2473. 2006-06-03 Paolo Bonzini <bonzini@gnu.org>
  2474. * scripts/jar.in: Ensure return with argument has non-empty argument.
  2475. 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
  2476. * configure.ac (ZIP, UNZIP): New programs.
  2477. (JAR): Fall back to bash script. Generate it.
  2478. (BASH_JAR): New conditional.
  2479. * Makefile.am (bin_SCRIPTS): New.
  2480. * scripts/jar.in: New file.
  2481. 2006-06-01 Bryce McKinlay <mckinlay@redhat.com>
  2482. * gnu/java/lang/MainThread (run): Revert exception chaining change.
  2483. 2006-05-31 Bryce McKinlay <mckinlay@redhat.com>
  2484. * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
  2485. name, not Latin1.
  2486. * gnu/java/lang/MainThread.java (run): Allow file separator char to
  2487. be used in place of '.' as class-name separator. Don't chain
  2488. ClassNotFoundException.
  2489. 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  2490. * java/lang/VMClassLoader.java (initialize): Set default library
  2491. control to LIB_NEVER.
  2492. 2006-05-31 Alan Modra <amodra@bigpond.net.au>
  2493. * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
  2494. interpreted classes.
  2495. 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  2496. * scripts/makemake.tcl (emit_bc_rule): Do not skip
  2497. gnu-java-awt-peer-gtk.lo.
  2498. Include gnu/java/awt/peer/gtk Java objects in libgcj.so. Use C++
  2499. ABI for gnu/java/awt/peer/gtk package.
  2500. * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
  2501. New function.
  2502. (insertSystemProperties): Only set java.ext.dirs if it is not
  2503. already defined. Prepend GCJ_VERSIONED_LIBDIR to module search
  2504. path where necessary.
  2505. * configure.ac (GTK_AWT): Remove automake conditional.
  2506. Do not add gnu/java/awt/peer/gtk to standard.omit.
  2507. * include/jvm.h (_Jv_PrependVersionedLibdir): New function
  2508. declaration.
  2509. * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
  2510. and re-exec self.
  2511. * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
  2512. PATH_SEPARATOR macros.
  2513. Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
  2514. * prims.cc (_Jv_PrependVersionedLibdir): New function.
  2515. 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
  2516. * java/lang/natThread.cc (countStackFrames): Do not throw
  2517. UnsupportedOperationException.
  2518. (resume): Likewise.
  2519. (stop): Likewise.
  2520. (suspend): Likewise.
  2521. 2006-05-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2522. * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
  2523. * configure: Rebuilt.
  2524. * include/config.h.in: Likewise.
  2525. * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
  2526. <sys/rw_lock.h>.
  2527. 2006-05-24 Tom Tromey <tromey@redhat.com>
  2528. PR libgcj/27024:
  2529. * sources.am, Makefile.in: Rebuilt.
  2530. * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
  2531. * java/net/URLConnection.java: Removed.
  2532. 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
  2533. * Makefile.am: Add install-html target. Add install-html to .PHONY
  2534. * Makefile.in: Regenerate.
  2535. * aclocal.m4: Regenerate.
  2536. * gcj/Makefile.in: Regenerate.
  2537. * include/Makefile.in: Regenerate.
  2538. * testsuite/Makefile.in: Regenerate.
  2539. 2006-05-24 Andreas Tobler <a.tobler@schweiz.ch>
  2540. * testsuite/libjava.lang/stacktrace.java: New file.
  2541. * testsuite/libjava.lang/stacktrace.out: Likewise.
  2542. 2006-05-24 Tom Tromey <tromey@redhat.com>
  2543. * sources.am, Makefile.in: Rebuilt.
  2544. * scripts/makemake.tcl: Accept -verbose command-line option.
  2545. (is_verbose): New global.
  2546. (verbose): Use it.
  2547. (classify_source_file): Don't special case '.' for 'package'
  2548. type.
  2549. 2006-05-24 Tom Tromey <tromey@redhat.com>
  2550. PR libgcj/27729:
  2551. * java/lang/reflect/natField.cc (getAddr): Added parens.
  2552. * java/lang/reflect/natConstructor.cc (getModifiersInternal):
  2553. Renamed. Don't mask flags.
  2554. * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
  2555. constant.
  2556. (getModifiersInternal): Renamed.
  2557. (getModifiers): Rewrote.
  2558. (isSynthetic, isVarArgs): New methods.
  2559. (hashCode): Rewrote.
  2560. (addTypeParameters, toGenericString): New methods.
  2561. (getTypeParameters): Rewrote.
  2562. (getSignature): New method.
  2563. (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
  2564. * java/lang/reflect/natMethod.cc (getModifiersInternal):
  2565. Renamed. Don't mask flags.
  2566. * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
  2567. Don't mask flags.
  2568. * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
  2569. ENUM): New constants.
  2570. (INVISIBLE): Changed value.
  2571. * java/lang/reflect/Method.java: Mostly merged with Classpath.
  2572. (getModifiersInternal): Renamed.
  2573. (getModifiers): Rewrote.
  2574. (isBridge, isSynthetic, isVarArgs): New methods.
  2575. (toGenericString): Likewise.
  2576. (getTypeParameters): Likewise.
  2577. (getSignature): Likewise.
  2578. (getGenericExceptionTypes, getGenericParameterTypes,
  2579. getGenericReturnType): Likewise.
  2580. (METHOD_MODIFIERS): New constant.
  2581. * java/lang/reflect/Field.java: Mostly merged with Classpath.
  2582. Added javadoc everywhere.
  2583. (getModifiersInternal): Renamed.
  2584. (getModifiers, isSynthetic, isEnumConstant): Rewrote.
  2585. (toGenericString): New method.
  2586. (getGenericType, getSignature): Likewise.
  2587. (FIELD_MODIFIERS): New constant.
  2588. 2006-05-24 Tom Tromey <tromey@redhat.com>
  2589. PR libgcj/27731:
  2590. * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
  2591. tanh): New methods.
  2592. * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
  2593. tanh): Declare.
  2594. 2006-05-22 Mark Wielaard <mark@klomp.org>
  2595. * HACKING: Update GNU Classpath import instructions.
  2596. 2006-05-21 Andreas Tobler <a.tobler@schweiz.ch>
  2597. * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
  2598. signature as MAYBE_UNUSED for HAVE_TLS == 0.
  2599. (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
  2600. HAVE_TLS == 0.
  2601. 2006-05-20 Andreas Tobler <a.tobler@schweiz.ch>
  2602. John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2603. * configure.ac: Add the POSIX thread libs to the HP-UX PA
  2604. configuration. Add signal specification for HP-UX PA.
  2605. * configure: Rebuilt.
  2606. * configure.host: Add defaults for the HP-UX PA architecture.
  2607. Add descriptor files for HP-UX PA 32-bit and 64-bit.
  2608. * include/hppa-signal.h: New file.
  2609. * include/posix.h: Add shared library suffix for HP-UX.
  2610. * sysdep/pa/descriptor-pa32-hpux.h: New file.
  2611. * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
  2612. 2006-05-19 Ranjit Mathew <rmathew@gcc.gnu.org>
  2613. * ChangeLog: Correct incorrect GNU Classpath version in the
  2614. entry for the latest import.
  2615. 2006-05-18 Tom Tromey <tromey@redhat.com>
  2616. * source.am, Makefile.in: Rebuilt.
  2617. * Makefile.am (property_files): Removed.
  2618. * scripts/makemake.tcl (properties_map): New global.
  2619. (properties_files): Likewise.
  2620. (emit_property_files): New proc.
  2621. (scan_packages): Scan META-INF.
  2622. Print property_files variable. Scan classpath/resource.
  2623. 2006-05-18 Tom Tromey <tromey@redhat.com>
  2624. * testsuite/libjava.special/special.exp (gcj_special_pr21115):
  2625. Renamed.
  2626. (gcj_write_and_byte_compile): New proc.
  2627. (gcj_special_lazy_illegal_access): Likewise.
  2628. 2006-05-18 Mark Wielaard <mark@klomp.org>
  2629. Imported GNU Classpath 0.91
  2630. * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
  2631. * sources.am: Regenerated.
  2632. * gcj/javaprims.h: Regenerated.
  2633. * Makefile.in: Regenerated.
  2634. * gcj/Makefile.in: Regenerated.
  2635. * include/Makefile.in: Regenerated.
  2636. * testsuite/Makefile.in: Regenerated.
  2637. * gnu/java/lang/VMInstrumentationImpl.java: New override.
  2638. * gnu/java/net/local/LocalSocketImpl.java: Likewise.
  2639. * gnu/classpath/jdwp/VMMethod.java: Likewise.
  2640. * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
  2641. interface.
  2642. * java/lang/Thread.java: Add UncaughtExceptionHandler.
  2643. * java/lang/reflect/Method.java: Implements GenericDeclaration and
  2644. isSynthetic(),
  2645. * java/lang/reflect/Field.java: Likewise.
  2646. * java/lang/reflect/Constructor.java
  2647. * java/lang/Class.java: Implements Type, GenericDeclaration,
  2648. getSimpleName() and getEnclosing*() methods.
  2649. * java/lang/Class.h: Add new public methods.
  2650. * java/lang/Math.java: Add signum(), ulp() and log10().
  2651. * java/lang/natMath.cc (log10): New function.
  2652. * java/security/VMSecureRandom.java: New override.
  2653. * java/util/logging/Logger.java: Updated to latest classpath
  2654. version.
  2655. * java/util/logging/LogManager.java: New override.
  2656. 2006-05-15 Bryce McKinlay <mckinlay@redhat.com>
  2657. PR libgcj/27352
  2658. * java/lang/Class.java (getClassLoaderInternal): New method.
  2659. (forName (String, Class)): Use getClassLoaderInternal.
  2660. (getPackage): Likewise.
  2661. (getResource): Likewise.
  2662. (getResourceAsStream): Likewise.
  2663. (desiredAssertionStatus): Likewise.
  2664. 2006-05-15 Andreas Tobler <a.tobler@schweiz.ch>
  2665. * stacktrace.cc (StackTrace::FillInFrameInfo): Use
  2666. UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
  2667. klass->methods[j].ncode.
  2668. 2006-05-13 Tom Tromey <tromey@redhat.com>
  2669. * sources.am, Makefile.in: Rebuilt.
  2670. * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
  2671. natChannels.cc.
  2672. * java/nio/channels/natVMChannels.cc: Renamed from
  2673. natChannels.cc.
  2674. * java/nio/channels/Channels.java: Removed.
  2675. * java/nio/channels/natChannels.cc: Removed.
  2676. * java/nio/channels/VMChannels.java: New file.
  2677. 2006-05-13 Tom Tromey <tromey@redhat.com>
  2678. * sources.am, Makefile.in: Rebuilt.
  2679. * java/text/DateFormat.java: Removed.
  2680. 2006-05-13 Tom Tromey <tromey@redhat.com>
  2681. * sources.am, Makefile.in: Rebuilt.
  2682. * gnu/java/net/protocol/jar/Connection.java: Removed.
  2683. * java/net/JarURLConnection.java: Removed.
  2684. 2006-05-13 Tom Tromey <tromey@redhat.com>
  2685. * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
  2686. declaration.
  2687. 2006-05-12 Tom Tromey <tromey@redhat.com>
  2688. * sources.am, Makefile.in: Rebuilt.
  2689. * java/util/logging/LogManager.java: Removed.
  2690. * java/util/logging/Logger.java (resetLogger): New method, from
  2691. Classpath.
  2692. * java/io/RandomAccessFile.java: Removed.
  2693. * gnu/java/nio/channels/FileChannelImpl.java (create): New
  2694. method.
  2695. (FileChannelImpl): Now private.
  2696. * java/io/FileInputStream.java: Removed.
  2697. * java/io/FileOutputStream.java: Removed.
  2698. * java/security/AccessControlContext.java: Removed.
  2699. * java/lang/ThreadLocal.java: Removed.
  2700. * java/lang/InheritableThreadLocal.java: Removed.
  2701. * java/lang/Thread.java (locals): New field.
  2702. (getThreadLocals): New method.
  2703. * java/lang/natThread.cc (finish_): Clear 'locals'.
  2704. 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
  2705. * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
  2706. fails, don't try again.
  2707. (use_addr2line): Field no longer final.
  2708. 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
  2709. * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
  2710. (lookup): If addr2line fails to find an address, flag the binary as
  2711. having no debug info and avoid calling addr2line on it again.
  2712. 2006-05-11 David Daney <ddaney@avtrex.com>
  2713. * testsuite/libjava.compile/PR20418.java: New.
  2714. * testsuite/libjava.compile/PR20418.xfail: New.
  2715. 2006-05-11 Andrew Haley <aph@redhat.com>
  2716. * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
  2717. line.
  2718. 2006-05-10 Andrew Haley <aph@redhat.com>
  2719. * java/lang/natClassLoader.cc: Add comments.
  2720. 2006-05-09 Andrew Haley <aph@redhat.com>
  2721. * prims.cc (_Jv_soleIndirectCompiledEngine): New.
  2722. * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
  2723. Remove body.
  2724. (_Jv_CompiledEngine::allocate_field_initializers): New.
  2725. (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
  2726. allocate_field_initializers.
  2727. (class _Jv_IndirectCompiledClass): New.
  2728. (struct _Jv_IndirectCompiledEngine): New.
  2729. * java/lang/Class.h: (IndirectCompiledEngine): New.
  2730. * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
  2731. engine to _Jv_soleIndirectCompiledEngine
  2732. * link.cc (ensure_fields_laid_out): Call
  2733. engine->allocate_field_initializers().
  2734. 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
  2735. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
  2736. HP-UX and add appropriate extension for shared libraries, sl.
  2737. (gcj_jni_test_one): Likewise.
  2738. * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
  2739. library extensions.
  2740. 2006-05-05 Tom Tromey <tromey@redhat.com>
  2741. PR libgcj/27294:
  2742. * java/lang/natVMClassLoader.cc (defineClass): Throw
  2743. VirtualMachineError if no interpreter configured.
  2744. 2006-05-03 Andrew Haley <aph@redhat.com>
  2745. PR libgcj/27352
  2746. * java/lang/Class.java (getClassLoader(Class)): New.
  2747. forName(String, Class): New.
  2748. * java/lang/natClass.cc (getClassLoader(Class)): New.
  2749. 2006-05-02 Andrew Haley <aph@redhat.com>
  2750. * prims.cc (_Jv_NewMultiArray): Check for phantom class.
  2751. 2006-05-04 Tom Tromey <tromey@redhat.com>
  2752. PR libgcj/26861:
  2753. * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
  2754. <insn_putfield>: Likewise.
  2755. (NULLCHECK): Define unconditionally.
  2756. * link.cc (ensure_class_linked): Removed dead code.
  2757. 2006-05-04 Tom Tromey <tromey@redhat.com>
  2758. * java/lang/Class.h (JV_STATE_LOADING): Added comment.
  2759. * Makefile.in: Rebuilt.
  2760. * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
  2761. * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
  2762. * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
  2763. New field.
  2764. (loadedClasses): Removed.
  2765. (findClass): Declare.
  2766. (addClass): Add to nativeClasses, not loadedClasses.
  2767. 2006-05-04 Andrew Haley <aph@redhat.com>
  2768. PR java/26858
  2769. * testsuite/libjava.lang/PR26858.xfail: Delete.
  2770. 2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
  2771. * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
  2772. -findirect-dispatch compilation.
  2773. 2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
  2774. * configure.ac: Simplify the mmap check a bit more.
  2775. * configure: Rebuilt.
  2776. * include/config.h.in: Likewise.
  2777. 2006-05-01 Roger Sayle <roger@eyesopen.com>
  2778. Andrew Haley <aph@redhat.com>
  2779. * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
  2780. before calling GC_register_has_static_roots_callback.
  2781. (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
  2782. HAVE_DLADDR before calling dladdr.
  2783. 2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
  2784. * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
  2785. to resolve_method.
  2786. * interpret.cc (insn_invokevirtual): Use method->index, not
  2787. vtable_index. Check accflag FINAL to determine finals. Only do
  2788. explicit null check if calling a final method. Use
  2789. throw_null_pointer_exception.
  2790. (invokevirtual_resolved): Likewise.
  2791. (null_pointer_exc): Remove static field.
  2792. (throw_null_pointer_exception): Always define. Throw a new
  2793. NullPointerException every time.
  2794. * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
  2795. field.
  2796. * include/execution.h (resolve_method): Remove vtable_index argument.
  2797. 2006-04-28 Andreas Tobler <a.tobler@schweiz.ch>
  2798. * configure.ac: Add an additional checks for dladdr and dlopen on dld.
  2799. * configure: Rebuilt.
  2800. 2006-04-25 Tom Tromey <tromey@redhat.com>
  2801. * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
  2802. Include platform.h. Set GC_DEBUG before including gc.h, if
  2803. needed.
  2804. 2006-04-25 Andrew Haley <aph@redhat.com>
  2805. * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
  2806. * boehm.cc: Don't include link.h.
  2807. (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
  2808. 2006-04-24 Tom Tromey <tromey@redhat.com>
  2809. * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
  2810. 2006-04-21 Andrew Haley <aph@redhat.com>
  2811. * include/execution.h (struct _Jv_CompiledEngine): Define for
  2812. compiled classes.
  2813. * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
  2814. _Jv_RegisterLibForGc.
  2815. (_Jv_RegisterClasses_Counted): Likewise.
  2816. (_Jv_NewClassFromInitializer): New.
  2817. (_Jv_RegisterNewClasses): New.
  2818. * sources.am: Regenerate.
  2819. * boehm.cc (_Jv_GC_has_static_roots): new.
  2820. (_Jv_InitGC): Call GC_register_has_static_roots_callback.
  2821. (filename_node, find_file, _Jv_print_gc_store, new_node,
  2822. _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
  2823. * scripts/makemake.tcl: Add -fno-indirect-classes.
  2824. * Makefile.in: Regenerate.
  2825. * link.cc (resolve_pool_entry): Allocate constant pool.
  2826. Allocate fields.
  2827. 2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
  2828. * configure.ac: Weaken the check for MMAP.
  2829. * configure: Rebuilt.
  2830. * include/config.h.in: Likewise.
  2831. 2006-04-20 Bryce McKinlay <mckinlay@redhat.com>
  2832. PR libgcj/27170
  2833. * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
  2834. dlopen(). From Anthony Green.
  2835. 2006-04-20 Tom Tromey <tromey@redhat.com>
  2836. PR libgcj/21941:
  2837. * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
  2838. UnknownHostException if needed.
  2839. * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
  2840. UnknownHostException if needed.
  2841. 2006-04-19 Tom Tromey <tromey@redhat.com>
  2842. * Makefile.in: Rebuilt.
  2843. * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
  2844. all_java_deps_files.
  2845. 2006-04-19 Tom Tromey <tromey@redhat.com>
  2846. * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
  2847. handle EINTR.
  2848. 2006-04-17 Tom Tromey <tromey@redhat.com>
  2849. PR libgcj/27171:
  2850. * testsuite/libjava.lang/pr27171.java: New file.
  2851. * testsuite/libjava.lang/pr27171.out: New file.
  2852. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
  2853. true if we've seen a high surrogate.
  2854. (write): Handle high surrogates at the end of the stream.
  2855. Properly emit isolated low surrogates.
  2856. 2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
  2857. * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
  2858. of failure.
  2859. 2006-04-13 Tom Tromey <tromey@redhat.com>
  2860. PR libgcj/26522:
  2861. * Makefile.in: Rebuilt.
  2862. * Makefile.am (libsubdir): New variable.
  2863. 2006-04-12 NAKATA Maho <maho@FreeBSD.org>
  2864. PR libgcj/23829
  2865. * configure.ac: Link against -lpthread rather than -lc_r on
  2866. FreeBSD 5 and above.
  2867. * configure: Regenerate.
  2868. 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
  2869. * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
  2870. of package-private field "loadedClasses" using reflection.
  2871. * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
  2872. block.
  2873. 2006-04-10 Matthias Klose <doko@debian.org>
  2874. * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
  2875. directory names containing underscores.
  2876. 2006-04-10 Andrew Haley <aph@redhat.com>
  2877. * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
  2878. (SIGNAL_HANDLER): Mark arg as unused.
  2879. * configure.host (x86_64-* DIVIDESPEC): Use
  2880. fno-use-divide-subroutine.
  2881. 2006-04-07 Andrew Haley <aph@redhat.com>
  2882. * java/net/InetAddress.java: Throw an UnknownHostException if
  2883. lookup fails.
  2884. 2006-04-05 Tom Tromey <tromey@redhat.com>
  2885. PR libgcj/26625:
  2886. * Makefile.in: Rebuilt.
  2887. * Makefile.am (libgcj-$(gcc_version).jar): Depend on
  2888. classpath/lib/compile-classes.
  2889. 2006-04-05 Ranjit Mathew <rmathew@gcc.gnu.org>
  2890. * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
  2891. MinGW since EBP is used for backtracking through call frames on this
  2892. platform.
  2893. 2006-04-05 Archit Shah <ashah@redhat.com>
  2894. PR java/25414
  2895. * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
  2896. Add classpath argument.
  2897. * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
  2898. caller.
  2899. * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
  2900. * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
  2901. * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
  2902. * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
  2903. mkdirs for destination directory, correct handling of superclasses
  2904. and interfaces of the remote class, correct handling of exceptions
  2905. declared by remote methods.
  2906. 2006-04-04 Tom Tromey <tromey@redhat.com>
  2907. PR libgcj/26990:
  2908. * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
  2909. * gnu/java/lang/natMainThread.cc (call_main): Use
  2910. exitNoChecksAccessor.
  2911. * testsuite/libjava.lang/pr26990.out: New file.
  2912. * testsuite/libjava.lang/pr26990.java: New file.
  2913. * java/lang/Runtime.java (exitNoChecks): New method.
  2914. (exitNoChecksAccessor): Likewise.
  2915. (exit): Call exitNoChecks.
  2916. 2006-04-03 Tom Tromey <tromey@redhat.com>
  2917. * Makefile.in: Rebuilt.
  2918. * Makefile.am (ZIP): Removed.
  2919. (libgcj-$(gcc_version).jar): Use $(JAR).
  2920. (src.zip): Likewise.
  2921. * configure: Rebuilt.
  2922. * configure.ac: Check for jar. Removed code to set ZIP.
  2923. 2006-04-03 Andrew Haley <aph@redhat.com>
  2924. * testsuite/libjava.lang/Float_2.java: New file.
  2925. 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
  2926. * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
  2927. 2006-03-30 Tom Tromey <tromey@redhat.com>
  2928. PR java/26042:
  2929. * testsuite/libjava.compile/pr26042.java: New file.
  2930. 2006-03-29 Tom Tromey <tromey@redhat.com>
  2931. * sources.am, Makefile.in: Rebuilt.
  2932. * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
  2933. 2006-03-29 Tom Tromey <tromey@redhat.com>
  2934. PR java/26390:
  2935. * testsuite/libjava.lang/pr26390.out: New file.
  2936. * testsuite/libjava.lang/pr26390.java: New file.
  2937. * sources.am, Makefile.in: Rebuilt.
  2938. * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
  2939. 2006-03-29 Tom Tromey <tromey@redhat.com>
  2940. * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
  2941. CLOCK_HIGHRES.
  2942. 2006-03-28 Anthony Balkissoon <abalkiss@redhat.com>
  2943. * scripts/unicode-muncher.pl: Removed this file.
  2944. * scripts/MakeCharTables.java: Likewise.
  2945. * scripts/unicode-to-chartables.pl: New file.
  2946. * java/lang/natCharacter.cc:
  2947. (UNASSIGNED_TYPE): New field.
  2948. (UNASSIGNED_DIGIT): Likewise.
  2949. (UNASSIGNED_DIRECTION): Likewise.
  2950. (UNASSIGNED_NUMERIC_VALUE): Likewise.
  2951. (PRIVATE_TYPE): Likewise.
  2952. (PRIVATE_DIRECTION): Likewise.
  2953. (readCodePoint): New method.
  2954. (getType(jint)): Likewise.
  2955. (toLowerCase(jint)): Likewise.
  2956. (toUpperCase(jint)): Likewise.
  2957. (toTitleCase(jint)): Likewise.
  2958. (digit(jint, jint)): Likewise.
  2959. (getNumericValue(jint)): Likewise.
  2960. (getDirectionality(jint)): Likewise.
  2961. (readChar),
  2962. (getType(jchar)),
  2963. (toLowerCase(jchar)),
  2964. (toUpperCase(jchar)),
  2965. (toTitleCase(jchar)),
  2966. (digit(jchar, jint)),
  2967. (getNumericValue(jchar)),
  2968. (getDirectionality(jchar)): Changed references from data to data[0],
  2969. blocks to blocks[0], direction to direction[0], numValue to
  2970. numValue[0], upper to upper[0], lower to lower[0], and shift to
  2971. shift[0] to reflect the new structures in java-chartables.h.
  2972. * java/lang/Character.java:
  2973. (readCodePoint): Declared new native method.
  2974. (getType(int)): Likewise.
  2975. (toLowerCase(int)): Likewise.
  2976. (toUpperCase(int)): Likewise.
  2977. (toTitleCase(int)): Likewise.
  2978. (digit(int, int)): Likewise.
  2979. (getNumericValue(int)): Likewise.
  2980. (getDirectionality(int)): Likewise.
  2981. (isLowerCase(int)): New method.
  2982. (isUpperCase(int)): Likewise.
  2983. (itTitleCase(int)): Likewise.
  2984. (isDigit(int)): Likewise.
  2985. (isDefined(int)): Likewise.
  2986. (isLetter(int)): Likewise.
  2987. (isLetterOrDigit(int)): Likewise.
  2988. (isJavaIdentifierStart(int)): Likewise.
  2989. (isJavaIdentifierPart(int)): Likewise.
  2990. (isUnicodeIdentifierStart(int)): Likewise.
  2991. (isUnicodeIdentifierPart(int)): Likewise.
  2992. (isIdentifierIgnorable(int)): Likewise.
  2993. (isSpaceChar(int)): Likewise.
  2994. (isWhitespace(int)): Likewise.
  2995. (isISOControl(int)): Likewise.
  2996. (isMirrored(int)): Likewise.
  2997. * include/java-chartables.h: Generated from
  2998. scripts/unicode-to-chartables.h.
  2999. 2006-03-24 David Daney <ddaney@avtrex.com)
  3000. * testsuite/libjava.lang/PR26858.java: New test.
  3001. * testsuite/libjava.lang/PR26858.out: Ditto.
  3002. * testsuite/libjava.lang/PR26858.xfail: Ditto.
  3003. 2006-03-16 Kaz Kojima <kkojima@gcc.gnu.org>
  3004. * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
  3005. macro.
  3006. 2006-03-15 Tom Tromey <tromey@redhat.com>
  3007. * testsuite/libjava.jacks/jacks.xfail: Removed
  3008. 13.1-runtime-method-5.
  3009. 2006-03-15 Tom Tromey <tromey@redhat.com>
  3010. PR java/26638:
  3011. * link.cc (get_interfaces): Skip <clinit>.
  3012. (append_partial_itable): Likewise.
  3013. 2006-03-10 Tom Tromey <tromey@redhat.com>
  3014. PR libgcj/25713:
  3015. * java/util/zip/Deflater.java (flush): New method.
  3016. * sources.am, Makefile.in: Rebuilt.
  3017. * java/util/zip/DeflaterOutputStream.java: Removed.
  3018. * java/util/zip/InflaterInputStream.java: Likewise.
  3019. * java/util/zip/GZIPInputStream.java: Likewise.
  3020. * java/util/zip/GZIPOutputStream.java: Likewise.
  3021. 2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>
  3022. * include/powerpc-signal.h: Fix typo in comment.
  3023. 2006-03-09 Mark Wielaard <mark@klomp.org>
  3024. Imported GNU Classpath 0.90
  3025. * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
  3026. * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
  3027. * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
  3028. * java/lang/Math.java: New override file.
  3029. * java/lang/Character.java: Merged from Classpath.
  3030. (start, end): Now 'int's.
  3031. (canonicalName): New field.
  3032. (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
  3033. (UnicodeBlock): Added argument.
  3034. (of): New overload.
  3035. (forName): New method.
  3036. Updated unicode blocks.
  3037. (sets): Updated.
  3038. * sources.am: Regenerated.
  3039. * Makefile.in: Likewise.
  3040. 2006-03-09 Tom Tromey <tromey@redhat.com>
  3041. PR libgcj/23495:
  3042. * java/lang/natString.cc (_Jv_NewString): Use memcpy.
  3043. (equals): Use memcmp.
  3044. (contentEquals): Likewise.
  3045. (getChars): Use memcpy.
  3046. (toCharArray): Likewise.
  3047. (regionMatches): Use memcmp.
  3048. (regionMatches): Likewise.
  3049. (startsWith): Likewise.
  3050. (concat): Use memcpy.
  3051. (valueOf): Likewise.
  3052. 2006-03-09 Tom Tromey <tromey@redhat.com>
  3053. * configure: Rebuilt.
  3054. * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
  3055. well.
  3056. 2006-03-09 Tom Tromey <tromey@redhat.com>
  3057. PR libgcj/24461:
  3058. * java/util/zip/InflaterInputStream.java (fill): Throw exception
  3059. if stream is truncated.
  3060. 2006-03-09 Tom Tromey <tromey@redhat.com>
  3061. * win32.cc (_Jv_platform_nanotime): New function.
  3062. * include/win32.h (_Jv_platform_nanotime): Declare.
  3063. * posix.cc (_Jv_platform_nanotime): New function.
  3064. * include/posix.h (_Jv_platform_nanotime): Declare.
  3065. * java/lang/natSystem.cc (nanoTime): New method.
  3066. * java/lang/System.java (nanoTime): Declare.
  3067. * include/config.h.in, configure: Rebuilt.
  3068. * configure.ac: Check for clock_gettime.
  3069. 2006-03-08 David Daney <ddaney@avtrex.com>
  3070. * configure.ac (LD): Add AC_CHECK_TOOL for ld.
  3071. (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
  3072. (LD_FINISH_STATIC_SPEC): Ditto
  3073. * configure: Regenerated.
  3074. * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
  3075. LD_FINISH_STATIC_SPEC.
  3076. 2006-03-07 Tom Tromey <tromey@redhat.com>
  3077. PR libgcj/26103:
  3078. * java/lang/ClassLoader.java (loadClass): Don't throw
  3079. StringIndexOutOfBoundsException if name is empty.
  3080. * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
  3081. if class not found.
  3082. 2006-03-07 David Daney <ddaney@avtrex.com>
  3083. * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
  3084. 2006-03-07 David Daney <ddaney@avtrex.com>
  3085. * link.cc: Include ffi.h if USE_LIBFFI defined.
  3086. 2006-03-03 Tom Tromey <tromey@redhat.com>
  3087. * interpret.cc (do_allocate_static_fields): Added comment.
  3088. 2006-03-01 Tom Tromey <tromey@redhat.com>
  3089. PR java/24321:
  3090. * testsuite/libjava.lang/pr24321.java: New file.
  3091. * testsuite/libjava.lang/pr24321.out: New file.
  3092. * java/lang/natClass.cc (isInstance): Don't initialize class.
  3093. (isAssignableFrom): Likewise.
  3094. 2006-02-27 Jakub Jelinek <jakub@redhat.com>
  3095. PR other/26208
  3096. * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
  3097. of _Unwind_GetIP.
  3098. * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
  3099. (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
  3100. to throw.
  3101. * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
  3102. macro.
  3103. * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
  3104. macro.
  3105. 2006-02-23 Scott Gilbertson <scottg@mantatest.com>
  3106. * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
  3107. before returning, handle null clip.
  3108. (getClipBounds): Handle null clip.
  3109. * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
  3110. * gnu/awt/xlib/XCanvasPeer.java ():
  3111. (getLocationOnScreen): Implement.
  3112. * classpath/gnu/java/awt/peer/GLightweightPeer.java
  3113. (repaint): Merged with Classpath.
  3114. * classpath/java/awt/Graphics.java (hitClip): Merged with
  3115. Classpath.
  3116. 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
  3117. * link.cc: Added variant of create_error_method that
  3118. will not complain about unused parameter if compiled with
  3119. USE_LIBFFI not being defined.
  3120. (_Jv_Linker::find_field_helper): Fixed indentation.
  3121. (_Jv_Linker::create_error_method): Fixed indentation.
  3122. (_Jv_Linker::link_symbol_table): Fixed indentation.
  3123. 2006-02-16 Andrew Haley <aph@redhat.com>
  3124. * stacktrace.cc (GetStackTraceElements): Call
  3125. gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
  3126. non-Java frames should be removed from a printed stack trace.
  3127. Pass methodName to getLineNumberForFrame().
  3128. (getLineNumberForFrame): Set method_name from info.dli_sname.
  3129. * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
  3130. (remove_unknown): New variable.
  3131. * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
  3132. Add methodName arg.
  3133. 2006-02-15 Matthias Klose <doko@debian.org>
  3134. * gnu/java/nio/charset, gnu/java/net/protocol/file,
  3135. gnu/regexp: Remove empty directories.
  3136. 2006-02-09 Bryce McKinlay <mckinlay@redhat.com>
  3137. * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put
  3138. 'itable' inline, instead of as a pointer.
  3139. (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
  3140. * link.cc (null_idt): Update definition.
  3141. (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
  3142. as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
  3143. (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
  3144. (_Jv_Linker::find_iindex): Likewise. Update comment.
  3145. * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
  3146. _Jv_IDispatchTable change.
  3147. (_Jv_IsAssignableFrom): Likewise.
  3148. 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
  3149. PR libgcj/25187:
  3150. * gnu/gcj/io/natSimpleSHSStream.cc
  3151. (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
  3152. * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
  3153. _Jv_InterpFrame().
  3154. * boehm.cc: #undef some autoconf macros before including gc-config.h.
  3155. (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
  3156. (_Jv_MarkArray): Likewise.
  3157. * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
  3158. Simplify _Jv_GCRegisterDisappearingLink() call.
  3159. * java/lang/Class.h (getComponentType): Use element_type.
  3160. (element_type): New field declaration, as a union with "methods".
  3161. * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
  3162. * java/net/natVMNetworkInterfacePosix.cc
  3163. (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
  3164. avoid sign comparison warning.
  3165. * include/java-interp.h (_Jv_InterpFrame): Take thread as second
  3166. argument, not parent call frame.
  3167. * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
  3168. without a cast.
  3169. (restore_rt): Declare with hidden visibility, not "static".
  3170. * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
  3171. constant.
  3172. * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
  3173. warning.
  3174. 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
  3175. PR libgcj/26113:
  3176. * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
  3177. as "const char *".
  3178. * verify.cc (verify_fail): Likewise.
  3179. * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
  3180. * interpret.cc (throw_internal_error, throw_class_format_error):
  3181. Likewise.
  3182. * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed,
  3183. _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
  3184. * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
  3185. * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
  3186. * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
  3187. is_attribute_name): Likewise.
  3188. * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
  3189. _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
  3190. 2006-02-08 Tom Tromey <tromey@redhat.com>
  3191. PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
  3192. * defineclass.cc (parse): Use _Jv_AllocRawObj.
  3193. (read_constpool): Likewise.
  3194. (read_one_code_attribute): Use internal function name.
  3195. (handleConstantPool): Use _Jv_AllocRawObj.
  3196. (handleInterfacesBegin): Likewise.
  3197. (handleFieldsBegin): Likewise.
  3198. (handleMethodsBegin): Likewise.
  3199. (handleCodeAttribute): Likewise.
  3200. (handleMethodsEnd): Likewise.
  3201. * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
  3202. * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
  3203. Allocate reference fields separately.
  3204. * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
  3205. (add_miranda_methods): Likewise.
  3206. (generate_itable): Use _Jv_AllocBytes.
  3207. (find_iindex): Likewise.
  3208. (struct method_closure): New structure.
  3209. (create_error_method): Use struct method_closure; allocate with
  3210. _Jv_AllocBytes.
  3211. (ensure_fields_laid_out): Separate reference fields from
  3212. non-reference fields.
  3213. * boehm.cc (_Jv_MarkObj): Mark vtable. Only mark direct fields
  3214. of Class.
  3215. (_Jv_MarkArray): Mark vtable.
  3216. (_Jv_AllocRawObj): Don't allocate objects of size 0.
  3217. * include/execution.h
  3218. (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
  3219. parameter.
  3220. (struct _Jv_CompiledEngine): Updated.
  3221. (class _Jv_InterpreterEngine): Updated.
  3222. 2006-02-08 Tom Tromey <tromey@redhat.com>
  3223. PR java/22578:
  3224. * gcj/javaprims.h: Updated.
  3225. * sources.am, Makefile.in: Rebuilt.
  3226. * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
  3227. (doubleToRawLongBits): Likewise.
  3228. (longBitsToDouble): Likewise.
  3229. (toString): Likewise.
  3230. (parseDouble): Likewise.
  3231. * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
  3232. (floatToRawIntBits): Likewise.
  3233. (intBitsToFloat): Likewise.
  3234. * java/lang/VMDouble.java: New file.
  3235. * java/lang/VMFloat.java: New file.
  3236. * java/lang/Float.java, java/lang/Double.java: Removed.
  3237. 2006-02-06 Tom Tromey <tromey@redhat.com>
  3238. * gij.cc (version): Use 2006.
  3239. * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
  3240. * gnu/gcj/convert/Convert.java (version): Use 2006.
  3241. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
  3242. 2006-02-04 Tom Tromey <tromey@redhat.com>
  3243. PR java/25676:
  3244. * testsuite/libjava.lang/pr25676.out: New file.
  3245. * testsuite/libjava.lang/pr25676.java: New file.
  3246. 2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
  3247. * Makefile.am (src.zip): Update src.zip file search to look in
  3248. classpath directory.
  3249. * Makefile.in: Regenerate.
  3250. 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
  3251. * link.cc:
  3252. (_Jv_Linker::create_error_method): Added missing (void *) cast.
  3253. 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
  3254. * include/jvm.h:
  3255. (_Jv_Linker::create_error_method): New method declaration.
  3256. * link.cc:
  3257. (_Jv_Linker::create_error_method): New method.
  3258. (_Jv_Linker::link_symbol_table): Use new method above.
  3259. 2006-02-01 Robert Schuster <robertschuster@fsfe.org>
  3260. * link.cc:
  3261. (_Jv_Linker::find_field_helper): Added checks.
  3262. (_Jv_Linker::find_field): Use exception swallowing class resolution
  3263. and added early return.
  3264. (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
  3265. (_Jv_Linker::link_symbol_table): Use exception swallowing class
  3266. resolution, added ffi_closure installation routine, use
  3267. _Jv_ThrowNoClassDefFoundError for missing static method.
  3268. (_Jv_Linker::ensure_class_linked): Added string check which does
  3269. not trigger class resolution.
  3270. * java/lang/natClassLoader.cc:
  3271. (_Jv_FindClassNoException): New method.
  3272. * java/lang/Class.h:
  3273. (_Jv_FindClassNoException): New method declaration.
  3274. * include/jvm.h:
  3275. (_Jv_FindClassNoException): New method declaration.
  3276. (_Jv_FindClassFromSignatureNoException): New method declaration.
  3277. * prims.cc:
  3278. (_Jv_FindClassFromSignatureNoException): New method.
  3279. * gcj/javaprims.h:
  3280. (_Jv_equalsUtf8Classname): New method declaration.
  3281. (_Jv_isPrimitiveOrDerived): Dito.
  3282. * prims.cc:
  3283. (_Jv_equalsUtf8Classnames): New method.
  3284. (_Jv_isPrimitiveOrDerived): New method.
  3285. * verify.cc:
  3286. (ref_intersection::equals): Use new classname comparison method.
  3287. (type::compatible): Use new classname comparison method. Added
  3288. check whether LHS' type is java.lang.Object .
  3289. (type::resolve): Added new optional debug message and simplified
  3290. if-expression.
  3291. (type::to_array): Added codepath that generates an array type
  3292. without resolving the element type.
  3293. 2006-01-31 Mark Wielaard <mark@klomp.org>
  3294. * NEWS: Add 4.1 updates.
  3295. 2006-01-30 Keith Seitz <keiths@redhat.com>
  3296. * include/java-interp.h (insn_index): New declaration.
  3297. (num_insn_slots): New private variable.
  3298. (get_line_table): New declaration.
  3299. * interpret.cc (insn_index): New function.
  3300. (get_line_table): New function.
  3301. 2006-01-24 Archit Shah <ashah@redhat.com>
  3302. Tom Tromey <tromey@redhat.com>
  3303. * prims.cc (next_property_value): Never return NULL.
  3304. (process_gcj_properties): Copy 'props' before using it.
  3305. 2006-01-23 Keith Seitz <keiths@redhat.com>
  3306. * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
  3307. * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
  3308. 2006-01-23 David Daney <ddaney@avtrex.com>
  3309. * configure.host (disable_dladdr): Remove variable and its
  3310. documentation.
  3311. * configure.ac: Do not test for disable_dladdr.
  3312. * configure: Regenerate.
  3313. * include/config.h.in: Regenerate.
  3314. 2006-01-18 Tom Tromey <tromey@redhat.com>
  3315. * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
  3316. already exists.
  3317. 2006-01-18 Keith Seitz <keiths@redhat.com>
  3318. * include/java-interp.h (_Jv_CompileMethod): Add declaration.
  3319. (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
  3320. * interpret.cc (_Jv_CompileMethod): New function.
  3321. (run): Massage code to allow for NULL args.
  3322. Update comments to explain NULL args.
  3323. Return if compiling the method and args is NULL.
  3324. 2006-01-18 H.J. Lu <hongjiu.lu@intel.com>
  3325. PR libgcj/25840
  3326. * include/x86_64-signal.h (RESTORE2): Add ".text\n".
  3327. 2006-01-17 Tom Tromey <tromey@redhat.com>
  3328. PR classpath/20198:
  3329. * java/net/URLClassLoader.java (FileURLLoader): Added argument.
  3330. (JarURLLoader): Likewise.
  3331. (addURLImpl): Canonicalize file URLs.
  3332. 2006-01-16 Mark Wielaard <mark@klomp.org>
  3333. Imported GNU Classpath 0.20
  3334. * Makefile.am (AM_CPPFLAGS): Add classpath/include.
  3335. * java/nio/charset/spi/CharsetProvider.java: New override file.
  3336. * java/security/Security.java: Likewise.
  3337. * sources.am: Regenerated.
  3338. * Makefile.in: Likewise.
  3339. 2006-01-17 Jakub Jelinek <jakub@redhat.com>
  3340. * configure.ac (dbexecdir): New substituted var.
  3341. * configure: Rebuilt.
  3342. * Makefile.am (dbexecdir): Remove.
  3343. * Makefile.in: Rebuilt.
  3344. 2006-01-13 Tom Tromey <tromey@redhat.com>
  3345. * gnu/regexp/MessagesBundle_fr.properties: Removed.
  3346. * gnu/regexp/MessagesBundle.properties: Removed.
  3347. 2006-01-13 Tom Tromey <tromey@redhat.com>
  3348. * java/security/classpath.security: Removed.
  3349. * Makefile.in: Rebuilt.
  3350. * Makefile.am (install-data-local): Don't install
  3351. classpath.security.
  3352. 2006-01-08 Chris Burdess <dog@gnu.org>
  3353. * java/lang/Character.java (toChars,toCodePoint): Correct these
  3354. methods to use algorithms from Unicode specification.
  3355. 2006-01-08 Tom Tromey <tromey@redhat.com>
  3356. * java/lang/StringBuilder.java (appendCodePoint): New method.
  3357. (insert): New overloads.
  3358. * java/lang/StringBuffer.java (StringBuffer): New constructor.
  3359. (charAt): Remerged javadoc.
  3360. (codePointAt, codePointBefore): New methods.
  3361. (appendCodePoint): New method.
  3362. (append): New overloads.
  3363. (insert): Likewise.
  3364. (trimToSize, codePointCount, offsetByCodePoints): New methods.
  3365. * java/lang/Float.java (SIZE): New field.
  3366. (valueOf): New method.
  3367. * java/lang/natDouble.cc (initIDs): Removed.
  3368. * java/lang/Double.java (static initializer): Removed.
  3369. (SIZE): New field.
  3370. (valueOf): New method.
  3371. (initIDs): Removed.
  3372. 2006-01-07 Jakub Jelinek <jakub@redhat.com>
  3373. PR libgcj/24940
  3374. * shlibpath.m4: Replace $SED with sed.
  3375. * configure: Rebuilt.
  3376. 2006-01-06 Tom Tromey <tromey@redhat.com>
  3377. * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
  3378. MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
  3379. (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
  3380. MAX_LOW_SURROGATE): Javadoc fixes.
  3381. (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
  3382. isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
  3383. methods from Classpath.
  3384. * java/lang/String.java (codePointAt, codePointBefore,
  3385. codePointCount, contains, replace): New methods from Classpath.
  3386. (contentEquals): Declare.
  3387. * java/lang/natString.cc (contentEquals): New method.
  3388. 2005-12-26 Anthony Green <green@redhat.com>
  3389. * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
  3390. of data to read (dst.remaining()).
  3391. * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
  3392. 2005-11-11 Mark Wielaard <mark@klomp.org>
  3393. Reported by john.zigman@anu.edu.au as bug #24608.
  3394. * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
  3395. destination ByteBuffer when it doesn't have an array instead of len
  3396. bytes.
  3397. 2006-01-05 Tom Tromey <tromey@redhat.com>
  3398. * java/lang/natThread.cc (finish_): Don't clear 'group'.
  3399. * sources.am, Makefile.in: Rebuilt.
  3400. * java/lang/Runtime.java (exit): Merged with Classpath.
  3401. (runShutdownHooks): New method from Classpath.
  3402. * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
  3403. FileDeleter.
  3404. * gnu/gcj/runtime/FileDeleter.java: Removed.
  3405. * java/lang/natRuntime.cc (runFinalizationForExit): New method.
  3406. (exitInternal): Don't run finalizers or delete files.
  3407. 2006-01-05 Tom Tromey <tromey@redhat.com>
  3408. * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
  3409. 2006-01-04 Krister Walfridsson <cato@df.lth.se>
  3410. * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
  3411. 2006-01-04 Tom Tromey <tromey@redhat.com>
  3412. * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
  3413. * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
  3414. Changed argument type. Use SystemClassLoader.addClass.
  3415. * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.