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.
Summary: | Nativearrays are not properly formatted | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | Anton Chechel <manowar> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 173487 |
Description
Alexandr Scherbatiy
2009-11-18 06:49:07 UTC
The Case 1 should be: ----------------------------------------------------------------- var str = "Simple string"; var raw: nativearray of Byte = str.getBytes(); java.util.Arrays.sort(raw); var strRes: String = java.util.Arrays.toString(raw); println(strRes); ----------------------------------------------------------------- NetBeans-JavaFX-Soma #60 - Format code: -------------------------------------------------- var arr = ["1", "2"] as nativearray of String; var b = 3; -------------------------------------------------- The result is: -------------------------------------------------- var arr = ["1", "2"] as nativearray of String; var b = 3; -------------------------------------------------- verified in NetBeans-JavaFX-Soma: #61 Respective CS for release68_fixes http://hg.netbeans.org/javafx/rev/d1bfb13acc13 http://hg.netbeans.org/javafx/rev/aaa46fb677a2 Verified in NB 6.8 patch1 netbeans-6.8-201001241915-javafx-full.zip from /builds/netbeans/6.8/fixes |