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: | Include support for string annotation processor for 3.0.4 platform | ||
---|---|---|---|
Product: | javacard | Reporter: | ravi8work |
Component: | Java Card | Assignee: | Anton Chechel <manowar> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: |
Description
ravi8work
2011-08-05 05:28:08 UTC
One other small change is required to support clean Java Card 3.0.4 classic applet development using the string annotation feature. The language subset checker wizard needs to allow the use of the new string annotation declarations and the underlying "String" type and not flag syntax errors during editing. The Class that needs to be updated for allowing classic applets to use String literals in the StringAnnotations is javacard.project/src/org/netbeans/modules/javacard/source/JavaCardErrorProcessor.java. This class lists the types that classic and extended do not support. It should be modified so that for classic, when encountering a String literal it checks first if it is being used within one of the String annotations or not. If not it should flag it as an error. Alternatively, it could be implemented with a tree visitor that visits Annotations and switches off the type usage checks when the annotation is one of the StringSupport annotations. |