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 122755 - Package declaration is missed from new created fx file
Summary: Package declaration is missed from new created fx file
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexei Mokeev
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-11-26 12:00 UTC by Alexandr Scherbatiy
Modified: 2011-10-19 12:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (44.76 KB, text/plain)
2007-11-26 12:01 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-11-26 12:00:44 UTC
It is a regression from M3RC4

Steps to reproduce:

- Create a JavaFX Script application with 'javafxapplication.Main' main class
- Open the main class
  The package declaration 'package javafxapplication;' is missed.
  
  See also exception in the IDE log file:

java.lang.IllegalStateException: You are trying to access file: pack.fx from the default package. Please see 
http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package
  at org.netbeans.ProxyClassLoader.printDefaultPackageWarning(ProxyClassLoader.java:500)
  at org.netbeans.ProxyClassLoader.getResource(ProxyClassLoader.java:280)
Comment 1 Alexandr Scherbatiy 2007-11-26 12:01:45 UTC
Created attachment 53480 [details]
IDE log file
Comment 2 Andrey Yamkovoy 2007-11-26 13:59:14 UTC
Fixed.
Comment 3 Alexandr Scherbatiy 2007-11-26 16:00:17 UTC
verified
Comment 4 David Strupl 2011-10-19 12:01:24 UTC
Cleaning bugzilla categories ....