home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 20 / AACD20.BIN / AACD / Programming / Jikes / Source / TODO < prev   
Encoding:
Text File  |  2001-02-27  |  5.0 KB  |  233 lines

  1. *** TBD for Jikes 1.13 release:
  2.  
  3. Fix build under IRIX, it failed in
  4. 1.12 because of iconv prototype mismatch.
  5. Same goes for Red Hat 7.0.
  6. (FIXED)
  7.  
  8. Include java.g file in tar ball.
  9. This was omitted in the 1.12 release.
  10. (FIXED)
  11.  
  12. Add RPM spec file to the tar ball.
  13. This was omitted in the 1.12 release.
  14. (FIXED)
  15.  
  16.  
  17. Fix namespaces. People need
  18. to be able to compile on
  19. systems that require namespace
  20. support. Many versions of gcc
  21. have bugs that keep namespaces
  22. from working.
  23.  
  24. ./configure HAVE_JIKES_NAMESPACE=1
  25.  
  26. (FIXED)
  27.  
  28.  
  29. Use new casting operations instead of C style
  30. casts, need to add autoconf check too.
  31.  
  32. Casting up from A to B will be checked if
  33. compiler support RTTI. This could catch
  34. nasty cast errors in Jikes.
  35.  
  36. http://www.sns.ias.edu/Main/computing/compilers_html/c-plusplus/c++_ug/Cast.new.doc.html
  37.  
  38. const_cast<int> 'c'
  39.  
  40. same as
  41.  
  42. (int) 'c'
  43.  
  44. dynamic_cast<type>(ARG)
  45.  
  46. A -> B
  47.  
  48. B*  bp = new B():
  49. A*  ap = bp;
  50.  
  51. assert( ap != NULL );
  52. B*  bp2 = dynamic_cast<B*>(ap);
  53. assert( bp2 != NULL );
  54.  
  55.  
  56. (FIXED : still need to actually use them in #ifdefs)
  57.  
  58.  
  59.  
  60.  
  61. Manually generate a list of #include deps for
  62. each of the .c files in the src dir and include
  63. then in Makefile.am. We do not want to use
  64. the automatic depcomp feature of automake.
  65.  
  66. (FIXED)
  67.  
  68.  
  69. The website needs to be made available as a CVS module.
  70. That will make changing and tracking changes far easier.
  71.  
  72. (FIXED)
  73.  
  74.  
  75. Fix the problems with @files demonstrated by
  76. non-jls-argument-expansion tests in Jacks. This
  77. would be significantly easier if during input
  78. conversion, \r \r\n and \n where always converted
  79. into a single \n in the source code. This is
  80. currently implemented in LexStream but it needs
  81. to be done in a more general stream class not
  82. one that does lexing. That way, it could also
  83. be used in the Option class to process @ files.
  84.  
  85. (FIXED, reverted since it caused other problems )
  86.  
  87.  
  88. Add new floating point emulation support code.
  89.  
  90. (FIXED)
  91.  
  92.  
  93.  
  94. Fix problems with double class use of
  95. static const, gcc 3.0 pukes unless
  96. there is an external def too.
  97.  
  98. (FIXED)
  99.  
  100.  
  101.  
  102.  
  103. *** Things that will not be done in 1.13
  104.  
  105.  
  106.  
  107. It is not clear if iconv is only a little
  108. broken or totally busted.
  109.  
  110. More testing is needed to figure out
  111. if this is an endian issue. It works
  112. on an Intel box but fails on a Solaris
  113. Sparc so I think it is a byte order issue.
  114.  
  115. http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=19647
  116.  
  117. While some iconv tests fail under Red Hat 6.2, they
  118. all fail on Red Hat 7.0, which is what this bug
  119. report is talking about.
  120.  
  121. Also, would it be better to convert a bunch
  122. of chars in a buffer instead of doing them
  123. one at a time?
  124.  
  125. Check into the problems discussed with the
  126. onceagain boolean. Could this blow up if
  127. we don't set ch? Also what if the
  128. ErrorDecode..() method return true but
  129. the earlier assign to ch returned 0,
  130. that would set ch to zero right? I
  131. don't think that is really what we
  132. would have wanted.
  133.  
  134. (Will not fix in this release)
  135.  
  136.  
  137.  
  138. Add a configure check to make sure
  139. folks do not attempt to build under
  140. Cygwin with the -mno-cygwin flag.
  141. (Will not fix in this release)
  142.  
  143.  
  144.  
  145. Fix problem with debug line number tables. Newer
  146. versions of java don't like our line numbers.
  147. This is commonly known as "Jikes and JPDA".
  148.  
  149.  
  150.  
  151. Add the src/m4 subdir contents to
  152. the .tar file.
  153.  
  154. (Don't fix, people will not be
  155. able to regenerate a working
  156. ./configure with autoconf 2.13
  157. anyway, so this can be delayed)
  158.  
  159.  
  160.  
  161. If a zip file can not be found,
  162. the error message printed should
  163. say that instead of saying it
  164. is "invalid" (implies it was corrupted).
  165.  
  166. "D:\File\with\wrong\classpath\entry\rt.jar is not a valid zip file" (BAD)
  167.  
  168. "D:\File\with\wrong\classpath\entry\rt.jar not found" (GOOD)
  169.  
  170.  
  171.  
  172. *** TBD at some point:
  173.  
  174. Add test cases for the typos in error.cpp that were fixed
  175. just before the 1.12 release. In fact, it would be nice if we
  176. could generate a test case for every error condition and
  177.  
  178. test the compiler output.
  179.  
  180. Check into the fix for bug 102, we reverted it because of
  181. crashes, but it would be nice to look into the fix again.
  182.  
  183. Drop OLDCSO support from the compiler.
  184.  
  185.  
  186. Why does jikes treat the catching of exceptions
  187. that were not thrown in the try block as a
  188. warning condition. Should these not be errors?
  189.  
  190.  
  191.  
  192. A misleading error from Jikes:
  193.  
  194. % cat unicode_1.java
  195. public class unicode_1 {
  196.     void check(int num, char val) {
  197.         if (num != (int) val) {
  198.             System.err.println("error: mismatch for " + num);
  199.         }
  200.     }
  201.  
  202.     public static void main(String[] argv) {
  203.         check(0, '\u0000');
  204.         check(0, '\u0001');
  205.     }
  206. }
  207.  
  208. Error from Javac:
  209.  
  210. unicode_1.java:9: Can't make static reference to method void check(int, char) in class unicode_1.
  211.         check(0, '\u0000');
  212.              ^
  213. unicode_1.java:10: Can't make static reference to method void check(int, char) in class unicode_1.
  214.         check(0, '\u0001');
  215.              ^
  216. 2 errors
  217.  
  218.  
  219. Error from Jikes:
  220.  
  221. Found 2 semantic errors compiling "unicode_1.java":
  222.  
  223.      9.         check(0, '
  224.  
  225.     10.         check(0, '`');
  226.                 <----------->
  227. *** Error: The method "check" does not denote a class method.
  228.  
  229.  
  230. Is it just me, or is this error message really misleading?
  231. The Sun error message seems a whole lot better.
  232.  
  233.