PetrMiksik opened a new issue, #9407:
URL: https://github.com/apache/netbeans/issues/9407

   ### Apache NetBeans version
   
   Apache NetBeans 30
   
   ### What happened
   
   Code completion is greatly reduced under some circumstances in java 
application project using **Java platform 1.8**.
   
   
   
   
   
   ### Language / Project Type / NetBeans Component
   
   Java with Ant
   
   ### How to reproduce
   
   For example, for class `javax.net.SocketFactory`:
   
   1. Typing "Socket" and invoking code completion provides the full result:
   <img width="733" height="339" alt="Image" 
src="https://github.com/user-attachments/assets/b4d3dbce-fc97-4a6d-b9eb-5823d95cf9fc";
 />
   
   >  
   
   2. However, if you type "SocketFa" and then invoke code completion, the 
result is just the `Unsafe` class:
   <img width="518" height="226" alt="Image" 
src="https://github.com/user-attachments/assets/722e9cfa-d4bc-4c8a-8c78-9d329dcd0957";
 />
   
   It happens only when using **Java platform 1.8** (distribution is 
"zulu8.90.0.19-ca-jdk8.0.472-linux_x64").
   With JDK 11, 21, 25 and 26, the behavior is OK:
   
   <img width="534" height="242" alt="Image" 
src="https://github.com/user-attachments/assets/f3aae46a-e5c9-4b9d-948f-063cd4043fe8";
 />
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 29
   
   ### Operating System
   
   Ubuntu 24.04
   
   ### JDK
   
   JDK 26 bundled with NetBeans 
   
   ### Apache NetBeans packaging
   
   Community provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to