Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8165299

Jaxb unmarshaller stopped working in jdk 102

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      FULL PRODUCT VERSION :
      jdk-8u102-linux-x64

      ADDITIONAL OS VERSION INFORMATION :
      4.6.7-300.fc24.x86_64


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      nothing special

      A DESCRIPTION OF THE PROBLEM :
      I tried to use the newest jdk 102 for linux 64 and found that it could not create an object with ALL required fields from xml (unmarshal). I checked it in jdk 101 and it works fine.

      REGRESSION. Last worked in version 8u101

      ADDITIONAL REGRESSION INFORMATION:
      java version "1.8.0_102"
      Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
      Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I believe you can create a simple model in any .xsd file and check it, but i found this bug using my github repo - https://github.com/islonik/xsd2model.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would like to see an object (after unmarshal step) with all required fields (they should not be null)
      ACTUAL -
      I see an object with null fields.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      no messages or errors

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      you can find it in the aforementioned repo
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      I can just use jdk 101. It works fine.

      Attachments

        Issue Links

          Activity

            People

              aefimov Aleksej Efimov
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: