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.

Bug 146043 - Uncompilable source on JDK 6u10
Summary: Uncompilable source on JDK 6u10
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2008-09-03 14:09 UTC by mslama
Modified: 2008-09-04 06:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2008-09-03 14:09:25 UTC
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.
Comment 1 Martin Krauskopf 2008-09-03 14:17:51 UTC
That's actually that unused import.
Comment 2 Martin Krauskopf 2008-09-03 14:29:52 UTC
Fixed: #068dfa7dc1b7
Comment 3 Quality Engineering 2008-09-04 06:15:23 UTC
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)