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 233416 - Groovy class not found error in Java file
Summary: Groovy class not found error in Java file
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 233853 235062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-25 11:52 UTC by Vladimir Riha
Modified: 2013-09-02 11:50 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (67.16 KB, text/x-log)
2013-07-25 11:52 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-07-25 11:52:14 UTC
Created attachment 137785 [details]
IDE log

Please try:
- create Java Application, all default
- create a new Groovy class "Foo" in the default existing package
- in JavaApplication.java, paste this into main() method

Foo f = new Foo();



=> line is underlined with error "Cannot find symbol class Foo location class JavaApplication

This works fine in 7.3.1



Product Version: NetBeans IDE Dev (Build 201307242300)
Java: 1.7.0_40-ea; Java HotSpot(TM) Client VM 24.0-b52
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-07-25 11:57:10 UTC
... also code completion for Groovy class does not work
Comment 2 Martin Janicek 2013-08-05 10:31:24 UTC
*** Bug 233853 has been marked as a duplicate of this bug. ***
Comment 3 Martin Janicek 2013-08-22 12:08:23 UTC
*** Bug 233417 has been marked as a duplicate of this bug. ***
Comment 4 Martin Janicek 2013-08-27 07:48:19 UTC
*** Bug 235062 has been marked as a duplicate of this bug. ***
Comment 5 Martin Janicek 2013-08-27 12:59:26 UTC
*** Bug 234936 has been marked as a duplicate of this bug. ***
Comment 6 Dusan Balek 2013-08-28 08:39:32 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/49db24ac9cc2
Comment 7 Quality Engineering 2013-08-31 01:29:49 UTC
Integrated into 'main-silver', will be available in build *201308310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/49db24ac9cc2
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #233416: Groovy class not found error in Java file - fixed.
Comment 8 Vladimir Riha 2013-09-02 11:50:49 UTC
Thank you, verified

Product Version: NetBeans IDE Dev (Build 201309020001)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)