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.

Bug 262073 - Export javac function to infer type for declaration
Summary: Export javac function to infer type for declaration
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 170574 171272 258167
  Show dependency tree
 
Reported: 2016-05-17 08:44 UTC by Svata Dedic
Modified: 2016-06-18 03:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed changes (5.63 KB, patch)
2016-05-17 08:51 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2016-05-17 08:44:51 UTC
See defects #258167, #171272 and #170574 (and possibly others). NetBeans run into issues when the IDE tries to declare a symbol based on expression's type.

The function could be exported from javac through TypeUtilities. See the attached diff.
Comment 1 Svata Dedic 2016-05-17 08:51:06 UTC
Created attachment 159780 [details]
Proposed changes
Comment 2 Svata Dedic 2016-06-17 11:36:32 UTC
Implemented in jet-main#c84429acf8b0
Comment 3 Quality Engineering 2016-06-18 03:12:28 UTC
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c84429acf8b0
User: Svata Dedic <sdedic@netbeans.org>
Log: #262073: API to construct a type denotable in the source