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: | warning: Supported source version 'RELEASE_7' from PatchedPublicProcessor | ||
---|---|---|---|
Product: | platform | Reporter: | lanthale |
Component: | Module System | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlahoda |
Priority: | P4 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
lanthale
2014-10-18 15:37:22 UTC
I have the same problem. Is there any workaround? Happens also on Windows. You can get rid of the warning: [options] bootstrap class path not set in conjunction with -source 1.7 by compiling on JDK7. So the workaround is easy - e.g. making P4. Annotation processors are hard to write with prediction of future language changes. We can update them now to not emit warnings on JDK8. But the code to do so is not really straightforward. Btw. I am making this bug PatchedPublicProcessor specified. Other processors would need to be handled separatelly. Following change should do it: http://hg.netbeans.org/ergonomics/rev/619fea60d4ab and probably this is the trick that other processors can use as well. > Other processors would need to be handled separatelly.
Shall I report this to all the modules?
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.options.OptionsPanelControllerProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.awt.ActionProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.api.annotations.common.proc.StaticResourceProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.filesystems.declmime.MIMEResolverProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.loaders.DataObjectFactoryProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.templates.TemplateProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.editor.mimelookup.CreateRegistrationProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.windows.TopComponentProcessor' less than -source '1.8'
warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.nodes.NodesAnnotationProcessor' less than -source '1.8'
Integrated into 'main-silver', will be available in build *201411210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/619fea60d4ab User: Jaroslav Tulach <jtulach@netbeans.org> Log: #248015: Pretend we support latest version of the lang spec. Somebody will probably warn us when we don't |