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

Summary: db.core tests can not be compiled
Product: db Reporter: Vladimir Voskresensky <vv159170>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal CC: mmirilovic
Priority: P1 Keywords: TEST
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.