please dont rip this site

Java Bugs

Problems associated with the JDK version 1.02 and browser implementations.
Compiler
The compiler gets confused about the files that have to be compiled and you end up with mish mash of old and new class files. Delete old class files before recompiling to ensure everything is built.

CardLayout
Unreliable in Sunos versions of netscape navigators.

FontMetrics
Height returned is twice the actual height on Sunos versions of netscape navigators.

minimimSize preferredSize
Unless this method is provided by your component, the documented behaviour is to return the current size! If you write a layout manager, it can not rely upon minimumSize() to actually return the minimum size of the component and must ignore it.

List
repainting of background behing pull down lists broken in appletviewer for NT

createImage
Not guaranteed to return meaningful object until a peer has been created, i.e. after component has been added to a container. As a result offscreen images must be created in the addNotify() method.

Threads
on fast proceessor machines, threads don't sleep for as long as they should. In fact Threads are hopeless.

CropImageFilter
Extremely slow on unix. Can take 1.5 seconds per crop. Quicker to copy an entire bitmap, after setting the clipping rectangle rather than crop.

Reading from alien files
Depending on the endianness of the machine that wrote the file, the order of the bytes could be really mucked up. Problem is that RandomAccessFile has no facility for swapping bytes as they are read and you can't modify behaviour of the read functions in subclasses as they are all final methods. Check my comms section for a workaround

No sets, binary trees or sorting
Essential in any serious development language, but missing in Java

Architecture independence
OK, so this is more of a gripe rather than a bug, theres not enough publically available ports of the java JDK to allow it to be called independant of architecture, the Sun implementation of Java runs only on Solaris and WindowsNT.

On the other hand, using an undocumented feature of the browser by Netscape, you can compile java on virtually any operating system

Inadequate graphics
AWT is hardly what I would call graphics. Still you can do simple things with it, but not much more without hitting performance problems. Sun are rumoured to be working on the graphics for a future release of the JDK.

Microsoft® Internet Explorer
Does not support the archive parameter to the <applet> tag.

The archive parameter specifies the name of a zip file that contains class files. the zip archive must not use any compression or the applet will not work.

<applet archive=myarchive.zip name=myclass.class .... >

Netscape Navigator
Does not support the parameter name cabbase within an <applet> tag.

The cabbase parameter specifies the name of a cab file that contains class files. the cab archive is the Microsoft® Cabinet format and is compressed.

<applet name=myclass.class .... >
<param name="cabbase" value="mycabfile.cab" >

Development environment
Java workshop makes use of Suns own Hot java browser, which is entirely written in java. there are some problems with this

file: /Techref/language/JAVA/nosugar/bugs/index.htm, 6KB, , updated: 1997/2/2 22:16, local time: 2024/11/25 17:21,
TOP NEW HELP FIND: 
18.217.161.27:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/language/JAVA/nosugar/bugs/index.htm"> Java bugs</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .