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.
Here's a more real-world example: class Java::OrgApacheHadoopMapred::JobConf def input_paths f org.apache.hadoop.mapred.FileInputFormat.set_input_paths(self, f) end def add_input_paths f org.apache.hadoop.mapred.FileInputFormat.add_input_paths(self, f) end def sequence_file_compress_output do_compression = true org.apache.hadoop.mapred.SequenceFileOutputFormat.setCompressOutput(conf, do_compression); end def sequence_file_output_compression_type t = :record t = eval("Java::OrgApacheHadoopIo::SequenceFile::CompressionType::#{t.upcase}") org.apache.hadoop.mapred.SequenceFileOutputFormat.setOutputCompressionType(t) end end
Fixed in changeset 961a89e9a087