Comments (3)
Reproducible in 13rc2. Thanks for the detailed report.
from netbeans.
I looked at this a little bit. I agree that isNotFinalExceptionType
and isNotFinalClass
methods should not use Class.forName
since it doesn't know anything about the project.
To properly implement this we would have to call typeHandle.resolve(compilationInfo)
then get a type mirror to get the modifiers. Getting a CompilationInfo is a bit of a ceremony unfortunately.
However, if we say that the filters only need to function on a best effort basis, we could simply return true.
} catch (ClassNotFoundException ex) {
return true; // we don't know
}
this would show classes from project classpath even if they are final, instead of showing nothing. Maybe its still good enough for the wizzard - I don't know.
from netbeans.
it might be worth investigating if it would make sense to add modifiers to the ElementHandle
API.
Removing good-first-issue label again :)
from netbeans.
Related Issues (20)
- Swing GUI Builder border settings do not work on the DEB package HOT 3
- The GUI Builder produces code for boxed primitive properties that is deprecated for removal
- java.lang.IllegalStateException: No builtin diff provider HOT 1
- Cannot create Ant Freeform project HOT 4
- Stopping CppLite build does not kill compiler processes
- A java.lang.UnsatisfiedLinkError has occurred HOT 2
- Session beans cannot be generated for entity classes HOT 1
- Cannot open project with an unexpected exception HOT 18
- Add support for debugging Nashorn 15.4 for OpenJDK >= 15 HOT 3
- [VSCode Netbeans] Extension should provide "add maven dependency" feature
- "Fix All Imports" importing invalid static methods HOT 2
- Declarative hint variable seems to capture too much HOT 4
- Hamcrest Library Unexpected Exception HOT 1
- Tab order is not restored for the Project Group
- [VSCode Netbeans] Add setting option "revealActiveInWorkspace"
- NetBeans 21 ends up in broken state if you activate some IDE features via Options panel before creating a new project HOT 3
- Sass compile results in "env: node: No such file or directory" error HOT 1
- NetBeans 21 console Chinese characters are garbled HOT 4
- Run Focused Test Method and Debug Focused Test Method don't work HOT 6
- Troubles in the Wizard : "New JSF Pages from Entity Classes" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbeans.