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: | com.sun.tools.classfile.ConstantPool$InvalidEntry: unexpected tag at #1: 67 | ||
---|---|---|---|
Product: | java | Reporter: | vicricker <vicricker> |
Component: | Source | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 222343 |
Attachments: | stacktrace |
Description
vicricker
2016-02-01 19:19:00 UTC
Created attachment 158343 [details]
stacktrace
As a workaround, you can set the file association for class files to text/x-php5. Options/Miscellaneous/Files/File Associations Select 'class' from 'File Extension' Set 'Associated File Type (MIME)' to text/x-php5 (or other) I see it as a relative corner case (with a workaround possible through a configuration). Mime resolution for application/x-class-file COULD possibly look for the magic header 0xcafebabe, but this would imply an overall performance impact in java projects. |