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.
com.sun.java.swing.SwingUtilities2 is not API. JDK 6u10 contains class com.sun.java.swing.SwingUtilities3. Output from build: compile: [mkdir] Created dir: /mnt/local/mslama/netbeans/hg-nbsrc/core-main/ruby.testrunner/build/classes [javac] Compiling 34 source files to /mnt/local/mslama/netbeans/hg-nbsrc/core-main/ruby.testrunner/build/classes [repeat] /mnt/local/mslama/netbeans/hg-nbsrc/core-main/ruby.testrunner/src/org/netbeans/modules/ruby/testrunner/ui/ResultWindow.java:44: cannot find symbol [repeat] symbol : class SwingUtilities2 [repeat] location: package com.sun.java.swing [repeat] import com.sun.java.swing.SwingUtilities2; [repeat] ^ [repeat] 1 error [nbmerge] Failed to build target: all-ruby.testrunner BUILD FAILED /mnt/local/mslama/netbeans/hg-nbsrc/core-main/nbbuild/build.xml:719: The following error occurred while executing this line: /mnt/local/mslama/netbeans/hg-nbsrc/core-main/nbbuild/build.xml:714: The following error occurred while executing this line: /mnt/local/mslama/netbeans/hg-nbsrc/core-main/nbbuild/build.xml:760: The following error occurred while executing this line: /mnt/local/mslama/netbeans/hg-nbsrc/core-main/nbbuild/templates/common.xml:126: Compile failed; see the compiler error output for details.
That's actually that unused import.
Fixed: #068dfa7dc1b7
Integrated into 'main-golden', will be available in build *200809040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/068dfa7dc1b7 User: Martin Krauskopf <mkrauskopf@netbeans.org> Log: Unused import (also #146043: Uncompilable source on JDK 6u10)