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.
Summary: | jhelpset.hs in maven build not found using Java 1.7.0_03 | ||
---|---|---|---|
Product: | apisupport | Reporter: | toben |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 181355 |
Description
toben
2012-05-04 10:48:35 UTC
Sounds like a JDK bug. Did you try with 7u4? And when reporting bugs like this please attach a complete, minimal test case to reproduce (i.e. an nbm-packaging project buildable in isolation which demonstrates the problem). I was using some RELEASE701 modules as dependencies. Upgrading to RELEASE711 or RELEASE712 solved this issue. So this is already fixed. It is definitly not a 72 bug. This was my mistake to put it there. Indeed it works in RELEASE71 but not RELEASE701 in JDK 7; the refactoring in bug #196452 seems to have provided the fix. In particular, getResource(SOURCE_PATH, ...) throws FNFE even before openInputStream can be called, which the LayerBuilder.validateResource utility method handles, but which the old HelpSetRegistrationProcessor did not. When run under JDK 6 the old processor worked, because it was assuming a buggy behavior of Filer which was fixed in JDK 7. So the summary is that NB 7.1 added JDK 7 support for this annotation, somewhat by accident. *** This bug has been marked as a duplicate of bug 196452 *** |