This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
ant/project issue ByteOutoutStream defaults to 32B, vhich is way too low for GFH. It causes several reallocations with memcopies. If the GFH knows future size (as in case of reading a file into a byte array), it should tell it to the BAOS constructor.
OK, I will use InputStream.available() as an estimate.
committed Up-To-Date 1.6 ant/project/src/org/netbeans/spi/project/support/ant/GeneratedFilesHelper.java
OK. I thought you'll use file size, but it seems that available() returns correct value.