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: | Redefinition failed with error 64 | ||
---|---|---|---|
Product: | profiler | Reporter: | Jiri Sedlacek <jis> |
Component: | Engine | Assignee: | Tomas Hurka <thurka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | VISUALVM |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Sedlacek
2015-03-18 12:42:56 UTC
Problem is caused by javax.lang.model.SourceVersion class. It is loaded by two different classloaders from different jars. The first one is from tools.jar and second one from java/modules/ext/nb-javac-api.jar. The classes must be different, so NetBeans must be running on JDK 7 because javax.lang.model.SourceVersion from nb-javac-api.jar is from JDK 8. Correction, javax.lang.model.SourceVersion is part of rt.jar not tools.jar. Fixed in profiler-main changeset: 286246:091ff6bde62e user: Tomas Hurka <thurka@netbeans.org> date: Sat Apr 18 17:21:45 2015 +0200 summary: bugfix #251259, switch classloaders in isParentLoaderTo() only if clazz is really placeholder Integrated into 'main-silver', will be available in build *201504201004* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/091ff6bde62e User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #251259, switch classloaders in isParentLoaderTo() only if clazz is really placeholder |