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 205701 - db.core tests can not be compiled
Summary: db.core tests can not be compiled
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2011-11-30 10:08 UTC by Vladimir Voskresensky
Modified: 2011-11-30 13:58 UTC (History)
1 user (show)

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 Vladimir Voskresensky 2011-11-30 10:08:33 UTC
http://hg.netbeans.org/releases/rev/d57fbb2c9614 causing failing build of db.core tests
Comment 1 Vladimir Voskresensky 2011-11-30 10:09:32 UTC
it blocks us from building test distro:
projectized-common.do-unit-test-build:
    [mkdir] Created dir: /export1/hudson/jobs/cnd-build/workspace/db.core/build/test/unit/classes
 [nb-javac] Compiling 11 source files to /export1/hudson/jobs/cnd-build/workspace/db.core/build/test/unit/classes
[subant-junit] /export1/hudson/jobs/cnd-build/workspace/db.core/test/unit/src/org/netbeans/modules/db/sql/loader/SQLEditorSupportConsoleTest.java:250: cannot inherit from final org.netbeans.modules.db.sql.loader.SQLCloneableEditor
[subant-junit]         private static final class MySQLCloneableEditor extends SQLCloneableEditor {
[subant-junit]                                                                 ^
[subant-junit] /export1/hudson/jobs/cnd-build/workspace/db.core/test/unit/src/org/netbeans/modules/db/sql/loader/SQLEditorSupportNormalTest.java:252: cannot inherit from final org.netbeans.modules.db.sql.loader.SQLCloneableEditor
[subant-junit]         private static final class MySQLCloneableEditor extends SQLCloneableEditor {
[subant-junit]                                                                 ^
[subant-junit] Note: Attempting to workaround javac bug #6512707
[subant-junit] /export1/hudson/jobs/cnd-build/workspace/db.core/test/unit/src/org/netbeans/modules/db/sql/loader/SQLEditorSupportConsoleTest.java:250: cannot inherit from final org.netbeans.modules.db.sql.loader.SQLCloneableEditor
[subant-junit]         private static final class MySQLCloneableEditor extends SQLCloneableEditor {
[subant-junit]                                                                 ^
[subant-junit] /export1/hudson/jobs/cnd-build/workspace/db.core/test/unit/src/org/netbeans/modules/db/sql/loader/SQLEditorSupportNormalTest.java:252: cannot inherit from final org.netbeans.modules.db.sql.loader.SQLCloneableEditor
[subant-junit]         private static final class MySQLCloneableEditor extends SQLCloneableEditor {
[subant-junit]
Comment 2 Jiri Rechtacek 2011-11-30 10:17:55 UTC
Already fixed.
Comment 3 Jiri Rechtacek 2011-11-30 10:26:23 UTC
Read http://blogs.oracle.com/xzajo/entry/binary_test_distribution_for_netbeans and setup this property -Dtest.fail.on.error=false, you can no longer be blocked by these minor problems.