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
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
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:

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 (upload may still be in progress)

User: Svata Dedic <>
Log: #262073: API to construct a type denotable in the source