JDK-8140293 : Switching to 1.8.0_60, NetBeans 8.0.2 has lost scroll bar in the Java editor
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u60
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86_64
  • Submitted: 2015-10-14
  • Updated: 2016-09-20
  • Resolved: 2015-10-30
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

Machine 32 G RAM
4 Core CPU , Intel iCore i7

NetBeans configuration:

netbeans_default_options="-J-client -J-Xss2m -J-Xms4096m -J-Xmx10240m -J-XX:PermSize=256m -J-Xverify:none -J-XX:+UseAdaptiveSizePolicy -J-XX:+UseParallelGC -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true --fontsize 12 --laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd"





ADDITIONAL OS VERSION INFORMATION :
CentOS 6.2

EXTRA RELEVANT SYSTEM CONFIGURATION :
Linux CentOS 6.2 64

A DESCRIPTION OF THE PROBLEM :
After switching to 1.8.0_60, NetBeans 8.0.2 has lost scroll bar in the Java editor for the big Java files of around 4000 lines.

REGRESSION.  Last worked in version 8u45

ADDITIONAL REGRESSION INFORMATION: 
This was working fine with the JDK 1.8.0_45

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run NetBeans 8.0.2 on CentOS Linux 6.2,    Open a large Java file of about 4000 lines,
there will be no scroll bars in the Java editor, 
JDK 1.8.0_45 does not express this behaviour.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Scroll bars must be shown regardless of the java file size.
This needs to be fixed !
ACTUAL -
No scroll bars in Java editor for large Java files.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
no errors

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Reall none.
Only have to Roll back to JKD 1.8.0_45


Comments
It's duplicate of JDK-8134828.
30-10-2015

Most likely this is dupe of JDK-8134827
22-10-2015

Ask the filer to file with NetBeans and give us the issue number.
15-10-2015