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 226543 - The task 'gen-sigtests-release' ignores nbjdk.home setting
Summary: The task 'gen-sigtests-release' ignores nbjdk.home setting
Status: NEW
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-22 15:47 UTC by Jiri Rechtacek
Modified: 2013-02-22 15:48 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 Jiri Rechtacek 2013-02-22 15:47:58 UTC
The task gen-sigtest-release adds JDK 7 jars into classpath even thought nbjdk.home is set to JDK 6

Easy to reproduce:
1) Make JDK 7 as system default i.e. $ java -version returns java version "1.7.0_15"
2) add nbjdk.home=/usr/local/share/java/jdk1.6.0_41 into <hg-root>/nbbuild/user.build.properties
3) $ ant gen-sigtest-release
==> check the output
[sigtest] Class path: "/space/source/releases/nbbuild/netbeans/platform/lib/org-openide-util-lookup.jar:/space/source/releases/nbbuild/netbeans/platform/lib/org-openide-util.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/jce.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/rt.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/management-agent.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/jsse.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/charsets.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/javaws.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/jfxrt.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/jfr.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/deploy.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/alt-rt.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/plugin.jar:/usr/local/share/java/jdk1.7.0_15/jre/lib/resources.jar"

The generated sig files are not conform with sig files generated with JDK 6 and reports false api changes.

Reported also as issue 151860