Bug 1172577 - [GSS] (6.4.0) Include additional sun.jdk dependencies
Summary: [GSS] (6.4.0) Include additional sun.jdk dependencies
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Class Loading
Version: 6.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER1
: EAP 6.4.0
Assignee: David M. Lloyd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1172681
TreeView+ depends on / blocked
 
Reported: 2014-12-10 12:04 UTC by Mustafa Musaji
Modified: 2019-08-19 12:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP 6 some classes in the JDK were not exposed to the application via the sun.jdk that should have been when using JDK `javax.sql.rowset.RowSetProvider` and `java.lang.invoke.MethodHandleProxies` and depending on `sun.jdk` module. In this release, applications will find classes in these packages visible when depending on the sun.jdk module: * com.sun.rowset * com.sun.rowset.providers * sun.invoke
Clone Of:
: 1172681 (view as bug list)
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFCORE-455 0 Major Resolved Include additional sun.jdk dependencies 2016-11-15 14:03:42 UTC

Description Mustafa Musaji 2014-12-10 12:04:54 UTC
Description of problem:

Customers using certain sun.jdk dependencies make amendments to the module.xml to include the following

- for working with javax.sql.rowset.RowSetProvider
                 <path name="com/sun/rowset"/>
                 <path name="com/sun/rowset/providers"/>

- for working with java.lang.invoke.MethodHandleProxies
                 <path name="sun/invoke"/>

In CP releases that happen to override original sun.jdk module.xml means customers configurations are broken and changes have to be reapplied to each CP.

This bug is to get the above included in upstream and next release so it's included in future CP releases.

We should not be blocking customers using these classes in my opinion and should include them out of the box.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Use EAP 6.3.1 that includes dependency to sun/invoke in a sun.jdk module.xml
2. Upgrade to 6.3.2 and test again
3.

Actual results:
Test will fail where 6.3.2 is using module.xml from .overlays

Expected results:
Test should not be affected as these classes should be included by default

Additional info:

Comment 3 Ladislav Thon 2015-01-12 11:53:36 UTC
Verified with EAP 6.4.0.ER1.


Note You need to log in before you can comment on or make changes to this bug.